System program problem detected after installing Ubuntu 14.04
After upgrading my system to Ubuntu 14.04 the system always comes up with the following message:
'System program problem detected', which I can either 'cancel' or 'Report problem'.
I usually choose 'Report problem', but then often it appears again, sometimes the system crashes immediately, sometimes a bit later.
Once I also received an error message about my display, which I also reported (don't remember exactly, sorry).
Today I tried to follow the instructions in Question #251577:
1. Problem:
after running
sudo apt-get -f install: lsb_release -a
I got the advice to autoremove some unnecessary files. "use 'apt-get auto remove' to remove them".
This command get the following result
E: Cound not open lock life /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Yes, I am root and I looked to change permission, but that did not work.
So I decided to try the next step:
2. Problem:
run
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}'\;
Error message:
find: missing argument to '-exec'
I cannot see what I'm doing wrong, it seems John Center ran the same command without problems...
Can someone please give me some advice?
Thank you
Ingrid
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
1. open a terminal and try the command
sudo apt-get autoremove
2. Maybe there is a space character missing at the end in front of the backslash, try again with
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
and finally select all output and copy/paste into this question document.
Revision history for this message
|
#2 |
ingrid@
[sudo] password for ingrid:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-
Use 'apt-get autoremove' to remove it.
0 to upgrade, 0 to newly install, 0 to remove and 94 not to upgrade.
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
ingrid@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-
0 to upgrade, 0 to newly install, 1 to remove and 94 not to upgrade.
After this operation, 32.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 303606 files and directories currently installed.)
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done
The link /vmlinuz.old is a damaged link
Removing symbolic link vmlinuz.old
you may need to re-run your boot loader[grub]
ingrid@
/etc/apt/
1 # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
2 # See http://
3 # newer versions of the distribution.
4
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb-src http://
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://
27 deb-src http://
28 deb http://
29 deb-src http://
30
31 ## Uncomment the following two lines to add software from the 'backports'
32 ## repository.
33 ## N.B. software from this repository may not have been tested as
34 ## extensively as that contained in the main release, although it includes
35 ## newer versions of some applications which may provide useful features.
36 ## Also, please note that software in backports WILL NOT receive any review
37 ## or updates from the Ubuntu security team.
38 # deb http://
39 # deb-src http://
40
41 ## Uncomment the following two lines to add software from Canonical's
42 ## 'partner' repository. This software is not part of Ubuntu, but is
43 ## offered by Canonical and the respective vendors as a service to Ubuntu
44 ## users.
45 # deb http://
46 # deb-src http://
47
48 deb http://
49 deb-src http://
50 deb http://
51 deb-src http://
52 deb http://
53 deb-src http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://
/etc/apt/
1 # channel for the lucid (10.04) partner channel
2 #
3 #:description:This channel contains the partner software for lucid
4 deb http://
ingrid@
/etc/apt/
1 # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
2 # See http://
3 # newer versions of the distribution.
4
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb-src http://
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://
27 deb-src http://
28 deb http://
29 deb-src http://
30
31 ## Uncomment the following two lines to add software from the 'backports'
32 ## repository.
33 ## N.B. software from this repository may not have been tested as
34 ## extensively as that contained in the main release, although it includes
35 ## newer versions of some applications which may provide useful features.
36 ## Also, please note that software in backports WILL NOT receive any review
37 ## or updates from the Ubuntu security team.
38 # deb http://
39 # deb-src http://
40
41 ## Uncomment the following two lines to add software from Canonical's
42 ## 'partner' repository. This software is not part of Ubuntu, but is
43 ## offered by Canonical and the respective vendors as a service to Ubuntu
44 ## users.
45 # deb http://
46 # deb-src http://
47
48 deb http://
49 deb-src http://
50 deb http://
51 deb-src http://
52 deb http://
53 deb-src http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://
/etc/apt/
1 # channel for the lucid (10.04) partner channel
2 #
3 #:description:This channel contains the partner software for lucid
4 deb http://
ingrid@
ingrid@
[sudo] password for ingrid:
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Hit http://
Get:7 http://
Ign http://
Get:8 http://
Get:9 http://
Get:10 http://
Hit http://
Get:11 http://
Hit http://
Hit http://
Ign http://
Get:12 http://
Hit http://
Hit http://
Ign http://
Get:13 http://
Ign http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 1,184 kB in 7s (152 kB/s)
Reading package lists... Done
sudo apt-get upgrade
this all looks ok, but
sudo dpkg --audit results in:
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
google-
libjson0:i386 JSON manipulation library (transitional package)
I'm not worried about google-earth, but I don't know if I have to do anything about libjson0:i386
I'm sending this message now, beforethe computer shuts down again, but I'll let you know tomorrow if the problem is solved.
thanks for your help.
Cheers Ingrid
Revision history for this message
|
#3 |
Thanks Manfred Hampl, that solved my question.
Revision history for this message
|
#4 |
The messages from dpkg --audit are just minor warnings.
It should be possible to cure the warning about libjson with the command
sudo apt-get install --reinstall libjson0
For Google earth, can you please provide the output of the command
dpkg -l | grep google
Revision history for this message
|
#5 |
ingrid@
dpkg: error: need an action option
Hi Manfred,
thank you for your help. The above command did not work, but I'm not using google earth on this computer anyway, because my graphics card can't handle it. As I couldn't remove it either, I just ignore it.
Thanks again,
Ingrid
Revision history for this message
|
#6 |
You apparently misread/mistyped the command, it should be ...minus, small L, space, pipe...
You better use copy and paste with commands.
dpkg -l | grep google
Revision history for this message
|
#7 |
Ok, now I have to admit that I do not know how to paste a command from an email or launchpad into the terminal.
Revision history for this message
|
#8 |
How to paste:
Open the e-mail or the Launchpad question document, mark with pressed mouse button the text that it is shown in reverse color, open a terminal window and press the middle mouse button.
This should copy the text from the e-mail or web document into the terminal window. Then you just need to hit enter to execute the command.
(Other possibility is marking the text, using the right mouse button pup-up-menu to copy, switch to the terminal window and use the right mouse button pop-up-menu to paste.)
Revision history for this message
|
#9 |
I know it sounds stupid, but I don't get the pop-up menu on the right mouse button in either gmail or Launchpad (I get it in the terminal, but as I can't copy there is nothing to paste:) and I'm unable to even highlight what I want to copy. I'll continue to search for a solution, it might be an issue with Firefox preferences.
In the meantime I'll just have to type....