How to uninstall things installed with dpkg?

pete smout psmouty at live.com
Sun May 19 23:19:38 UTC 2013


On 19/05/13 22:54, Johnny Rosenberg wrote:
> 2013/5/19 Nils Kassube <kassube at gmx.net>:
>> Johnny Rosenberg wrote:
>>> 2013/5/19 Bill Dengler(arch Gnu/Linux) <billkd2008 at gmail.com>:
>>>> Or dpkg -r packagename
>>>
>>> That one gave me some errors, but I could uninstall Apache OpenOffice
>>> and LibreOffice now, at least.
>>>
>>> Something is still wrong though (translated to English with Google
>>> Translate): ~ $ sudo apt-get autoremove
>>
>> You could avoid deficiencies of google translation if you start your
>> command with "LCALL=C" like this:
>>
>> LCALL=C sudo apt-get autoremove
>>
>> Then the output is in English even if your standard language is Swedish.
>>
>>> Reading package lists ... Finished
>>> Building dependency tree
>>> Reading state information ... Finished
>>> You should run "apt-get-f install" to correct these.
>>> The following packages have dependencies that can not be satisfied:
>>>    libreoffice-core: Depends: libreoffice-common (> 1:3.5.7) but it is
>>> not installed
>>> E: Unmet dependencies. Try with -f.
>>> ~$ sudo apt-get -f install
>>
>> As I understand it, you wanted to remove libreoffice. Then I would have
>> tried
>>
>> sudo dpkg -r libreoffice-core
>>
>> instead of installing unwanted things.
>
> That's a good point. Why didn't I think of that…? :P
>
> That did the trick, or at least a part of it. I also had to remove
> ”python-uno” and ”libreoffice-something-I-don't-remember-its-name” the
> same way. Then I could remove all those 288 redundant packages with
> the autoremove command. There were some error messages about missing
> files or directories, but it seem to have worked.
>
> ~$ LC_ALL=C sudo apt-get autoremove
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
> ~$
>
> Those ”5 not upgraded”, how can I see them? What does it mean? That
> they are not upgraded, but they SHOULD be?
>
>
> Johnny Rosenberg
>
>
>>
>>
>> Nils
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
hi,

I had this once on Lucid, got round it using synaptic marking all 
upgrades, then you can review them after clicking apply! (just to make 
sure your not upgrading what youve spent hours trying to remove!)

Regaards

Pete





More information about the ubuntu-users mailing list