Is possible to undo apt-get commands?

Questions about applications and software
Forum rules
Before you post please read this

Is possible to undo apt-get commands?

Postby kunta on Sat Mar 22, 2014 7:46 pm

I tried to install Google Earth using many different solutions that I found on Google. Most involve trying to install ia32-libs, or i386 support

At this point I failed miserably, and made an entangled spaghetti of apt-get commands.

Something is broken, because when I use the Software Manager, and I double click on Google Earth, nothing occurs, as if I did nothing.

Is possible to undo all these commands, packages installations,etc?

This is my distro (64 bit debian based Mint)
Code: Select all
$ cat /etc/*{release,version}
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=1
DISTRIB_CODENAME=debian
DISTRIB_DESCRIPTION="LMDE Cinnamon Edition"
PRETTY_NAME="Linux Mint LMDE"
NAME="Linux Mint LMDE"
ID=linuxmint
ANSI_COLOR="1;31"jessie/sid
Last edited by karlchen on Fri Mar 28, 2014 5:06 am, edited 1 time in total.
Reason: Moved to "LMDE" Linux Mint Debian Edition, which is not the Main Edition (Ubuntu based Linux Mint editions)
kunta
Level 1
Level 1
 
Posts: 7
Joined: Wed Mar 19, 2014 11:09 pm

Linux Mint is funded by ads and donations.
 

Re: Is possible to undo apt-get commands?

Postby Flemur on Sun Mar 23, 2014 11:20 am

I looked at "google-earth-stable" in apt-get, and got this ludicrous result:

Code: Select all
The following packages will be REMOVED:
  gettext-base:i386 grub grub-common:i386  (GRUB?!?!?)
The following NEW packages will be installed:
  alien at bluez bluez-alsa:i386 cups-bsd cups-client cups-common debhelper debugedit gettext gettext-base
  glib-networking:i386 google-earth-stable gstreamer0.10-plugins-base:i386 gstreamer0.10-plugins-good:i386
  gtk2-engines:i386 gtk2-engines-murrine:i386 gtk2-engines-oxygen:i386 gtk2-engines-pixbuf:i386 gvfs:i386
  gvfs-libs:i386 heirloom-mailx ia32-libs ibus-gtk:i386 intltool-debian lib32z1 libaa1:i386 libacl1:i386
  libaio1:i386 libao-common libao4:i386 libatk1.0-0:i386 libattr1:i386 libaudio2:i386 libaudiofile1:i386
  libaudit1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386
  libbz2-1.0:i386 libc6-i386 libcaca0:i386 libcairo-gobject2:i386 libcairo2:i386 libcanberra-gtk-module:i386
  libcanberra-gtk0:i386 libcanberra0:i386 libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386 libcroco3:i386
  libcups2:i386 libcupsfilters1:i386 libcupsimage2:i386 libcurl3:i386 libdatrie1:i386 libdbus-glib-1-2:i386
  libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdv4:i386 libelf1:i386 libesd0:i386
  libfluidsynth1:i386 libgail-common:i386 libgail18:i386 libgconf-2-4:i386 libgdbm3:i386
  libgdk-pixbuf2.0-0:i386 libgettextpo0:i386 libgl1-mesa-dri:i386 libgpm2:i386 libgraphite2-3:i386
  libgssapi-krb5-2:i386 libgtk2.0-0:i386 libgudev-1.0-0:i386 libharfbuzz0a:i386 libibus-1.0-5:i386
  libice6:i386 libidn11:i386 libiec61883-0:i386 libieee1284-3:i386 libjasper1:i386 libk5crypto3:i386
  libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms1:i386 libllvm3.3:i386 libmad0:i386
  libmikmod2:i386 libmng1:i386 libncursesw5:i386 libnspr4:i386 libnss3:i386 libodbc1:i386 libpam-winbind:i386
  libpam0g:i386 libpango-1.0-0:i386 libpango1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386
  libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libpciaccess0:i386 libpixman-1-0:i386 libproxy1:i386
  libpulse-mainloop-glib0:i386 libpulsedsp:i386 libqt4-dbus:i386 libqt4-declarative:i386 libqt4-designer:i386
  libqt4-network:i386 libqt4-opengl:i386 libqt4-qt3support:i386 libqt4-script:i386 libqt4-scripttools:i386
  libqt4-sql:i386 libqt4-svg:i386 libqt4-test:i386 libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386
  libqtgui4:i386 libqtwebkit4:i386 libraw1394-11:i386 libreadline6:i386 librpm3 librpmbuild3 librpmio3
  librpmsign1 librsvg2-2:i386 librsvg2-common:i386 librtmp0:i386 libsane:i386 libsdl-image1.2:i386
  libsdl-mixer1.2:i386 libsdl-net1.2:i386 libsdl-ttf2.0-0:i386 libsdl1.2debian:i386 libsecret-1-0:i386
  libshout3:i386 libslang2:i386 libsm6:i386 libsoup-gnome2.4-1:i386 libsoup2.4-1:i386 libspeex1:i386
  libssl0.9.8:i386 libssl1.0.0:i386 libstdc++5:i386 libtag1-vanilla:i386 libtag1c2a:i386 libtalloc2:i386
  libtdb1:i386 libthai0:i386 libtheora0:i386 libunistring0:i386 libv4l-0:i386 libv4lconvert0:i386
  libvisual-0.4-0:i386 libvorbisfile3:i386 libwavpack1:i386 libwbclient0:i386 libwebp4:i386 libxaw7:i386
  libxcb-render0:i386 libxcb-shm0:i386 libxcomposite1:i386 libxcursor1:i386 libxft2:i386 libxi6:i386
  libxinerama1:i386 libxmu6:i386 libxp6:i386 libxrandr2:i386 libxrender1:i386 libxslt1.1:i386 libxss1:i386
  libxt6:i386 libxtst6:i386 libxv1:i386 lsb-core lsb-invalid-mta lsb-security m4 ncurses-term odbcinst
  odbcinst1debian2:i386 odbcinst1debian2 pax po-debconf rpm rpm-common rpm2cpio winbind xaw3dg:i386


I'll never use any google code after "picasa" silently moved a bunch of jpgs from ordered, properly named directories to disordered, misnamed directories that it created. And "Android" sucks. So does "chrome". So does their new email login and email page format (at least its easy to forward gmail to another account/service). And google loves filenames with spaces, which is really stupid.

Is possible to undo all these commands, packages installations,etc?

If you did something like the above, good luck! You might try removing google-dirt itself and then do a clean-up to remove unused dependencies:
$ sudo apt-get autoremove
and then I guess you'll have to reinstall grub, etc, if it hosed your system as much as installing thru synaptic would do.
Mint 17/Xfce/fluxbox & Mint 16/Xfce/fluxbox
User avatar
Flemur
Level 5
Level 5
 
Posts: 822
Joined: Mon Aug 20, 2012 9:41 pm

Re: Is possible to undo apt-get commands?

Postby Monsta on Fri Mar 28, 2014 4:41 am

Monsta
Level 8
Level 8
 
Posts: 2417
Joined: Fri Aug 19, 2011 3:46 am


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 4 guests