FC4 rpm not working properly

Rodrigo López Negrete rlopneg at yahoo.com
Fri Jul 22 04:29:40 UTC 2005


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. 

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 at ajenjo ~]# rpm -q amule
amule-2.0.1-1.2.fc4
[root at 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 at ajenjo ~]# rpm -q amule
amule-2.0.1-1.2.fc4




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

THANKS AGAIN!!!

  -Rodrigo LN

Two roads diverged in a wood, and I—  
I took the one less traveled by,  
And that has made all the difference.

                         From "The Road Not Taken" 
                          by Robert Frost

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the fedora-list mailing list