Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 26/12/2017, à 17:25

arthur2412

Problème au démarrage d'Ubuntu

Bonjour,

Je rencontre un problème au démarrage normal d'ubuntu 16.04. Je passe donc en mode upsatart, appuie sur echap; et je voie le message "failed to start LSB: apparmor initialisation" après une longue liste d'actions qui ont fonctionné. Ensuite, un compte à rebours se met en place - 1min 30 - et le système se lance comme si rien n'était. Comment résoudre ce problème? Faut-il réinstaller le système? Si oui comment?

Merci de votre aide!!!

Dernière modification par arthur2412 (Le 26/12/2017, à 17:29)

Hors ligne

#2 Le 27/12/2017, à 12:34

nam1962

Re : Problème au démarrage d'Ubuntu

Donne nous les retours de :

cat /etc/apt/sources.list
ls /etc/apt/sourdes.list.d -1
df -Th

[ Modéré ]

Hors ligne

#3 Le 02/01/2018, à 18:28

arthur2412

Re : Problème au démarrage d'Ubuntu

arthur@arthurb:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
arthur@arthurb:~$ ls /etc/apt/sourdes.list.d -1
ls: impossible d'accéder à '/etc/apt/sourdes.list.d': Aucun fichier ou dossier de ce type
arthur@arthurb:~$ df -Th
Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   1,9G       0  1,9G   0% /dev
tmpfs            tmpfs      386M    6,1M  380M   2% /run
/dev/sdb5        ext4        49G    7,0G   39G  16% /
tmpfs            tmpfs      1,9G     12M  1,9G   1% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      1,9G       0  1,9G   0% /sys/fs/cgroup
/dev/loop1       squashfs   123M    123M     0 100% /snap/auryo/10
/dev/loop0       squashfs   124M    124M     0 100% /snap/auryo/2
/dev/loop2       squashfs    84M     84M     0 100% /snap/core/3604
/dev/sdb1        vfat       256M     29M  228M  12% /boot/efi
tmpfs            tmpfs      386M     52K  386M   1% /run/user/1000

Comment on fait pour faire une capture d'un terminal comme toi? tongue ouais je suis un bleu

Hors ligne

#4 Le 02/01/2018, à 18:42

Korak

Re : Problème au démarrage d'Ubuntu

Bonjour,

arthur@arthurb:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
arthur@arthurb:~$
arthur@arthurb:~$ ls /etc/apt/sourdes.list.d -1
ls: impossible d'accéder à '/etc/apt/sourdes.list.d': Aucun fichier ou dossier de ce type
arthur@arthurb:~$ 
arthur@arthurb:~$ df -Th
Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   1,9G       0  1,9G   0% /dev
tmpfs            tmpfs      386M    6,1M  380M   2% /run
/dev/sdb5        ext4        49G    7,0G   39G  16% /
tmpfs            tmpfs      1,9G     12M  1,9G   1% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      1,9G       0  1,9G   0% /sys/fs/cgroup
/dev/loop1       squashfs   123M    123M     0 100% /snap/auryo/10
/dev/loop0       squashfs   124M    124M     0 100% /snap/auryo/2
/dev/loop2       squashfs    84M     84M     0 100% /snap/core/3604
/dev/sdb1        vfat       256M     29M  228M  12% /boot/efi
tmpfs            tmpfs      386M     52K  386M   1% /run/user/1000

Il faut utiliser les balises code. Les deux flèches < > bleues de l'éditeur de texte du forum.

Et mettre une commande à la fois pour que se soit plus compréhensible.

Dernière modification par Korak (Le 02/01/2018, à 18:43)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#5 Le 02/01/2018, à 18:49

arthur2412

Re : Problème au démarrage d'Ubuntu

arthur@arthurb:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
arthur@arthurb:~$ ls /etc/apt/sourdes.list.d -1
ls: impossible d'accéder à '/etc/apt/sourdes.list.d': Aucun fichier ou dossier de ce type
arthur@arthurb:~$ df -Th
Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   1,9G       0  1,9G   0% /dev
tmpfs            tmpfs      386M    6,1M  380M   2% /run
/dev/sdb5        ext4        49G    7,0G   39G  16% /
tmpfs            tmpfs      1,9G     12M  1,9G   1% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      1,9G       0  1,9G   0% /sys/fs/cgroup
/dev/loop1       squashfs   123M    123M     0 100% /snap/auryo/10
/dev/loop0       squashfs   124M    124M     0 100% /snap/auryo/2
/dev/loop2       squashfs    84M     84M     0 100% /snap/core/3604
/dev/sdb1        vfat       256M     29M  228M  12% /boot/efi
tmpfs            tmpfs      386M     52K  386M   1% /run/user/1000

ah oui merci

Hors ligne

#6 Le 02/01/2018, à 18:55

Korak

Re : Problème au démarrage d'Ubuntu

Voilà qui est mieux. smile

La prochaine fois, fait-le commande par commande comme dans mon exemple au post #4.

Et n'oublie pas le retour à la commande suivante !!! Chose que tu a oubliée pour la troisième commande ( df -Th ).

Sur mon PC :

be@be-HP-Pavilion-17-f055nb:~$ df -Th
Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   5,4G       0  5,4G   0% /dev
tmpfs            tmpfs      1,1G    9,7M  1,1G   1% /run
/dev/sda7        ext4       489G    282G  183G  61% /
tmpfs            tmpfs      5,4G     49M  5,3G   1% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      5,4G       0  5,4G   0% /sys/fs/cgroup
/dev/sda2        vfat       256M    123M  134M  48% /boot/efi
cgmfs            tmpfs      100K       0  100K   0% /run/cgmanager/fs
tmpfs            tmpfs      1,1G     48K  1,1G   1% /run/user/1000
be@be-HP-Pavilion-17-f055nb:~$

Dans mon exemple ci-dessus, la première ligne est la ligne où j'ai entré la commande, les lignes suivantes sont le retour de la commande et la dernière ligne est la ligne qui attend la commande suivante.

C'est tout ça qui donne un retour de commande COMPLET. wink

Dernière modification par Korak (Le 02/01/2018, à 19:00)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#7 Le 02/01/2018, à 19:04

Korak

Re : Problème au démarrage d'Ubuntu

Ah, il y a une erreur dans la deuxième commande, la bonne commande est celle-ci :

ls /etc/apt/sources.list.d -1

J'avais oublié de le dire. sad

Dernière modification par Korak (Le 02/01/2018, à 19:05)


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#8 Le 02/01/2018, à 19:24

arthur2412

Re : Problème au démarrage d'Ubuntu

arthur@arthurb:~$ ls /etc/apt/sources.list.d -1
jonathonf-ubuntu-python-3_6-xenial.list

Encore merci, mais je fais quoi avec ça? ça ne va pas m'aider à réparer mon système, si? hmm smile

Hors ligne

#9 Le 02/01/2018, à 19:48

Korak

Re : Problème au démarrage d'Ubuntu

arthur2412 a écrit :

je fais quoi avec ça? ça ne va pas m'aider à réparer mon système, si? hmm smile

Attend que nam1962 (ou un autre) analyse tout ça et te réponde.

Et n'oublie pas le retour à la commande suivante !!! Chose que tu as encore oubliée ! sad

Sur mon PC, ça donne ceci :

be@be-HP-Pavilion-17-f055nb:~$ ls /etc/apt/sources.list.d -1
dotnetdev.list
dotnetdev.list.distUpgrade
dotnetdev.list.save
eid.list
eid.list.distUpgrade
eid.list.save
eid.list.ucf-dist
google-chrome.list
google-chrome.list.distUpgrade
google-chrome.list.save
google-earth.list
google-earth.list.distUpgrade
google-earth.list.save
google.list
google.list.save
libdvdcss.list
libdvdcss.list.distUpgrade
libdvdcss.list.save
steam.list
steam.list.save
ubuntu-wine-ppa-trusty.list
ubuntu-wine-ppa-trusty.list.distUpgrade
ubuntu-wine-ppa-trusty.list.save
videolan-ubuntu-stable-daily-xenial.list
videolan-ubuntu-stable-daily-xenial.list.save
yannubuntu-boot-repair-trusty.list
yannubuntu-boot-repair-trusty.list.distUpgrade
yannubuntu-boot-repair-trusty.list.save
yannubuntu-ubuntu-boot-repair-xenial.list
yannubuntu-ubuntu-boot-repair-xenial.list.save
be@be-HP-Pavilion-17-f055nb:~$

Bref, beaucoup de lignes !!!


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#10 Le 02/01/2018, à 20:09

nam1962

Re : Problème au démarrage d'Ubuntu

Les sources semblent propre, par contre, comme Korak, j'aimerai voir la totalité du retour pour les PPA.
Question : pourquoi ce PPA python 3.6 ? (dont le mainteneur lui-même dit que ça peut marcher... ou pas !)


[ Modéré ]

Hors ligne

#11 Le 07/01/2018, à 19:11

arthur2412

Re : Problème au démarrage d'Ubuntu

Il y a ce PPA python 3.6 car je m'intéresse a ce langage de programmation je l'apprends et j'ai fais la mise a niveau car avec la version d'ubuntu 16.04, python est livré en version inférieure.

Qu'est-ce qu'un PPA?

Et j'ai mis tout ce qu'il y avait!

Dernière modification par arthur2412 (Le 07/01/2018, à 19:12)

Hors ligne

#12 Le 08/01/2018, à 01:53

??

Re : Problème au démarrage d'Ubuntu

Bonsoir

arthur2412 a écrit :

Bonjour,
Ensuite, un compte à rebours se met en place - 1min 30 - et le système se lance comme si rien n'était.
Merci de votre aide!!!

Donnes le retour des deux commandes suivantes

sudo blkid
cat /etc/fstab

Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne