I was thinking to have solved one problem with Paraview but have come across a bigger one with Brasero.
- A few days ago I wanted to install Paraview (amd64) in my computer (x68_64, Ubuntu 12.04 LTS) where, among others, Google-Earth and Skype used i386 libraries. This generational conflict caused apt-get to ask the removal of those older packages and attending libraries.
(Kudos to Sneetsher for pointing me to this.)
In the end, I managed to get Paraview, Skype and Google Earth properly installed and functioning after having run
apt-get -f install
, that is a general overhaul of broken dependencies. I did so on suggestion of apt-get itself. - However, while
apt-get -f install
was tending to its task, I noticed that some applications were disappearing from the desktop menu. I considered this natural, hence I moved on to reinstalling those. The installation of Banshee as first go went well (I can't recall whether using apt-get or dpkg). With Brasero came the fun. - After commanding
apt-get install brasero
, apt-get asks me to remove another large number of libraries, in the order of hundreds. Mistakenly I consider those applications to add and give my go ahead. At the end of this spree of autoimmune exuberance, the first evidence is that the browser cannot connect to URLs any longer -- thus the internet connectivity is knocked off. I then give the reboot a chance. The system goes through the POST seamlessly, then it hangs on the Ubuntu splash screen. - Cutting the long story short, I managed to reboot in recovery mode and get to a responsive command line terminal. As the POST rolls through its checks, I can see that it fails on starting LightDM Display Manager (but maybe somewhere else that I miss).
Now the state of the play from the recovery-mode command line:
ping
yields a 'user unknown'xterm
yields a 'display is not set'- both
lightdm
andgdm
yield a 'currently not installed' dpkg-reconfigure lightdm
yields a 'broken or not fully installed'apt-get install lightdm
gives a streak of 'failed to fetch' arguably because the internet has been cut out (checked out that the cable is in place)- I can see the external drives though!
Hence I was thinking to circumvent the internet cut-out by saving a bridgehead of deb files on one of those drives and then running dpkg
or apt-get
on them from the command line. Clearly, I am not so much in favour of reinstalling the whole OS.
Does it make sense to you? If it does, the questions are
- Which packages and dependencies would be able to restore the internet connection?
- Since the dependencies could easily be in the order of tens if not hundreds, is there a place where these are conveniently zipped/tarred in a single bundle? Of course I can't rely on remote fetching.
- Say I manage to restore the internet connectivity, then I will be able to fetch the remote repositories. Which commands should I run to make sure that all 'broken pieces' are rescued and restored?
- Why on Earth did Brasero needed to remove 100+ library packages of essential nature? This seems truly excessive to me!
Thanks for having patiently read this long post. I look forward to your answers and remarks.
Update: requested outputs
apt --installed list
or a copy of/var/lib/apt/extended_states
, in addition to/var/log/dpkg.log
to http://paste.ubuntu.com then link them to the question. They may help much any one come to answer. – user.dz Sep 05 '15 at 22:51apt --installed list
yields command not found; extended states; dpkg.log. Tip for others who encounter the same kind of troubles. In the recovery mode, the /media folder was frozen (unmounted) in the situation before the problem. I had to mount a flash drive manually in order to export the files requested. Then I could redirect the output of cat into a text file in the flash drive. This resource has been useful to this end. – XavierStuvw Sep 06 '15 at 08:52