[Bug 227249] New: Cannot add sources in rug / zypper / yast
https://bugzilla.novell.com/show_bug.cgi?id=227249 Summary: Cannot add sources in rug / zypper / yast Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: munderl@tnt.uni-hannover.de QAContact: kkaempf@novell.com I am not able to add any source. I updated my SuSE 10.1 to opensuse 10.2. During installation, the sources used where correctly added. Adding the update-source during installation already failed. In the installed system I only get error messages like: Unknown Error: Cannot create public key 680079CB06E6CE6B from /var/tmp/zypp.2evAl1/zypp-trusted-krOADAg1 keyring to file /var/tmp/zypp.2evAl1/pubkey-680079CB06E6CE6B-qbXstF or (after sucsessfully downloading the whole repo-data): Error parsing metadata, probably not a YUM source. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |munderl@tnt.uni-hannover.de Priority|P5 - None |P2 - High ------- Comment #1 from munderl@tnt.uni-hannover.de 2006-12-08 13:21 MST ------- On "rug ca" I get this even after removing all services (with sd). Abo? | Name | Service -----+------------+----------- | oss-source | oss-source | oss-source | oss-source | oss-source | oss-source | oss-source | oss-source | oss-source | oss-source I'm still not able to add any source - even the one I removed seconds before. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |munderl@tnt.uni-hannover.de ------- Comment #2 from kkaempf@novell.com 2006-12-11 03:52 MST ------- Please provide log files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|munderl@tnt.uni-hannover.de | ------- Comment #3 from munderl@tnt.uni-hannover.de 2006-12-12 00:50 MST ------- Ok, here it comes. The first entries are for a zypp source, the lower ones for a YUM source. rug sa -k oss-source http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss ERROR: Could not add 'http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss': No suitable service types could be found rug sa -t zypp -k oss-source http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss Adding zypp service... 0% ERROR: Could not add 'http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss': Failed to parse XML metadata: Can't add repository at http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss: Unknown Error: Cannot create public key 680079CB06E6CE6B from /var/tmp/zypp.hXsXhX/zypp-trusted-kraRgbhI keyring to file /var/tmp/zypp.hXsXhX/pubkey-680079CB06E6CE6B-GbqE5i zypper -vv sa http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss verbosity 2 COMMAND: sa non-option ARGV-elements: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss 3817 zmd ZENworks Management Daemon is running. WARNING: this command will not synchronize changes. Use rug or yast2 for that. Initializing Target Constructing SourceManager Restoring SourceManager Creating source Determining http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss source type... . not YUM http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss is type YaST Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/media \ Downloading[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/directory.yast | Downloading[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/license.zip - Downloading[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/media \ Downloading[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/products | Downloading[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/products.asc / Downloading[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/medi... to /var/adm/mount/AP_0x0000001f/media.1/products.key - Downloading[100%] \ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo| (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo- (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./content[100%] Downloading: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss/dire... to /var/adm/mount/AP_0x0000001f/directory.yast \ Downloading[100%] | (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo- (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./content.asc[100%] \ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo| (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./content.key[100%] - (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo\ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo| (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./gpg-pubkey-0dfb3188-41ed929b.asc[100%] / (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo- (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo\ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./gpg-pubkey-307e3d54-44201d5d.asc[100%] | (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo- (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./gpg-pubkey-3d25d3d9-36e12d04.asc[100%] \ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo| (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo- (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./gpg-pubkey-7e2e3b05-44748aba.asc[100%] \ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo| (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./gpg-pubkey-9c800aca-40d8063e.asc[100%] - (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo\ (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo| (http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss) Downloading http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss./gpg-pubkey-a1912208-446a0899.asc[100%] Unknown Error: Cannot create public key 680079CB06E6CE6B from /var/tmp/zypp.0fKi3O/zypp-trusted-krknTYYt keyring to file /var/tmp/zypp.0fKi3O/pubkey-680079CB06E6CE6B-6yGv2f Exiting main() YaST2 inst_source: http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/10.2/repo/oss Unknown Error: Cannot create public key 680079CB06E6CE6B from /var/tmp/zypp.s1SljL/zypp-trusted-krwEmSgt keyring to file /var/tmp/zypp.s1SljL/pubkey-680079CB06E6CE6B-M2qkLi rug sa -k packman http://packman.inode.at/suse/10.2 Adding YUM service http://packman.inode.at/suse/10.2... 33%, 63.0 byte/s ERROR: Could not add 'http://packman.inode.at/suse/10.2': Failed to parse XML metadata: Can't add repository at file:/var/cache/zmd/web/files/packman.inode.at/suse/10.2/: Unknown Error: Downloading metadata failed (is YUM source?) or user did not accept remote source. Aborting refresh. YaST 2 inst_source: http://packman.inode.at/suse/10.2 Unknown Error: Downloading metadata failed (is YUM source?) or user did not accept remote source. Aborting refresh. zypper -vv sa http://packman.inode.at/suse/10.2 verbosity 2 COMMAND: sa non-option ARGV-elements: http://packman.inode.at/suse/10.2 a ZYpp transaction is already in progress. Exiting main() labia:/home/josef # Command: /sbin/yast2 inst_source & zypper -vv sa http://packman.inode.at/suse/10.2 verbosity 2 COMMAND: sa non-option ARGV-elements: http://packman.inode.at/suse/10.2 3817 zmd ZENworks Management Daemon is running. WARNING: this command will not synchronize changes. Use rug or yast2 for that. Initializing Target Constructing SourceManager Restoring SourceManager Creating source Determining http://packman.inode.at/suse/10.2 source type... http://packman.inode.at/suse/10.2 is type YUM / (http://packman.inode.at/suse/10.2) Downloading http://packman.inode.at/suse/10.2/repodata/repomd.xml[100%] Downloading: http://packman.inode.at/suse/10.2/repodata/repomd.xml.key to /var/adm/mount/AP_0x0000001f/repodata/repomd.xml.key - Downloading[100%] Downloading: http://packman.inode.at/suse/10.2/repodata/repomd.xml.asc to /var/adm/mount/AP_0x0000001f/repodata/repomd.xml.asc \ Downloading[100%] / (http://packman.inode.at/suse/10.2) Downloading http://packman.inode.at/suse/10.2./repodata/filelists.xml.gz[100%] / (http://packman.inode.at/suse/10.2) Downloading http://packman.inode.at/suse/10.2./repodata/primary.xml.gz[100%] - (http://packman.inode.at/suse/10.2) Downloading http://packman.inode.at/suse/10.2./repodata/primary.xml.gz[100%] Unknown Error: Downloading metadata failed (is YUM source?) or user did not accept remote source. Aborting refresh. Exiting main() -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #4 from munderl@tnt.uni-hannover.de 2006-12-12 01:00 MST ------- Here some version informations of the installed rpms: libzypp-2.9.1-5 libzypp-zmd-backend-7.1.1.0_0.5-6 zmd-7.1.100.0-46 sqlite-zmd-3.2.8-3 rug-7.1.100.0-34 zypper-0.6.13-6 zen-updater-7.1.100-39 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #5 from munderl@tnt.uni-hannover.de 2006-12-12 01:01 MST ------- Created an attachment (id=109283) --> (https://bugzilla.novell.com/attachment.cgi?id=109283&action=view) zen-logfiles (messages and backend) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #109283|zen-logfiles (messages and |zmd-logfiles (messages and backend) description|backend) | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 dmacvicar@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |munderl@tnt.uni-hannover.de ------- Comment #6 from dmacvicar@novell.com 2006-12-12 03:55 MST ------- gnupg version? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|munderl@tnt.uni-hannover.de | ------- Comment #7 from munderl@tnt.uni-hannover.de 2006-12-12 04:38 MST ------- gpg and gpg2 are installed in the default version deliverd with 10.2. rpms are: gpg-1.4.5-24.i586.rpm gpg2-1.9.22-20.i586.rpm -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #8 from munderl@tnt.uni-hannover.de 2006-12-12 05:53 MST ------- I tried to do the gpg calls which are mentioned in the backend log file manually and they do work fine (without error, whether the produced files are ok I don't know). So the "completed successfully" message seems to be right. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cannot add sources in rug / |Cannot add sources in rug / zypper / yast (can't |zypper / yast |add key) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #9 from munderl@tnt.uni-hannover.de 2006-12-30 03:37 MST ------- Can't give me anybody some hint what to try next or where to look? The problem is still not fixed! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P0 - Crit Sit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #10 from munderl@tnt.uni-hannover.de 2007-01-11 14:17 MST ------- I'm still not able to install any updates. Other users with exact the same problem (except directly updating from 10.0; I also updated from 10.0 but to 10.1 and then to 10.2) keep bothering me by email if I already found a solution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com Status|ASSIGNED |NEEDINFO Info Provider| |munderl@tnt.uni-hannover.de ------- Comment #11 from mvidner@novell.com 2007-01-12 01:59 MST ------- Sorry for the delay. I suspect that libzypp may be trying to refresh a disabled source. Please try to edit /var/lib/zypp/db/sources/* manually and set auto-refresh fo false for disabled sources. Does it help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|munderl@tnt.uni-hannover.de | ------- Comment #12 from munderl@tnt.uni-hannover.de 2007-01-12 02:29 MST ------- I am not able to add any source and no previous source is configured so /var/lib/zypp/db/sources is empty. I also tried to delete the whole /var/lib/zypp directory to recreate it fom scratch but no success - problem persists. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #13 from jkupec@novell.com 2007-01-12 06:07 MST ------- Created an attachment (id=112652) --> (https://bugzilla.novell.com/attachment.cgi?id=112652&action=view) fake gpg script -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #14 from jkupec@novell.com 2007-01-12 06:11 MST ------- please try the following: - mv /usr/bin/gpg /usr/bin/gpgxx - copy the attached fake gpg script into /usr/bin/gpg - use the service add command (tool does not matter) - attach the generated gpg.input file from home directory of user under which you executed the service add command -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |munderl@tnt.uni-hannover.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|munderl@tnt.uni-hannover.de | ------- Comment #15 from munderl@tnt.uni-hannover.de 2007-01-13 03:46 MST ------- Created an attachment (id=112849) --> (https://bugzilla.novell.com/attachment.cgi?id=112849&action=view) latest GPG pub-key processed before error Find the file attached. The commandline was as follows however, so I had to modify the script to use ${12} instead of ${11}... /usr/bin/gpg --no-default-keyring --homedir /var/tmp/TmpDir.RfUfIE --with-fingerprint --with-colons --quiet --no-tty --no-greeting --batch --status-fd 1 /var/tmp/TmpFile.jTaQSZ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #16 from munderl@tnt.uni-hannover.de 2007-01-14 05:21 MST ------- As written in comment #8, executing the gpg-call manually works fine (return-code 0). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #17 from munderl@tnt.uni-hannover.de 2007-01-14 05:42 MST ------- Here again some logfile information. Gpg completes fine but the 'pulic key doesn't contain public key data' - whatever that means... I don't know the mechanism how the pub-key data should come out of the 'TmpDir.XXX' folder into the 'zypp.XXX' folder. 2007-01-14 13:18:51 <0> labia(19060) [zypp] ExternalProgram.cc(start_program):172 Executing 'gpg' '--no-default-keyring' '--homedir' '/var/tmp/TmpDir.qm0DfA ' '--with-fingerprint' '--with-colons' '--quiet' '--no-tty' '--no-greeting' '--batch' '--status-fd' '1' '/var/tmp/TmpFile.phgHAX' 2007-01-14 13:18:51 <0> labia(19060) [zypp] ExternalProgram.cc(start_program):283 pid 19601 launched 2007-01-14 13:18:51 <0> labia(19060) [zypp] ExternalProgram.cc(checkStatus):336 pid 19601 successfully completed 2007-01-14 13:18:51 <5> labia(19060) [base] Exception.cc(log):94 PublicKey.cc(readFromFile):139 THROW: PublicKey.cc(readFromFile):139: File /var/tmp/zypp P8ZWlU/pubkey-680079CB06E6CE6B-G9Nehl doesn't contain public key data 2007-01-14 13:18:51 <0> labia(19060) [zypp] PathInfo.cc(_Log_Result):295 recursive_rmdir /var/tmp/TmpDir.qm0DfA 2007-01-14 13:18:51 <0> labia(19060) [zypp] TmpPath.cc(~Impl):78 TmpPath cleaned up /var/tmp/TmpDir.qm0DfA{d 0700 0/0} 2007-01-14 13:18:51 <0> labia(19060) [zypp] PathInfo.cc(_Log_Result):295 unlink /var/tmp/TmpFile.phgHAX 2007-01-14 13:18:51 <0> labia(19060) [zypp] TmpPath.cc(~Impl):78 TmpPath cleaned up /var/tmp/TmpFile.phgHAX{- 0600 0/0 size 2323} 2007-01-14 13:18:51 <3> labia(19060) [zypp::KeyRing] KeyRing.cc(exportKey):225 Cannot create public key 680079CB06E6CE6B from /var/tmp/zypp.P8ZWlU/zypp-trus ted-krYmgJKE keyring to file /var/tmp/zypp.P8ZWlU/pubkey-680079CB06E6CE6B-G9Nehl -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #18 from munderl@tnt.uni-hannover.de 2007-01-14 05:49 MST ------- Some additional information: if gpg is executed manually, I can find several new files inside the directory specified at "--homedir". This are pubring.gpg, trustdb.gpg, secring.gpg and pubring.gpg~. The last two have a size of 0, the ofter ones contain some binary data. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249
jkupec@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
Info Provider| |munderl@tnt.uni-hannover.de
------- Comment #19 from jkupec@novell.com 2007-01-15 09:40 MST -------
Yes, gpg completes fine, but ZYPP fails to read the ID of the key contained in
the gpg.input file (that that TmpFileXXX we caught by the fake script).
However, the key in the file you attached seems to be valid. I've executed the
gpg command on it and the output was as follows:
$ gpg --no-default-keyring --homedir /home/jkupec/bugs/227249/
--with-fingerprint --with-colons --quiet --no-tty --no-greeting --batch
--status-fd 1 gpg.input
gpg: WARNING: unsafe permissions on homedir `/home/jkupec/bugs/227249/'
[GNUPG:] KEYEXPIRED 1068042083
[GNUPG:] SIGEXPIRED deprecated-use-keyexpired-instead
pub:r:1024:17:680079CB06E6CE6B:2002-06-30:2003-11-05::-:[revoked]
uid:::::::::Ilkka Ollakka
https://bugzilla.novell.com/show_bug.cgi?id=227249
munderl@tnt.uni-hannover.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|munderl@tnt.uni-hannover.de |
------- Comment #20 from munderl@tnt.uni-hannover.de 2007-01-16 01:00 MST -------
My output looks a little different, e.g. there is a '-' instead of an 'r' in
the first field of pub and sub and the second date in the lines are missing I
don't no if this is of any importance. Maybe the broken utf-8 is the problem?
gpg --no-default-keyring --homedir /tmp/ --with-fingerprint --with-colons
--quiet --no-tty --no-greeting --batch --status-fd 1 gpg.input
gpg: WARNING: unsafe permissions on homedir `/tmp/'
pub:-:1024:17:BFB4E362F9558872:2005-08-26:::-:Marcus HÃŒwe (Marcus HÃŒwe's
email signing key)
https://bugzilla.novell.com/show_bug.cgi?id=227249 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |munderl@tnt.uni-hannover.de ------- Comment #21 from jkupec@novell.com 2007-01-16 03:48 MST ------- Well, this looks ok, even though i wonder whether you used a different gpg.input file. Not sure about the utf-8 characters, but if that was an issue, you should be able to add sources who's keys don't contain special utf characters. BTW, the URL you mentioned in comment #3 works for me. Next thing to try: remove (or backup) contents of /var/lib/zypp and try again. Try with zypper first. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249 ------- Comment #22 from munderl@tnt.uni-hannover.de 2007-01-16 04:24 MST -------
Next thing to try: remove (or backup) contents of /var/lib/zypp and try again. Try with zypper first.
I already did that (see comment #12) - did not help.
Well, this looks ok, even though i wonder whether you used a different gpg.input file
Maybe it got overwritten in the meantime... (I forgot to move gpgxx back to gpg and executed 'rug sa' serveral times after that... so it seems that it is not dependent on the keyfile) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227249
munderl@tnt.uni-hannover.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|munderl@tnt.uni-hannover.de |
------- Comment #23 from munderl@tnt.uni-hannover.de 2007-01-17 01:47 MST -------
I tried again stopping zmd, deleting /var/lib/zypp, and adding a source
(http://ftp.gwdg.de/pub/suse/update/10.2) with zypper afterwards. No luck
(Unknown Error: Downloading metadata failed). This time, executing gpg on
gpg.input produces this:
[GNUPG:] KEYEXPIRED 1068042083
[GNUPG:] SIGEXPIRED deprecated-use-keyexpired-instead
pub:r:1024:17:680079CB06E6CE6B:2002-06-30:2003-11-05::-:[revoked]
uid:::::::::Ilkka Ollakka
https://bugzilla.novell.com/show_bug.cgi?id=227249
mvidner@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mvidner@novell.com |dmacvicar@novell.com
Status|ASSIGNED |NEW
------- Comment #24 from mvidner@novell.com 2007-01-18 06:48 MST -------
Aha. Problem with a revoked key. PublicKey.cc:113 has
str::regex
rxColons("^([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):\n$");
// pub:-:1024:17:A84EDAE89C800ACA:2000-10-19:2008-06-21::-:SuSE Package
Signing Key
https://bugzilla.novell.com/show_bug.cgi?id=227249 munderl@tnt.uni-hannover.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #25 from munderl@tnt.uni-hannover.de 2007-01-18 16:05 MST ------- The package 'gpg-pubkey-680079cb-06e6ce6b' is not installed. I found to packages with exact the same name, however: rpm -e gpg-pubkey-06e6ce6b-3d1ee709 error: "gpg-pubkey-06e6ce6b-3d1ee709" specifies multiple packages So I removed them all with rpm -e --allmatches gpg-pubkey-06e6ce6b-3d1ee709. But that didn't help. So I was brave and did a rpm -qa | grep gpg-pubkey | xargs rpm -e. And it worked! All is fine now; I'm able to add every source I want! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com