update does not work

Asked by Bram van Leeuwen

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://nl.archive.ubuntu.com/ubuntu/ trusty main restricted universe
     6 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty main restricted universe
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://nl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
    11 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe
    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
    17 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    18 ## team, and may not be under a free licence. Please satisfy yourself as to
    19 ## your rights to use the software. Also, please note that software in
    20 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    21 ## security team.
    22 deb http://nl.archive.ubuntu.com/ubuntu/ trusty multiverse
    23 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty multiverse
    24 deb http://nl.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    25 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    26
    27 ## N.B. software from this repository may not have been tested as
    28 ## extensively as that contained in the main release, although it includes
    29 ## newer versions of some applications which may provide useful features.
    30 ## Also, please note that software in backports WILL NOT receive any review
    31 ## or updates from the Ubuntu security team.
    32 deb http://nl.archive.ubuntu.com/ubuntu/ trusty-backports main restricted multiverse universe
    33 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-backports main restricted multiverse universe
    34
    35 deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe
    36 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted universe
    37 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    38 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
    39
    40 ## Uncomment the following two lines to add software from Canonical's
    41 ## 'partner' repository.
    42 ## This software is not part of Ubuntu, but is offered by Canonical and the
    43 ## respective vendors as a service to Ubuntu users.
    44 deb http://archive.canonical.com/ubuntu raring partner
    45 # deb-src http://archive.canonical.com/ubuntu raring partner
    46
    47 ## This software is not part of Ubuntu, but is offered by third-party
    48 ## developers who want to ship their latest software.
    49 deb http://extras.ubuntu.com/ubuntu trusty main
    50 # deb-src http://extras.ubuntu.com/ubuntu trusty main

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_pdf-studio-8-demo_ubuntu.list

     1 deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/pdf-studio-8-demo/ubuntu trusty main #Added by software-center; credentials stored in /etc/apt/auth.conf uitgeschakeld bij opwaardering naar trusty

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_fullcircle-issue-64_ubuntu.list

     1 # deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/fullcircle-issue-64/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf uitgeschakeld bij opwaardering naar saucy

/etc/apt/sources.list.d/dropbox.list

     1 deb [arch=i386,amd64] http://linux.dropbox.com/ubuntu trusty main

/etc/apt/sources.list.d/landronimirc-clamtk-trusty.list

     1 # deb http://ppa.launchpad.net/landronimirc/clamtk/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/landronimirc/clamtk/ubuntu trusty main

/etc/apt/sources.list.d/ubuntu-wine-ppa-trusty.list

     1 deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main

/etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_outreel_ubuntu.list

     1 # deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/outreel/ubuntu trusty main #Added by software-center; credentials stored in /etc/apt/auth.conf uitgeschakeld bij opwaardering naar trusty

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Please send us the full Terminal output of ALL the commands from step 5 in this procedure:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

You only sent the output of the last command in the list, which is not enough...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Also try rebooting then retrying. What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
Bram van Leeuwen (bramdod) said :
#3

After I went through all the commands from step 5 I got the strong
impression that the trouble was over:
- ubuntu software centre behaved normally (before, it shut down
immediately),
- update service worked again (before, it shut down just after downloading),
- synaptic worked again

If I repeat this action, won't I risk something? It seems to me that the
whole ubuntu package was reinstalled.
If you think it is still necessary I will do it of course.

Op 03-04-15 om 18:07 schreef Mark Rijckenberg:
> Your question #264553 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/264553
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> Please send us the full Terminal output of ALL the commands from step 5
> in this procedure:
>
> https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
>
> You only sent the output of the last command in the list, which is not
> enough...
>

--
groet, Bram

Revision history for this message
Bram van Leeuwen (bramdod) said :
#4

replying to actionparsnip:

bram@bram-mycom:~$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Linux bram-mycom 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:18 UTC 2015 i686 athlon i686 GNU/Linux
bram@bram-mycom:~$

Are "LSB modules" important?

Thank you

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Then why do you have Raring all over your update configuration?

Did you by any chance upgrade directly from Raring to Trusty?

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Re-doing the Package management troubleshooting procedure should not do any harm, but will most probably not be necessary.

I see one weakness in your sources.list configuration file.
Lines 44 and 45 still show raring instead of trusty.

I recommend that you execute the following steps:

Open a terminal window and issue the command
sudo gedit /etc/apt/sources.list
This should ask for your password as confirmation for an administrative action and will the open an editor with the sources.list file loaded.
Scroll down to lines 44 and 45 and replace "raring" by "trusty" (two occurrences).
Save the file and close the editor.

Then issue the commands

uname -a
lsb_release -crid
sudo dpkg --audit
sudo apt-get update
sudo apt-get dist-upgrade

and copy/paste all output into this question document.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#7

In this pc I upgraded as soon as an upgrade was offered; so from 10 to
11 to 12 to 13 to 14.04.
So if raring preceeds trusty then yes.
Otherwise I wouldn't know!

Op 04-04-15 om 15:01 schreef actionparsnip:
> Your question #264553 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/264553
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Then why do you have Raring all over your update configuration?
>
> Did you by any chance upgrade directly from Raring to Trusty?
>

--
groet, Bram

Revision history for this message
Bram van Leeuwen (bramdod) said :
#8

bram@bram-mycom:~$ sudo gedit /etc/apt/sources.list
[sudo] password for bram:

(gedit:3923): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:3923): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
bram@bram-mycom:~$ sudo uname -a
Linux bram-mycom 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:18 UTC 2015 i686 athlon i686 GNU/Linux
bram@bram-mycom:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
bram@bram-mycom:~$ sudo dpkg --audit
De volgende pakketten zijn uitgepakt maar nog niet geconfigureerd. Ze
moeten geconfigureerd worden met dpkg --configure of de menu optie
Configureren in dselect om ze te laten werken:
 unity-settings-daemon daemon handling the Unity session settings
 gvfs-bin userspace virtual filesystem - binaries
 compiz-plugins-default OpenGL window and compositing manager - default plugins
 unity Interface designed for efficiency of space and interactio
 compiz OpenGL window and compositing manager
 thunderbird-locale-en English language pack for Thunderbird
 firefox-globalmenu Safe and easy web browser from Mozilla (transitional pack
 apport-gtk GTK+ frontend for the apport crash report system
 unity-services Services for the Unity interface
 thunderbird-globalmenu Email, RSS and newsgroup client (transitional package)
 python-apport Python library for Apport crash report handling
 gvfs-backends userspace virtual filesystem - backends
 gir1.2-javascriptcoregtk-3.0 JavaScript engine library from WebKitGTK+ - GObje
 libdecoration0 Compiz window decoration library
 gir1.2-webkit-3.0 Web content engine library for GTK+ - GObject introspecti
 gvfs-common userspace virtual filesystem - common data files
 thunderbird-locale-fr French language pack for Thunderbird
 compiz-core OpenGL window and compositing manager
 libtiff-tools TIFF manipulation and conversion tools
 thunderbird Email, RSS and newsgroup client with integrated spam filt
 thunderbird-gnome-support Email, RSS and newsgroup client - GNOME support
 unattended-upgrades automatic installation of security upgrades
 python-problem-report Python library to handle problem reports
 thunderbird-locale-en-us Transitional English language pack for Thunderbird
 gvfs-libs:i386 userspace virtual filesystem - private libraries
 libcompizconfig0 Settings library for plugins - OpenCompositing Project
 initscripts scripts for initializing and shutting down the system
 gvfs:i386 userspace virtual filesystem - GIO module
 python3-apport Python 3 library for Apport crash report handling
 thunderbird-locale-en-gb Transitional English language pack for Thunderbird
 python3-problem-report Python 3 library to handle problem reports
 thunderbird-locale-nl Dutch; Flemish language pack for Thunderbird
 libunity-core-6.0-9 core library for the Unity interface
 thunderbird-locale-de German language pack for Thunderbird
 firefox Safe and easy web browser from Mozilla
 gvfs-daemons userspace virtual filesystem - servers
 firefox-locale-en English language pack for Firefox
 compiz-gnome OpenGL window and compositing manager - GNOME window deco
 apport automatically generate crash reports for debugging
 gvfs-fuse userspace virtual filesystem - fuse server

De volgende pakketten zijn slechts half geconfigureerd, waarschijnlijk
wegens problemen tijdens de eerste keer configureren. Het
configureren zou opnieuw moeten gebeuren met dpkg --configure <pakket>
of de menu optie Configureren in dselect:
 shared-mime-info FreeDesktop.org shared MIME database and spec

bram@bram-mycom:~$ sudo apt-get update
Genegeerd http://nl.archive.ubuntu.com trusty InRelease
Genegeerd http://security.ubuntu.com trusty-security InRelease
Genegeerd http://nl.archive.ubuntu.com trusty-updates InRelease
Genegeerd http://ppa.launchpad.net trusty InRelease
Genegeerd http://archive.canonical.com trusty InRelease
Genegeerd http://nl.archive.ubuntu.com trusty-backports InRelease
Ophalen:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Geraakt http://ppa.launchpad.net trusty Release.gpg
Geraakt http://nl.archive.ubuntu.com trusty Release.gpg
Ophalen:2 http://archive.canonical.com trusty Release.gpg [933 B]
Ophalen:3 http://nl.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Ophalen:4 http://security.ubuntu.com trusty-security Release [63,5 kB]
Geraakt http://ppa.launchpad.net trusty Release
Geraakt http://nl.archive.ubuntu.com trusty-backports Release.gpg
Ophalen:5 http://archive.canonical.com trusty Release [9359 B]
Geraakt http://nl.archive.ubuntu.com trusty Release
Ophalen:6 http://nl.archive.ubuntu.com trusty-updates Release [63,5 kB]
Geraakt http://nl.archive.ubuntu.com trusty-backports Release
Genegeerd http://extras.ubuntu.com trusty InRelease
Geraakt http://extras.ubuntu.com trusty Release.gpg
Geraakt http://extras.ubuntu.com trusty Release
Geraakt http://ppa.launchpad.net trusty/main i386 Packages
Ophalen:7 http://archive.canonical.com trusty/partner i386 Packages [6249 B]
Geraakt http://nl.archive.ubuntu.com trusty/main Sources
Geraakt http://ppa.launchpad.net trusty/main Translation-en
Geraakt http://nl.archive.ubuntu.com trusty/restricted Sources
Ophalen:8 http://archive.canonical.com trusty/partner Translation-en [4561 B]
Geraakt http://nl.archive.ubuntu.com trusty/universe Sources
Geraakt http://nl.archive.ubuntu.com trusty/multiverse Sources
Ophalen:9 http://security.ubuntu.com trusty-security/main Sources [76,1 kB]
Geraakt http://nl.archive.ubuntu.com trusty/main i386 Packages
Geraakt http://extras.ubuntu.com trusty/main i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty/restricted i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty/universe i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty/multiverse i386 Packages
Ophalen:10 http://security.ubuntu.com trusty-security/restricted Sources [2061 B]
Ophalen:11 http://security.ubuntu.com trusty-security/universe Sources [19,1 kB]
Geraakt http://nl.archive.ubuntu.com trusty/main Translation-nl
Ophalen:12 http://security.ubuntu.com trusty-security/multiverse Sources [1905 B]
Ophalen:13 http://security.ubuntu.com trusty-security/main i386 Packages [242 kB]
Geraakt http://nl.archive.ubuntu.com trusty/main Translation-en
Geraakt http://nl.archive.ubuntu.com trusty/multiverse Translation-nl
Genegeerd https://private-ppa.launchpad.net trusty InRelease
Geraakt http://nl.archive.ubuntu.com trusty/multiverse Translation-en
Geraakt https://private-ppa.launchpad.net trusty Release.gpg
Geraakt http://nl.archive.ubuntu.com trusty/restricted Translation-nl
Ophalen:14 http://security.ubuntu.com trusty-security/restricted i386 Packages [8846 B]
Geraakt http://nl.archive.ubuntu.com trusty/restricted Translation-en
Geraakt https://private-ppa.launchpad.net trusty Release
Ophalen:15 http://security.ubuntu.com trusty-security/universe i386 Packages [91,5 kB]
Geraakt http://nl.archive.ubuntu.com trusty/universe Translation-nl
Geraakt http://nl.archive.ubuntu.com trusty/universe Translation-en
Geraakt https://private-ppa.launchpad.net trusty/main i386 Packages
Ophalen:16 http://nl.archive.ubuntu.com trusty-updates/main Sources [190 kB]
Genegeerd http://extras.ubuntu.com trusty/main Translation-nl_NL
Ophalen:17 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3628 B]
Genegeerd http://extras.ubuntu.com trusty/main Translation-nl
Genegeerd http://linux.dropbox.com trusty InRelease
Geraakt http://security.ubuntu.com trusty-security/main Translation-en
Genegeerd http://extras.ubuntu.com trusty/main Translation-en
Ophalen:18 http://nl.archive.ubuntu.com trusty-updates/restricted Sources [2564 B]
Geraakt http://security.ubuntu.com trusty-security/multiverse Translation-en
Ophalen:19 http://nl.archive.ubuntu.com trusty-updates/universe Sources [108 kB]
Geraakt http://security.ubuntu.com trusty-security/restricted Translation-en
Geraakt http://security.ubuntu.com trusty-security/universe Translation-en
Ophalen:20 http://nl.archive.ubuntu.com trusty-updates/multiverse Sources [4765 B]
Ophalen:21 http://nl.archive.ubuntu.com trusty-updates/main i386 Packages [480 kB]
Geraakt http://linux.dropbox.com trusty Release.gpg
Ophalen:22 http://nl.archive.ubuntu.com trusty-updates/restricted i386 Packages [9256 B]
Ophalen:23 http://nl.archive.ubuntu.com trusty-updates/universe i386 Packages [264 kB]
Genegeerd https://private-ppa.launchpad.net trusty/main Translation-nl_NL
Genegeerd https://private-ppa.launchpad.net trusty/main Translation-nl
Genegeerd https://private-ppa.launchpad.net trusty/main Translation-en
Ophalen:24 http://nl.archive.ubuntu.com trusty-updates/multiverse i386 Packages [11,9 kB]
Geraakt http://linux.dropbox.com trusty Release
Geraakt http://nl.archive.ubuntu.com trusty-updates/main Translation-en
Geraakt http://nl.archive.ubuntu.com trusty-updates/multiverse Translation-en
Geraakt http://nl.archive.ubuntu.com trusty-updates/restricted Translation-en
Geraakt http://nl.archive.ubuntu.com trusty-updates/universe Translation-en
Geraakt http://nl.archive.ubuntu.com trusty-backports/main Sources
Geraakt http://nl.archive.ubuntu.com trusty-backports/restricted Sources
Geraakt http://nl.archive.ubuntu.com trusty-backports/multiverse Sources
Geraakt http://nl.archive.ubuntu.com trusty-backports/universe Sources
Geraakt http://nl.archive.ubuntu.com trusty-backports/main i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty-backports/restricted i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty-backports/universe i386 Packages
Geraakt http://nl.archive.ubuntu.com trusty-backports/main Translation-en
Geraakt http://nl.archive.ubuntu.com trusty-backports/multiverse Translation-en
Geraakt http://linux.dropbox.com trusty/main amd64 Packages
Geraakt http://nl.archive.ubuntu.com trusty-backports/restricted Translation-en
Geraakt http://nl.archive.ubuntu.com trusty-backports/universe Translation-en
Geraakt http://linux.dropbox.com trusty/main i386 Packages
Genegeerd http://nl.archive.ubuntu.com trusty/main Translation-nl_NL
Genegeerd http://nl.archive.ubuntu.com trusty/multiverse Translation-nl_NL
Genegeerd http://nl.archive.ubuntu.com trusty/restricted Translation-nl_NL
Genegeerd http://nl.archive.ubuntu.com trusty/universe Translation-nl_NL
Genegeerd http://linux.dropbox.com trusty/main Translation-nl_NL
Genegeerd http://linux.dropbox.com trusty/main Translation-nl
Genegeerd http://linux.dropbox.com trusty/main Translation-en
1665 kB opgehaald in 6s (256 kB/s)
Pakketlijsten worden ingelezen... Klaar
bram@bram-mycom:~$ sudo apt-get dist-upgrade
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De status informatie wordt gelezen... Klaar
Opwaardering wordt doorgerekend... Klaar
0 pakketten opgewaardeerd, 0 pakketten nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
41 pakketten niet volledig geïnstalleerd of verwijderd.
Door deze operatie zal er 0 B extra schijfruimte gebruikt worden.
Wilt u doorgaan? [J/n] j
Instellen van initscripts (2.88dsf-41ubuntu6.1) ...
Installeren van nieuwe versie van configuratiebestand /etc/init.d/ondemand ...
Instellen van shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Failed to rename /usr/share/mime/all/allfiles.xml.new as /usr/share/mime/all/allfiles.xml: Is a directory
dpkg: error processing package shared-mime-info (--configure):
 subproces installed post-installation script gaf een foutwaarde 1 terug
Instellen van python3-problem-report (2.14.1-0ubuntu3.8) ...
Instellen van python3-apport (2.14.1-0ubuntu3.8) ...
Instellen van apport (2.14.1-0ubuntu3.8) ...
Instellen van apport-gtk (2.14.1-0ubuntu3.8) ...
Instellen van compiz-core (1:0.9.11.3+14.04.20150122-0ubuntu1) ...
Instellen van libdecoration0 (1:0.9.11.3+14.04.20150122-0ubuntu1) ...
Instellen van compiz-plugins-default (1:0.9.11.3+14.04.20150122-0ubuntu1) ...
Instellen van libcompizconfig0 (1:0.9.11.3+14.04.20150122-0ubuntu1) ...
Instellen van compiz-gnome (1:0.9.11.3+14.04.20150122-0ubuntu1) ...
Instellen van compiz (1:0.9.11.3+14.04.20150122-0ubuntu1) ...
Instellen van firefox (37.0+build2-0ubuntu0.14.04.1) ...
Please restart all running instances of firefox, or you will experience problems.
Instellen van firefox-globalmenu (37.0+build2-0ubuntu0.14.04.1) ...
Instellen van firefox-locale-en (37.0+build2-0ubuntu0.14.04.1) ...
Instellen van gir1.2-javascriptcoregtk-3.0 (2.4.8-1ubuntu1~ubuntu14.04.1) ...
Instellen van gir1.2-webkit-3.0 (2.4.8-1ubuntu1~ubuntu14.04.1) ...
Instellen van gvfs-common (1.20.3-0ubuntu1) ...
Instellen van gvfs-libs:i386 (1.20.3-0ubuntu1) ...
Instellen van gvfs-daemons (1.20.3-0ubuntu1) ...
Instellen van gvfs:i386 (1.20.3-0ubuntu1) ...
Instellen van gvfs-backends (1.20.3-0ubuntu1) ...
Instellen van gvfs-bin (1.20.3-0ubuntu1) ...
Instellen van gvfs-fuse (1.20.3-0ubuntu1) ...
Instellen van libtiff-tools (4.0.3-7ubuntu0.3) ...
Instellen van unity-services (7.2.4+14.04.20141217-0ubuntu1) ...
Instellen van libunity-core-6.0-9 (7.2.4+14.04.20141217-0ubuntu1) ...
Instellen van python-problem-report (2.14.1-0ubuntu3.8) ...
Instellen van python-apport (2.14.1-0ubuntu3.8) ...
Instellen van thunderbird (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-globalmenu (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-gnome-support (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-locale-de (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-locale-en (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-locale-en-gb (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-locale-en-us (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-locale-fr (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van thunderbird-locale-nl (1:31.6.0+build1-0ubuntu0.14.04.1) ...
Instellen van unattended-upgrades (0.82.1ubuntu2.2) ...
Instellen van unity-settings-daemon (14.04.0+14.04.20140606-0ubuntu2) ...
Instellen van unity (7.2.4+14.04.20141217-0ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Fouten gevonden tijdens behandelen van:
 shared-mime-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
bram@bram-mycom:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

There are always to releases per year and both numbers in the release numbering are important.

The correct sequence is to upgrade 13.04 -> 13-10 -> 14-04

A direct upgrade 13.04 -> 14.04 was and is not supported.

In any case the output of the commands that I requested should provide the information whether your package management system is sane.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

ok, our messages crossed each other.

There are some problems in your package management system.

Please provide the output of the commands

ls -la /usr/share/mime/all
sudo dpkg --audit
sudo dpkg --configure -a
sudo dpkg --audit

Revision history for this message
Bram van Leeuwen (bramdod) said :
#11

Thanks a lot all three of you!

Revision history for this message
Bram van Leeuwen (bramdod) said :
#12

bram@bram-mycom:~$ ls -la /usr/share/mime/all
totaal 20
drwxr-xr-x 3 root root 4096 apr 3 17:30 .
drwxr-xr-x 16 root root 4096 mrt 18 16:25 ..
drwxr-xr-x 2 root root 4096 jan 13 09:30 allfiles.xml
-rw-r--r-- 1 root root 246 apr 4 15:48 allfiles.xml.new
-rw-r--r-- 1 root root 253 mrt 10 11:57 all.xml
bram@bram-mycom:~$ sudo dpkg --audit
[sudo] password for bram:
De volgende pakketten zijn slechts half geconfigureerd, waarschijnlijk
wegens problemen tijdens de eerste keer configureren. Het
configureren zou opnieuw moeten gebeuren met dpkg --configure <pakket>
of de menu optie Configureren in dselect:
 shared-mime-info FreeDesktop.org shared MIME database and spec

bram@bram-mycom:~$ sudo --configure -a
sudo: onbekende optie '--configure'
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
            [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] file ...
bram@bram-mycom:~$ sudo dpkg --audit
De volgende pakketten zijn slechts half geconfigureerd, waarschijnlijk
wegens problemen tijdens de eerste keer configureren. Het
configureren zou opnieuw moeten gebeuren met dpkg --configure <pakket>
of de menu optie Configureren in dselect:
 shared-mime-info FreeDesktop.org shared MIME database and spec

bram@bram-mycom:~$

Do you understand the comment in dutch?

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

een beetje

You missed a part of the command

sudo dpkg --configure -a

Please provide also the output of

ls -la /usr/share/mime/all/allfiles.xml

Revision history for this message
Bram van Leeuwen (bramdod) said :
#14

bram@bram-mycom:~$ sudo dpkg --configure -a
Instellen van shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Failed to rename /usr/share/mime/all/allfiles.xml.new as /usr/share/mime/all/allfiles.xml: Is a directory
dpkg: error processing package shared-mime-info (--configure):
 subproces installed post-installation script gaf een foutwaarde 1 terug
Fouten gevonden tijdens behandelen van:
 shared-mime-info
bram@bram-mycom:~$ ls -la /usr/share/mime/all/allfiles.xml
totaal 12
drwxr-xr-x 2 root root 4096 jan 13 09:30 .
drwxr-xr-x 3 root root 4096 apr 3 17:30 ..
-rw-r--r-- 2 root root 243 jan 20 2014 Makefile
bram@bram-mycom:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

What is the output of

cat -n /usr/share/mime/all/allfiles.xml/Makefile

Revision history for this message
Bram van Leeuwen (bramdod) said :
#16

bram@bram-mycom:~$ cat -n /usr/share/mime/all/allfiles.xml/Makefile
     1 #
     2 # Makefile for ALSA
     3 # Copyright (c) 2001 by Jaroslav Kysela <email address hidden>
     4 #
     5
     6 snd-wavefront-objs := wavefront.o wavefront_fx.o wavefront_synth.o wavefront_midi.o
     7
     8 # Toplevel Module Dependency
     9 obj-$(CONFIG_SND_WAVEFRONT) += snd-wavefront.o
bram@bram-mycom:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

seems not to be what is expected to be there.

Try

sudo rm /usr/share/mime/all/allfiles.xml/Makefile
sudo rmdir /usr/share/mime/all/allfiles.xml
sudo dpkg --configure -a

and report the outcome.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#18

bram@bram-mycom:~$ sudo rm /usr/share/mime/all/allfiles.xml/Makefile
[sudo] password for bram:
bram@bram-mycom:~$ sudo rmdir /usr/share/mime/all/allfiles.xml
bram@bram-mycom:~$ sudo dpkg --configure -a
Instellen van shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
bram@bram-mycom:~$

The only button is "this solved my problem", but apparently this is not yet the case.
At this moment I have to go; I will pick up this next monday.
Thanks so far!

Revision history for this message
Bram van Leeuwen (bramdod) said :
#19

On 05-04 Ubuntu would not start.
I tried the diverse options given in the grub screen; no improvement.
With a rescue CD I have backed up the /home/bram directory; so all data are savely parked.

Windows 8.1 starts OK from the grub screen.

What do I do now?

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

Sorry to hear that you ran into problems with your system. I doubt that they are related to the update problems that were the starting pint of this question (I assume they finally were solved with your last message on April 4).

If you try booting into Ubuntu, what happens? Any error messages or just a black screen? Does Ctrl-Alt-F1 open a virtual console in terminal mode?

What happens if you try the recovery mode options from the grub screen?

Revision history for this message
Bram van Leeuwen (bramdod) said :
#21

Starting Ubuntu from the grub screen: black screen without cursor

Ctrl-Alt-F1 gave:
Gave up waiting for boot device. Common problems:
- boot args (cat /proc/cmdline)
- check rootdelay= (did the system wait long enough?)
- check root= (did the system wait for the right device?)
- missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/baae2e4b-6802-4c71-ba51-9b8087c88cae does not exist.
Dropping to a shell!

Busybox v1.21.1 (ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)
Enter help for a list of built-in commands.

(initframs)

I had to type this on a separate laptop.

I tried also tried the recovery mode from the grub screen; often a lot of things were downloaded and installed: no starting up of ubuntu!

Revision history for this message
Manfred Hampl (m-hampl) said :
#22

Can you reboot into recovery mode - root command prompt and do you get a command prompt?

If you can, please issue the commands

mount -o rw,remount /
update-grub
exit

and then select resume
(somewhat similar to http://www.psychocats.net/ubuntu/resetpassword where such steps are used for resetting a password).

Revision history for this message
Bram van Leeuwen (bramdod) said :
#23

1st command: only root can do this
2nd command: grub-mkconfig: has to be done from root

so i did not exit to keep the terminal active.

after this I got a lot of screens with errors like:

[ 1078.316429] ata3.00: error: { ABRT }

Revision history for this message
Manfred Hampl (m-hampl) said :
#24

For the error messages with my commands:
Have you selected "root command prompt" or have you logged in with your own username?

"lot of screens with errors":
This might be the root cause: Such messages usually indicate a hardware problem with the hard disk or hard disk controller. It might be that your disk drive is failing. Eventually it is just a loose cable connection between controller and hard disk, so you might check whether the cable is correctly fit into the sockets.

You wrote that you already have created a backup of your home directory (and hopefully the directories below), so your files should be safe, unless you have certain files in other directories that you missed to backup.

If the culprit is failing hardware, then there is not much what we can recommend to do.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#25

From the grub screen I can get to the terminal with root permits.
Can I start ubuntu from there?
I tried start ubuntu; but ubuntu is an unknown job?

It says: use: start [option]....JOB [key=value].... start job

In between I reconnected the ssd-disk on which root etc is placed.

Revision history for this message
Manfred Hampl (m-hampl) said :
#26

It is not advised to start the graphical environment from inside a root command prompt (and it is not "start ubuntu" anyhow).
You should use this root command prompt only temporarily for repair activities.

Can you re-issue the commands

mount -o rw,remount /
update-grub

and tell what the result is?

To continue from the root command prompt status you have to leave that environment (with "exit"). This should bring you back into the grub recovery menu, where you find an entry "resume", which should load the normal Ubuntu environment.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#27

it turns out a lot of screens and in the last one I see
Linux-image gevonden: /boot/vmlinuz-3.13.0.35-generic
Initrd-image gevonden: /boot/initrd.img-3.13.0-35-generic

and as last lines:

found memtest86+ image: /boot/memtest86+.elf
found memtest86+ image: /boot/memtest86+.bin
Windows 8 (loader) found on /dev/sda1
Microsoft windows XP home edition found on /dev/sdb9
voltooid (=finished)

On previous screens newer images were certainly mentioned.

After resume it ends with a black screen with a dashing -

Revision history for this message
Bram van Leeuwen (bramdod) said :
#28

As Windows starts up without problems from the grub screen I think the disk is OK. So it is only something in Ubuntu which resist starting up.

As I have made a backup from /home/bram + subdirectories can't I reinstall Ubuntu "from scratch" using the rescue dvd?
Do I have to remove the existing Ubuntu installation first? Or will it overwrite it?

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

Before you start overwriting your current system, I want to recommend to try some more repair activities.

1. Can you try to select in grub the advanced option for Ubuntu and then select an older kernel (one with a lower number), does this also lead to a blank screen?

2. If you try booting into Ubuntu and get a blank screen only, press ctrl-alt-f1 for logging in in command line mode and issue the commands
sudo apt-get update
sudo apt-get dist-upgrade
Are there any significant error messages (like "no space left on disk" etc.)?

And yes, booting from an installation DVD or USB-stick should allow an in-place overwriting of the old installation with a new one. You have to take care during the partitioning step of the installation to select the right option. I am not sure whether you will be offered something like "replace the current Ubuntu installation"; maybe you have to select "something else" to get a selection screen where you can then indicate that you want to reuse the existing partitions.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#30

1. I tried that with several older versions. There is a lot of downloading, however no working ubuntu.

2. apt-get update: returns a lot of downloading with almost every time warnings: for instance:
could not find 'ppa.launchpad.net'
or: some index files could not be downloaded. These are neglected or older version are used.
or: cannot write to /var/cache/apt/

apt-get dist-upgrade: W: no locking is used for write-only-lockingfile /var/lib/dpkg/lock
E: cannot write to /var/cache/apt
E: the package lists or statusfile could not be parsed or opened.

and then it returns to the cursor

after exit and resume I get a black screen with a cursor

Still, with the grub screen I can still start windows. Therefore I think the disk is not the problem

Revision history for this message
Manfred Hampl (m-hampl) said :
#31

1. When you select to boot into an older kernel (by selecting an older kernel from the grub screen), there should not be any downloading, it should just boot and select an older version of the kernel instead of the newest one. Can you please elaborate what kind of "downloading" you see there.

2. "... could not find 'ppa.launchpad.net' ..." indicates that there is no network connection. What is your normal way to connect to the internet? Via cable, or WLAN, or...?

"... no locking is used for write-only-lockingfile ..." indicates that the file system is in read-only status. In such case you should issue the "mount -o rw,remount /" command and try again.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#32

1. well, I see a lot of screens racing over the screen; maybe it is just reading from the disk.
It goes too fast to really "see" anything.

2. the pc has a cable connection. When using W-8 I can open Thunderbird and Firefox with no problem; so the connection is there and working.

Revision history for this message
Manfred Hampl (m-hampl) said :
#33

Ok, what you see might be the system messages from the boot process that are hidden behind the Ubuntu logo in a normal boot process.

I do not understand why you would then get "... could not find 'ppa.launchpad.net' ..." messages.

Just to get a clear picture on the status of your Ubuntu system, please sum up:
1. When booting Ubuntu in the normal way, you get a black screen with a blinking cursor and nothing else - is that the case?
2. Can you switch to a virtual console (cltr-alt-F1) in such case?
3. When you select an older kernel from grub, you get the same (black screen)?
4. Can you boot into advanced - root command prompt?

Revision history for this message
Bram van Leeuwen (bramdod) said :
#34

1. Yes, but after say 20 sec messages race over the screen:
[ xxx.yyyyyy] usb 1-6.1: clear tt 1 (9052) error -71
where xxx goes from 001 to 999 (I think) and yyyyyy likewise

2. when I do ctrl-alt-F1 it resumes the same messages
to stop this I do ctrl-alt-del and get say the ubuntu goodbye screen followed by the BIOS screen and then the grub screen.

3. in this case I get a black screen with the blinking cursor and nothing else.
Doing ctrl-alt-F1 in this case I get:
Ubuntu 14.04.2 LTS bram-mycom tty1
login: initctl: event failed
+ blinking cursor

although I chose an older version.

4. After ctrl-alt-del (or just the power switch) I choose advanced option and get the repair menu. There I can chose: root and get in the terminal (root@bram-mycom:~# cursor)

Revision history for this message
Manfred Hampl (m-hampl) said :
#35

Just as information: the numbers in square brackets [xxx.yyyyyy] indicate the time (seconds and fractions) since booting.

If most of the message are related to the same hardware (e.g. usb xxx or ata nnn), then they might indicate a problem with that device - either a hardware problem or a problem with the driver for it.

If you re-try booting into an older kernel and use ctrl-alt-F1 to switch to a virtual console (where you got the "initctl: event failed" message), can you log in in that mode (do you get another "login:" prompt if you press enter where you then can enter your username, and a "password:" prompt for your password)?

Revision history for this message
Bram van Leeuwen (bramdod) said :
#36

You are right!
I get:
Last login: wed april 8 09:23:11 on tty1
welcome to ubuntu 14.04.2 LTS ....
* documentation https://help.ubuntu.com/

7 packages can be updated
7 uodates are security updates.

and then the prompt again

Revision history for this message
Manfred Hampl (m-hampl) said :
#37

Ok, in such mode you can try updating the packages (if the network is correctly functioning).

issue the commands

sudo apt-get update
sudo apt-get dist-upgrade

and check whether you get any significant error messages. (I know, it is hard to judge what a significant error message might be.)

You should also verify with

df -h
and
df -i

if one of the partitions (those with real device names /dev/sdxx not those where you see tmpfs or proc in the first column) is running out of space (look for the % value).

Revision history for this message
Bram van Leeuwen (bramdod) said :
#38

the first 2 commands give the same result as reported earlier.

df -h:
df: '/run/user': file or map do not exist
df: '/sys/fs/cgroup/systemd' file or map does not exist
                         size used available % mounted
/dev/sda2 90 G 43 G 42 G 51 /
udev 2,0 G 0 2,0 G 0 /dev
tmpfs 404 M 1,3 M 403 M 1 /run
none 404 M 1,3 M 403 M 1 /run/lock
none 404 M 1,3 M 403 M 1 /run/shm

df -i:
df: '/run/user': file or map do not exist
df: '/sys/fs/cgroup/systemd' file or map does not exist

filesystem I-nodes I used I avail % mounted
/dev/sda2 5971968 793404 5178564 14 /
udev 208255 615 207640 1 /dev
tmpfs 213058 612 212446 1 /run
none 213058 612 212446 1 /run/lock
none 213058 612 212446 1 /run/shm

Revision history for this message
Bram van Leeuwen (bramdod) said :
#39

In Windows I made a screenshot of a "gparted' equivalent.
In my eyes nothing strange.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#40

The head of the repair menu (with resume, clean, dpkg, ...) says also:
(staus of filesystem: read only)

Revision history for this message
Manfred Hampl (m-hampl) said :
#41

If you get the "status of filesystem: read only", can you remount it in writeable mode with the command

mount -o rw,remount /

(If logged in as normal user, then of course with sudo mount ...)

Revision history for this message
Bram van Leeuwen (bramdod) said :
#42

I have done that and am still in the terminal.
Is there a command in the terminal to start Ubuntu?

Revision history for this message
Bram van Leeuwen (bramdod) said :
#43

Or, a command to get the grub menu without switching off the computer.

Revision history for this message
Manfred Hampl (m-hampl) said :
#44

Re-mounting the file system read-write should not change anything, but just provide the basis of further repair activities (in has an effect only for the current session and gets lost after a reboot). You still should be in the terminal after that command, but then the sudo apt-get ... commands might work.

To start the graphical environment when you have booted into command line mode you can use the "startx" command. But this makes sense only if all other problems (e.g. disk is readonly) have been solved.

Revision history for this message
Manfred Hampl (m-hampl) said :
#45

You can use the command

sudo reboot

or

sudo shutdown
sudo poweroff
etc.

to restart / shutdown the computer from a terminal without hard switching off with the power button-

Revision history for this message
Bram van Leeuwen (bramdod) said :
#46

In root-terminal I get after "startx" screens that are quite different from previous ones.

It ends with:
Loading extension GLX
xinit: connection to X server lost

waiting for X server to shut down error setting MTTR (base = 0xd7000000, size = 0x00e00000, type = 1) Invalid argument (22)
(EE) Server terminated succesfully (0). Closing log file.

and then the cursor

Revision history for this message
Manfred Hampl (m-hampl) said :
#47

It does not surprise me that the "startx" command does not provide a working graphical environment. My assumption is that the other problems have to be solved first, and then standard booting of Ubuntu should provide a working GUI anyhow.

Can you reboot into the terminal environment, issue the remount command and then try apt-get? What is the outcome?

Revision history for this message
Bram van Leeuwen (bramdod) said :
#48

apt-get update did not work properly: a lot of things could not be found; f.i.:
getting http://extras.ubuntu.com/ubuntu/dists/trusty/release.gpg failed: could not find 'extras.ubuntu.com'

and f.i:
getting https://private-ppa.launchpad.net/commercial-ppa-uploaders/pdf-studio-8-demo/..... has failed. Could not resolve host: private-ppa.launchpad.net

apt-get dist-upgrade everything: ready
0 packages updated, 0 packets reinstalled, 0 removed and 0 not updated.

I tried 'firefox' and 'thunderbird' as commands to see if the terminal is connected to internet.
In both cases: XPCOMGlueload error for file /usr/lib/firefox..... couldn't load XPCOM

Revision history for this message
Manfred Hampl (m-hampl) said :
#49

It seems that he network connection was not running.

You cannot use graphical programs like firefox or thunderbird in the command line mode.

Testing the network connection can be done with command line programs.

e.g.
ping -c 3 8.8.8.8
ifconfig

Revision history for this message
Bram van Leeuwen (bramdod) said :
#50

ping: Network is unreachable

ifconfig:
lo link encap:Local loopback
inet addr: 127.0.0.1 Mask 255.0.0.0
inet6 addr: ::1/128 scope: host
and 5 more lines.

Again, starting Windows from the grub menu showed access to internet...

So, I think that up to grub all is well, but afterwards starting ubuntu from grub gives trouble.
Shouldn't I reinstall ubuntu after formatting the ext4 partition where ubuntu is sitting now?
The 14.04 dvd has also gparted.

I really feel guilty using so much of your time!

Revision history for this message
Manfred Hampl (m-hampl) said :
#51

it seems that the point has come where a new installation promises a better and quicker solution than spending more effort in futile repair activities.

Booting from an Ubuntu 14.04 installation DVD should enable you to re-use and/or format the partitions.

Revision history for this message
Bram van Leeuwen (bramdod) said :
#52

After all this I reinstalled from a dvd. With gparted I formatted the Ubuntu partitions to ext4 and this small "shuttle" partition and installed 14.04 in those partitions.
For a time this worked well.
Then I remarked the last 2 weeks that no updates were offered.
If I started updates from the dash it returned: waiting till other software managers are closed.
Since I have tried a lot of suggestions from similar questions and now again Ubuntu will not start.
In one of the seesions Launchpad started spontaniously and made a bug report!
I have the feeling I have to reinstall Ubuntu again from the dvd but how do I prevent getting the same problems ?

I am typing this using Widows started from the grub menu to show that grub and connection to internet are OK.

Revision history for this message
Launchpad Janitor (janitor) said :
#53

This question was expired because it remained in the 'Open' state without activity for the last 15 days.