Opensuse 11.4 cannot install RPM or execute updates:media source does not contain the desired medium

Hi,

Since I’ve installed opensuse 11.4 instead of 11.3, I cannot install .rpm packages nor execute updates. I get the following message:

“There has been a (probably temporarily) when connecting to the software source/repository” (own translation)

details: Media source ‘http://download.opensuse.org/distribution/11.4/repo/oss/’ does not contain the desired medium

So, probably there is something wrong with my software sources. Could anyone give a suggestion to repair this since I’m not a linux expert and would like to install new software on my newly updated machine.

thx,

Wouter

Possibly down for a bit. Try it again later.

It’s like this situation since Saturday, so I find it lasting a little bit too long

On 03/15/2011 10:36 AM, sonicboy wrote:
>
> It’s like this situation since Saturday, so I find it lasting a little
> bit too long

please show us the output of entering the following into a terminal


zypper lr -d

and copy/paste the output back to this thread using the instructions
here: http://goo.gl/i3wnr


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Really? Could you post output as requested by DenverD?

I am not “Sonicboy”, but i seem to have a similar problem. I started a similar thread a few days ago and it was suggested to me that the repository server may be too busy at the present time.

If you think there may be a different reason for this, here are my results for “Zypper lr -d”:

zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±------------------±---------------------------±--------±--------±---------±-------±----------------------------------------------------------------±-------
1 | repo-debug | openSUSE-11.4-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.4/repo/oss |
2 | repo-debug-update | openSUSE-11.4-Update-Debug | No | Yes | 99 | NONE | Index of /debug/update/11.4 |
3 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.4/repo/non-oss |
4 | repo-oss | openSUSE-11.4-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.4/repo/oss |
5 | repo-source | openSUSE-11.4-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.4/repo/oss |
6 | repo-update | openSUSE-11.4-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.4 |

Salutations,

Lokian

Hi,

Here is the output. I translate some bits since it’s in dutch :slight_smile:

ingeschakeld=enabled
vernieuwen=renew
prioriteit=priority
ja/nee=yes/no
bijwerken=update

Hopefully, this helps you a little bit further.
thx!

# | Alias                              | Naam                               | Ingeschakeld | Vernieuwen | Prioriteit | Type   | URI                                                                    | Service
--+------------------------------------+------------------------------------+--------------+------------+------------+--------+------------------------------------------------------------------------+--------
1 | Bijwerken-van-openSUSE-11.4-11.4-0 | Bijwerken van openSUSE 11.4 11.4-0 | Ja           | Ja         |   99       | rpm-md | http://download.opensuse.org/update/11.4/                              |        
2 | Packman Repository                 | Packman Repository                 | Ja           | Ja         |   99       | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/                            |        
3 | libdvdcss repository               | libdvdcss repository               | Ja           | Ja         |   99       | rpm-md | http://opensuse-guide.org/repo/11.4/                                   |        
4 | openSUSE-11.4-11.4-0               | openSUSE-11.4-11.4-0               | Ja           | Nee        |   99       | yast2  | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_DVD+_-RW_TS-L632H,/dev/sr0 |        
5 | repo-debug                         | openSUSE-11.4-Debug                | Nee          | Ja         |   99       | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/         |        
6 | repo-debug-update                  | openSUSE-11.4-Update-Debug         | Nee          | Ja         |   99       | NONE   | http://download.opensuse.org/debug/update/11.4/                        |        
7 | repo-non-oss                       | openSUSE-11.4-Non-Oss              | Ja           | Ja         |   99       | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/           |        
8 | repo-oss                           | openSUSE-11.4-Oss                  | Ja           | Ja         |   99       | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/               |        
9 | repo-source                        | openSUSE-11.4-Source               | Nee          | Ja         |   99       | NONE   | http://download.opensuse.org/source/distribution/11.4/repo/oss/        |        

In your case could the invalid media be a missing DVD when you try to do the update?
If you set Ingeschakeld=nee and Vernieuwen=nee, or best delete the DVD repos that might clear up a bad media issue.

@sonicboy
@lokian

I’m not using any of the Debug repos at this time. Try to disable both Debug repos to see if this helps. I could be wrong but, IIRC, a repo needs a content file to be a valid.
Also, are both of you using zypper -v ? If not try the update with that.

I did both remove the dvd repositories and disabled the debug repos, but it didn’t bring any changes. Still get the same message.

When I typed ‘zypper -v’, i got an how-to-use-command output

thanx

I didn’t type in a command because I didn’t know what you wanted to do. The -v is for --verbose

The format is:
zypper options command packages

an example :

zypper -v install kaffeine

Some zypper commands like install require root account privilege

su -c “zypper -v install kaffeine”
password:

First, thank you for your suggestions. I am learning new things every time I visit this forum.

When I ask Zypper for a refresh using verbosity:1, I get this response :

zypper -v refresh

Verbosity: 1
Initializing Target
Specified repositories:
Skipping disabled repository ‘openSUSE-11.4-Debug’
Skipping disabled repository ‘openSUSE-11.4-Update-Debug’
Checking whether to refresh metadata for openSUSE-11.4-Non-Oss
Retrieving: content [done]
Retrieving: media [done]
Repository ‘openSUSE-11.4-Non-Oss’ is up to date.
Checking whether to refresh metadata for openSUSE-11.4-Oss
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done (6.0 KiB/s)]
Retrieving: dvd-11.4-6.9.1.i586.pat.gz [done (3.7 KiB/s)]
Retrieving: ftp-11.4-6.9.1.i586.pat.gz [done (2.8 KiB/s)]
Retrieving: non_oss-11.4-6.9.1.i586.pat.gz [done (1.2 KiB/s)]
Retrieving: packages.DU.gz [done (1.2 KiB/s)]
Retrieving: packages.en.gz [error (1.5 KiB/s)]
Download (curl) error for ‘http://download.opensuse.org/distribution/11.4/repo/oss/suse/setup/descr/packages.en.gz’:
Error code: User abort
Error message: transfer closed with 554233 bytes remaining to read

Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository ‘openSUSE-11.4-Oss’ metadata [error]
Repository ‘openSUSE-11.4-Oss’ is invalid.
History:

  • Download (curl) error for ‘http://download.opensuse.org/distribution/11.4/repo/oss/suse/setup/descr/packages.en.gz’:
    Error code: User abort
    Error message: transfer closed with 554233 bytes remaining to read

  • Can’t provide ./suse/setup/descr/packages.en.gz

  • |] Valid metadata not found at specified URL(s)
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository ‘openSUSE-11.4-Oss’ because of the above error.
    Skipping disabled repository ‘openSUSE-11.4-Source’
    Checking whether to refresh metadata for openSUSE-11.4-Update
    Retrieving: repomd.xml [done]
    Repository ‘openSUSE-11.4-Update’ is up to date.
    Some of the repositories have not been refreshed because of an error.

I understand the second user abort error code but i do not understand the first user abort error code as i did not initiate the first abort command.

Could this have something to do with the new KpackageKit application trying to automatically start a refresh after i manually started this zypper refresh terminal command ?

If so, how do i disable the automatic start of the KpackageKit application ?

Thank you for your time.

Salutations,

Lokian

Looks like there’s an error with the package.En(glish).gz file in the repos. I don’t think you need them at this time so, disable them and see if your zypper refresh works.

Refers to user in general, ie, client, KpackageKit wouldn’t have caused these errors.

I use Gnome.
Try using YaST to set the preferences for KpackageKit "Online Update Configuration

Hi,

I used your command to install a program which previously wouldn’t install, and strangely it works with zypper. Still, under GUI and yast, I still got the same message. How could I resolve this?

Sorry, I don’t have that answer. I thought the zypp libraries are used for the Yast programs.

IMHO, it’s time to open a bug report. Your posts should be good enough documentation of the problem.

I use zypper 95% of the time, less work. Software update when looking up dependencies.

I’ve been using zypper se package package package …
to show a status of packages then I can modify the list and do a
su -c "zypper install package package package …

Once or twice using YaST Software Manager to install a package, I notice there’s another package to be updated that I didn’t select and couldn’t remove.
Could that be what is happening with your GUI and it needs some dependency or repos that couldn’t be found?

Good morning,

I am experiencing the same problem with updating my OpenSUSE 11.4 installation. However, what I am experiencing is the invalid checksum on the “Update” repository, as well any any of the other 11.4 repositories I try to add.

On the first few additions it did import the GPG cert.; but again, each repository reported the invalid checksum.

Perhaps the repositories need to be refreshed?

Any other suggestions would greatly help.

Thank you.

Sorry no I just refreshed using the YaST Software Repositories the 11.4 repositories I use.


#  | Alias                            | Name                             | Enabled | Refresh | Priority
---+----------------------------------+----------------------------------+---------+---------+---------
 7 | packman-multimedia               | packman-multimedia               | Yes     | Yes     |   97    
 2 | Video_Lan_SuSE_11.4              | Video Lan SuSE 11.4              | Yes     | Yes     |   98    
 5 | opensuse-guide.org-repo          | libdvdcss repository             | Yes     | Yes     |   98    
 1 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     |   99    
 3 | nvidia                           | nVidia Download                  | Yes     | Yes     |   99    
 6 | packman-essentials               | packman-essentials               | Yes     | Yes     |   99    
10 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     |   99    
11 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     |   99    
 8 | repo-debug                       | openSUSE-11.4-Debug              | No      | Yes     |  110    
 9 | repo-debug-update                | openSUSE-11.4-Update-Debug       | No      | Yes     |  110    
12 | repo-source                      | openSUSE-11.4-Source             | No      | Yes     |  110    
 4 | openSUSE-11.4-11.4-0             | openSUSE-11.4-11.4-0             | No      | No      |  130    

Allow me a suggestion for all to start over.
Use the Yast Software Repository to ADD all of your repositories again.
SUSE Paste YaST Software Repository to use the ADD feature

Lower the priorities of your original repositories. (But I prefer that you delete the old repository when the program indicates a repository is there already.)
SUSE Paste *Selecting Community Repositories, and then use URL to add 3rd party repositories like Video Lan and Packman
*
Then ADD the openSUSE repositories you want.
SUSE Paste ***List of Community Repositories ***

You can set the priorities and refresh options later.

Though this may not help all those who have posted a similar problem on this thread, i have been able to solve my problem by doing the following:

  1. I went to openSUSE Download Mirrors - Overview and chose a mirror site that included my problematic repository and is from the same institution as the mirror site i chose for the download of my opensuse 11.4 installation cd iso image.

  2. I then opened YAST and started the software repositories application. I replaced the URL of the problematic repository with the URL chosen on the openSUSE Download Mirrors - Overview website.

  3. I then opened a new session of the software management application, and a proper Zypper refresh was completed.

  4. I have now updated and installed all the desired and recommended software to my 11.4 distribution as i had done with the 11.3 distribution last month.

Though i do not want to go much further into detail on the logic behind my choice of mirror site, suffice to say that a judicious choice of the mirror sites for the download of the installation cd and the corresponding repository URLs is important to the successful resolution of this problem.

Salutations,

Lokian

On 2011-03-16 23:36, Lokian wrote:

> When I ask Zypper for a refresh using verbosity:1, I get this response

> Download (curl) error for
> ‘http://download.opensuse.org/distribution/11.4/repo/oss/suse/setup/descr/packages.en.gz’:
> Error code: User abort
···················XXXXX
> Error message: transfer closed with 554233 bytes remaining to read

It says there that you aborted the procedure.
End of problem, it is your fault.

> I understand the second user abort error code but i do not understand
> the first user abort error code as i did not initiate the first abort
> command.

Mmm… are you sure?

> Could this have something to do with the new KpackageKit application
> trying to automatically start a refresh after i manually started this
> zypper refresh terminal command ?

It can not start.

> If so, how do i disable the automatic start of the KpackageKit
> application ?

Uninstall it. Or rename the applet.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

On 03/16/2011 11:36 PM, Lokian wrote:

> If so, how do i disable the automatic start of the KpackageKit
> application ?

right click on it icon and select “Quit”


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11