Error installing dev update

Phil Schaffner Philip.R.Schaffner at NASA.gov
Mon Aug 30 19:10:58 UTC 2004


On Mon, 2004-08-30 at 12:35 -0400, Nalin Dahyabhai wrote:
> On Mon, Aug 30, 2004 at 06:31:12PM +0200, shrek-m at gmx.de wrote:
> > Phil Schaffner wrote:
> > 
> > >Running "yum upgrade" generated the following...
> > >
> > >Cannot install the dev package: mounted devfs detected.
> > >error: %pre(dev-3.9.1-1) scriptlet failed, exit status 1
> > >error:   install: %pre scriptlet failed (2), skipping dev-3.9.1-1
> > >
> > >How does one update the dev package?
> > 
> > ??
> > 
> > # rpm -Fvh --nopre /path/to/dev*
> > 
> > eg.
> > /var/cache/yum/developement/packages/dev*
> > 
> > ??
> 
> Er, that gives you a /dev/MAKEDEV symlink in udev which (I think) goes
> away when you reboot, and a lingering binary in the root partition's
> /dev directory which isn't current.  Not that I have a proper solution.

OK - shrek-m's advice works with a slight variance:

[root at wx1 ~]# rpm -Fvh --nopre /var/cache/yum/development/packages/dev-3.9.1-1.i386.rpm
[root at wx1 ~]# rpm -q dev
package dev is not installed
[root at wx1 ~]# rpm -Uvh --nopre /var/cache/yum/development/packages/dev-3.9.1-1.i386.rpm
Preparing...                ########################################### [100%]
   1:dev                    ########################################### [100%]

Didn't see the symlink before reboot, but perhaps because dev package
was not installed in the first place, although yum wanted to update it.
Reboot encountered other problems with 533 kernel.  Will post on that
issue.

Thanks for the help.

Phil






More information about the test mailing list