I have seen some odd error messages about missing files after running
sudo apt-get update && sudo apt-get install -y flashplugin-installer
Specifically that some config file in /boot/
was missing. This worries me:
Setting up nvidia-304 (304.125-0ubuntu0.0.1) ...
dpkg: warning: version '*-*' has bad syntax: version number does not start with a digit
update-initramfs: deferring update (trigger activated)
Traceback (most recent call last):
File "/usr/bin/quirks-handler", line 26, in <module>
import Quirks.quirkapplier
File "/usr/lib/python2.7/dist-packages/Quirks/quirkapplier.py", line 26, in <module>
import XKit.xutils
ImportError: No module named XKit.xutils
dpkg: error processing package nvidia-304 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up flashplugin-installer (11.2.202.457ubuntu0.14.04.1) ...
Processing triggers for initramfs-tools (0.99ubuntu13.5) ...
update-initramfs: Generating /boot/initrd.img-3.2.0-74-generic
grep: /boot/config-3.2.0-74-generic: No such file or directory
Errors were encountered while processing:
nvidia-304
E: Sub-process /usr/bin/dpkg returned an error code (1)
What should I do?
EDIT 1: This may or may not be related to my new issue of unity failing and TTY1 claiming it is not installed.
EDIT 2: Unity seems to have taken a holiday so I have only Firefox (because that was open when it all fell apart and alt+ctrl+F1 into a hard shell. I'd rather not reboot until I know that I can get the whole thing going again and also because I shouldn't have to IMHO. It has been suggested that I get rid of old linux-image
and linux-header
but the only way I knew of doing that was an epic copy and paste and way beyond anything I can remember to type out again in tty1.
EDIT 3: According to uname -a my kernel version is 3.2.0-74-generic which may or may not be the right thing for it to be (I haven't a clue in that regard). However the lack of config file suggests something is wrong.
EDIT 4: Following https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels I discovered that there were a whole load of 2.6 images although the apt-get remove for them seems to largely be reporting the same lack of file. As per comments the upgrade might not have gone as smoothly as Ubuntu had led me to understand. So I might need to also find a way to fix this too.
EDIT 5: I tried do-release-upgrade -d
which started well but ended in error messages. The error message pointed me towards this report: https://bugs.launchpad.net/bugs/1363703 which did not tell me much.
I dropped to tty2 which welcomed me to 12.04.5. I did lsb_release -cd
which said I was on 14.10 / utopic although the shell told me that new release 14.04.1 was available and that I should use do-release-upgrade
to get it but when run it says there is nothing to upgrade to. I am officially out of ideas, clues and any semblance of a plan.
EDIT 6: Apprently I have attempted to upgrade to 14.10 which was clumsy of me. The problem I encountered that almost killed everything was a dead config file: What is virtuoso-nepomuk and how much harm could I do by uninstalling it? Now I have the oringinal problem (see way up there somewhere and segment fault when starting unity). The seg fault is probably a different question.
Edit 7: The NVidia problem might be well known: Can't update Nvidia driver and having error near the end of the installation I am looking into this now.
EDIT 8: After managing to get most of the upgrades to go through the list of "problem packages" is a touch bigger.
dpkg error: --install needs at least one package archive file argument
. Did I do something wrong? – Matthew Brown aka Lord Matt Apr 22 '15 at 18:18dpkg -l
. Anyway, forget what I said. If you are still running a 3.2 kernel, I think your upgrade to 14.04 wasn't completed properly. You shouldn't remove the currently running kernel. – muru Apr 22 '15 at 18:27lsb-release -cd
? – muru Apr 22 '15 at 18:33lsb_release -cd
which said I was on 14.10 / utopic although the shell told me that new release 14.04.1 was available and that I should usedo-release-upgrade
to get it. Am slightly confused. I have probably done something wrong. – Matthew Brown aka Lord Matt Apr 22 '15 at 22:14