[26869] in Athena Bugs
Linux update failure from apparent dependency problem
daemon@ATHENA.MIT.EDU (Robert A Basch)
Sat Jun 24 13:12:09 2006
Message-Id: <200606241711.k5OHBjpe022725@anhedonia.mit.edu>
To: bugs@mit.edu
Date: Sat, 24 Jun 2006 13:11:45 -0400
From: Robert A Basch <rbasch@mit.edu>
X-Spam-Score: 3.548
X-Spam-Level: *** (3.548)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu
[I have discussed this with Andrew, and am submitting here for the
record.]
I encountered an update failure when a newly-installed Sun Fire V20z
updated from 9.3 to 9.4. After apparently installing all packages,
rpmupdate errored out with "Failed to run transactions". The problem
seems to be that the redhat-menus post-install scriptlet failed, due
to the update-desktop-database command not being present yet; the
update.log contains:
+ redhat-menus ###########################################/var/tmp/rpm-tmp.3383: line 1: update-desktop-database: command not found
error: %post(redhat-menus-3.7.1-2) scriptlet failed, exit status 127
[ 32%]
Then, a bit later, the desktop-file-utils rpm, containing the
update-desktop-database program, is finally installed:
+ desktop-file-utils ########################################### [ 36%]
Yet, "rpm -q --requires redhat-menus" lists desktop-file-utils as a
dependency:
desktop-file-utils >= 0.9
(We install desktop-file-utils-0.9-2).
So, based on this dependency, it seems that rpmlib should have
installed desktop-file-utils before redhat-menus, but did not,
thus resulting in the script failure.
When I reran the update, redhat-menus was installed successfully,
thus completing the update to 9.4.
Bob