How to uninstall things installed with dpkg?
Johnny Rosenberg
gurus.knugum at gmail.com
Sun May 19 18:49:50 UTC 2013
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
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
Reading package lists ... Finished
Building dependency treeReading state information ... Finished
Correction dependencies .... Finished
The following packages were automatically installed and are no longer necessary:
knetwalk libkasten1controllers1 kpat kdepim kolf ksystemlog
kscreensaver-xsavers kde-config-cddb krdc libboost-python1.46.1 krfb
libmarblewidget13 kdesdk
libmailcommon4 kscd kppp libktnef4 kshisen kmahjongg kcharselect
kjumpingcube kdeartwork-style kanagram libkexiv2-10 cervisia knode
kblocks katomic
kdesdk-kio-plugins kdegames-card-data kscreensaver kruler
kolourpaint4 libkeduvocdocument4 python-levenshtein svgpart ktux
kdegraphics-strigi-analyzer
klettres kajongg libgrantlee-core0 libkdegames5a fonts-dustin
kgoldrunner libkmahjongglib4 freespacenotifier avogadro-data
printer-applet
kdegraphics-thumbnailers kgeography xplanet plasma-widget-lancelot
ksnapshot libksieveui4 libcfitsio3 libkipi8 xscreensaver-gl
kaccessible kblackbox
python-avogadro libotr2 libgrantlee-gui0 bomber kiriki libkggzgames4
konsolekalendar palapeli-data kde-config-cron libkleo4 libglew1.5
kstars
plasma-desktopthemes-artwork ttf-dustin linux-headers-3.2.0-39
kbruch kcolorchooser gwenview advancecomp libkasten1okteta1core1
kapptemplate libmessagelist4
libokteta1core1 libkxmlrpcclient4 libkggznet4 umbrello kcalc
plasma-dataengines-addons libktorrent3 libkggzmod4 kalgebra-common
klipper
kdemultimedia-kio-plugins parley kdeplasma-addons kontact kmplot
kdiamond kalzium subversion ksysguard ksirk ksquares klinkstatus
klickety libkcddb4
kopete-message-indicator linux-headers-3.2.0-39-generic-pae libgadu3
kdegraphics-mobipocket kalarm kdegames-mahjongg-data blogilo
python-utidylib
kalzium-data kdewebdev kmenuedit kwrite kdegames
libkasten1okteta1gui1 amor libcalendarsupport4 rocs ktouch
kgeography-data kremotecontrol kdeaccessibility
kdeedu-kvtml-data kbreakout kbounce kfourinline
plasma-runners-addons korganizer kdetoys libkasten1okteta1controllers1
libincidenceeditorsng4
kimagemapeditor kde-baseapps valgrind akregator libkdeedu-data
kollision libanalitza4abi1 kamera ark sweeper lokalize xplanet-images
libkpgp4 libqgpgme1
kde-window-manager-common kwordquiz libmessageviewer4
libtemplateparser4 ktron bovo libkdepim4 libokteta1gui1
libkdecorations4 libkwinglutils1 kdenetwork
kdeartwork-emoticons step kdewallpapers libkipi-data krosspython
libksieve4 kuser systemsettings klettres-data kreversi kdf kdm
kspaceduel libkrossui4 kig
libkasten1core1 rdesktop ksudoku juk tasks-icons kalgebra klines
libboost-graph1.46.1 kdemultimedia kstars-data python-iniparse lskat
libkdgantt2
kdenetwork-filesharing plasma-wallpapers-addons knotes kgamma
kcachegrind libknewstuff2-4 kfilereplace kommander
plasma-widget-message-indicator libkopete4
kubrick libkexiv2-data libindicate-qt1 libavogadro1 ksaneplugin
kdeutils libkblog4 kdegraphics khangman kaddressbook marble
libopenbabel4 libindi0
plasma-widgets-addons kinfocenter killbots kapman libindi-data
kdeartwork-theme-window plasma-scriptengine-superkaramba
python-enchant
libkdepimdbusinterfaces4 libc6-dbg poxml translate-toolkit
screen-resolution-extra parley-data libkasten1gui1 kpartloader
cvsservice libkmanagesieve4
kbattleship kdeadmin python-vobject pkg-kde-tools filelight
libksignalplotter4 python-qt4-sql ktimetracker
plasma-containments-addons libkdcraw20
kdepim-strigi-plugins kopete plasma-widget-folderview
libanalitzagui4abi1 okteta kdesdk-misc palapeli kate libeventviews4
kmail ktouch-data kdeedu
libmessagecore4 marble-data kjots libkdcraw-data kmines kget
kdesdk-strigi-plugins marble-plugins kdesdk-scripts libnova-0.12-2
kgpg konquest
system-config-printer-kde kigo dragonplayer xscreensaver-data
kmousetool optipng libkateinterfaces4 libmsn0.3 kuiviewer kmag
kdepim-kresources gnugo
ktuberling kturtle ktimer python-kde4 kteatime libgpgme++2 kdepasswd
libkwineffects1abi3 kmix kdeartwork kmtrace libmessagecomposer4
libkontactinterface4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-hicontrast libreoffice-style-tango
libreoffice-style-crystal libreoffice-style-oxygen
The following NEW packages will be installed:
libreoffice-common
0 to upgrade, 1 newly installed, 0 to remove and 5 not upgraded.
3 not fully installed or removed.
Need to get 0 B/20, 9MB archives.
After this operation, 52.7 MB of additional space used on the drive.
Do you want to continue [Y/n]? J
(Reading database ... 295270 files and directories currently installed.)
Unpacking libreoffice-common (from ...
/libreoffice-common_1%3a3.5.7-0ubuntu4_all.deb) ...dpkg:
error processing
/var/cache/apt/archives/libreoffice-common_1%3a3.5.7-0ubuntu4_all.deb
(- unpack):
trying to overwrite "/usr/bin/soffice" which is also in package
openoffice.org-debian-menus 3.4-9593
No report report was written because MaxReports already achieved
rmdir: failed to remove the "/var/lib/libreoffice/share/prereg/": No
such file or directory
rmdir: failed to remove the "/var/lib/libreoffice/share/": Directory not empty
rmdir: failed to remove the "/var/lib/libreoffice/program/": No such
file or directory
rmdir: failed to remove the "/var/lib/libreoffice": Directory not empty
rmdir: failed to remove the "/var/lib/libreoffice": Directory not empty
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/MMST'
Unknown media type in type 'uri/MMSU'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db ...
Processing triggers for gnome-icon-theme ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index ...
Can't open /usr/share/applications/openoffice.org3-base.desktop: No
such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-calc.desktop: No
such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-draw.desktop: No
such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-impress.desktop: No
such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-javafilter.desktop:
No such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-math.desktop: No
such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-printeradmin.desktop:
No such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-startcenter.desktop:
No such file or directory at -e line 1, <> line 3548.
Can't open /usr/share/applications/openoffice.org3-writer.desktop: No
such file or directory at -e line 1, <> line 3548.
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
/Var/cache/apt/archives/libreoffice-common_1%3a3.5.7-0ubuntu4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
~$
Reservations for mistranslation.
Johnny Rosenberg
>
> Bill
>
> On 05/19/13 13:12, Liam Proven wrote:
>>
>> On 19 May 2013 17:54, Johnny Rosenberg <gurus.knugum at gmail.com> wrote:
>>>
>>> I downloaded Apache OpenOffice and installed it a while ago on my
>>> Ubuntu 12.04 system. Now I ran into some dependency issues when
>>> installing a package that also started to install LibreOffice for some
>>> strange reason.
>>> I have tried a lot of things to get out of this ”dependency hell”, but
>>> nothing helped so far. Next thing to try is to uninstall Apache
>>> OpenOffice (3.4), but I can't figure out how to do it.
>>> I still have the installation files (a lot of deb files) and I used
>>> dpkg -i o* in the DEBS folder to install it, plus the same in the
>>> DEBS/desktop-integration folder.
>>> But uninstalling it doesn't seem too obvious to me…
>>
>> When in doubt, cheat.
>>
>> Run Synaptic. If it's not there, install it. Enter "openoffice" as
>> your search string. Press Return.
>>
>> Now, click the column header of installation status to sort all the
>> installed packages to the top.
>>
>> Select them all. (Hold down Shift, click the first, then the last.)
>>
>> Right-click and pick "remove".
>>
>> Click Apply.
>>
>> Done.
>>
>> --
>> Liam Proven • Profile: http://lproven.livejournal.com/profile
>> Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
>> MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
>> Tel: +44 20-8685-0498 • Cell: +44 7939-087884
>>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list