#1 Le 17/10/2023, à 08:37
- TVG
[Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Avant d'effectuer la mise à niveau de Ubuntu 23.04 vers 23.10, j'ai suivi les recommandations et j'ai donc désactivé les dépôts additionnels en faisant :
cd /etc/apt/sources.list.d; sudo find . -depth -name "*.list" -exec sh -c 'f="{}"; mv -- "$f" "${f%.list}.save"' \;
Comment fait-on pour les réactiver manuellement ?
Comment savoir s'ils sont toujours utiles ?
Voici la liste de ces dépôts :
$ ll /etc/apt/sources.list.d
total 16K
-rw-r--r-- 1 root root 114 Aug 11 13:40 firefoxpwa.save
-rw-r--r-- 1 root root 190 Aug 11 13:40 google-chrome.save
-rw-r--r-- 1 root root 1.3K Sep 22 17:32 teamviewer.save
-rw-r--r-- 1 root root 164 Aug 11 13:40 yannubuntu-ubuntu-boot-repair-lunar.save
Le dernier (yannubuntu-ubuntu-boot-repair-lunar) avait été ajouté pour créer un rapport Boot-Info pour corriger un problème. Je ne pense pas en avoir encore besoin.
Dernière modification par TVG (Le 17/10/2023, à 09:21)
Hors ligne
#2 Le 17/10/2023, à 08:42
- xubu1957
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Tu n'as pas accès à la fenêtre software-properties ?
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 17/10/2023, à 08:54
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Si, j'y ai accès.
Hors ligne
#4 Le 17/10/2023, à 08:57
- xubu1957
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Tu as des infos dans l'onglet Autres logiciels (voir § 4.2 de la Doc citée) ?
Dernière modification par xubu1957 (Le 17/10/2023, à 08:58)
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
#5 Le 17/10/2023, à 09:03
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Avant d'effectuer la mise à niveau de Ubuntu 23.04 vers 23.10, j'ai suivi les recommandations et j'ai donc désactivé les dépôts additionnels en faisant :
cd /etc/apt/sources.list.d; sudo find . -depth -name "*.list" -exec sh -c 'f="{}"; mv -- "$f" "${f%.list}.save"' \;
Quelles recommandations ?
Comment fait-on pour les réactiver manuellement ?
En faisant la commande inverse ?
cd /etc/apt/sources.list.d; sudo find . -depth -name "*.save" -exec sh -c 'f="{}"; mv -- "$f" "${f%.save}.list"' \;
Comment savoir s'ils sont toujours utiles ?
Pour le premier (firefoxpwa), je ne sais pas à quoi il sert. Pour les autres, utilises-tu toujours Google-Chrome et Teamviewer ?
Pour le ppa de yannubuntu :
sudo apt install -y ppa-purge
sudo ppa-purge ppa:yannubuntu/boot-repair
Hors ligne
#6 Le 17/10/2023, à 09:10
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
J'ai ça : https://ibb.co/GCyCHg2
Si j'ai bien compris;, il s'agit de dépôts tiers qu'on désactive pendant la mise à niveau pour éviter d'éventuels problèmes. On les réactive une fois la mise à niveau terminée. J'imagine qu'il suffit de remplacer ".save" par ".list" pour les réactiver ?
Toujours si je comprends bien, ces dépôts tiers me permettent de maintenir à jour les paquets firefoxpwa, google-chrome et teamviewer qui ne sont pas disponibles dans les dépôts officiels.
Je n'ai plus besoin du dernier dépôt et souhaiterai le supprimer. Faut-il simplement utiliser 'sudo rm' ?
Hors ligne
#7 Le 17/10/2023, à 09:12
- xubu1957
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Pour le premier (firefoxpwa), je ne sais pas à quoi il sert.
Je trouve addons.mozilla.org/fr/firefox/addon/pwas-for-firefox et github.com/filips123/PWAsForFirefox/discussions/116
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
#8 Le 17/10/2023, à 09:16
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour Nany,
Quelles recommandations ?
Ici par exemple : "If you have added additional PPA over time, make sure you note them down. However, the upgrade process would disable the PPA before it starts. However, after the upgrade is complete, make sure to enable them manually."
Merci pour les infos.
firefoxpwa permets de transformer des pages web en applications : https://developer.mozilla.org/fr/docs/W … js13kGames
J'utilise toujours Google-Chrome et Teamviewer.
Hors ligne
#9 Le 17/10/2023, à 09:26
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Ici par exemple : "If you have added additional PPA over time, make sure you note them down. However, the upgrade process would disable the PPA before it starts. However, after the upgrade is complete, make sure to enable them manually."
Je n’y vois pas la commande que tu as passée. Pour désactiver manuellement, le mieux est de passer par Logiciels et mises à jour plutôt que d’exécuter ta ligne de commandes.
Bref, passe la commande inverse que j’ai proposée puis donne le retour 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"' _ '{}' \;
Hors ligne
#10 Le 17/10/2023, à 09:33
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Je n’y vois pas la commande que tu as passée.
Voir ici : https://forum.ubuntu-fr.org/viewtopic.p … #p22575666
J'ai effectué la commande inverse, c'est ce qu'il me semblait qu'il fallait faire. Voici le retour de la commande demandée :
$ 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
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
43
44 deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
/etc/apt/sources.list.distUpgrade
/etc/apt/sources.list.d/firefoxpwa.list
1 deb [signed-by=/usr/share/keyrings/firefoxpwa-keyring.gpg] https://packagecloud.io/filips/FirefoxPWA/any any main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-lunar.list
1 # deb https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu/ lunar main
2 # deb-src https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu/ lunar main
/etc/apt/sources.list.d/google-chrome.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
/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.curtin.old
Hors ligne
#11 Le 17/10/2023, à 09:50
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bien, donne les retours de :
sudo sed -ri "/cdrom/! s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/;43,44d" /etc/apt/sources.list && cat /etc/apt/sources.list
(Pas besoin de dépôt VirtualBox dans mantic.)
cd /etc/apt && sudo rm -v *.distUpgrade ; cd
cd /etc/apt/sources.list.d && sudo rm -v yannubuntu*
sudo apt clean && sudo apt update
apt list ?obsolete
Hors ligne
#12 Le 17/10/2023, à 10:00
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
toto:~$ sudo sed -ri "/cdrom/! s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/;43,44d" /etc/apt/sources.list && cat /etc/apt/sources.list
# 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
toto:~$
toto:~$ cd /etc/apt && sudo rm -v *.distUpgrade ; cd
removed 'sources.list.distUpgrade'
toto:~$
toto:~$ cd /etc/apt/sources.list.d && sudo rm -v yannubuntu*
removed 'yannubuntu-ubuntu-boot-repair-lunar.list'
toto:~$
toto:~$ sudo apt clean && sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu mantic InRelease
Hit:3 https://linux.teamviewer.com/deb stable InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease
Hit:5 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease
Hit:6 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:7 https://packagecloud.io/filips/FirefoxPWA/any any InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
toto:~$
toto:~$ apt list ?obsolete
Listing... Done
linux-image-6.2.0-34-generic/now 6.2.0-34.34 amd64 [installed,local]
linux-modules-6.2.0-34-generic/now 6.2.0-34.34 amd64 [installed,local]
linux-modules-extra-6.2.0-34-generic/now 6.2.0-34.34 amd64 [installed,local]
virtualbox-7.0/now 7.0.10-158379~Ubuntu~jammy amd64 [installed,local]
toto:~$
(Pas besoin de dépôt VirtualBox dans mantic.)
C'était pour avoir la dernière version que je l'avais ajouté il me semble. J'ai toujours un problème avec virtualbox depuis le passage à Ubuntu 23.04 :
- https://forum.ubuntu-fr.org/viewtopic.php?id=2081091
- https://askubuntu.com/questions/1484798 … untu-23-04
toto:~$ apt policy virtualbox
virtualbox:
Installed: (none)
Candidate: 7.0.10-dfsg-3
Version table:
7.0.10-dfsg-3 500
500 http://fr.archive.ubuntu.com/ubuntu mantic/multiverse amd64 Packages
toto:~$
toto:~$ apt policy virtualbox-7.0
virtualbox-7.0:
Installed: 7.0.10-158379~Ubuntu~jammy
Candidate: 7.0.10-158379~Ubuntu~jammy
Version table:
*** 7.0.10-158379~Ubuntu~jammy 100
100 /var/lib/dpkg/status
toto:~$
Hors ligne
#13 Le 17/10/2023, à 10:15
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bien, je ne vois pas de trace de Boot-Info donc rien à faire de ce côté.
Par contre on peut éliminer les versions du noyau de lunar et la version ppa (jammy) de VirtualBox pour mettre la version de mantic.
Pour ce faire, donne les retours de :
sudo apt purge -y ?obsolete
sudo apt install -y virtualbox
Dernière modification par nany (Le 17/10/2023, à 10:27)
Hors ligne
#14 Le 17/10/2023, à 10:26
- xubu1957
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
sudo apt purge -y ?obsolete
?
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
#15 Le 17/10/2023, à 10:27
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bien vu xubu1957, j’ai corrigé.
Hors ligne
#16 Le 17/10/2023, à 10:28
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Merci !
toto:~$ sudo apt purge -y ?obsolete
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbcprov-java libcommons-lang3-java libqt5help5 libqt5opengl5 libqt5sql5 libqt5sql5-sqlite libsdl-ttf2.0-0 libsdl1.2debian libsdl2-2.0-0 pastebinit pdftk-java syslinux-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-6.2.0-34-generic* linux-modules-6.2.0-34-generic* linux-modules-extra-6.2.0-34-generic* virtualbox-7.0*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 799 MB disk space will be freed.
(Reading database ... 400279 files and directories currently installed.)
Removing linux-image-6.2.0-34-generic (6.2.0-34.34) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.5.0-9-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-6.5.0-9-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.2.0-34-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.0-9-generic
Found initrd image: /boot/initrd.img-6.5.0-9-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Removing linux-modules-extra-6.2.0-34-generic (6.2.0-34.34) ...
Removing linux-modules-6.2.0-34-generic (6.2.0-34.34) ...
Removing virtualbox-7.0 (7.0.10-158379~Ubuntu~jammy) ...
dpkg: error processing package virtualbox-7.0 (--remove):
installed virtualbox-7.0 package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
depmod: WARNING: could not open modules.order at /lib/modules/6.2.0-34-generic: No such file or directory
depmod: WARNING: could not open modules.builtin at /lib/modules/6.2.0-34-generic: No such file or directory
depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/6.2.0-34-generic: No such file or directory
Errors were encountered while processing:
virtualbox-7.0
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
toto:~$
Il y a eu une erreur car VirtualBox était ouvert. Je l'ai fermé et ré-exécuté la commande :
toto:~$ sudo apt purge -y ?obsolete
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbcprov-java libcommons-lang3-java libqt5help5 libqt5opengl5 libqt5sql5 libqt5sql5-sqlite libsdl-ttf2.0-0 libsdl1.2debian libsdl2-2.0-0 pastebinit pdftk-java syslinux-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
virtualbox-7.0*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 222 MB disk space will be freed.
(Reading database ... 392768 files and directories currently installed.)
Removing virtualbox-7.0 (7.0.10-158379~Ubuntu~jammy) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
Processing triggers for shared-mime-info (2.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
(Reading database ... 392038 files and directories currently installed.)
Purging configuration files for virtualbox-7.0 (7.0.10-158379~Ubuntu~jammy) ...
dpkg: warning: while removing virtualbox-7.0, directory '/usr/local/lib' not empty so not removed
dpkg: warning: while removing virtualbox-7.0, directory '/usr/lib/virtualbox' not empty so not removed
toto:~$
Il y a un warning.
toto:~$ sudo apt install -y virtualbox
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbcprov-java libcommons-lang3-java libsdl-ttf2.0-0 libsdl1.2debian pastebinit pdftk-java syslinux-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dkms libgsoap-2.8.124 liblzf1 libtpms0 libvncserver1 virtualbox-dkms virtualbox-qt
Suggested packages:
menu vde2 virtualbox-guest-additions-iso
The following NEW packages will be installed:
dkms libgsoap-2.8.124 liblzf1 libtpms0 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 54.9 MB of archives.
After this operation, 199 MB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu mantic/main amd64 dkms all 3.0.11-1ubuntu10 [51.3 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu mantic/universe amd64 libgsoap-2.8.124 amd64 2.8.124-2 [266 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu mantic/universe amd64 liblzf1 amd64 3.6-4 [7,624 B]
Get:4 http://fr.archive.ubuntu.com/ubuntu mantic/main amd64 libtpms0 amd64 0.9.3-0ubuntu2 [378 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu mantic/main amd64 libvncserver1 amd64 0.9.14+dfsg-1 [134 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu mantic/multiverse amd64 virtualbox-dkms amd64 7.0.10-dfsg-3 [761 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu mantic/multiverse amd64 virtualbox amd64 7.0.10-dfsg-3 [28.2 MB]
Get:8 http://fr.archive.ubuntu.com/ubuntu mantic/multiverse amd64 virtualbox-qt amd64 7.0.10-dfsg-3 [25.1 MB]
Fetched 54.9 MB in 1s (43.3 MB/s)
Selecting previously unselected package dkms.
(Reading database ... 392035 files and directories currently installed.)
Preparing to unpack .../0-dkms_3.0.11-1ubuntu10_all.deb ...
Unpacking dkms (3.0.11-1ubuntu10) ...
Selecting previously unselected package libgsoap-2.8.124:amd64.
Preparing to unpack .../1-libgsoap-2.8.124_2.8.124-2_amd64.deb ...
Unpacking libgsoap-2.8.124:amd64 (2.8.124-2) ...
Selecting previously unselected package liblzf1:amd64.
Preparing to unpack .../2-liblzf1_3.6-4_amd64.deb ...
Unpacking liblzf1:amd64 (3.6-4) ...
Selecting previously unselected package libtpms0:amd64.
Preparing to unpack .../3-libtpms0_0.9.3-0ubuntu2_amd64.deb ...
Unpacking libtpms0:amd64 (0.9.3-0ubuntu2) ...
Selecting previously unselected package libvncserver1:amd64.
Preparing to unpack .../4-libvncserver1_0.9.14+dfsg-1_amd64.deb ...
Unpacking libvncserver1:amd64 (0.9.14+dfsg-1) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../5-virtualbox-dkms_7.0.10-dfsg-3_amd64.deb ...
Unpacking virtualbox-dkms (7.0.10-dfsg-3) ...
Selecting previously unselected package virtualbox.
Preparing to unpack .../6-virtualbox_7.0.10-dfsg-3_amd64.deb ...
Unpacking virtualbox (7.0.10-dfsg-3) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../7-virtualbox-qt_7.0.10-dfsg-3_amd64.deb ...
Unpacking virtualbox-qt (7.0.10-dfsg-3) ...
Setting up libgsoap-2.8.124:amd64 (2.8.124-2) ...
Setting up libvncserver1:amd64 (0.9.14+dfsg-1) ...
Setting up dkms (3.0.11-1ubuntu10) ...
Setting up liblzf1:amd64 (3.6-4) ...
Setting up libtpms0:amd64 (0.9.3-0ubuntu2) ...
Setting up virtualbox-dkms (7.0.10-dfsg-3) ...
Loading new virtualbox-7.0.10 DKMS files...
Building for 6.5.0-9-generic
Building initial module for 6.5.0-9-generic
Done.
vboxdrv.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-9-generic/updates/dkms/
vboxnetadp.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-9-generic/updates/dkms/
vboxnetflt.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.5.0-9-generic/updates/dkms/
depmod...
Setting up virtualbox (7.0.10-dfsg-3) ...
Setting up virtualbox-qt (7.0.10-dfsg-3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
Processing triggers for libc-bin (2.38-1ubuntu6) ...
Processing triggers for man-db (2.11.2-3) ...
Processing triggers for shared-mime-info (2.2-1) ...
toto:~$
Si je comprends bien, virtualbox sera maintenant mis à jour via les dépôts officiels. Une nouvelle version devrait sortir dans les prochains jours. J'espère qu'elle corrigera le bug que j'ai entre Ubuntu et VirtualBox. Sera-t-elle disponible immédiatement dans les dépôts officiels ?
Hors ligne
#17 Le 17/10/2023, à 10:51
- FrancisFDZ
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Personnellement, pour invalider un dépôt, je préfère le modifier à partir de
sudo vi /et/apt/sources.list
ou autre fichier source si besoin, et j'invalide la ligne voulue avec un "#" en tête. (puis fermer en sauvegardant et
sudo apt update
-pour valider les modifs).
-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]
Hors ligne
#18 Le 17/10/2023, à 10:54
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Si je comprends bien, virtualbox sera maintenant mis à jour via les dépôts officiels. Une nouvelle version devrait sortir dans les prochains jours. J'espère qu'elle corrigera le bug que j'ai entre Ubuntu et VirtualBox. Sera-t-elle disponible immédiatement dans les dépôts officiels ?
S’il y a changement de version (passage de 7.0 à 7.1 par exemple) il faudra alors peut-être remettre un dépôt d’Oracle alors disponible cette fois-ci pour mantic. Donc affaire à suivre…
En tout cas je ne sais pas aider pour le problème de VBoxManage.
Hors ligne
#19 Le 17/10/2023, à 11:00
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Ok merci beaucoup pour l'aide. Je reviens ici dès que la nouvelle version de VirtualBox sort. Bonne journée !
Hors ligne
#20 Le 17/10/2023, à 15:41
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Il n'aura pas fallu attendre bien longtemps. La nouvelle version de VirtualBox vient de sortir : https://www.virtualbox.org/wiki/Changelog-7.0#v12
Quelle est la meilleur façon de l'installer manuellement en attendant qu'elle arrive sur les dépôts officiels ? Télécharger le fichier DEB pour jammy ? Remettre le PPA dans /etc/apt/sources.list ? https://www.virtualbox.org/wiki/Linux_Downloads
Hors ligne
#21 Le 18/10/2023, à 13:54
- nany
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Il n'aura pas fallu attendre bien longtemps. La nouvelle version de VirtualBox vient de sortir : https://www.virtualbox.org/wiki/Changelog-7.0#v12
Ça n’a pas trainé en effet.
Quelle est la meilleur façon de l'installer manuellement en attendant qu'elle arrive sur les dépôts officiels ? Télécharger le fichier DEB pour jammy ? Remettre le PPA dans /etc/apt/sources.list ? https://www.virtualbox.org/wiki/Linux_Downloads
Alors je crois comprendre que mantic reste figée sur la version 7.0.10 de VirtualBox.
Donc je te conseille de :
désinstaller virtualbox ;
remettre le dépôt d’Oracle, mais pas dans sources.list (étonnant d’ailleurs qu’Oracle propose une méthode d’un autre temps) mais dans un fichier spécifique ;
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
installer virtualbox-7.0.
Hors ligne
#22 Le 18/10/2023, à 14:02
- TVG
Re : [Résolu] Réactiver PPA manuellement après mise à niveau
Bonjour,
Merci. J'ai testé la version 7.0.12 de VirtualBox. Le problème persiste. Je suis revenu sur la version mantic.
Hors ligne