[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get nightmare



on Fri, Aug 01, 2003 at 06:30:14PM -0400, David Z Maze (dmaze@debian.org) wrote:
> user list <debian-user@icantbelieveimdoingthis.com> writes:
> 
> > I'm trying to upgrade a laptop and I get the following error.
> >
> > Removing gnome-control-center 
> > dpkg: error processing gnome-control-center (--remove):
> > subprocess post-removal script returned error exit status 127
> >
> > Any insight would be appreciated.
> 
> The message you posted says that gnome-control-center's postrm script
> (/var/lib/dpkg/info/gnome-control-center.postrm) failed.  That's about
> it.  You'd have to look at the actual script to figure out why, and
> what can be done about it.

More specifically:  invoke the script directly.  See if it errors out.
You can also add a 'set -v' following the magic line (first line) of the
script to echo all commands to stdout as they're executed to see where
the error occurs.

If all else fails, try to work out what the script does, do these steps
manually, and replace the whole thing with a call to /bin/true.  dpkg
just checks for the exit status of the script, this will always complete
without errors.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    "I repeat, all planet leave is cancelled. I've just had an unhappy
    love affair, so I don't see why anybody else should have a good
    time."
    -- HHGTG

Attachment: pgpk4rpLHzguT.pgp
Description: PGP signature


Reply to: