[Cialug] manually remove package kubuntu 9.10

Mathew R. Phillips mathew.phillips at wartburg.edu
Thu Dec 17 07:15:39 CST 2009


That did it!...so basically when a package is corrupted delete it from that status file and reinstall it with apt and it overwrites the corrupt stuff...very neat.


-----Original Message-----
From: cialug-bounces at cialug.org on behalf of Sarkhan Elkhanzade
Sent: Wed 12/16/2009 11:51 PM
To: Central Iowa Linux Users Group
Subject: Re: [Cialug] manually remove package kubuntu 9.10
 
http://ubuntuforums.org/showthread.php?t=455541

Try solution from post #4. It should work. Don't forget backup your
'/var/lib/dpkg/status'
file. If something goes wrong you can restore your system with that file.

Regards,
Sarkhan Elkhanzade

On Wed, Dec 16, 2009 at 11:16 PM, Mathew R. Phillips <
mathew.phillips at wartburg.edu> wrote:

> This is what i get
>
> matt at matt-laptop:~$ sudo dpkg --remove --force-remove-reinstreq
> flashplugin-nonfree
> dpkg: warning: overriding problem because --force enabled:
>  Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
> (Reading database ... 115417 files and directories currently installed.)
> Removing flashplugin-nonfree ...
> update-alternatives: error: no alternatives for iceape-flashplugin.
> update-alternatives: error: no alternatives for iceape-flashplugin.
> dpkg: error processing flashplugin-nonfree (--remove):
>  subprocess installed pre-removal script returned error exit status 2
> postinst called with argument `abort-remove'
> dpkg: error while cleaning up:
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  flashplugin-nonfree
>
>
>
> -----Original Message-----
> From: cialug-bounces at cialug.org on behalf of Sarkhan Elkhanzade
> Sent: Mon 12/14/2009 2:13 PM
> To: Central Iowa Linux Users Group
> Subject: Re: [Cialug] manually remove package kubuntu 9.10
>
> Did you tried 'dpkg --remove --force-remove-reinstreq "package name" ' ?
>
> Sarkhan Elkhanzade
>
> On Mon, Dec 14, 2009 at 1:31 PM, Mathew R. Phillips <
> mathew.phillips at wartburg.edu> wrote:
>
> >
> > Ok...so I've had flash working since i got 9.10 installed on my computer.
> > The other day i did some updates and now its saying that flash is not
> > installed anymore. I've tried some forum postings and i can't seem to get
> > anything working. And to make things worse I have a messed up
> > flashplugin-nonfree package that i cannot fully remove right now.
> >
> > The following packages will be REMOVED:
> >   flashplugin-nonfree
> > 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> > 2 not fully installed or removed.
> > After this operation, 160kB disk space will be freed.
> > Do you want to continue [Y/n]? Y
> > dpkg: error processing flashplugin-nonfree (--remove):
> >  Package is in a very bad inconsistent state - you should
> >  reinstall it before attempting a removal.
> > Errors were encountered while processing:
> >  flashplugin-nonfree
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > Does anyone know how to manually get rid of a package without using
> > kpackagekit or apt?
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> >
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4418 bytes
Desc: not available
Url : http://cialug.org/pipermail/cialug/attachments/20091217/cc566018/attachment-0001.bin 


More information about the Cialug mailing list