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

Re: apt-get dist-upgrade -f giving some odd error when trying to remove gdm



On Sat, Jul 07, 2001 at 11:06:15PM +0200, Joost Kooij wrote:
> On Sat, Jul 07, 2001 at 02:25:55PM +1200, bewm wrote:
> > hi,
> > 
> > i typed in, apt-get dist-upgrade -f
> > it downloads all the files like normal,
> > but for them to install it had to remove a package called gdm...
> > this is what it said when it tried to remove it:
> > 
> > Removing gdm ...
> > dpkg: error processing gdm (--remove):
> > subprocess pre-removal script returned error exit status 1
> > Errors were encountered while processing:
> > gdm
> > 
> > anyone know how to fix this or atleast tell me how to get rid of gdm so i
> > can successfully dist-upgrade..
> 
> Edit /var/lib/dpkg/available/info/gdm.prerm and put a line
                     ^^^^^^^^^ oops, brainfart

Edit /var/lib/dpkg/info/gdm.prerm and put a line

  set -x
 
somewhere at the top (but not at the very top).
 
Then look where it breaks.
 
Cheers,
 
 
Joost



Reply to: