Wednesday, January 27, 2010

Fixing Packman Repository error for openSUSE 11.2

For a couple of days now, when ever I do a zypper operation (and the resulting repo refresh) I get the following error message:

Repository 'Packman Repository' is invalid.
Can't provide /repodata/repomd.xml : Can't hardlink/copy /var/adm/mount/AP_0x00000001/repodata/repomd.xml to /var/cache/zypp/raw/
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'Packman Repository' because of the above error.

Since I added the Packman repo via Yast (Yast -> Software -> Software Repositories -> Add -> Community Repositories) I was scratching my head trying to find out why. Then it hit me that Packman does not use a redirector URL like

To resolve it I added another location for Packman (with autorefresh enabled):

zypper ar -f Packman

Then refresh the repo

zypper refresh Packman

For a list of additional repos you can add to openSUSE 11.2, do refer to


yazid said...

haha eric, as you know that my box does not have the internet connection, I downloaded all the files in packman's repo which are about 4.8gb in size. That folder I used it as a offline repos added to yast.

msian_tux_lover said...

Ingenious of you. Well for those of us who uses online updates, this tip is useful. The problem lies at the Belgian server side but openSUSE might be unfairly blamed for it.