System program problem detected after installing Ubuntu 14.04

Asked by Ingrid Liermann

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
Best Manfred Hampl (m-hampl) said :
#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
Ingrid Liermann (ingrid-liermann213) said :
#2

ingrid@ingrid-desktop:~$ sudo apt-get -f install; lsb_release -a
[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-image-3.13.0-35-generic
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.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:security-4.0-ia32:security-4.0-noarch:security-4.1-ia32:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
ingrid@ingrid-desktop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-image-3.13.0-35-generic
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-3.13.0-35-generic (3.13.0-35.62) ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/last-good-boot 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-35-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-35-generic /boot/vmlinuz-3.13.0-35-generic
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-3.13.0-36-generic
Found kernel: /boot/vmlinuz-3.2.0-63-generic
Found kernel: /boot/vmlinuz-3.2.0-61-generic
Found kernel: /boot/vmlinuz-3.2.0-60-generic
Found kernel: /boot/vmlinuz-3.2.0-59-generic
Found kernel: /boot/vmlinuz-3.2.0-58-generic
Found kernel: /boot/vmlinuz-3.2.0-57-generic
Found kernel: /boot/vmlinuz-3.2.0-56-generic
Found kernel: /boot/vmlinuz-3.2.0-54-generic
Found kernel: /boot/vmlinuz-3.2.0-53-generic
Found kernel: /boot/vmlinuz-3.2.0-52-generic
Found kernel: /boot/vmlinuz-3.2.0-51-generic
Found kernel: /boot/vmlinuz-3.2.0-49-generic
Found kernel: /boot/vmlinuz-3.2.0-48-generic
Found kernel: /boot/vmlinuz-3.2.0-45-generic
Found kernel: /boot/vmlinuz-3.2.0-44-generic
Found kernel: /boot/vmlinuz-3.2.0-41-generic
Found kernel: /boot/vmlinuz-3.2.0-40-generic
Found kernel: /boot/vmlinuz-3.2.0-33-generic
Found kernel: /boot/vmlinuz-2.6.32-45-generic
Found kernel: /boot/memtest86+.bin
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@ingrid-desktop:/$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
     2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3 # newer versions of the distribution.
     4
     5 deb http://au.archive.ubuntu.com/ubuntu/ trusty main restricted
     6 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    11 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    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://au.archive.ubuntu.com/ubuntu/ trusty universe
    17 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty universe
    18 deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates universe
    19 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates universe
    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://au.archive.ubuntu.com/ubuntu/ trusty multiverse
    27 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty multiverse
    28 deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    29 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    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://au.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    39 # deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    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://archive.canonical.com/ubuntu intrepid partner
    46 # deb-src http://archive.canonical.com/ubuntu intrepid partner
    47
    48 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
    49 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
    50 deb http://security.ubuntu.com/ubuntu trusty-security universe
    51 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    52 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    53 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

/etc/apt/sources.list.d/google-earth.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/earth/deb/ stable main

/etc/apt/sources.list.d/lucid-partner.list

     1 # channel for the lucid (10.04) partner channel
     2 #
     3 #:description:This channel contains the partner software for lucid
     4 deb http://archive.canonical.com/ubuntu trusty partner

ingrid@ingrid-desktop:/$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
     2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3 # newer versions of the distribution.
     4
     5 deb http://au.archive.ubuntu.com/ubuntu/ trusty main restricted
     6 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    11 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    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://au.archive.ubuntu.com/ubuntu/ trusty universe
    17 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty universe
    18 deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates universe
    19 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates universe
    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://au.archive.ubuntu.com/ubuntu/ trusty multiverse
    27 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty multiverse
    28 deb http://au.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    29 deb-src http://au.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    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://au.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    39 # deb-src http://au.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    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://archive.canonical.com/ubuntu intrepid partner
    46 # deb-src http://archive.canonical.com/ubuntu intrepid partner
    47
    48 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
    49 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
    50 deb http://security.ubuntu.com/ubuntu trusty-security universe
    51 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    52 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    53 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

/etc/apt/sources.list.d/google-earth.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/earth/deb/ stable main

/etc/apt/sources.list.d/lucid-partner.list

     1 # channel for the lucid (10.04) partner channel
     2 #
     3 #:description:This channel contains the partner software for lucid
     4 deb http://archive.canonical.com/ubuntu trusty partner
ingrid@ingrid-desktop:/$

ingrid@ingrid-desktop:/$ sudo apt-get update
[sudo] password for ingrid:
Ign http://dl.google.com stable InRelease
Ign http://au.archive.ubuntu.com trusty InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://au.archive.ubuntu.com trusty-updates InRelease
Hit http://au.archive.ubuntu.com trusty Release.gpg
Get:1 http://au.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://au.archive.ubuntu.com trusty Release
Get:2 http://au.archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://dl.google.com stable Release
Hit http://au.archive.ubuntu.com trusty/main Sources
Hit http://dl.google.com stable/main i386 Packages
Hit http://au.archive.ubuntu.com trusty/restricted Sources
Hit http://au.archive.ubuntu.com trusty/universe Sources
Hit http://au.archive.ubuntu.com trusty/multiverse Sources
Hit http://au.archive.ubuntu.com trusty/main i386 Packages
Hit http://au.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://au.archive.ubuntu.com trusty/universe i386 Packages
Ign http://archive.canonical.com trusty InRelease
Hit http://au.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://au.archive.ubuntu.com trusty/main Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/main Translation-en
Hit http://au.archive.ubuntu.com trusty/multiverse Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://au.archive.ubuntu.com trusty/restricted Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/restricted Translation-en
Hit http://au.archive.ubuntu.com trusty/universe Translation-en_AU
Hit http://au.archive.ubuntu.com trusty/universe Translation-en
Hit http://archive.canonical.com trusty Release.gpg
Get:3 http://au.archive.ubuntu.com trusty-updates/main Sources [134 kB]
Get:4 http://au.archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:5 http://au.archive.ubuntu.com trusty-updates/universe Sources [89.3 kB]
Get:6 http://au.archive.ubuntu.com trusty-updates/multiverse Sources [3,517 B]
Hit http://archive.canonical.com trusty Release
Get:7 http://au.archive.ubuntu.com trusty-updates/main i386 Packages [346 kB]
Ign http://security.ubuntu.com trusty-security InRelease
Get:8 http://au.archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:9 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:10 http://au.archive.ubuntu.com trusty-updates/universe i386 Packages [216 kB]
Hit http://archive.canonical.com trusty/partner i386 Packages
Get:11 http://au.archive.ubuntu.com trusty-updates/multiverse i386 Packages [9,546 B]
Hit http://au.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://au.archive.ubuntu.com trusty-updates/multiverse Translation-en
Ign http://dl.google.com stable/main Translation-en_AU
Get:12 http://security.ubuntu.com trusty-security Release [59.7 kB]
Hit http://au.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://au.archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://dl.google.com stable/main Translation-en
Get:13 http://security.ubuntu.com trusty-security/main Sources [48.6 kB]
Ign http://archive.canonical.com trusty/partner Translation-en
Get:14 http://security.ubuntu.com trusty-security/restricted Sources [14 B]
Get:15 http://security.ubuntu.com trusty-security/universe Sources [11.2 kB]
Get:16 http://security.ubuntu.com trusty-security/multiverse Sources [698 B]
Get:17 http://security.ubuntu.com trusty-security/main i386 Packages [145 kB]
Get:18 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:19 http://security.ubuntu.com trusty-security/universe i386 Packages [50.3 kB]
Get:20 http://security.ubuntu.com trusty-security/multiverse i386 Packages [1,401 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
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-earth-stable Explore, search and discover the planet
 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
Ingrid Liermann (ingrid-liermann213) said :
#3

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#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
Ingrid Liermann (ingrid-liermann213) said :
#5

ingrid@ingrid-desktop:~$ sudo dpkg -|| grep google
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
Manfred Hampl (m-hampl) said :
#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
Ingrid Liermann (ingrid-liermann213) said :
#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
Manfred Hampl (m-hampl) said :
#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
Ingrid Liermann (ingrid-liermann213) said :
#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....