LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs > spampig
User Name
Password

Notices

Rate this Entry

Things not to do in Linux Part 1

Posted 04-12-2010 at 11:07 AM by spampig
Tags apt-get

I'm very tired and grumpy today having had no sleep at all. Last night I committed a cardinal sin closely related to the 'rm -Rf *' type of 'accidents'.

A fight had broken out between me and 'Fontmatrix'. Don't get me wrong, I love the program but when it's trying to read a usb drive with 10,000+ fonts on it, it takes me back to my younger days when all I had for company was a 386 running Win 3.11 on a double-spaced drive.

There was only the 'same' version in the repo's, so a later .deb was downloaded and fired into dpkg -i which promptly complained about the version of one of the dependencies. I wanted to watch 'Foyles War' on TV, so I figured 'just put the old one back for now and look at it in the morning....' It went a little something like this:

[CODE]
apt-get install fontmatrix

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@box1:/home/spig/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following packages were automatically installed and are no longer required:
python-crypto libchipcard-libgwenhywfar47-plugins liblash2 libcommons-collections3-java python-fstab libclucene0ldbl python-zopeinterface libofx4
python-twisted-names libmono-getoptions2.0-cil libmono-..... latex-xft-fonts texlive-common libmono-data1.0-cil libxi-dev m4
python-sqlalchemy libaiksaurus-1.2-0c2a audacity-data liblualib50 autoconf libflac++6 libqt4-core libchm1 libfinance-quote-perl libantlr-java
libpt2.6.1-plugins-alsa libcddb2 python-dev libempathy-common python-qt4-common libdv-bin python-lxml python-telepathy python-simplejson ecj-gcj
python-sip4-dev python-reportlab-accel libpulse-mainloop-glib0 libservlet2.4-java libdjconsole0 computer-janitor kde-icons-oxygen libxine1-bin
koffice-data libsysfs-dev libdirectfb-extra libart2.24-cil libvamp-sdk1 libboost-thread1.37.0 libboost-date-time1.34.1 librasqal1 libchipcard-tools
[snip hundreds of packages]
glabels-data libxerces2-java libmxml1 mixxx-data libsigc++-1.2-5c2 libwmf-bin python-twisted python-qt4-dev stellarium-data libqthreads-12 liblzo2-2
libaqhbci13 libfreetype6-dev flac libdjconsole-data python2.6-dev libgii1-target-x recordmydesktop libcommons-collections-java telepathy-gabble ftplib3
libmissioncontrol-server1 libmowgli1 aqbanking-tools libtelepathy2 libcommons-beanutils-java libstreamanalyzer0 libiso9660-5 linphone-nox libzip1
python-uniconvertor libblas3gf libchipcard-ctapi0 tcl8.5 gstreamer0.10-nice libmozjs0d automake imagemagick-doc libmono-data2.0-cil
texlive-fonts-recommended-doc libpt2.6.1 pulseaudio-module-zeroconf libudev0 liblapack3gf libgdome2-cpp-smart0c2a libexosip2-4 libsidplay2 libexpat1-dev
libcommons-digester-java apparmor libanthy0 libaubio2 libgda3-bin liblinphone2 libmediastreamer0 libgda3-3 filezilla-common mpg321 libfreeimage3
rosegarden-data libboost-filesystem1.34.1 libstreams0 libqca2-plugin-ossl vlc-data liblink-grammar4 libpixman-1-dev xaw3dg libgconfmm-2.6-1c2
telepathy-butterfly libtar libservlet2.3-java liblucene-java-doc libboost-filesystem1.37.0 libmcs1 libpt2.6.1-plugins-v4l2 stops libgnome-vfs2.24-cil
libgnome-vfsmm-2.6-1c2a odt2txt libxcb-render0-dev libxul-common liblua50 mkvtoolnix libclalsadrv1 libgmime2.2a-cil libaqbanking-data libjsch-java
libcolamd-3.2.0 libnice0 miro-data libecj-java-gcj libimlib2 ant-gcj guile-1.6-slib libvlccore0 libxcb-shm0 python-chardet ant-optional soprano-daemon
liblscp2 gnucash-common libvcdinfo0 kdebase-runtime-data libguile-ltdl-1 texlive-doc-base libebml0 python-reportlab libiodbc2 libantlr-java-gcj
libosip2-3deb tex-common libetpan13 lacheck python-twisted-bin libboost-system1.37.0 libaqbanking20-plugins libortp7 libmatroska0 python-libtorrent
texinfo libboost-python1.37.0 libxine1-console libgdl-1-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libanthy0 libotf0 libqt4-sql-sqlite
Suggested packages:
libqt4-dev
The following packages will be REMOVED
abiword abiword-common abiword-help abiword-plugin-grammar abiword-plugin-mathview acidrip aconnectgui aeolus agave alacarte alsa-tools-gui amazonmp3
anki apport-gtk apturl ardour at-spi audacious audacious-plugins audacious-plugins-extra audacity autopano-sift avidemux avidemux-common beast bitmeter
bitscope bless bluefish bluez-cups bluez-gnome brasero brltty-x11 bse-alsa cdcat checkbox-gtk claws-mail claws-mail-i18n compiz
compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins computer-janitor-gtk contact-lookup-applet creox csound-gui cups
cups-driver-gutenprint datakiosk denemo deskbar-applet devede dia dia-common dssi-example-plugins dvdauthor dvipdfmx eclipse eclipse-gcj eclipse-jdt
eclipse-jdt-gcj eclipse-pde eclipse-pde-gcj eclipse-platform eclipse-platform-gcj eclipse-rcp eclipse-rcp-gcj eclipse-source efax-gtk ekiga empathy eog
epiphany-browser epiphany-extensions epiphany-gecko evince evolution evolution-data-server evolution-exchange evolution-indicator evolution-plugins
evolution-webcal f-spot fast-user-switch-applet file-roller filezilla firefox firefox-3.0 firefox-3.0-branding firefox-3.0-gnome-support
firefox-gnome-support firestarter flashplugin-installer flashplugin-nonfree fluidsynth-dssi fontconfig fontmatrix foo2zjs foomatic-db-engine
foomatic-db-hpijs foomatic-filters fotoxx freebirth freqtweak gappletviewer-4.3 gcalctool gcdmaster gcj-4.3 gconf-editor gdebi gdm gdm-guest-session
geany gedit gedit-plugins genpo ghostscript ghostscript-x gimp gimp-gap gimp-plugin-registry gimp-ufraw gip gksu glabels glade gnome-about
gnome-accessibility-themes gnome-app-install gnome-applets gnome-bluetooth gnome-codec-install gnome-commander gnome-control-center gnome-games
gnome-icon-theme gnome-keyring gnome-mag gnome-media gnome-menus gnome-mount gnome-netstatus-applet gnome-nettool gnome-orca gnome-panel gnome-pilot
gnome-pilot-conduits gnome-power-manager gnome-ppp gnome-raw-thumbnailer gnome-screensaver gnome-session gnome-session-canberra gnome-settings-daemon
gnome-specimen gnome-spell gnome-system-monitor gnome-{big snip} network-manager-gnome notecase notification-daemon notify-osd obex-data-server oggconvert onboard
openmovieeditor openoffice.org-base-core openoffice.org-calc openoffice.org-core openoffice.org-draw openoffice.org-emailmerge openoffice.org-gnome
openoffice.org-gtk openoffice.org-impress openoffice.org-math openoffice.org-writer openshot opera padevchooser paman pan paprefs patchage pavucontrol
pavumeter perlmagick pgf phonon phonon-backend-xine pidgin pidgin-libnotify pidgin-otr pnm2ppa policykit-gnome poppler-utils powermanagement-interface
prosper ps2eps psi pstoedit pxljr python-beagle python-cairo python-glade2 python-gmenu python-gnome2 python-gnome2-desktop python-gnome2-extras
python-gnomecanvas python-gtk2 python-gtkhtml2 python-gtksourceview2 python-launchpad-integration python-notify python-pyatspi python-pygoocanvas
python-qt4 python-sexy python-tk python-uno python-virtkey python-vte python-wxgtk2.8 python-wxversion qamix qjackctl qsampler qsynth qt4-qtconfig
rhythmbox ripperx rosegarden rss-glx screenlets screensaver-default-images scribus seahorse seahorse-plugins seamonkey seamonkey-browser
seamonkey-chatzilla seamonkey-gnome-support seamonkey-mailnews secpanel seq24 smtputils snmpb software-properties-gtk sooperlooper soundconverter splix
ssh-askpass-gnome stellarium stopmotion sun-java6-plugin synaptic synfigstudio system-config-printer-gnome tangerine-icon-theme tango-icon-theme-common
ted ted-en-gb terminatorx tetex-bin texlive texlive-base texlive-base-bin texlive-extra-utils texlive-fonts-recommended texlive-generic-recommended
texlive-latex-base texlive-latex-recommended texlive-pstricks thunderbird tipa tk8.5 tomboy totem totem-gstreamer totem-mozilla totem-plugins tracker
tracker-search-tool tracker-utils transmission-gtk truecrypt tsclient ubufox ubuntu-artwork ubuntu-desktop ubuntu-docs update-manager update-notifier
usb-creator vinagre vino virtualbox-3.1 vlc vlc-nox vlc-plugin-esd wireshark x11-apps x11-utils xbase-clients xcdroast xchm xdg-user-dirs-gtk xorg xsane
xscreensaver-data xscreensaver-gl xsynth-dssi xterm xulrunner-1.9 xulrunner-1.9-gnome-support yelp zenity zenmap zynaddsubfx
The following NEW packages will be installed
libanthy0 libotf0 libqt4-sql-sqlite
0 upgraded, 3 newly installed, 566 to remove and 28 not upgraded.
2 not fully installed or removed.
Need to get 223kB of archives.
After this operation, 2204MB disk space will be freed.
Do you want to continue [Y/n]? y[/CODE]
What ever possessed me to *NOT* read any of that and just hit 'y'?????? Lesson 1 in 'how not to use Linux'. The old phrase 'RTM' is often used and widely ignored, but when your operating system outputs lots of useful information telling you it basically about to totally remove all useful software and bork itself - it's worth just taking the time to *read* it :-) A careless apt-get here with a single 'y' as root borked it good. I sat and watched my icons vanish and the machine stb in front of my eyes. Then I really was reminded of my days with Windows....
Posted in Uncategorized
Views 995 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration