Problems with Broken RPM package

Craig White craigwhite at azapple.com
Wed Dec 28 01:27:22 UTC 2005


On Tue, 2005-12-27 at 18:20 -0700, C.F. Scheidecker Antunes wrote:
> Hello all,
> 
> I have been updating this system from FC2 to FC3 and now to FC4.
> I've noticed that I have 2 versions of hal installed : 
> hal-0.4.6-1.FC3.i386  and hal-0.5.2-2.i386.
> Clearly a no-good situation. I get stuck on upgrading my machine because 
> of that.
> 
> I've tried to remove it with both rpm and yum and got errors.
> 
> I've tried to rebuild the rpm database as well, but the problem still 
> the same.
> How can I fix it?
> 
> Thanks,
> C.F.
> 
> Here's what happens when I run rpm and yum:
> 
> rpm -e hal-0.4.6-1.FC3.i386
> error: %postun(hal-0.4.6-1.FC3.i386) scriptlet failed, exit status 1
> 
> for yum :
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Removing:
>  hal                     i386       0.4.6-1.FC3      installed         359 k
> 
> 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
>   Removing  : hal                          ######################### [1/1]
> error: %postun(hal-0.4.6-1.FC3.i386) scriptlet failed, exit status 1
> 
> Removed: hal.i386 0:0.4.6-1.FC3
> Complete!
----
rpm -e --noscript hal-0.4.6-1.FC3.i386

Craig




More information about the users mailing list