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.

#26 Le 24/11/2021, à 21:28

nany

Re : Problème connexion

OK, resolv.conf nous fait des misères.

Toujours en version de test, donne les retours de :

exit
sudo cp -v /etc/resolv.conf /mnt/etc/resolv.conf
sudo sed -i '/proposed/d' /mnt/etc/apt/sources.list && cat -n /mnt/etc/apt/sources.list
echo -e "Package: *\nPin: release a=focal\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-updates\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-security\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-backports\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-proposed\nPin-Priority: -1" | sudo tee /mnt/etc/apt/preferences.d/99-downgrade-proposed
sudo chroot /mnt
ping -c4 google.fr

Dernière modification par nany (Le 24/11/2021, à 22:10)

Hors ligne

#27 Le 24/11/2021, à 21:34

Anon69

Re : Problème connexion

ubuntu@ubuntu:~$ sudo cp -v /etc/resolv.conf /mnt/etc/resolv.conf
'/etc/resolv.conf' -> '/mnt/etc/resolv.conf'
cp: pas d'écriture à travers le lien symbolique ballant '/mnt/etc/resolv.conf'
ubuntu@ubuntu:~$ sudo sed -i '/proposed/d' /mnt/etc/apt/sources.list && cat -n /mnt/etc/apt/sources.list
     1	# deb cdrom:[Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)]/ bionic 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/ focal main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic 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/ focal-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ focal universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ focal multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ focal-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    38	
    39	## Uncomment the following two lines to add software from Canonical's
    40	## 'partner' repository.
    41	## This software is not part of Ubuntu, but is offered by Canonical and the
    42	## respective vendors as a service to Ubuntu users.
    43	deb http://archive.canonical.com/ubuntu focal partner
    44	deb-src http://archive.canonical.com/ubuntu focal partner
    45	
    46	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
    48	deb http://security.ubuntu.com/ubuntu focal-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    50	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
ubuntu@ubuntu:~$ echo -e "Package: *\nPin: release a=focal\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-updates\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-security\nPin-Priority: 1001\n\nPackage: *\nPin: release a=focal-backports\nPin-Priority: 1001\n\nPackage: *\nPin: release a=$focal-proposed\nPin-Priority: -1" | sudo tee /mnt/etc/apt/preferences.d/99-downgrade-proposed
Package: *
Pin: release a=focal
Pin-Priority: 1001

Package: *
Pin: release a=focal-updates
Pin-Priority: 1001

Package: *
Pin: release a=focal-security
Pin-Priority: 1001

Package: *
Pin: release a=focal-backports
Pin-Priority: 1001

Package: *
Pin: release a=-proposed
Pin-Priority: -1
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# ping -c4 google.fr
ping: google.fr: Échec temporaire dans la résolution du nom
root@ubuntu:/# 

Hors ligne

#28 Le 24/11/2021, à 21:51

nany

Re : Problème connexion

Arf, toujours ce resolv.conf ! hmm

Alors continuons (toujours en version de test) :

exit
sudo cp -v /run/systemd/resolve/stub-resolv.conf /mnt/run/systemd/resolve/stub-resolv.conf
sudo sed -i 's/=-proposed/=focal-proposed/' /mnt/etc/apt/preferences.d/99-downgrade-proposed && cat /mnt/etc/apt/preferences.d/99-downgrade-proposed
sudo sed -ri "s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/" /mnt/etc/apt/sources.list && cat /mnt/etc/apt/sources.list
sudo chroot /mnt
ping -c4 google.fr

Hors ligne

#29 Le 24/11/2021, à 21:56

Anon69

Re : Problème connexion

 sudo cp -v /run/systemd/resolve/stub-resolv.conf /mnt/run/systemd/resolve/stub-resolv.conf
cp: '/run/systemd/resolve/stub-resolv.conf' et '/mnt/run/systemd/resolve/stub-resolv.conf' identifient le même fichier
ubuntu@ubuntu:~$ sudo sed -i 's/=-proposed/=focal-proposed/' /mnt/etc/apt/preferences.d/99-downgrade-proposed && cat /mnt/etc/apt/preferences.d/99-downgrade-proposed
Package: *
Pin: release a=focal
Pin-Priority: 1001

Package: *
Pin: release a=focal-updates
Pin-Priority: 1001

Package: *
Pin: release a=focal-security
Pin-Priority: 1001

Package: *
Pin: release a=focal-backports
Pin-Priority: 1001

Package: *
Pin: release a=focal-proposed
Pin-Priority: -1
ubuntu@ubuntu:~$ sudo sed -ri "s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/" /mnt/etc/apt/sources.list && cat /mnt/etc/apt/sources.list
# deb cdrom:[Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)]/ bionic 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/ focal main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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 focal partner
deb-src http://archive.canonical.com/ubuntu focal partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# ping -c4 google.fr
ping: google.fr: Échec temporaire dans la résolution du nom

Hors ligne

#30 Le 24/11/2021, à 22:02

nany

Re : Problème connexion

Tu as oublié la première commande. On recommence :

exit

 

sudo cp -v /run/systemd/resolve/stub-resolv.conf /mnt/run/systemd/resolve/stub-resolv.conf

 

sudo chroot /mnt

 

ping -c4 google.fr

Hors ligne

#31 Le 24/11/2021, à 22:10

Anon69

Re : Problème connexion

root@ubuntu:/# exit
exit
ubuntu@ubuntu:~$ sudo cp -v /run/systemd/resolve/stub-resolv.conf /mnt/run/systemd/resolve/stub-resolv.conf
cp: '/run/systemd/resolve/stub-resolv.conf' et '/mnt/run/systemd/resolve/stub-resolv.conf' identifient le même fichier
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# ping -c4 google.fr
ping: google.fr: Échec temporaire dans la résolution du nom
root@ubuntu:/# 

Hors ligne

#32 Le 24/11/2021, à 22:19

Anon69

Re : Problème connexion

Dans la première manip j'avais bien mis le exit mais le résultat est différent

Hors ligne

#33 Le 24/11/2021, à 22:20

nany

Re : Problème connexion

Saleté de fichier !
On va s’y prendre autrement, copie/colle tout le bloc et appuie sur [Entrée] :

tee /run/systemd/resolve/stub-resolv.conf <<EOF
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
EOF
 

 
Puis :

ping -c4 google.fr

Dernière modification par nany (Le 24/11/2021, à 22:22)

Hors ligne

#34 Le 24/11/2021, à 22:23

Anon69

Re : Problème connexion

root@ubuntu:/# tee /run/systemd/resolve/stub-resolv.conf <<EOF
> # This file is managed by man:systemd-resolved(8). Do not edit.
> #
> # This is a dynamic resolv.conf file for connecting local clients to the
> # internal DNS stub resolver of systemd-resolved. This file lists all
> # configured search domains.
> #
> # Run "resolvectl status" to see details about the uplink DNS servers
> # currently in use.
> #
> # Third party programs must not access this file directly, but only through the
> # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
> # replace this symlink by a static file or a different symlink.
> #
> # See man:systemd-resolved.service(8) for details about the supported modes of
> # operation for /etc/resolv.conf.
> 
> nameserver 127.0.0.53
> options edns0 trust-ad
> EOF
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
root@ubuntu:/# ping -c4 google.fr
ping: google.fr: Échec temporaire dans la résolution du nom

Hors ligne

#36 Le 24/11/2021, à 22:27

Anon69

Re : Problème connexion

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp6s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 98:28:a6:2e:ab:16 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 18:56:80:a3:5d:4a brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.26/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp0s20f3
       valid_lft 80621sec preferred_lft 80621sec
    inet6 2a01:cb14:541:6700:3feb:1143:ede9:9178/64 scope global temporary dynamic 
       valid_lft 1655sec preferred_lft 455sec
    inet6 2a01:cb14:541:6700:6c66:c3a7:75b2:a96c/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 1655sec preferred_lft 455sec
    inet6 fe80::7efa:3bc1:527d:cbea/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

(je suis toujours en root)

Hors ligne

#37 Le 24/11/2021, à 22:36

nany

Re : Problème connexion

Anon69 a écrit :

(je suis toujours en root)

Oui, c’est très bien comme ça. On continue :

sed -i 's/127.0.0.53/8.8.8.8/' /run/systemd/resolve/stub-resolv.conf && ping -c4 google.fr

Hors ligne

#38 Le 24/11/2021, à 22:40

Anon69

Re : Problème connexion

root@ubuntu:/# sed -i 's/127.0.0.53/8.8.8.8/' /run/systemd/resolve/stub-resolv.conf && ping -c4 google.fr
ping: google.fr: Échec temporaire dans la résolution du nom

Hors ligne

#39 Le 24/11/2021, à 22:50

nany

Re : Problème connexion

Grmpf !

Autre méthode, donne les retours de :

exit

 

sudo wget -c -O /mnt http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu1_amd64.deb

 

sudo chroot /mnt

 

dpkg -i network-manager_1.22.10-1ubuntu1_amd64.deb

Dernière modification par nany (Le 24/11/2021, à 22:50)

Hors ligne

#40 Le 24/11/2021, à 22:51

Anon69

Re : Problème connexion

exit
ubuntu@ubuntu:~$ sudo wget -c -O /mnt http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu1_amd64.deb
/mnt: est un dossier
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# dpkg -i network-manager_1.22.10-1ubuntu1_amd64.deb
dpkg: erreur: cannot access archive 'network-manager_1.22.10-1ubuntu1_amd64.deb': Aucun fichier ou dossier de ce type

Hors ligne

#41 Le 24/11/2021, à 23:01

nany

Re : Problème connexion

Oups, au temps pour moi.

exit

 

sudo wget -c -O /mnt/network-manager_1.22.10-1ubuntu1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu1_amd64.deb

 

sudo chroot /mnt

 

dpkg -i network-manager_1.22.10-1ubuntu1_amd64.deb

Hors ligne

#42 Le 24/11/2021, à 23:03

Anon69

Re : Problème connexion

exit
ubuntu@ubuntu:~$ sudo wget -c -O /mnt/network-manager_1.22.10-1ubuntu1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu1_amd64.deb
--2021-11-24 22:01:28--  http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu1_amd64.deb
Résolution de fr.archive.ubuntu.com (fr.archive.ubuntu.com)... 2001:bc8:1600:4:63f:72ff:feaf:a2de, 51.158.154.169
Connexion vers fr.archive.ubuntu.com (fr.archive.ubuntu.com)|2001:bc8:1600:4:63f:72ff:feaf:a2de|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 1853912 (1,8M) [application/x-debian-package]
Enregistre : «/mnt/network-manager_1.22.10-1ubuntu1_amd64.deb»

/mnt/network-manage 100%[===================>]   1,77M  11,4MB/s    ds 0,2s    

2021-11-24 22:01:28 (11,4 MB/s) - «/mnt/network-manager_1.22.10-1ubuntu1_amd64.deb» enregistré [1853912/1853912]

ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# dpkg -i network-manager_1.22.10-1ubuntu1_amd64.deb
Sélection du paquet network-manager précédemment désélectionné.
(Lecture de la base de données... 214130 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de network-manager_1.22.10-1ubuntu1_amd64.deb ...
Dépaquetage de network-manager (1.22.10-1ubuntu1) ...
dpkg: des problèmes de dépendances empêchent la configuration de network-manager :
 network-manager dépend de libndp0 (>= 1.2) ; cependant :
  Le paquet libndp0 n'est pas installé.
 network-manager dépend de libnm0 (= 1.22.10-1ubuntu1) ; cependant :
  La version de libnm0:amd64 sur le système est 1.22.10-1ubuntu2.2.
 network-manager dépend de libteamdctl0 (>= 1.9) ; cependant :
  Le paquet libteamdctl0 n'est pas installé.

dpkg: erreur de traitement du paquet network-manager (--install) :
 problèmes de dépendances - laissé non configuré
Traitement des actions différées (« triggers ») pour systemd (245.4-4ubuntu3.13) ...
Running in chroot, ignoring request: daemon-reload
Traitement des actions différées (« triggers ») pour dbus (1.12.16-2ubuntu2.1) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Des erreurs ont été rencontrées pendant l'exécution :
 network-manager

Hors ligne

#43 Le 24/11/2021, à 23:18

nany

Re : Problème connexion

Et m⋅⋅⋅⋅, j’ai pas pris le bon fichier. On recommence :

exit

 

sudo wget -c -O /mnt/libteamdctl0_1.30-1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/libt/libteam/libteamdctl0_1.30-1_amd64.deb

 

sudo wget -c -O /mnt/libndp0_1.7-0ubuntu1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libndp/libndp0_1.7-0ubuntu1_amd64.deb

 

sudo wget -c -O /mnt/network-manager_1.22.10-1ubuntu2.2_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu2.2_amd64.deb

 

sudo chroot /mnt

 

dpkg -i libteamdctl0_1.30-1_amd64.deb

 

dpkg -i libndp0_1.7-0ubuntu1_amd64.deb

 

dpkg -i network-manager_1.22.10-1ubuntu2.2_amd64.deb

Hors ligne

#44 Le 24/11/2021, à 23:22

Anon69

Re : Problème connexion

exit
ubuntu@ubuntu:~$ sudo wget -c -O /mnt/libteamdctl0_1.30-1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/libt/libteam/libteamdctl0_1.30-1_amd64.deb
--2021-11-24 22:19:10--  http://fr.archive.ubuntu.com/ubuntu/pool/main/libt/libteam/libteamdctl0_1.30-1_amd64.deb
Résolution de fr.archive.ubuntu.com (fr.archive.ubuntu.com)... 2001:bc8:1600:4:63f:72ff:feaf:a2de, 51.158.154.169
Connexion vers fr.archive.ubuntu.com (fr.archive.ubuntu.com)|2001:bc8:1600:4:63f:72ff:feaf:a2de|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 11800 (12K) [application/x-debian-package]
Enregistre : «/mnt/libteamdctl0_1.30-1_amd64.deb»

/mnt/libteamdctl0_1 100%[===================>]  11,52K  --.-KB/s    ds 0s      

2021-11-24 22:19:10 (108 MB/s) - «/mnt/libteamdctl0_1.30-1_amd64.deb» enregistré [11800/11800]

ubuntu@ubuntu:~$ sudo wget -c -O /mnt/libndp0_1.7-0ubuntu1_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libndp/libndp0_1.7-0ubuntu1_amd64.deb
--2021-11-24 22:19:21--  http://fr.archive.ubuntu.com/ubuntu/pool/main/libn/libndp/libndp0_1.7-0ubuntu1_amd64.deb
Résolution de fr.archive.ubuntu.com (fr.archive.ubuntu.com)... 2001:bc8:1600:4:63f:72ff:feaf:a2de, 51.158.154.169
Connexion vers fr.archive.ubuntu.com (fr.archive.ubuntu.com)|2001:bc8:1600:4:63f:72ff:feaf:a2de|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 10880 (11K) [application/x-debian-package]
Enregistre : «/mnt/libndp0_1.7-0ubuntu1_amd64.deb»

/mnt/libndp0_1.7-0u 100%[===================>]  10,62K  --.-KB/s    ds 0s      

2021-11-24 22:19:21 (104 MB/s) - «/mnt/libndp0_1.7-0ubuntu1_amd64.deb» enregistré [10880/10880]

ubuntu@ubuntu:~$ sudo wget -c -O /mnt/network-manager_1.22.10-1ubuntu2.2_amd64.deb http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu2.2_amd64.deb
--2021-11-24 22:20:38--  http://fr.archive.ubuntu.com/ubuntu/pool/main/n/network-manager/network-manager_1.22.10-1ubuntu2.2_amd64.deb
Résolution de fr.archive.ubuntu.com (fr.archive.ubuntu.com)... 2001:bc8:1600:4:63f:72ff:feaf:a2de, 51.158.154.169
Connexion vers fr.archive.ubuntu.com (fr.archive.ubuntu.com)|2001:bc8:1600:4:63f:72ff:feaf:a2de|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Taille : 1854656 (1,8M) [application/x-debian-package]
Enregistre : «/mnt/network-manager_1.22.10-1ubuntu2.2_amd64.deb»

/mnt/network-manage 100%[===================>]   1,77M  11,0MB/s    ds 0,2s    

2021-11-24 22:20:39 (11,0 MB/s) - «/mnt/network-manager_1.22.10-1ubuntu2.2_amd64.deb» enregistré [1854656/1854656]

ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# dpkg -i libteamdctl0_1.30-1_amd64.deb
Sélection du paquet libteamdctl0:amd64 précédemment désélectionné.
(Lecture de la base de données... 214215 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de libteamdctl0_1.30-1_amd64.deb ...
Dépaquetage de libteamdctl0:amd64 (1.30-1) ...
Paramétrage de libteamdctl0:amd64 (1.30-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9.3) ...
root@ubuntu:/# dpkg -i libteamdctl0_1.30-1_amd64.deb
(Lecture de la base de données... 214220 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de libteamdctl0_1.30-1_amd64.deb ...
Dépaquetage de libteamdctl0:amd64 (1.30-1) sur (1.30-1) ...
Paramétrage de libteamdctl0:amd64 (1.30-1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9.3) ...
root@ubuntu:/# dpkg -i libndp0_1.7-0ubuntu1_amd64.deb
Sélection du paquet libndp0:amd64 précédemment désélectionné.
(Lecture de la base de données... 214220 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de libndp0_1.7-0ubuntu1_amd64.deb ...
Dépaquetage de libndp0:amd64 (1.7-0ubuntu1) ...
Paramétrage de libndp0:amd64 (1.7-0ubuntu1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9.3) ...
root@ubuntu:/# dpkg -i network-manager_1.22.10-1ubuntu2.2_amd64.deb
(Lecture de la base de données... 214225 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de network-manager_1.22.10-1ubuntu2.2_amd64.deb ...
Dépaquetage de network-manager (1.22.10-1ubuntu2.2) sur (1.22.10-1ubuntu1) ...
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: daemon-reload
Paramétrage de network-manager (1.22.10-1ubuntu2.2) ...
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: reload
Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service → /lib/systemd/system/NetworkManager-dispatcher.service.
Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service → /lib/systemd/system/NetworkManager-wait-online.service.
Running in chroot, ignoring request: daemon-reload
Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service → /lib/systemd/system/NetworkManager.service.
Running in chroot, ignoring request: daemon-reload
Running in chroot, ignoring request: is-active
Running in chroot, ignoring request: start
Traitement des actions différées (« triggers ») pour systemd (245.4-4ubuntu3.13) ...
Running in chroot, ignoring request: daemon-reload
Traitement des actions différées (« triggers ») pour dbus (1.12.16-2ubuntu2.1) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
root@ubuntu:/# 

Hors ligne

#45 Le 24/11/2021, à 23:32

nany

Re : Problème connexion

Ça commence à sentir bon.
Redémarre sur ta version normale :

reboot

 
Puis donne le retour de :

sudo apt clean && sudo apt update

Hors ligne

#46 Le 24/11/2021, à 23:49

Anon69

Re : Problème connexion

:~$ sudo apt clean && sudo apt update
[sudo] Mot de passe de 
Err :1 http://security.ubuntu.com/ubuntu focal-security InRelease
  Erreur temporaire de résolution de « security.ubuntu.com »
Err :2 http://fr.archive.ubuntu.com/ubuntu focal InRelease                     
  Erreur temporaire de résolution de « fr.archive.ubuntu.com »
Err :3 http://archive.canonical.com/ubuntu focal InRelease                     
  Erreur temporaire de résolution de « archive.canonical.com »
Err :4 http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu focal InRelease
  Erreur temporaire de résolution de « ppa.launchpad.net »
Err :5 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease             
  Erreur temporaire de résolution de « fr.archive.ubuntu.com »
Err :6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
  Erreur temporaire de résolution de « ppa.launchpad.net »
Err :7 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
  Erreur temporaire de résolution de « fr.archive.ubuntu.com »
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
2 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/focal/InRelease  Erreur temporaire de résolution de « fr.archive.ubuntu.com »
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Erreur temporaire de résolution de « fr.archive.ubuntu.com »
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Erreur temporaire de résolution de « fr.archive.ubuntu.com »
W: Impossible de récupérer http://archive.canonical.com/ubuntu/dists/focal/InRelease  Erreur temporaire de résolution de « archive.canonical.com »
W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease  Erreur temporaire de résolution de « security.ubuntu.com »
W: Impossible de récupérer http://ppa.launchpad.net/samoilov-lex/aftl-stable/ubuntu/dists/focal/InRelease  Erreur temporaire de résolution de « ppa.launchpad.net »
W: Impossible de récupérer http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/focal/InRelease  Erreur temporaire de résolution de « ppa.launchpad.net »
W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.

Hors ligne

#47 Le 24/11/2021, à 23:57

Anon69

Re : Problème connexion

Grâce à toi network-manager a été rétablit et je suis de nouveau connecté au wifi (ce qui est déjà très bien) mais pas à internet.:) Mais tu le sais sans doute déjà.

Hors ligne

#48 Le 25/11/2021, à 00:00

nany

Re : Problème connexion

Et m⋅⋅⋅⋅ !
Donne les retours de :

cat /etc/resolv.conf
resolvectl status
dpkg -l | grep -Ev "^ii|^rc"
sudo dhclient

Hors ligne

#49 Le 25/11/2021, à 00:09

Anon69

Re : Problème connexion

$ cat /etc/resolv.conf
cat: /etc/resolv.conf: Aucun fichier ou dossier de ce type
:~$ resolvectl status
Global
       LLMNR setting: no                  
MulticastDNS setting: no                  
  DNSOverTLS setting: no                  
      DNSSEC setting: no                  
    DNSSEC supported: no                  
          DNSSEC NTA: 10.in-addr.arpa     
                      16.172.in-addr.arpa 
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa 
                      18.172.in-addr.arpa 
                      19.172.in-addr.arpa 
Global
       LLMNR setting: no                  
MulticastDNS setting: no                  
  DNSOverTLS setting: no                  
      DNSSEC setting: no                  
    DNSSEC supported: no                  
          DNSSEC NTA: 10.in-addr.arpa     
                      16.172.in-addr.arpa 
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa 
                      18.172.in-addr.arpa 
                      19.172.in-addr.arpa 
                      20.172.in-addr.arpa 
                      21.172.in-addr.arpa 
                      22.172.in-addr.arpa 
                      23.172.in-addr.arpa 
                      24.172.in-addr.arpa 
                      25.172.in-addr.arpa 
                      26.172.in-addr.arpa 
                      27.172.in-addr.arpa 
                      28.172.in-addr.arpa 
                      29.172.in-addr.arpa 
                      30.172.in-addr.arpa 
Global
       LLMNR setting: no                  
MulticastDNS setting: no                  
  DNSOverTLS setting: no                  
      DNSSEC setting: no                  
    DNSSEC supported: no                  
          DNSSEC NTA: 10.in-addr.arpa     
                      16.172.in-addr.arpa 
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa 
                      18.172.in-addr.arpa 
                      19.172.in-addr.arpa 
                      20.172.in-addr.arpa 
                      21.172.in-addr.arpa 
                      22.172.in-addr.arpa 
                      23.172.in-addr.arpa 
                      24.172.in-addr.arpa 
                      25.172.in-addr.arpa 
                      26.172.in-addr.arpa 
                      27.172.in-addr.arpa 
                      28.172.in-addr.arpa 
                      29.172.in-addr.arpa 
                      30.172.in-addr.arpa 
...skipping...
Global
Global
       LLMNR setting: no                  
MulticastDNS setting: no                  
  DNSOverTLS setting: no                  
      DNSSEC setting: no                  
    DNSSEC supported: no                  
          DNSSEC NTA: 10.in-addr.arpa     
                      16.172.in-addr.arpa 
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa 
                      18.172.in-addr.arpa 
                      19.172.in-addr.arpa 
                      20.172.in-addr.arpa 
                      21.172.in-addr.arpa 
                      22.172.in-addr.arpa 
                      23.172.in-addr.arpa 
                      24.172.in-addr.arpa 
                      25.172.in-addr.arpa 
                      26.172.in-addr.arpa 
                      27.172.in-addr.arpa 
                      28.172.in-addr.arpa 
                      29.172.in-addr.arpa 
                      30.172.in-addr.arpa 
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
!rc"sudo dhclient
sh: 1: Syntax error: Unterminated quoted string

                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
lines 24-46/56 88%
                      31.172.in-addr.arpa 
                      corp                
                      d.f.ip6.arpa        
                      home                
                      internal            
                      intranet            
                      lan                 
                      local               
                      private             
                      test                

Link 3 (wlp0s20f3)
      Current Scopes: DNS                                   
DefaultRoute setting: yes                                   
       LLMNR setting: yes                                   
MulticastDNS setting: no                                    
  DNSOverTLS setting: no                                    
      DNSSEC setting: no                                    
    DNSSEC supported: no                                    
         DNS Servers: 192.168.1.1                           
                      fe80::72f8:2bff:fe1e:9110             
                      2a01:cb14:541:6700:72f8:2bff:fe1e:9110
          DNS Domain: ~.                                    
                      home                                  

Link 2 (enp6s0f1)
      Current Scopes: none
DefaultRoute setting: no  
       LLMNR setting: yes 
MulticastDNS setting: no  
  DNSOverTLS setting: no  
      DNSSEC setting: no  
    DNSSEC supported: no  
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

Hors ligne

#50 Le 25/11/2021, à 12:32

nany

Re : Problème connexion

Sommeil 1, nany 0. hmm

Donne les retours de :

sudo ln -sv /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
ls -l /etc/resolv.conf
ls -l /run/systemd/resolve/stub-resolv.conf

Hors ligne