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 04/12/2023, à 14:49

Expansion

Problème mise à jour dépot VirtualBox

Bonjour à tous,

J'ai récemment installé VirtualBox avec son dépôt et depuis je rencontre un problème avec le dépôt en question, je n'arrive à faire aucune mise à jour de mon poste.

Après avoir fait un

apt update

ça me renvoie ça comme résultat et j'ai bien pris le dépôt sur le site d'Oracle.

Atteint :1 http://fr.archive.ubuntu.com/ubuntu mantic InRelease
Atteint :2 http://security.ubuntu.com/ubuntu mantic-security InRelease         
Atteint :3 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease        
Atteint :4 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease      
Atteint :5 https://repo.protonvpn.com/debian stable InRelease         
Ign :6 http://download.virtualbox.org/virtualbox/debian mantic InRelease
Err :7 http://download.virtualbox.org/virtualbox/debian mantic Release
  404  Not Found [IP : 2.22.76.100 80]
Lecture des listes de paquets... Fait
E: Le dépôt http://download.virtualbox.org/virtualbox/debian mantic 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.

Une solution s'il vous plait ?

Merci d'avance.

Hors ligne

#2 Le 04/12/2023, à 15:01

nany

Re : Problème mise à jour dépot VirtualBox

Bonjour,



Expansion a écrit :

et j'ai bien pris le dépôt sur le site d'Oracle.

Je me demande bien comment tu as fait car il n’y a pas de dépôt pour mantic.

Donne les retours de :

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"' _ '{}' \;
dpkg -l | grep "virtualbox"

En ligne

#3 Le 04/12/2023, à 15:10

Expansion

Re : Problème mise à jour dépot VirtualBox

Bon, j'ai dû me tromper quelque part

La première commande me retourne ça

/etc/apt/sources.list

     1	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     2	# newer versions of the distribution.
     3	deb http://fr.archive.ubuntu.com/ubuntu mantic main restricted
     4	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar main restricted
     5	
     6	## Major bug fix updates produced after the final release of the
     7	## distribution.
     8	deb http://fr.archive.ubuntu.com/ubuntu mantic-updates main restricted
     9	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar-updates main restricted
    10	
    11	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12	## team. Also, please note that software in universe WILL NOT receive any
    13	## review or updates from the Ubuntu security team.
    14	deb http://fr.archive.ubuntu.com/ubuntu mantic universe
    15	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar universe
    16	deb http://fr.archive.ubuntu.com/ubuntu mantic-updates universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar-updates universe
    18	
    19	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    20	## team, and may not be under a free licence. Please satisfy yourself as to
    21	## your rights to use the software. Also, please note that software in
    22	## multiverse WILL NOT receive any review or updates from the Ubuntu
    23	## security team.
    24	deb http://fr.archive.ubuntu.com/ubuntu mantic multiverse
    25	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar multiverse
    26	deb http://fr.archive.ubuntu.com/ubuntu mantic-updates multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar-updates multiverse
    28	
    29	## N.B. software from this repository may not have been tested as
    30	## extensively as that contained in the main release, although it includes
    31	## newer versions of some applications which may provide useful features.
    32	## Also, please note that software in backports WILL NOT receive any review
    33	## or updates from the Ubuntu security team.
    34	deb http://fr.archive.ubuntu.com/ubuntu mantic-backports main restricted universe multiverse
    35	# deb-src http://fr.archive.ubuntu.com/ubuntu lunar-backports main restricted universe multiverse
    36	
    37	deb http://security.ubuntu.com/ubuntu mantic-security main restricted
    38	# deb-src http://security.ubuntu.com/ubuntu lunar-security main restricted
    39	deb http://security.ubuntu.com/ubuntu mantic-security universe
    40	# deb-src http://security.ubuntu.com/ubuntu lunar-security universe
    41	deb http://security.ubuntu.com/ubuntu mantic-security multiverse
    42	# deb-src http://security.ubuntu.com/ubuntu lunar-security multiverse

	/etc/apt/sources.list.curtin.old


	/etc/apt/sources.list.d/protonvpn-stable.list

     1	#
     2	# ProtonVPN stable release
     3	#
     4	deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
	/etc/apt/sources.list.d/virtualbox.list

     1	deb [arch=amd64 signed-by=/usr/share/keyrings/oracle_vbox_2016.gpg] http://download.virtualbox.org/virtualbox/debian mantic contrib

	/etc/apt/sources.list.distUpgrade

Et la deuxième

ii  virtualbox                                    7.0.10-dfsg-3                           amd64        x86 virtualization solution - base binaries
ii  virtualbox-dkms                               7.0.10-dfsg-3                           amd64        x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-qt                                 7.0.10-dfsg-3                           amd64        x86 virtualization solution - Qt based user interface

Hors ligne

#4 Le 04/12/2023, à 15:28

nany

Re : Problème mise à jour dépot VirtualBox

Bien, donne les retours de :

sudo sed -ri "/cdrom/! s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/" /etc/apt/sources.list && cat /etc/apt/sources.list
cd /etc/apt/sources.list.d && sudo rm -v virtualbox.list ; cd
sudo apt clean && sudo apt update

En ligne

#5 Le 04/12/2023, à 15:40

Expansion

Re : Problème mise à jour dépot VirtualBox

La première me retourne ça

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

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

deb http://security.ubuntu.com/ubuntu mantic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu mantic-security main restricted
deb http://security.ubuntu.com/ubuntu mantic-security universe
# deb-src http://security.ubuntu.com/ubuntu mantic-security universe
deb http://security.ubuntu.com/ubuntu mantic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu mantic-security multiverse

la deuxième celle-ci, ça m'a bien supprimé VirtualBox de la liste

x.list ; cd
'virtualbox.list' supprimé

Et la troisième, cette commande ou le dépôt VirtualBox n'apparait plus

Atteint :1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu mantic InRelease       
Atteint :3 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease
Atteint :5 https://repo.protonvpn.com/debian stable InRelease         
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Tous les paquets sont à jour.

Ça a l'air d'avoir bien fonctionné, merci pour ton aide

Dernière modification par Expansion (Le 04/12/2023, à 15:42)

Hors ligne

#6 Le 04/12/2023, à 15:44

Expansion

Re : Problème mise à jour dépot VirtualBox

Pour mettre à jour VirtualBox, il y a besoin d'un dépôt ou celui-ci se mettra à jour tout seul avec

apt update

?

Hors ligne

#7 Le 04/12/2023, à 15:57

nany

Re : Problème mise à jour dépot VirtualBox

Expansion a écrit :

Pour mettre à jour VirtualBox, il y a besoin d'un dépôt ou celui-ci se mettra à jour tout seul… ?

Pas besoin de dépôt tiers avec mantic.

Et la commande de mise à jour des paquets est

sudo apt upgrade

ou

sudo apt full-upgrade

En ligne

#8 Le 04/12/2023, à 16:07

Expansion

Re : Problème mise à jour dépot VirtualBox

Entendu, merci pour ton aide, je serais pour la prochaine fois maintenant

Hors ligne