[Bug 249425] New: filesystem.rpm: LUA dependency?
https://bugzilla.novell.com/show_bug.cgi?id=249425 Summary: filesystem.rpm: LUA dependency? Product: openSUSE 10.3 Version: Alpha 1 Platform: x86 OS/Version: Linux Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Upgrading from 9.3 to 10.2 using smart or rpm will throw a strange error. basic93sys# rpm -Uhv filesystem-10.2-22.i586.rpm error: Failed dependencies: rpmlib(BuiltinLuaScripts) <= 4.2.2-1 is needed by filesystem-10.2-22 (1) This tells me BuiltinLuaScripts needs to be ... downgraded?! (2) Why do I need LUA? $ rpm -qp filesystem-10.2-22.i586.rpm --scripts preinstall scriptlet (using <lua>): os.remove ("/usr/include/X11") os.remove ("/usr/lib/X11") (3) Is the <= really correct, or should it be >= ? $ rpm -Rqp filesystem-10.2-22.i586.rpm | grep rpmlib rpmlib(BuiltinLuaScripts) <= 4.2.2-1 And, on a clean 10.2 install, `rpm -qa --provides | grep rpmlib` does not list anything - which can't be, can it, given that rpmlib(BuiltinLuaScripts) must be installed. -- 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=249425 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |ro@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=249425 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #1 from andreas.hanke@gmx-topmail.de 2007-02-27 13:52 MST ------- - Yes, the <= is really correct - "rpm -qa --provides" does not list anything because rpmlib(BuiltinLuaScripts) is an internal rpmlib symbol - You have to upgrade rpm 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=249425 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2007-02-27 14:18 MST ------- Just for comparison: # rpm -q --requires glibc | grep rpmlib rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadIsBzip2) <= 3.0.5-1 # rpm -q --whatprovides 'rpmlib(PayloadFilesHavePrefix)' no package provides rpmlib(PayloadFilesHavePrefix) => This is normal. Anyway, I wonder how this should work given that rpmlib provides don't even appear in the YaST2 repository metadata. Even if it might not be a bug, I'm curious how a depsolver should deal with this. -- 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=249425 ------- Comment #3 from andreas.hanke@gmx-topmail.de 2007-02-27 14:40 MST ------- rpmlib provides don't appear in the YUM metadata either. -- 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=249425 ------- Comment #4 from jengelh@gmx.de 2007-02-27 15:27 MST ------- The potential problem I see with "You have to upgrade rpm first" is that 'rpm' might end up in a circular dependency with 'filesystem'. (rpm - glibc - this and that - and eventually filesystem) -- 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=249425 ------- Comment #5 from andreas.hanke@gmx-topmail.de 2007-02-27 15:43 MST ------- Well, usually a system upgrade is done by booting from the installation media and mounting the installed-and-to-be-upgraded system somewhere and installing the packages with rpm -U --root /mountpoint..., so there is no problem because you have a sufficiently recent rpm (with BuiltinLuaScripts) in the inst-sys. Anyway, the thing with the dependency cycle is still an interesting question, but it doesn't differ from the situation during a new installation (the same cycle would occur there as well) and new installations obviously work. -- 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=249425 ro@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #6 from ro@novell.com 2007-04-15 12:33 MST ------- as for the original bug report: the lua script is used instead of a bash script, since with bash the possible dependency cycle would be even worse ... and the dependency is on the rpm-internal lua, not on the external package lua, and that far everything is correct. unless we find something better, I think the current solution is the best approach. -- 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=249425 Jan Engelhardt <jengelh@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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.
participants (1)
-
bugzilla_noreply@novell.com