[Bug 231211] New: Installing update for 10.0 fails in 10.1 and 10.2
https://bugzilla.novell.com/show_bug.cgi?id=231211 Summary: Installing update for 10.0 fails in 10.1 and 10.2 Product: openSUSE 10.2 Version: Final Platform: x86 OS/Version: SuSE Linux 10.0 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: a.gungl@gmx.de QAContact: jsrain@novell.com I have a running 10.0 system. No matter if I try to update to 10.1 or 10.2, the update process stops in Update Summary / Installation Settings. On the console 3, there I can see "install progra exist code is 139". On the console 4, there I can see for 10.2: Segmentation fault at /mounts/instsys/usr/share/YaST2/clients/update_proposal.ycp:170 /usr/lib/YaST2/startup/YaST2.call: line 462: 2925 Segmentation fault (core dumped) On the console 4, there I can see for 10.1: Segmentation fault at /mounts/instsys/usr/share/YaST2/clients/update_proposal.ycp:77 /usr/lib/YaST2/startup/YaST2.call: line 306: 2741 Segmentation fault (core dumped) I'll attach y2logs for both versions. -- 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=231211 ------- Comment #1 from a.gungl@gmx.de 2007-01-01 06:37 MST ------- Created an attachment (id=111232) --> (https://bugzilla.novell.com/attachment.cgi?id=111232&action=view) y2logs when trying to install 10.1 -- 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=231211 ------- Comment #2 from a.gungl@gmx.de 2007-01-01 06:38 MST ------- Created an attachment (id=111233) --> (https://bugzilla.novell.com/attachment.cgi?id=111233&action=view) y2logs when trying to install 10.2 -- 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=231211 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |locilka@novell.com |screening@forge.provo.novell| |.com | -- 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=231211 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |yast2-maintainers@suse.de ------- Comment #3 from locilka@novell.com 2007-01-02 08:20 MST ------- 10.1: Exception.cc(log):94 Edition.cc(validateVR):207 THROW: Edition.cc(validateVR):207: Invalid version/release: free-rsaref Exception.cc(log):94 RpmDb.cc(makePackageFromHeader):1130 CAUGHT: Edition.cc(validateVR):207: Invalid version/release: free-rsaref 10.2: Exception.cc(log):94 Edition.cc(validateVR):207 THROW: Edition.cc(validateVR):207: Invalid version/release: free-rsaref Exception.cc(log):94 RpmDb.cc(makePackageFromHeader):1136 CAUGHT: Edition.cc(validateVR):207: Invalid version/release: free-rsaref It doesn't seem to be error in yast2-installation but deeper. -- 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=231211 ------- Comment #4 from a.gungl@gmx.de 2007-01-02 13:42 MST ------- I assume this problem can't be fixed anymore on any installation media for 10.1/10.2. I'd be happy if you can tell me a workaround to avoid a completely new installation in favor of an update from 10.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=231211 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Installing update for 10.0 |Failure to upgrade 10.0 to 10.1 or 10.2 |fails in 10.1 and 10.2 |("invalid version/release") -- 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=231211 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |a.gungl@gmx.de ------- Comment #5 from mvidner@novell.com 2007-01-08 05:47 MST ------- It is possible that libzypp gets confused by the version string free-rsaref. What does this say? $ rpm -qa | grep -i free.rsaref Then try to remove that package before upgrading the system. And point us to the rpm so that we can test with it. -- 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=231211 a.gungl@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|a.gungl@gmx.de | ------- Comment #6 from a.gungl@gmx.de 2007-01-08 11:15 MST ------- Ah, that makes sense. There is a package listed but it seems like a problem in the package database: $ rpm -qa | grep -i free.rsaref pgp-6.5.1-free-rsaref $ rpm -q -i pgp-6.5.1-free-rsaref package pgp-6.5.1-free-rsaref is not installed The associated RPM is quite old (pgpcmdln-lnx-6.5.1-free.rpm from 1999) and not SUSE specific. Back then I used it while coding the PGP support for KMail. However I've switched to GPG some years ago. Somehow I've forgotten to remove that package. I still have the RPM on my HDD, so if you need it for tests, let me know how to transfer it to you. I could attached the 2.8 MB, but I'm not sure that's what you want me to do. Shall I somehow save the RPM DB for you? If not, I'll simply try to remove that package and update if possible. -- 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=231211 ------- Comment #7 from a.gungl@gmx.de 2007-01-14 03:15 MST ------- Well, I attach the RPM. I've made a backup of my RPM DB and tried to install it again. Interestingly, I have had two lines stating "pgp-6.5.1-free-rsaref" and I couldn't deinstall the package. I'm somehow lost because I don't know how to get rid of that entry. Of course, that's beyond the scope of this bug report. So I'd be okay with a fresh installation if you decide to close this report. If you think you can help me though, that would be great - it would save me lots of work to reconfigure my system to the current state. TIA -- 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=231211 ------- Comment #8 from a.gungl@gmx.de 2007-01-14 03:18 MST ------- Created an attachment (id=112902) --> (https://bugzilla.novell.com/attachment.cgi?id=112902&action=view) Problematic RPM file causing in inconsistent RPM DB leading to the crash during the update installation -- 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=231211
------- Comment #9 from a.gungl@gmx.de 2007-01-14 06:04 MST -------
Here's some additional observation. I cannot access the RPM in question by its
full name. Howver I can access it by using only the beginning. But whatever I
do; I cannot get rid of the RPM.
laendler:/var/lib/rpm # rpm -qa | grep pgp
pgp-6.5.1-free-rsaref
laendler:/var/lib/rpm # rpm -evv pgp-6.5.1-free-rsaref
D: shared posix mutexes found(0), anyway adding DB_PRIVATE, using fcntl lock
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool:private
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name rdonly:nofsync mode=0x0
error: package pgp-6.5.1-free-rsaref is not installed
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
laendler:/var/lib/rpm # rpm -evv pgp
D: shared posix mutexes found(0), anyway adding DB_PRIVATE, using fcntl lock
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool:private
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name rdonly:nofsync mode=0x0
D: read h# 298 Header sanity check: OK
D: ========== --- pgp-6.5.1-free-rsaref i386/Linux 0x0
D: opening db index /var/lib/rpm/Requirename rdonly:nofsync mode=0x0
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: shared posix mutexes found(0), anyway adding DB_PRIVATE, using fcntl lock
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool:private
D: opening db index /var/lib/rpm/Packages create mode=0x42
D: locked db index /var/lib/rpm/Packages
D: mounted filesystems:
D: i dev bsize bavail iavail mount point
D: 0 0x0306 4096 5149035 8275521 /
D: 1 0x0003 4096 0 -1 /proc
D: 2 0x0000 4096 0 -1 /sys
D: 3 0x000f 4096 129492 129491 /dev/shm
D: 4 0x000a 4096 0 -1 /dev/pts
D: 5 0x0303 1024 13941 5976 /boot
D: 6 0x0015 4096 0 -1 /proc/bus/usb
D: 7 0x0016 4096 0 -1 /dev/capi
D: sanity checking 1 elements
D: computing 13 file fingerprints
D: opening db index /var/lib/rpm/Name create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Basenames create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Group create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Requirename create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Providename create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Conflictname create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Triggername create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Dirnames create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Requireversion create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Provideversion create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Installtid create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Sigmd5 create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Sha1header create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Filemd5s create:nofsync mode=0x42
D: opening db index /var/lib/rpm/Pubkeys create:nofsync mode=0x42
D: computing file dispositions
D: ========== --- pgp-6.5.1-free-rsaref
D: erase: pgp-6.5.1-free-rsaref has 13 files, test = 0
D: read h# 298 Header sanity check: OK
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Filemd5s
D: closed db index /var/lib/rpm/Sha1header
D: closed db index /var/lib/rpm/Sigmd5
D: closed db index /var/lib/rpm/Installtid
D: closed db index /var/lib/rpm/Provideversion
D: closed db index /var/lib/rpm/Requireversion
D: closed db index /var/lib/rpm/Dirnames
D: closed db index /var/lib/rpm/Triggername
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Requirename
D: closed db index /var/lib/rpm/Group
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
laendler:/var/lib/rpm # rpm -qi pgp
Name : pgp Relocations: (not relocatable)
Version : 6.5.1 Vendor: Network Associates Inc.
Release : free-rsaref Build Date: Fri Jul 2 02:28:54
1999
Install date: Tue Oct 30 20:57:38 2001 Build Host: jeep
Group : Utilities/File Source RPM:
pgp-6.5.1-free-rsaref.src.rpm
Size : 6166713 License: Network Associates
Technology Inc.
Signature : (none)
Packager : Myles Monroe
https://bugzilla.novell.com/show_bug.cgi?id=231211 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com AssignedTo|yast2-maintainers@suse.de |fehr@novell.com ------- Comment #10 from jsuchome@novell.com 2007-01-16 01:38 MST ------- Looks like packaging problem? (But zypp shouldn't crash anyway) -- 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=231211 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fehr@novell.com |locilka@novell.com ------- Comment #11 from fehr@novell.com 2007-01-16 03:36 MST ------- No idea why this comes to me. I have nothing to ith zypp nor with packaging nor with the update process itself. Reassigning to maintainer of yast2-update but maybe zypp maintainers would be even better. -- 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=231211 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |yast2-maintainers@suse.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=231211 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |kkaempf@novell.com Component|Installation |libzypp QAContact|jsrain@novell.com |kkaempf@novell.com -- 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=231211 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com AssignedTo|kkaempf@novell.com |ma@novell.com ------- Comment #12 from kkaempf@novell.com 2007-01-16 09:48 MST ------- Looks like the installed "pgp-6.5.1-free-rsaref" does not adhere to the RPM guidelines which define "name-version-release" (-> two dashes, and neither name, nor version, nor release might contain a dash). Please boot your current system and remove pgp-6.5.1-free-rsaref there. That said, libzypp should not crash but ignore such packages. -- 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=231211 ------- Comment #13 from a.gungl@gmx.de 2007-01-16 12:46 MST ------- Klaus, I would happily remove that RPM if I only knew how. Please see comment no. 9 with the output of some RPM comands. If you have any advice how I can get rid of that package, I'd be glad to follow. -- 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=231211 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #14 from ma@novell.com 2007-01-18 06:30 MST ------- I'd realy like to know how this package was built, beacuse a specfile line Release: free-rsaref usg. causes an error: line 3: Illegal char '-' in release: Release: free-rsaref Anyway, the zypp bug is obvious. Looks like the author did not expect that a rpmdb header does not make a valid package. That way a NULL package pointer gets inserted into the packages list, and this must not happen. -- 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=231211 ------- Comment #15 from ma@novell.com 2007-01-18 06:44 MST ------- (In reply to comment #13)
Klaus, I would happily remove that RPM if I only knew how. Please see comment no. 9 with the output of some RPM comands. If you have any advice how I can get rid of that package, I'd be glad to follow.
Removing the package with 'justdb' seems to be possible: rpm -e pgp --justdb The packages files remain on disk, so you have to remove them manually. -- 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=231211 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #16 from ma@novell.com 2007-01-18 07:53 MST ------- Fixed in libzypp-2.12.2: Broken database entries are skipped and not collected. -- 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=231211 ------- Comment #17 from a.gungl@gmx.de 2007-01-19 12:57 MST ------- Just want to thank you very much. Andreas -- 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