On Sun, Nov 13, 2011 at 19:58, Nsubuga Hassan <[email protected]> wrote:
>
> I am using Ubuntu 11.04, however I can't install new programs due to a broken 
> package!
>
> The error I get when I open the Synaptic Package Manager is : You have one 
> broken package on your system! Use broken filters to locate it.
>
> On using the broken filter I discovered that the broken package is 
> sun-java6-jre. I higlighted it and marked it for removal and when I apply 
> changes I get another error :
>
> E: sun-java6-jre: Package is in a very bad inconsistent state - you should 
> reinstall it before attempting a removal.
>
> I have tried commands like
>
> sudo dpkg --configure --a force-all
>
> and got an error : dpkg: error: dpkg status database is locked by another 
> process
>

For this error, you can find the other update process and first kill
it. you may do this by 'ps aux | grep apt' to find the process Id and
kill it by 'kill -TERM <process-id>'. After that, try to run dpkg
again.

> I have use other commands like:
>
> sudo apt-get install && sudo apt-get upgrade
>
> sudo dpkg –configure -a
>
> sudo apt-get clean
>
> and I've all been flogging a dead horse
>

Please tell us the exact error(s) so that we see how to  help.

> Will upgrading to ubuntu 11.10 help? Some body help.
>

Yes, it definitely will, but need to first fix the error that you get
above while trying to upgrade.

Kind Regards,
Wilson

> --
>
> May God advance us in Knowledge
> Nsubuga Hassan.
> GTUG lead (Mbale GTUG)
>
> _______________________________________________
> The Uganda Linux User Group: http://linux.or.ug
>
> Send messages to this mailing list by addressing e-mails to: [email protected]
> Mailing list archives: http://www.mail-archive.com/[email protected]/
> Mailing list settings: http://kym.net/mailman/listinfo/lug
> To unsubscribe: http://kym.net/mailman/options/lug
>
> The Uganda LUG mailing list is generously hosted by INFOCOM: 
> http://www.infocom.co.ug/
>
> The above comments and data are owned by whoever posted them (including 
> attachments if any). The mailing list host is not responsible for them in any 
> way.
_______________________________________________
The Uganda Linux User Group: http://linux.or.ug

Send messages to this mailing list by addressing e-mails to: [email protected]
Mailing list archives: http://www.mail-archive.com/[email protected]/
Mailing list settings: http://kym.net/mailman/listinfo/lug
To unsubscribe: http://kym.net/mailman/options/lug

The Uganda LUG mailing list is generously hosted by INFOCOM: 
http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The mailing list host is not responsible for them in any 
way.

Reply via email to