[PlanetCCRMA] Broken Package

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Oct 19 09:56:01 2005


On Wed, 2005-10-19 at 15:38 +0800, Robert Jonkman wrote:
> I'm having a problem with apt.  In my attemps to install a Chinese input 
> method I now have a broken package.  This is the error I'm receiving 
> from inside synaptic:
> 
> APT system reports:
> error: %postun(scim-1.4.2-4.fc4.i386) scriptlet failed, exit status 1
> W: Some errors occurred while running transaction
> 
> Does anyone know what I have to do to remove this package? 

You can use rpm itself to erase the package:
  rpm -e scim
If the uninstall script fails and the package is not erased you could
try:
  rpm -e --no-scripts scim

The package may still work, it depends on what failed on the install
script. To see the scripts you could do a:
  rpm -q --scripts

-- Fernando