[Bug 258682] New: rpm should PreReq libbz2 in factory otherwise it breaks.
https://bugzilla.novell.com/show_bug.cgi?id=258682 Summary: rpm should PreReq libbz2 in factory otherwise it breaks. Product: openSUSE 10.3 Version: Alpha 2plus Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: judas_iscariote@shorewall.net QAContact: qa@suse.de Hi: Unless Im missing something , seems a bug exists in factory's RPM. Zypper and smart are unable to handle an upgrade, because rpm gets upgraded first and fails with the following message. while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory this is because the new(') libbz2 pacakge is not previuosly installed.. so.. it needs to be a PreReq 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=258682 judas_iscariote@shorewall.net changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mls@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=258682 ------- Comment #1 from mrueckert@novell.com 2007-03-28 22:30 MST ------- normally it should be pulled in as library dependency for libbz2.so.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=258682 ------- Comment #2 from judas_iscariote@shorewall.net 2007-03-28 23:00 MST ------- (In reply to comment #1)
normally it should be pulled in as library dependency for libbz2.so.1.
Yes ;) but I think there is problem with the order this pacakges are installed, this problem is 100% reproducible (3 of 3 in my case) , with either zypper or smart. upgrade from alpha 2 to alpha2 plus . zypper will die after rpm complains about libbz2.so.1 and smart will keep going rendering the system unusable after reboot. -- 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=258682 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenther@novell.com, aj@novell.com, | |ro@novell.com, kkaempf@novell.com Priority|P5 - None |P1 - Urgent ------- Comment #3 from aj@novell.com 2007-03-29 00:51 MST ------- I had a similar problem, this needs a solution asap. -- 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=258682 ------- Comment #4 from rguenther@novell.com 2007-03-29 02:37 MST ------- This sounds like a zypper / smart problem really. PreReq is the same as Requires since ages, so it won't change anything. But maybe adding a package Requires magically fixes them. -- 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=258682 ------- Comment #5 from ro@novell.com 2007-03-29 02:49 MST ------- I don't really understand the problem. Before, the required package was bzip2 now it's libbz2. There was no special (manually generated) dependency in either case. If it quits working now, I'd suspect some kind of hardcoded assumption might break in these installers. There could be the missing libbz2 since bzip2 has apparently been updated first. For zypper, libbz2 could have a split-provides, which could maybe help, no idea about the other tools (and their solvers). -- 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=258682 ------- Comment #6 from rguenther@novell.com 2007-03-29 03:03 MST ------- The problem is that the update from bzip2 to bzip2 and libbz2 is not done atomically (with one invocation of rpm). It appears that first bzip2 is updated, losing libbz2.so and so the install of libbz2 fails at the invocation of rpm. A split-provides or obsoletes of bzip2 in libbz2 could help, but the real solution is to allow atomic updates of more than one package. Klaus agrees here but autobuild seemed to have concerns in the past. -- 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=258682 ------- Comment #7 from judas_iscariote@shorewall.net 2007-03-29 03:20 MST ------- (In reply to comment #6) ot done atomically (with one invocation of rpm). It appears that first
bzip2 is updated, losing libbz2.so and so the install of libbz2 fails at the invocation of rpm.
yup, hence libbz2 has to be installed first.
A split-provides or obsoletes of bzip2 in libbz2 could help,
maybe.
but the real solution is to allow atomic updates of more than one package.
or going back to the old ( and working) non splitted package version ( if aint' broke, dont break 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=258682 ------- Comment #8 from kkaempf@novell.com 2007-03-29 04:17 MST ------- Just to collect the facts: Old: bzip2 provides binary and libbz2 New: binary and lib are splitted into distinct packages Bug: bzip2 is updated before libbz2, thereby loosing its functionality Problem: - Installing libbz2 before updating bzip2 will get a file conflict. (On the shared lib provided by the old bzip2 package and the new libbz2 package). - Updating bzip2 before installing libz2 will render rpm unfunctional. Possible solutions: - update bzip2 and install libbz2 in one atomic operation. (preferred solution) - Have bzip2 explicitly pre-requiring libbz2, thereby forcing installation of libbz2 before updating bzip2. This will still trigger an internal file conflict but will keep rpm functional. -- 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=258682 ------- Comment #9 from mrueckert@novell.com 2007-03-29 04:47 MST -------
- Have bzip2 explicitly pre-requiring libbz2, thereby forcing installation of libbz2 before updating bzip2. This will still trigger an internal file conflict but will keep rpm functional.
from watching zypper i know it handles this fileconflict stuff more or less nicely (rpm --force) so this solution isnt that bad. and i always thought zypp uses --force quite often as we always install 1 package at a time. in long term i would prefer zypp "grouping" rpms if they need be to installed in one step (should mostly happen after splits or when packages require each other (see new vim and e.g. vim-normal)) -- 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=258682 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kukuk@novell.com ------- Comment #10 from aj@novell.com 2007-03-29 05:08 MST ------- I propose: Directly add PreReq as a workaround Longer term: Make rpm groups for related packages to do such atomic updates. -- 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=258682 ------- Comment #11 from kkaempf@novell.com 2007-03-29 05:33 MST ------- Michael (mls), please think about relaxing the requirement to install one package at a time. -- 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=258682 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@novell.com, stbinner@novell.com ------- Comment #12 from stbinner@novell.com 2007-03-31 00:28 MST ------- After the latest Factory upgrade in the build service this lets ALL Factory based repositories' builds fail. -- 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=258682 ------- Comment #13 from stbinner@novell.com 2007-03-31 00:51 MST ------- Rather seems someone forgot to update the build system scripts in OBS: touch abuild/lib/abuild/init_buildsystem/i386/base-files/libbz2 and alike could fix it there. -- 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=258682 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |ma@novell.com ------- Comment #14 from mls@novell.com 2007-04-02 09:18 MST ------- #10 and #11: I don't think rpm groups make sense here. #8: who cares about file conflicts with not-yet updated packages? It's completely normal and nothing to worry about. The problem is again that package ordering should consider the dependencies of already installed packages. We don't do that yet, as it is a costly operation (I don't know of any updater that does it). Regarding the build service, it should be fixed now. Reassigning to ma because of the ordering problem. -- 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=258682 ------- Comment #15 from rguenther@novell.com 2007-04-11 04:00 MST ------- Why do you think that doing atomic updates with rpm where it is required does not make sense? From my point of view anything else does not make sense. I also wonder why rpm doesn't complain if you 'update' bzip2 without installing libbz2. I suppose this is because we install with rpm ignoring dependency problems... -- 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=258682 ------- Comment #16 from mls@novell.com 2007-04-11 04:12 MST ------- Sigh, another one who confuses dependency solving with transaction implementation. I don't think your comment makes sense, you're suggesting that we update all of the 28 package required by rpm in one transaction. I really don't think it makes sense to special case rpm. Such broad changes are only done in a system update, in that case you must boot into the inst-sys anyway. Back to the problem, it's really not about rpm. Just think of failing post installs and the like. -- 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=258682 ------- Comment #17 from judas_iscariote@shorewall.net 2007-04-11 04:36 MST ------- (In reply to comment #16)
Back to the problem, it's really not about rpm. Just think of failing post installs and the like.
DO you have a workaround for this. I was unable to find any. 1 installed libz2 manually and upgraded bzip2 manually, didnt work, package managers fail. 2. tried 1 + rpm update manually, didnt work either, rpm process abort with no error message ( at leats is not shown by zypper) After trying other combinations that did work and started to imagine chickens and eggs to figure what was 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=258682 ------- Comment #18 from judas_iscariote@shorewall.net 2007-04-11 04:39 MST ------- (In reply to comment #17) trying other combinations that did work and started to imagine chickens
and eggs to figure what was first :-)
I mean "did NOT" work. of course. I stopped testing factory as any way I tried renders the system 's basic package tools useless. (and the severity of this problem should be "blocker" IMHO) -- 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=258682 ------- Comment #19 from mls@novell.com 2007-04-11 04:45 MST ------- Major system updates should be done from the instsys, i.e. boot the rescue disk and use rpm's "--root" option. There's probably also an easier workaround by manually calling rpm with a bunch of packages as arguments, so that the update is done in one transaction. -- 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=258682 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=258682#c22
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com