Re: FC4 rpm not working properly

From: Alexander Apprich (a.apprich_at_science-computing.de)
Date: 07/22/05

  • Next message: Martin Carlsson: "Re: Problem compiling kernel."
    Date: Fri, 22 Jul 2005 12:45:20 +0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Hi Rodrigo,

    Rodrigo López Negrete wrote:
    > Hello,
    >
    > I've recently upgraded from FC3 to FC4 via yum.
    > Everything worked fine until I decided to install a
    > couple of extra packages. NTFS support was one of
    > them.
    > I downloaded the correct rpm and ran
    >
    > rpm -ivh
    > kernel-module-ntfs-2.6.12-1.1398_FC4-2.1.22-0.rr.7.4.rpm
    >
    > And I got the following error...
    >
    > error:
    > %pre(kernel-module-ntfs-2.6.12-1.1398_FC4-2.1.22-0.rr.7.4.i686)
    > scriptlet failed, exit status 255
    > error: install: %pre scriptlet failed (2), skipping
    > kernel-module-ntfs-2.6.12-1.1398_FC4-2.1.22-0.rr.7.4
    >
    > After a couple of posts I got a solution to this by
    > using the --noscripts option with rpm.
    >

    --noscript isn't a solution for sure. ;-)

    > The problem is that rpm is not working properly when
    > installing or uninstalling packages. It doesn't matter
    > if I use yum or not. When, for example I tried to
    > uninstall amule I got:
    >
    > [root@ajenjo ~]# rpm -q amule
    > amule-2.0.1-1.2.fc4
    > [root@ajenjo ~]# yum remove amule
    > Repository extras already added, not adding again
    > Setting up Remove Process
    > Resolving Dependencies
    > --> Populating transaction set with selected packages.
    > Please wait.
    > ---> Package amule.i386 0:2.0.1-1.2.fc4 set to be
    > erased
    > --> Running transaction check
    >
    > Dependencies Resolved
    >
    > =============================================================================
    > Package Arch Version
    > Repository Size
    > =============================================================================
    > Removing:
    > amule i386 2.0.1-1.2.fc4
    > installed 5.6 M
    >
    > Transaction Summary
    > =============================================================================
    > Install 0 Package(s)
    > Update 0 Package(s)
    > Remove 1 Package(s)
    > Total download size: 0
    > Is this ok [y/N]: y
    > Downloading Packages:
    > Running Transaction Test
    > Finished Transaction Test
    > Transaction Test Succeeded
    > Running Transaction
    > error: %preun(amule-2.0.1-1.2.fc4.i386) scriptlet
    > failed, exit status 255
    >
    > Removed: amule.i386 0:2.0.1-1.2.fc4
    > Complete!
    > [root@ajenjo ~]# rpm -q amule
    > amule-2.0.1-1.2.fc4
    >

    The rpm will be removed from the rpm database after the postremove
    scripts have finished.

    >
    >
    >
    > As you can see, amule did not get removed... Has
    > anybody else seen this type of thing? Has anybody else
    > gotten this problem? Is this a bug in rpm, should I
    > report it?
    >
    > In any case, I'd really appreciate some help. I'm
    > using FC4 with kernel-2.6.12-1.1398_FC4 on an i686.
    > I'm also using:
    > rpm-4.4.1-22
    > yum-2.3.2-7
    >

    try the following...

    1. (re)move /var/lib/rpm/__db.00*
    2. rpm --rebuilddb

    Had the same problem after installing FC4, but I had this problem ever
    since RH8.0 every now and then.

    > THANKS AGAIN!!!
    >
    Hth

    Alex

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Martin Carlsson: "Re: Problem compiling kernel."

    Relevant Pages

    • Re: [SLE] libphp4.so?
      ... > base on which all other packages build: ... rpm -qa | grep cpp ... yast the NVIDIA drivers won't install via the installer, ...
      (SuSE)
    • Re: Redhat upgrade problem - packages fail rpm -Va
      ... > being owned by multiple packages, ... # rpm -V up2date ... {Only config files in verify error list. ... We can lean something from Microsoft's install process. ...
      (linux.redhat.install)
    • Re: Redhat upgrade problem - packages fail rpm -Va
      ... > being owned by multiple packages, ... # rpm -V up2date ... {Only config files in verify error list. ... We can lean something from Microsoft's install process. ...
      (comp.os.linux.setup)
    • Re: how to add rpm ?
      ... > I have install Fc2 from NFS. ... Get yourself a good installation of "apt for rpm." ... This will upgrade all existing packages on your system. ...
      (Fedora)
    • FW: [SLE] YaST Online Update Problem
      ... >>update one of the rpms manually to see if rpm will give you a better error ... >SuSE to try to apply one of the patches? ... >I've always used YaST for Online Updates and for installing new packages. ... Not only that, but at the end of the install, it ...
      (SuSE)