Apt-get refusing to remove a package

Marius Gedminas marius at pov.lt
Sun Oct 15 17:50:53 UTC 2006


On Sat, Oct 14, 2006 at 01:14:35PM -0700, Jared Buck wrote:
> Hey all.  I'm using Edgy Eft and the package manager is being stubborn
> about removing a package i installed by accident.
> 
> Here's the output I've been getting:
> 
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer required:
>   graphviz-cairo
> The following packages will be REMOVED:
>   graphviz-cairo
> 0 upgraded, 0 newly installed, 1 to remove and 82 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 193kB disk space will be freed.
> Do you want to continue [Y/n]? Y
> (Reading database ... 174358 files and directories currently installed.)
> Removing graphviz-cairo ...
> /var/lib/dpkg/info/graphviz-cairo.postrm: 11: dot: not found
> dpkg: error processing graphviz-cairo (--remove):
>  subprocess post-removal script returned error exit status 127
> Errors were encountered while processing:
>  graphviz-cairo
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> jared at ubuntu:~$

It's this bug: https://launchpad.net/bugs/59929

> What do I need to do to get this stubborn package OUT of my system so
> I can do updates and other stuff again?

You could apt-get install graphviz (which provides the missing 'dot'
binary), then remove graphviz-cairo, then remove graphviz.

Or you could do nothing, since you already solved the problem, judging
from the other emails in this thread :)

Anyway, I wanted to thank you for directing my attention to this
package.  It's something I've always wanted to have.  Now if I could
only figure out how to use it...

Marius Gedminas
-- 
I'm a shareware signature!  Send $2 if you use me, $10 for a manual.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061015/97ea6150/attachment.sig>


More information about the ubuntu-users mailing list