[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Upgrade from old X packages with /usr/X11R6/bin/mkfontdir in %postun



Hi,

I just ran "yum update" on an FC4 machine to bring it up to date with
Rawhide to do some testing and ran into a few quirks.

One was VNC's scriplet :
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179849

Then, much more tricky... not sure if it's even worth bugzilla'ing since
it's clearly a dead end :-(

Removing  : fonts-xorg-ISO8859-15-100dpi ##################### [708/835]
/var/tmp/rpm-tmp.7625: line 3: /usr/X11R6/bin/mkfontdir: No such file or
directory error: %postun(fonts-xorg-ISO8859-15-100dpi-6.8.2-1.noarch)
scriptlet failed, exit status 127

Removing  : fonts-xorg-75dpi             ##################### [655/835]
/var/tmp/rpm-tmp.29316: line 3: /usr/X11R6/bin/mkfontdir: No such file or
directory error: %postun(fonts-xorg-75dpi-6.8.2-1.noarch) scriptlet
failed, exit status 127

For those packages' %postun, the stuff in /usr/X11R6/bin/ is obviously
gone now, so the failure is expected... and I can't think of any way to
sanely fix that.

The result is that those packages don't get erased from the local rpm
database...

Any brilliant ideas? (apart from symlinking stuff in /usr/X11R6/bin/ for
FC5...)

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 4 (Stentz) - Linux kernel 2.6.14-1.1656_FC4
Load : 0.49 0.49 0.56


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]