software manager question

greetings,

Warning: noob question.

I have a recently installed openSUSE 11.2. I am attempting to install from the openSUSE source repository with the Software Manager. By default this repository is not enabled, so I opened the configuration window and enabled it. Although the repository is enabled, Software Manager does not populate the Package Listing panel with available package and hence I cannot install source RPM packages. I can, however, access the repository via HTTP and download packages although I don’t yet know how to install individual packages.

The repository URL as preconfigured in Software Manager is:

Index of /source/distribution/11.2/repo/oss

Again, Software Manager seems not to access this repository but I can access it directly via HTTP.

Any help?

TIA!

fosdex wrote:
> greetings,
>
> Warning: noob question.
>
> I have a recently installed openSUSE 11.2. I am attempting to install
> from the openSUSE source repository with the Software Manager. By
> default this repository is not enabled, so I opened the configuration
> window and enabled it. Although the repository is enabled, Software
> Manager does not populate the Package Listing panel with available
> package and hence I cannot install source RPM packages. I can, however,
> access the repository via HTTP and download packages although I don’t
> yet know how to install individual packages.
>
> The repository URL as preconfigured in Software Manager is:
>
> ‘Index of /source/distribution/11.2/repo/oss’
> (http://download.opensuse.org/source/distribution/11.2/repo/oss/)
>
> Again, Software Manager seems not to access this repository but I can
> access it directly via HTTP.
>
> Any help?
>
> TIA!
>
>

  1. did you get your install media from
    http://software.opensuse.org/112/en ? if not where?
  2. did you check the md5sum of the downloaded iso?
  3. burn the disk as slow as you can?
  4. use good media?
  5. do this http://tinyurl.com/yajm2aq before install attempt?
  6. did you install 11.2 while connected to the internet?
  7. did you have any errors during install?

i ask because by default the community supplied install media, if
100% perfect, will install YaST with three repos active: oss, non-oss
and update…and, during install will connect to the repos and bring
your system fully up to date…

if yours was not STOP! something is WRONG

if you answered “no” (or “don’t know”) to 1, 2, 3, 4, 5, or 6 then see
the following cites, and if we can help further, please ask because we
want you to be successful:
http://en.opensuse.org/Download_Help
http://tinyurl.com/yhf65pv
http://tinyurl.com/ycly3eg

don’t go downloading a bunch of individual packages…lets get yast
fixed!!


palladium

Thanks for the response palladin!

>1. did you get your install media from
http://software.opensuse.org/112/en ? if not where?

Yes, via direct download.

>2. did you check the md5sum of the downloaded iso?

Yes, all good. Used the install dvd.

>3. burn the disk as slow as you can?

Burn good via multiple checks.

>4. use good media?

Yup.

>5. do this http://tinyurl.com/yajm2aq before install attempt?

Yes, did media check plus memory check before install.

>6. did you install 11.2 while connected to the internet?

Yup.

>7. did you have any errors during install?

None, installation was smooth as silk.

>i ask because by default the community supplied install media, if
>100% perfect, will install YaST with three repos active: oss, non-oss
>and update…and, during install will connect to the repos and bring
>your system fully up to date…

That it did, no issue.

>don’t go downloading a bunch of individual packages…lets get yast
>fixed!!

Agreed.

Again, what I did was open Software Manager, clicked on the drop-down box in the upper left that reads “Groups” then selected “Repositories”.

Next I selected the source repository listed, but not enabled as:

openSUSE-11.2-Source
http://download.opensuse.org/source/distribution/11.2/repo/oss/

then clicked on the “Edit” button which took me to the “Configure Software Repositories” scree. Under “Properties” I checked “Enable” - the “Automatically Refresh” checkbox was already checked. Clicked on “OK” and was sent back to the Software Manager screen. Software Manager appeared to update but no packages list in the for the source repository.

That’s where I’m at now. Connected directly to the repo via HTTP just to make sure it was there.

Also, the system has a constant internet connect via DSL (working fine).

Thanks.

More info…

Just in the off chance that something was amiss with the preconfigured (but not enabled) source repository, I went into the Configured Software Repositories screen and deleted the source repository. I then added the source repository back and clicked ok.
It appeared for a moment that YaST was reading the added repository when the following error dialog popped up:

Download failed:
File ‘/content.key’ not found on medium ‘http://download.opensuse.org/source/distribution/11.2/repo/oss/
History:
-[AbstractCommand.cc:195] URI=http://download.opensuse.org/source/distribution/11.2/repo/oss/content.key

This is probably the problem but I have no idea what it means. If I go into Software Manager the source repository is present and enabled but still shows no package content.

Any suggestions?

You don’t need the source repo enabled

Please post result of

zypper lr -d

And we will give you instructions to correct your setup

Okay, here’s the output from zypper lr -d:

# | Alias                               | Name                        | Enabled | Refresh | Priority | Type     | URI                                                             | Service
--+-------------------------------------+-----------------------------+---------+---------+----------+----------+-----------------------------------------------------------------+--------
1 | PK_TMP_DIR                          | PK_TMP_DIR                  | Yes     | Yes     |   99     | plaindir | dir:///var/tmp/TmpDir.G9W6zs                                    |        
2 | http-download.opensuse.org-98662160 | Updates for openSUSE 11.2-0 | Yes     | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/11.2/                       |        
3 | openSUSE 11.2-0                     | openSUSE 11.2-0             | Yes     | No      |   99     | yast2    | cd:///                                                          |        
4 | openSUSE-11.2-Source                | openSUSE-11.2-Source        | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/source/distribution/11.2/repo/oss/ |        
5 | repo-debug                          | openSUSE-11.2-Debug         | No      | Yes     |   99     | NONE     | http://download.opensuse.org/debug/distribution/11.2/repo/oss/  |        
6 | repo-non-oss                        | openSUSE-11.2-Non-Oss       | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/11.2/repo/non-oss/    |        
7 | repo-oss                            | openSUSE-11.2-Oss           | Yes     | Yes     |   99     | yast2    | http://download.opensuse.org/distribution/11.2/repo/oss/        |        

OK
What is repo #1??

From a su - terminal do the following

zypper mr -d 1
zypper mr -d 3
zypper mr -d 4

zypper up

caf4926 wrote:

> What is repo #1??

here is my wild guess: it is the remnants of an interrupted download
install session by YaST…(if it had been allowed to complete it would
have automatically have deleted that temporary local repo only used
during that process…

to fosdex: sometimes YaST might appear hung, but it is actually
working in the background…for maybe five minutes or, depending on
the network traffic and etc, maybe 25 minutes–especially for the
initial updating from what is on the install disk to the latest and
greatest–so, do NOT kill it…just go and run a few miles (or
whatever) give it time to complete its duty…

fosdex, i suggest you do this: ‘Clear Temp Files at Boot - openSUSE
Forums’ (http://tinyurl.com/yzmzp5b) to clean out that area…


palladium

greetings…

to caf4926: I ran zypper at the command line as you recommended and it disabled the repos and updated with no problem. However, the SUSE 11.2 Source repository is again disabled and I need to enable it and get it to update so I can download/install source packages. What is your recommendation to accomplish this? I tried it from the Software Manager GUI as I mentioned previously and got the error that it could not find the file “/content.key” and bailed out so I suppose what I did was not correct.

to palladium: Thanks much for the input regarding clearing the /tmp directory. I implemented it posty hasty…I hate **** laying around…too easy to step in!:wink:

Can you tell me exactly what you want to install please

As a rule you don’t need source to install anything that is in the repo and only things in the repo will also be in the source. Unlike other repos source should not be a problem but do you really need it? Some times you might need the development package for something that you are installing from source that you can not find in the normal Suse repos. Or if you are a programmer and want to modify some package. You should only need to activate the source repo if you should find yourself in such a situation. As a tule keep the number of active repos’s to a minimum.

>caf4926: Can you tell me exactly what you want to install please

Anything!

Okay, let me tell you where I’m at. I am an engineer and computer programmer - been hacking since 1968…yikes!!! I’m only a noob with regard to Linux - kinda. I started Unix way, way, way back when…like when it fell out of Bell Labs. My last usage of Unix was 1996 so I’m a bit rusty at the command line (but it’s coming back) and of course anything new since then like Linux, GNOME, KDE, tools, blah, blah.

Now that I have the time I decided to get back to the Unix environment and be rid of Windoze, at least in my non-professional life, forever…right on!!!

SUSE 11.2 installed like a dream, zero problems unlike anything that has ever come out of Redmond.

Being a geek by nature, and wishing to get acquainted with the development tools asap I decided to recompile anything from the source repo since I known that, if I do things right, I will end up with a working binary…and maybe learn something.:wink:

I can certainly download individual RPMs, install, and compile from the command line but then I’m not learning much. Software Manager should allow the install of the source packages so since that is one of the things it should do then I am trying it out. Since package management is a key system tool I am determined to learn it and put it to use.

Put simply, I’ve got a new toy and I’m playing with it.

enjoy…

As already stated, you DO NOT need the source repo enabled!

Actually the only repo you might want to add is Packman.

Installing software is easy via Yast - Software Management
or
in a su terminal
zypper in <package-name>
Eg:

zypper in opera

openSUSE software installation hints - openSUSE Forums

Thanks much caf4926, you’ve answer my question. I’m really trying to misapply the right tool for the wrong thing. So I guess we can call this thread closed. But I’m sure I’ll be back, there’s no end of misadventure I can get into…and I will!:wink:

Also, thanks to all the other poster who help!!!

@fosdex
You are most welcome:)

fodex were you able to get zypper to work? I’m the same boat but all the possible solution posted on this forums have not been of any help…

If you make random posts like this, how do you expect us to help.

Start a new thread and explain your problem clearly