clone 429708 -1 reassign -1 dpkg retitle -1 dpkg: Failed install followed by failed remove results in installed state thanks
> I start with something like this: > iF libghc6-hsh-dev 1.2.3 Library to mix shell > scripting with Haskell > > And then try to remove libghc6-hsh-dev, and get: > # apt-get remove libghc6-hsh-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages were automatically installed and are no longer > required: > libghc6-missingh-dev libghc6-hslogger-dev > Use 'apt-get autoremove' to remove them. > The following packages will be REMOVED: > libghc6-hsh-dev > 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. > 1 not fully installed or removed. > Need to get 0B of archives. > After unpacking 614kB disk space will be freed. > Do you want to continue [Y/n]? y > (Reading database ... 11078 files and directories currently installed.) > Removing libghc6-hsh-dev ... > ghc-pkg: cannot find package HSH-1.2.1 > dpkg: error processing libghc6-hsh-dev (--remove): > subprocess pre-removal script returned error exit status 1 > Errors were encountered while processing: > libghc6-hsh-dev > E: Sub-process /usr/bin/dpkg returned an error code (1) > > After which I get: > ri libghc6-hsh-dev 1.2.3 > > Which looks like a wrong state to me, and looks like a bug in dpkg. Because I believe this is a bug in dpkg, I'm atleast going to reassign that part to it. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]