update problem : when updated , didn't manage to run the next time

Asked by tanja hild

when I update to the latest -27 for generic , it appears it doesn't find the root.
I have to back grade to -26 to start the engine

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
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo update-grub; lsb_release -a; uname -a

Thanks

Revision history for this message
tanja hild (tanxala) said :
#2

this is the output of your command :
tanja@tanja-HP-Pavilion-dv7-Notebook-PC:~$ sudo update-grub; lsb_release -a; uname -a
[sudo] password for tanja:
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-3.13.0-27-generic
Image Linux trouvée : /boot/vmlinuz-3.13.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-26-generic
Image Linux trouvée : /boot/vmlinuz-3.13.0-24-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
fait
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
Linux tanja-HP-Pavilion-dv7-Notebook-PC 3.13.0-26-generic #48-Ubuntu SMP Wed May 7 23:31:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
thanks

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

Ok what is the output of:

sudo apt-get dist-upgrade

Thanks

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

If you look at the output of update-grub, you might see that there is no line with "/boot/initrd.img-3.13.0-27-generic", just the one with "/boot/vmlinuz-3.13.0-27-generic". You could try re-installing the -27 version of the kernel

Revision history for this message
tanja hild (tanxala) said :
#5

for actionparsnip, this is the output of your command :
tanja@tanja-HP-Pavilion-dv7-Notebook-PC:~$ sudo apt-get dist-upgrade
[sudo] password for tanja:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libavfilter-extra-2 libboost-iostreams1.53.0 libboost-program-options1.53.0
  libdee-qt5-3 libfftw3-3 libfftw3-long3 libgstreamer-plugins-base0.10-0:i386
  libgstreamer0.10-0:i386 libhud-client2 liblcms1:i386 libllvm3.3
  libllvm3.3:i386 libpoppler43 libqt53d5 libqt5location5
  linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
  linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
  xfce-keyboard-shortcuts
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets suivants seront mis à jour :
  libqt5qml5 libqt5quick5 python-ubuntuone-client
  python-ubuntuone-storageprotocol qtdeclarative5-dialogs-plugin
  qtdeclarative5-localstorage-plugin qtdeclarative5-privatewidgets-plugin
  qtdeclarative5-qtquick2-plugin qtdeclarative5-window-plugin ubuntuone-client
10 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 2 692 ko dans les archives.
Après cette opération, 6 144 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] O
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main libqt5qml5 amd64 5.2.1-3ubuntu15.1 [1 212 kB]
Réception de : 2 http://archive.ubuntu.com/ubuntu/ saucy-proposed/main ubuntuone-client all 13.10-0ubuntu1.1 [11,4 kB]
Réception de : 3 http://archive.ubuntu.com/ubuntu/ saucy-proposed/main python-ubuntuone-storageprotocol all 13.10-0ubuntu1.1 [60,6 kB]
Réception de : 4 http://archive.ubuntu.com/ubuntu/ saucy-proposed/main python-ubuntuone-client all 13.10-0ubuntu1.1 [227 kB]
Réception de : 5 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main libqt5quick5 amd64 5.2.1-3ubuntu15.1 [981 kB]
Réception de : 6 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-privatewidgets-plugin amd64 5.2.1-3ubuntu15.1 [40,4 kB]
Réception de : 7 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-dialogs-plugin amd64 5.2.1-3ubuntu15.1 [79,8 kB]
Réception de : 8 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-localstorage-plugin amd64 5.2.1-3ubuntu15.1 [28,5 kB]
Réception de : 9 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-qtquick2-plugin amd64 5.2.1-3ubuntu15.1 [34,0 kB]
Réception de : 10 http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed/main qtdeclarative5-window-plugin amd64 5.2.1-3ubuntu15.1 [16,2 kB]
2 692 ko réceptionnés en 14s (191 ko/s)
(Lecture de la base de données... 425222 fichiers et répertoires déjà installés.)
Préparation du décompactage de .../libqt5qml5_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de libqt5qml5:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../libqt5quick5_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de libqt5quick5:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../qtdeclarative5-privatewidgets-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de qtdeclarative5-privatewidgets-plugin:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../qtdeclarative5-dialogs-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de qtdeclarative5-dialogs-plugin:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../qtdeclarative5-localstorage-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de qtdeclarative5-localstorage-plugin:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../qtdeclarative5-qtquick2-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de qtdeclarative5-qtquick2-plugin:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../qtdeclarative5-window-plugin_5.2.1-3ubuntu15.1_amd64.deb ...
Décompactage de qtdeclarative5-window-plugin:amd64 (5.2.1-3ubuntu15.1) sur (5.2.1-3ubuntu15) ...
Préparation du décompactage de .../ubuntuone-client_13.10-0ubuntu1.1_all.deb ...
Décompactage de ubuntuone-client (13.10-0ubuntu1.1) sur (13.10-0ubuntu1) ...
Préparation du décompactage de .../python-ubuntuone-storageprotocol_13.10-0ubuntu1.1_all.deb ...
Décompactage de python-ubuntuone-storageprotocol (13.10-0ubuntu1.1) sur (13.10-0ubuntu1) ...
Préparation du décompactage de .../python-ubuntuone-client_13.10-0ubuntu1.1_all.deb ...
Décompactage de python-ubuntuone-client (13.10-0ubuntu1.1) sur (13.10-0ubuntu1) ...
Traitement déclenché pour man-db (2.6.7.1-1) ...
Paramétrage de linux-image-3.13.0-27-generic (3.13.0-27.50) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link boot/initrd.img-3.13.0-27-generic to initrd.img:Le fichier existe at /var/lib/dpkg/info/linux-image-3.13.0-27-generic.postinst line 629.
dpkg: error processing package linux-image-3.13.0-27-generic (--configure):
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 17
dpkg: des problèmes de dépendances empêchent la configuration de linux-image-extra-3.13.0-27-generic :
 linux-image-extra-3.13.0-27-generic dépend de linux-image-3.13.0-27-generic ; cependant :
 Le paquet linux-image-3.13.0-27-generic n'est pas encore configuré.

dpkg: error processing package linux-image-extra-3.13.0-27-generic (--configure):
 problèmes de dépendances - laissé non configuré
Paramétrage de libqt5qml5:amd64 (5.2.1-3ubuntu15.1) ...
Aucun rapport « apport » n'a été créé car le message d'erreur indique une erreur consécutive à un échec précédent.
                                  Paramétrage de libqt5quick5:amd64 (5.2.1-3ubuntu15.1) ...
Paramétrage de qtdeclarative5-privatewidgets-plugin:amd64 (5.2.1-3ubuntu15.1) ...
Paramétrage de qtdeclarative5-dialogs-plugin:amd64 (5.2.1-3ubuntu15.1) ...
Paramétrage de qtdeclarative5-localstorage-plugin:amd64 (5.2.1-3ubuntu15.1) ...
Paramétrage de qtdeclarative5-qtquick2-plugin:amd64 (5.2.1-3ubuntu15.1) ...
Paramétrage de qtdeclarative5-window-plugin:amd64 (5.2.1-3ubuntu15.1) ...
Paramétrage de python-ubuntuone-storageprotocol (13.10-0ubuntu1.1) ...
Paramétrage de python-ubuntuone-client (13.10-0ubuntu1.1) ...
Paramétrage de ubuntuone-client (13.10-0ubuntu1.1) ...
Traitement déclenché pour libc-bin (2.19-0ubuntu6) ...
Des erreurs ont été rencontrées pendant l'exécution :
 linux-image-3.13.0-27-generic
 linux-image-extra-3.13.0-27-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
tanja hild (tanxala) said :
#6

for Manfred Hampl this is the output form your sugestion :
tanja@tanja-HP-Pavilion-dv7-Notebook-PC:~$ update-grub
grub-mkconfig : seul le superutilisateur peut exécuter cela

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

Try the following:

sudo apt-get install --reinstall linux-image-3.13.0-27-generic linux-image-extra-3.13.0-27-generic

and copy/paste all output as done before.

There seems to be an inconsistency in your sources.list configuration file. You are running the trusty release of Ubuntu, but you use a source for the older saucy release. To verify that please provide also the output of the command

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

Revision history for this message
tanja hild (tanxala) said :
#8

this is the output from the first command :
tanja@tanja-HP-Pavilion-dv7-Notebook-PC:~$ sudo apt-get install --reinstall linux-image-3.13.0-27-generic linux-image-extra-3.13.0-27-generic
[sudo] password for tanja:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libavfilter-extra-2 libboost-iostreams1.53.0 libboost-program-options1.53.0
  libdee-qt5-3 libfftw3-3 libfftw3-long3 libgstreamer-plugins-base0.10-0:i386
  libgstreamer0.10-0:i386 libhud-client2 liblcms1:i386 libllvm3.3
  libllvm3.3:i386 libpoppler43 libqt53d5 libqt5location5
  linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
  linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
  xfce-keyboard-shortcuts
Veuillez utiliser « apt-get autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 2 réinstallés, 0 à enlever et 2 non mis à jour.
2 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
E: Internal Error, No file name for linux-image-3.13.0-27-generic:amd64
this is the output from the second command :
tanja@tanja-HP-Pavilion-dv7-Notebook-PC:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

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

     1 deb http://linux.dropbox.com/ubuntu trusty main

/etc/apt/sources.list.d/3monkeyme.list

     1 # 3monkey.me
     2 deb http://clientcdn.3monkey.me/debian stable main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (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://fr.archive.ubuntu.com/ubuntu/ trusty main restricted
     6 deb-src http://fr.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://fr.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    11 deb-src http://fr.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://fr.archive.ubuntu.com/ubuntu/ trusty universe
    17 deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty universe
    18 deb http://fr.archive.ubuntu.com/ubuntu/ trusty-updates universe
    19 deb-src http://fr.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://fr.archive.ubuntu.com/ubuntu/ trusty multiverse
    27 deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty multiverse
    28 deb http://fr.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    29 deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://fr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    37 deb-src http://fr.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
    41 deb http://security.ubuntu.com/ubuntu trusty-security universe
    42 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    43 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 deb http://archive.canonical.com/ubuntu trusty partner
    51 deb-src http://archive.canonical.com/ubuntu trusty partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu trusty main
    56 deb-src http://extras.ubuntu.com/ubuntu trusty main
    57 deb http://archive.ubuntu.com/ubuntu saucy main universe restricted multiverse
    58 deb http://fr.archive.ubuntu.com/ubuntu/ trusty-proposed universe restricted main multiverse
    59 deb http://security.ubuntu.com/ubuntu/ saucy-security multiverse main restricted universe
    60 deb http://archive.ubuntu.com/ubuntu saucy-updates multiverse main restricted universe
    61 deb http://archive.ubuntu.com/ubuntu saucy-proposed multiverse main restricted universe
    62 deb http://archive.ubuntu.com/ubuntu saucy-backports multiverse main restricted universe
thanks

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

sudo apt-get --purge autoremove
sudo apt-get clean
sudo apt-get --reinstall install linux-image-generic

Should do it.

Revision history for this message
tanja hild (tanxala) said :
#10

thanks , I restarted and it worked !
thank you

Revision history for this message
tanja hild (tanxala) said :
#11

Thanks Manfred Hampl, that solved my question.

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

There is one cleanup action that I want to recommend: remove all references to saucy from your /etc/apt/sources.list configuration file, because they are obsolete for your system.

open a terminal and issue the command

gksudo gedit /etc/apt/sources.list

This should ask for your password as confirmation for an administrative action, and open an editor with your sources.list configuration file loaded.

Scroll down to the end of the file, and delete the five lines that contain the word 'saucy' (lines 57 and 59-62).
Save the file and close the editor.

Revision history for this message
tanja hild (tanxala) said :
#13

it's done , thanks