Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 09-25-2008, 11:58 AM   #1
Registered: Mar 2006
Posts: 43

Rep: Reputation: 15
Question Zypper Looks For Repomd.xml In Wrong Directory So I Can't Update SuSE 11.0

I have a fresh, no-GUI-or-desktop installation of SuSE 11.0. I was very happy to see the zmd/rug crap is gone! Zypper seems mostly better, but I am having problems with my update repository only; my other ones are all fine.

When running "zypper lu" I get:
Error building the cache database:
File /var/cache/zypp/raw/UPDATESiTDNoy/repodata/repomd.xml.key doesn't contain public key data
Warning: Disabling repository 'UPDATES' because of the above error.
Reading installed packages...

No updates found.
I'm not sure why the UPDATES directory has "iTDNoy" appended to it in the error message. I have verified that /var/cache/zypp/raw/UPDATES exists (but has nothing in it) but /var/cache/zypp/raw/UPDATESiTDNoy does not. My other repos in /var/cache/zypp/raw/ have the appropriate stuff in them.

I have tried removing this repository and adding it again. No dice. I do get slightly different results depending on what I name the update repository.

When re-adding the update repository with the original name I got:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Adding repository 'openSUSE-11.0-Updates' [done]
Repository 'openSUSE-11.0-Updates' successfully added
Enabled: Yes
Autorefresh: No
When re-adding the update repository with a new name (UPDATES) I got:
Adding repository 'UPDATES' [done]
Repository 'UPDATES' successfully added
Enabled: Yes
Autorefresh: No
I have Googled for a while now and found others with the same or similar problems... just no solutions. I wish SuSE would finally get a good packaging system working with their OS. Maybe I'll finally try out the Smart packaging system.

I will keep on truck'n on my own, but would appreciate anyone's suggestions/help on this. Updates are kinda important!

- Gavin
Old 09-27-2008, 01:27 PM   #2
Registered: Mar 2006
Posts: 43

Original Poster
Rep: Reputation: 15
Thumbs up Solved

After trying many different things, beating my head against the wall, more Googling, crying (well no, but almost felt like it! ) and repeating, I finally found the issue was because I didn't have gpg installed. Installing gpg made the problem go away completely.

I was in Yast last week deleting unnecessary packages and it's more than a little possible that I wasn't careful enough and deleted gpg, but then again I *thought* I had this problem before I did that. Hmmmm...

Anyways, hope this thread helps someone else as "clumsy" as me with the same problem.

- Gavin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Repomd.xml user.user Linux - Software 6 12-23-2008 01:24 AM
Yum error Cannot open/read repomd.xml??? F7 almost000 Linux - Newbie 41 09-22-2008 01:27 AM
RHEL 5 Error REPOMD.XML rnm2003 Linux - Newbie 1 08-24-2008 09:42 PM
yum + Cannot open/read repomd.xml file for repository: update aeby Red Hat 1 12-19-2007 09:14 AM
Yum repomd.xml problem mailavj Fedora 1 09-27-2005 08:36 PM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration