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 21/01/2024, à 21:49

Le Funambule

Problème mise à jour 23.04 vers 23.10

Bonjour,
Lorsque j'essaie de mettre à jour depuis la version 23.04 vers la 23.10, la mise à jour se lance mais un message d'erreur apparaît :

W:Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut., W:Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur., E:Le dépôt http://archive.canonical.com/ubuntu lunar Release n'a pas de fichier Release.

Que puis-je faire... ? Merci de vos éclairages...

Dernière modification par Le Funambule (Le 21/01/2024, à 21:49)

Hors ligne

#2 Le 21/01/2024, à 22:00

xubu1957

Re : Problème mise à jour 23.04 vers 23.10

Bonjour,

Fournis les retours de :

sudo apt update

et d'éventuels paquets cassés :

dpkg -l | grep -v ^ii

en te servant du Retour utilisable de commande.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#3 Le 21/01/2024, à 22:24

Le Funambule

Re : Problème mise à jour 23.04 vers 23.10

Bonjour,
Merci de ton aide. Voici les premiers retours :

lio@lio-dell:~$ sudo apt update
[sudo] Mot de passe de lio : 
Atteint :1 http://security.ubuntu.com/ubuntu lunar-security InRelease
Atteint :2 https://linux.teamviewer.com/deb stable InRelease                   
Ign :3 http://archive.canonical.com/ubuntu lunar InRelease                     
Err :4 http://archive.canonical.com/ubuntu lunar Release
  404  Not Found [IP : 185.125.188.87 80]
Atteint :5 http://fr.archive.ubuntu.com/ubuntu lunar InRelease
Atteint :6 http://fr.archive.ubuntu.com/ubuntu lunar-updates InRelease
Atteint :7 http://fr.archive.ubuntu.com/ubuntu lunar-backports InRelease
Lecture des listes de paquets... Fait
E: Le dépôt http://archive.canonical.com/ubuntu lunar Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.

Hors ligne

#4 Le 21/01/2024, à 22:25

Le Funambule

Re : Problème mise à jour 23.04 vers 23.10

Et la suite :

lio@lio-dell:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                           Version                                 Architecture Description
+++-=============================================-=======================================-============-================================================================================
rc  cryptsetup-initramfs                          2:2.6.1-1ubuntu1                        all          disk encryption support - initramfs integration
rc  linux-image-6.2.0-20-generic                  6.2.0-20.20                             amd64        Signed kernel image generic
rc  linux-image-6.2.0-27-generic                  6.2.0-27.28                             amd64        Signed kernel image generic
rc  linux-image-6.2.0-33-generic                  6.2.0-33.33+1                           amd64        Signed kernel image generic
rc  linux-image-6.2.0-34-generic                  6.2.0-34.34                             amd64        Signed kernel image generic
rc  linux-image-6.2.0-35-generic                  6.2.0-35.35                             amd64        Signed kernel image generic
rc  linux-image-6.2.0-36-generic                  6.2.0-36.37                             amd64        Signed kernel image generic
rc  linux-modules-6.2.0-20-generic                6.2.0-20.20                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-6.2.0-27-generic                6.2.0-27.28                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-6.2.0-33-generic                6.2.0-33.33                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-6.2.0-34-generic                6.2.0-34.34                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-6.2.0-35-generic                6.2.0-35.35                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-6.2.0-36-generic                6.2.0-36.37                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.2.0-20-generic          6.2.0-20.20                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.2.0-27-generic          6.2.0-27.28                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.2.0-33-generic          6.2.0-33.33                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.2.0-34-generic          6.2.0-34.34                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.2.0-35-generic          6.2.0-35.35                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  linux-modules-extra-6.2.0-36-generic          6.2.0-36.37                             amd64        Linux kernel extra modules for version 6.2.0 on 64 bit x86 SMP
rc  oem-config                                    23.04.8                                 all          Perform end-user configuration after initial OEM installation
rc  oem-config-gtk                                23.04.8                                 all          GTK+ frontend for end-user post-OEM-install configuration

Hors ligne

#5 Le 21/01/2024, à 22:36

xubu1957

Re : Problème mise à jour 23.04 vers 23.10

Pour purger les résidus de configuration marqués "rc" :

sudo apt purge ~c

comme expliqué à la machine à café et rajouté dans ce message

Vu la mention des oem et askubuntu.com/questions/1482270/update-shows-err5-http-archive-canonical-com-ubuntu-lunar-release

Montre le sources.list avec la numérotation :

find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#6 Le 21/01/2024, à 23:33

Le Funambule

Re : Problème mise à jour 23.04 vers 23.10

lio@lio-dell:~$ find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;

	/etc/apt/sources.list.distUpgrade


	/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 23.04 _Lunar Lobster_ - Release amd64 (20230417)]/ lunar 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/ lunar main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar 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/ lunar-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-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/ lunar universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ lunar-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-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/ lunar multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ lunar-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-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/ lunar-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-backports main restricted universe multiverse
    38	
    39	deb http://security.ubuntu.com/ubuntu lunar-security main restricted
    40	# deb-src http://security.ubuntu.com/ubuntu lunar-security main restricted
    41	deb http://security.ubuntu.com/ubuntu lunar-security universe
    42	# deb-src http://security.ubuntu.com/ubuntu lunar-security universe
    43	deb http://security.ubuntu.com/ubuntu lunar-security multiverse
    44	# deb-src http://security.ubuntu.com/ubuntu lunar-security multiverse
    45	
    46	# This system was installed using small removable media
    47	# (e.g. netinst, live or single CD). The matching "deb cdrom"
    48	# entries were disabled at the end of the installation process.
    49	# For information about how to configure apt package sources,
    50	# see the sources.list(5) manual.

	/etc/apt/sources.list.d/archive_uri-http_archive_canonical_com_ubuntu-lunar.list

     1	deb http://archive.canonical.com/ubuntu lunar partner
     2	# deb-src http://archive.canonical.com/ubuntu lunar partner

	/etc/apt/sources.list.d/teamviewer.list.distUpgrade


	/etc/apt/sources.list.d/teamviewer.list

     1	###   TeamViewer DEB repository list
     2	
     3	### NOTE: Manual changes to this file
     4	###        - prevent it from being updated by TeamViewer package updates
     5	###        - will be lost after using the 'teamviewer repo' command
     6	###       The original file can be restored with this command:
     7	###       cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
     8	###       which has the same effect as 'teamviewer repo default'
     9	
    10	### NOTE: It is preferred to use the following commands to edit this file:
    11	###       teamviewer repo                - show current repository configuration
    12	###       teamviewer repo default        - restore default configuration
    13	###       teamviewer repo disable        - disable the repository
    14	###       teamviewer repo stable         - make all regular TeamViewer packages available (default)
    15	###       teamviewer repo preview        - additionally, make feature preview packages available
    16	###       teamviewer repo development    - additionally, make the latest development packages available
    17	
    18	deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
    19	
    20	# deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb preview main

	/etc/apt/sources.list.d/archive_uri-http_archive_canonical_com_ubuntu-lunar.list.distUpgrade

Hors ligne

#7 Le 22/01/2024, à 00:49

nany

Re : Problème mise à jour 23.04 vers 23.10

Bonjour,



Il y a belle lurette que le dépôt partner n’existe plus. Il faut supprimer le fichier qui y fait référence :

cd /etc/apt/sources.list.d && sudo rm -v archive* ; cd

Hors ligne

#8 Le 22/01/2024, à 00:53

geole

Re : Problème mise à jour 23.04 vers 23.10

Le Funambule a écrit :

Bonjour,

lio@lio-dell:~$ sudo apt update
.......
E: Le dépôt http://archive.canonical.com/ubuntu lunar Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.

Bonsoir.
Cet O.S est périmé. Je suis surpris que tu n'aies pas été prévenu de la mise à niveau en version mantic
Soit tu installes mantic
Soit tu modifies l'origine des sources et tu fais une  mise à niveau.

Dernière modification par geole (Le 22/01/2024, à 01:01)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#9 Le 22/01/2024, à 01:06

nany

Re : Problème mise à jour 23.04 vers 23.10

geole a écrit :

Cet O.S est périmé.

Ça ne saurait tarder mais ce n’est pas encore le cas.

Hors ligne

#10 Le 22/01/2024, à 15:34

Le Funambule

Re : Problème mise à jour 23.04 vers 23.10

C'est ok, j'ai réussi à installer le 23.10... merci à vous !

Hors ligne

#11 Le 22/01/2024, à 17:05

geole

Re : Problème mise à jour 23.04 vers 23.10

Bonjour.
Parfait. Un petit résumé serait le bienvenu.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#12 Le 23/01/2024, à 12:00

Le Funambule

Re : Problème mise à jour 23.04 vers 23.10

J'ai simplement suivi les quelques conseils au fil de la discussion et le système m'a proposé la mise à jour... un peu de magie et une grande aide de votre part... merci !

Hors ligne