Zypper update-problems (repository XY is out of date...)

Hello all,

I have configured the following repositories:

# | Alias                                                        | Name                      | Enabled | Refresh
--+--------------------------------------------------------------+---------------------------+---------+--------
1 | openSUSE-DVD 11.0                                            | openSUSE-DVD 11.0         | No      | No     
2 | NVIDIA                                                       | NVIDIA                    | Yes     | Yes    
3 | VLC                                                          | VLC                       | Yes     | Yes    
4 | http://download.opensuse.org/distribution/11.0/repo/oss/     | Main Repository (OSS)     | Yes     | Yes    
5 | http://download.opensuse.org/distribution/11.0/repo/non-oss/ | Main Repository (NON-OSS) | Yes     | Yes    
6 | NVIDIA Repository                                            | NVIDIA Repository         | Yes     | Yes    
7 | Packman                                                      | Packman                   | Yes     | Yes    
8 | http://download.opensuse.org/update/11.0/                    | Main Update Repository    | Yes     | Yes    
9 | repo-debug                                                   | openSUSE-11.0-Debug       | No      | No    

Since a few days, I cannot update or install new software with “zypper up” or "zypper install [package-name]. I always receive the following error-message:

Downloading package opensc-0.11.4-37.2.i586 (1/34), 523.0 K (1.7 M unpacked)
Downloading delta: ./rpm/i586/opensc-0.11.4-37.1_37.2.i586.delta.rpm, 312.1 K
Downloading: opensc-0.11.4-37.1_37.2.i586.delta.rpm [done]
Can't provide file './rpm/i586/opensc-0.11.4-37.1_37.2.i586.delta.rpm' from repository 'http://download.opensuse.org/update/11.0/'
Downloading: opensc-0.11.4-37.2.i586.rpm [done]
Downloading: repomd.xml [done]
Problem downloading the package file from the repository:
Can't provide ./rpm/i586/opensc-0.11.4-37.2.i586.rpm : Can't copy /var/adm/mount/AP_0x00000001/rpm/i586/opensc-0.11.4-37.2.i586.rpm to /var/cache/zypp/packages/http:__download.opensuse.org_update_11.0_
Repository 'http://download.opensuse.org/update/11.0/' is out of date. Running 'zypper refresh' might help.

I have already removed the “/var/cache/zypp”-directory. I also have recreated all repositories and refreshed with “zypper ref”. Then I also have rebuilded the rpm-database (rpm --rebuilddb) → no success. I also linked the repositories to an openSuSE-mirror → no success.

I’m successful with “zypper lr”. But as soon as I want to update with “zypper up”, the error-messages above appears.

I don’t have an idea, what this problem is.
Kind regards,
Tom

Hello,

I’m having the same problem as you on the past few weeks when I run the opensuse updates.

I also tried running ‘zypper refresh’, create the /var/amd/mount/AP_00000XYZ directory manually, etc but nothing fix this issue.

Any helps is appreciated.

Thanks,

Luciano

Patches cannot be installed

Hello:)

I Have so evenly installed opensuse 11,0 x86_64 on the basis of a net ISO CD, downloaded and installed from mirror.switch.ch; so far everything ok

After OS install:
Unfortunately as far as I try to install the patches from the update repository this misshapens. I suspect that possibly one rpm’ which is on update schedule did install wrongly during the opensuse operating system installation so that it cannot be correctly overwritten by the update patch When I start yast2update, shortly after the yast2 program has loaded it’s repositories I get the following error message:

Error with the initialization of the Repositorys. ’ repo-non-oss’: No valid meta data at the indicated address (URL) found The following errors arose: - Can’ t CoPy /var/adm/mount/AP_0x00000001/suse/setup/descr/packages.DU.gz ton of /var/cache/zypp/raw/repo-non-ossFNdn8d - Can’ t provide /suse/setup/descr/packages.DU.gz: Can’ t CoPy /var/adm/mount/AP_0x00000001/suse/setup/descr/packages.DU.gz ton of /var/cache/zypp/raw/repo-non-ossFNdn8d

I guess this is the same problem as yours?
Thank’s for your feedback

Hi Dagalbert,

I think you have the same problem as ours because I tried to remove the sub-directories on the “/var/cache/zypp” directory and when I run “zypper refresh”, I have the same error message as yours:

Can’t provide /suse/setup/descr/packages.en.gz : Can’t copy /var/adm/mount/AP_0x00000001/suse/setup/descr/packages.en.gz to /var/cache/zypp/raw/repo-non-ossGdR5bK
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘openSUSE-11.0-Non-Oss’ because of the above error.

For information, I’ve installed openSUSE 11.0 x86_64 early July and the updates was running fine until end of August.

Dagalbert,

Yes, it’s the same error as I receive. I replaced the opensuse-update, opensuse-oss and the opensuse-non-oss repositories with the ftp-server from “mirror.switch.ch”. So, I did not receive any error-messages, when I enter “zypper update”. I also can install software without any error-messages.

But, with the switch-mirror, I receive no update-list, when I enter “zypper lu”. When I configure zypper to get the updates from the the original openSuSE-mirrors, I receive four or fives recommended updates, but I’m not able to install them because of the following error-message:


Can't provide file './rpm/i586/opensc-0.11.4-37.1_37.2.i586.delta.rpm' from repository 'http://download.opensuse.org/update/11.0/'
Downloading: opensc-0.11.4-37.2.i586.rpm [done]
Downloading: repomd.xml [done]
Problem downloading the package file from the repository:
Can't provide ./rpm/i586/opensc-0.11.4-37.2.i586.rpm : Can't copy /var/adm/mount/AP_0x00000001/rpm/i586/opensc-0.11.4-37.2.i586.rpm to /var/cache/zypp/packages/http:__download.opensuse.org_update_11.0_
Repository 'http://download.opensuse.org/update/11.0/' is out of date. Running 'zypper refresh' might help.
...
...
...

Something is strange out there…

Hello Puzzled Penguin

Thank’s for your news, I don’t want to lure anyone into a missunderstanding, as far as I know mirror.switch.ch is an operating system installation mirror.

I ignore if mirror.switch.ch deserves updates but I guess it doesn’t I just mentionned it because of the thought to give any data of the circumnstances at my end of the wire,

By posting on a german forum :

LINUX • openSUSE - Patches lassen sich nicht installieren

There I’ve been told to change to another mirror.; I’ll do so these next days.

At german forum they told me that there was or is anything not in order with non-OSS Repo

so I asked back if it could be that a non working „non OSS Repo“ eventually would cause other patch updates installations from the other repositorys not to work anymore correctly?

Is it right Puzzled Penguin …? that in your case it is the update 11.0 repository which is not working? Do you know or do you suspect which repositories seem to be concerned in your case?

Thank’s for your post.

I have a full out of the net opensuse 11.0 installed.
All the repositories that I added are from the “official” list.
As follow :
BuildService - Database, PHP, Mail, Mozilla, X11:XGL, VitualBox, OpenOffice.org, KDE:Community, KDE:Backports, Wine CVS Builds, NVIDIA
Packman
VideoLan
Oss
and finally the non-OSS repository.

I have the same problem with the openSUSE-11-0-Updates repository. i.e.
Can’t provide ./rpm/adm/libopensc2-0.11.4-37.2.i586.rpm : Can’t copy /var/adm/mount/AP_0x00000001/rpm/i586/libopensc2-0.11.4-37.2.i586.rpm to /var/cache/zypp/packages/openSUSE-11.0-Updates Le dépoôt ‘openSUSE-11.0-Updates’ n’est plus à jour.

I have tried zypper refresh, rebuild the rpm db, erase the repository from list and recreate it.

All worked fine until last week, I though about some bug in the repository and told myself to try again later…

On the other hand, I feel less alone in the dark :wink:

hello,

have a look to the following thread:
Zypper Update/Installation-Problems - openSUSE Forums

the solution is to replace the original opensuse-repositories with a mirror-repository. In my case, this is now working.

Hi tamgarten,

I replaced my repositories with the mirror-urls (also mirror.switch.ch for me) and the problem remains the same…

This is very strange because I selected to upgrade only the kernel (alone) and it worked fine.

So, after the kernel upgrade, I restarted opensuse and tried to update the others packages, but I still have the error

The following packages are going to be upgraded:
  gvfs-backends libsmbclient0 cifs-mount


The following NEW patches are going to be installed:
  gvfs samba


Overall download size: 2.7 M. After the operation, additional 4.1 M will be used.
Continue? [YES/no]: 
Downloading package libsmbclient0-3.2.3-0.1.x86_64 (1/5), 1.1 M (3.7 M unpacked)
Downloading: libsmbclient0-3.2.3-0.1.x86_64.rpm [done]
Downloading: repomd.xml [done]
Problem downloading the package file from the repository:
Can't provide ./rpm/x86_64/libsmbclient0-3.2.3-0.1.x86_64.rpm : Can't copy /var/adm/mount/AP_0x00000004/rpm/x86_64/libsmbclient0-3.2.3-0.1.x86_64.rpm to /var/cache/zypp/packages/openSUSE_Updates

And when we go to opensuse Mirror Selection site, it’s clearly said :
You don’t need to select a mirror yourself. If you use download.opensuse.org (Index of /distribution, respectively Index of /update), it takes care of everything. This site will automatically select one of the mirrors from a database and redirect the download. See Build_Service/Redirector for (technical) details on how this works.

Any hints?
Thanks

But the Mirror Selection - openSUSE site also said:
If you would like to use a different mirror, or want to see all mirrors where you could download a file from, you can browse to Index of /distribution and click on the ‘Mirrors’ link. Find the mirror lists for openSUSE 11.0 DVD images for example, here: Index of /distribution/11.0/iso/dvd

Did you refresh your zypper-repository with “zypper ref”? Did you also rebuild your rpm-database with “rpm --rebuilddb”?

Hi tamgarten,

thanks for your reply.
Yes, I’ve refreshed all the repositories after added the mirror-urls repositories (with zypper refresh) and all mirror-repo was refreshed without problems.

But I didn’t rebuild my rpm-database with rpm --rebuilddb…

I’ll try it and keep you informed!

Thanks again :wink:

Tamgarten,

I made now a zypper ref
The result is:

Repository 'OpenOffice.org Extras' is up to date.
Repository 'VideoLan Repository' is up to date.
Downloading repository 'openSUSE Updates' metadata [done]
Building repository 'openSUSE Updates' cache [done]
Repository 'openSUSE BuildService - X11:XGL' is up to date.
Downloading repository 'Packman' metadata [done]
Building repository 'Packman' cache [done]
Downloading repository 'openSUSE BuildService - Mozilla' metadata [done]
Building repository 'openSUSE BuildService - Mozilla' cache [done]
Repository 'openSUSE BuildService - KDE:Backports' is up to date.
Downloading repository 'Packman Repository' metadata [done]
Building repository 'Packman Repository' cache [done]
Repository 'OpenOffice.org' is up to date.
Repository 'Swiss opensuse Non OSS' is up to date.
Repository 'NVIDIA' is up to date.
Repository 'Swiss opensuse OSS' is up to date.
All repositories have been refreshed.

Then I made a rpm --rebuilddb.
It ran about 1 minute, and there is no result for this command.

Then I made a zypper up and the problem persists:

Reading installed packages...

The following packages are going to be upgraded:
  gvfs-backends libsmbclient0 cifs-mount


The following NEW patches are going to be installed:
  gvfs samba


Overall download size: 2.7 M. After the operation, additional 4.1 M will be used.
Continue? [YES/no]:
Downloading package libsmbclient0-3.2.3-0.1.x86_64 (1/5), 1.1 M (3.7 M unpacked)
Downloading: libsmbclient0-3.2.3-0.1.x86_64.rpm [done]
Downloading: repomd.xml [done (563 B/s)]
Problem downloading the package file from the repository:
Can't provide ./rpm/x86_64/libsmbclient0-3.2.3-0.1.x86_64.rpm : Can't copy /var/adm/mount/AP_0x00000004/rpm/x86_64/libsmbclient0-3.2.3-0.1.x86_64.rpm to /var/cache/zypp/packages/openSUSE_Updates
Repository 'openSUSE_Updates' is out of date. Running 'zypper refresh' might help.

Any help is appreciated.

For all of you guys who are facing these issues, can you paste the output of the following commands?

  1. sudo zypper lr -d
  2. rpm -qa | grep zypper

I am suspecting that the repository URL is not setup properly. Please copy paste the output of the above commands to debug further.

Hi thejaswihr,

Here we go:

  1. zypper lr -d:
#  | Alias                                                                   | Name                                  | Enabled | Refresh | Priority | Type   | URI                                                                              
---+-------------------------------------------------------------------------+---------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------
1  | openSUSE_Non-OSS                                                        | openSUSE Non-OSS                      | No      | No      | 99       | yast2  | http://download.opensuse.org/distribution/11.0/repo/non-oss/                     
2  | VLC                                                                     | VLC                                   | Yes     | Yes     | 99       | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.0                                   
3  | OpenOffice.org_Extras                                                   | OpenOffice.org Extras                 | Yes     | Yes     | 99       | rpm-md | http://download.opensuse.org/repositories/OpenOffice.org%3a/EXTRAS/openSUSE_11.0/
4  | repo-debug                                                              | openSUSE-11.0-Debug                   | No      | No      | 120      | NONE   | http://download.opensuse.org/distribution/11.0/repo/debug/                       
5  | http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/                | VideoLan Repository                   | Yes     | Yes     | 99       | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/                         
6  | openSUSE_Updates                                                        | openSUSE Updates                      | Yes     | Yes     | 99       | rpm-md | http://download.opensuse.org/update/11.0/                                        
7  | http://download.opensuse.org/repositories/X11:/XGL/openSUSE_11.0/       | openSUSE BuildService - X11:XGL       | Yes     | Yes     | 99       | rpm-md | http://download.opensuse.org/repositories/X11:/XGL/openSUSE_11.0/                
8  | Packman                                                                 | Packman                               | Yes     | Yes     | 99       | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/11.0/                             
9  | http://download.opensuse.org/repositories/mozilla/openSUSE_11.0/        | openSUSE BuildService - Mozilla       | Yes     | Yes     | 99       | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_11.0/                 
10 | http://download.opensuse.org/repositories/KDE:/Backports/openSUSE_11.0/ | openSUSE BuildService - KDE:Backports | Yes     | Yes     | 99       | rpm-md | http://download.opensuse.org/repositories/KDE:/Backports/openSUSE_11.0/          
11 | http://ftp.skynet.be/pub/packman/suse/11.0/                             | Packman Repository                    | Yes     | Yes     | 99       | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.0/                                      
12 | OpenOffice.org                                                          | OpenOffice.org                        | Yes     | Yes     | 99       | rpm-md | http://download.opensuse.org/repositories/OpenOffice.org%3a/STABLE/openSUSE_11.0/
13 | Swiss_opensuse_Non_OSS                                                  | Swiss opensuse Non OSS                | Yes     | Yes     | 99       | yast2  | ftp://mirror.switch.ch/mirror/opensuse/distribution/11.0/repo/non-oss/           
14 | NVIDIA                                                                  | NVIDIA                                | Yes     | Yes     | 99       | rpm-md | http://download.nvidia.com/opensuse/11.0/                                        
15 | openSUSE_Oss                                                            | openSUSE Oss                          | No      | No      | 99       | yast2  | http://download.opensuse.org/distribution/11.0/repo/oss/                         
16 | openSUSE-DVD 11.0                                                       | openSUSE-DVD 11.0                     | No      | No      | 99       | yast2  | cd:///?devices=/dev/sr0                                                          
17 | Swiss_opensuse_OSS                                                      | Swiss opensuse OSS                    | Yes     | Yes     | 99       | yast2  | ftp://mirror.switch.ch/mirror/opensuse/distribution/11.0/repo/oss/               

  1. rpm -qa | grep zypper:
zypper-0.11.10-0.2

10x

suka, this is what I want you to try:

  1. Add and enable Swiss openSUSE Update mirror.
  2. Disable all repositories except
    • Swiss openSUSE 11 OSS
    • Swiss openSUSE 11 NON-OSS
    • Swiss openSUSE 11 Update
    • PackMan repository.
  3. Run “sudo zypper refresh”
  4. Run “sudo zypper up -t package”

Try this steps and let us know how it went. Remember u need to have only the 4 mentioned repositories enabled.

  • Thejaswi Raya

Thejaswi,

I done what you suggested and updates are working now!!!
Thanks for your help!

But does it mean that I cannot enable the other repositories like OpenOffice.org, NVIDIA, Mozilla, etc?

Thanks again

Excellent. Glad I could help.
You can go ahead and enable all the other repositories you need except VideoLAN(VLC). You will need the VLC repository only for installing vlc player and libdvdcss. Once you install only these 2 packages disable VLC repository. All your multimedia codecs should come from the PackMan repository for compatibility.
I am not sure if you will need the NVidia repository. If you have installed your graphics driver and if things are working as expected then you can disable NVidia repository.
There are more settings that you can do to make the updates work faster.

  • Thejaswi Raya

OK Thejaswi,

I’ll enable all repositories except VideoLAN(VLC).

About Nvidia, I need to update the nv graphic driver every time we had a kernel upgrade for openSUSE in order to integrate the nv module on the new kernel.

Thanks for your assistance!

Suka

Just for information, the new VLC player version 0.92 was released yesterday and it’s much better than the old one (0.86).

:slight_smile:
The problem is solved if you add the education repository from the community repositories list !
Don’t ask why…