#1 Le 25/06/2026, à 17:05
- Croco65
update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour, dès que je supprime un programme en ligne de commande j'ai le message ci-dessous, Comment faire le ménage proprement sans tous planter. Merci
jfb@jfb-MS-7B49:~$ sudo apt update
Atteint : 1 http://archive.ubuntu.com/ubuntu resolute InRelease
Atteint : 2 http://security.ubuntu.com/ubuntu resolute-security InRelease
Réception de : 3 https://repo.steampowered.com/steam stable InRelease [3622 B]
Atteint : 4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Atteint : 5 https://deb.opera.com/opera-gx-stable stable InRelease
Atteint : 6 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
3622 o réceptionnés en 0s (12,7 ko/s)
3 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Attention : La cible Packages (non-free/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Packages (non-free/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Packages (non-free/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Translations (non-free/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Translations (non-free/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Translations (non-free/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11 (non-free/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11 (non-free/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11-icons-small (non-free/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11-icons (non-free/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible CNF (non-free/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible CNF (non-free/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Packages (non-free/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Packages (non-free/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Packages (non-free/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Translations (non-free/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Translations (non-free/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible Translations (non-free/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11 (non-free/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11 (non-free/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11-icons-small (non-free/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11-icons (non-free/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible CNF (non-free/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1
Attention : La cible CNF (non-free/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list.d/opera-gx-stable.list:4 et /etc/apt/sources.list.d/opera-gx-stable.sources:1Dernière modification par Croco65 (Le 29/06/2026, à 17:11)
Hors ligne
#2 Le 25/06/2026, à 17:13
- xubu1957

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
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ésolu ] 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
En ligne
#3 Le 25/06/2026, à 17:25
- nany

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
Tu as des listes de sources pour Opera-gx en double.
Comme le paquet deb d’Opera-gx ne propose pas le format deb822, je suggère de supprimer le fichier /etc/apt/sources.list.d/opera-gx-stable.sources :
cd /etc/apt/sources.list.d/ && sudo rm -v opera-gx-stable.sources ; cdPuis réessaie :
sudo apt clean && sudo apt updateHors ligne
#4 Le 28/06/2026, à 16:58
- Croco65
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Voici pour xubu1957
jfb@jfb-MS-7B49:~$ 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.bak
/etc/apt/sources.list
1
2
/etc/apt/sources.list.d/steam-stable.sources
1 Types: deb deb-src
2 URIs: https://repo.steampowered.com/steam/
3 Suites: stable
4 Components: steam
5 Signed-By: /usr/share/keyrings/steam.gpg
/etc/apt/sources.list.d/opera-gx-stable.list.bak
/etc/apt/sources.list.d/ubuntu.sources
1 Types: deb
2 URIs: http://archive.ubuntu.com/ubuntu/
3 Suites: resolute resolute-updates resolute-backports
4 Components: main restricted universe multiverse
5 Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
6
7 Types: deb
8 URIs: http://security.ubuntu.com/ubuntu/
9 Suites: resolute-security
10 Components: main restricted universe multiverse
11 Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
/etc/apt/sources.list.d/steam-stable.list.bak
/etc/apt/sources.list.d/ubuntu.sources.curtin.orig
/etc/apt/sources.list.d/opera-gx-stable.list
1 # This file makes sure that Opera Browser is kept up-to-date
2 # as part of regular system upgrades
3
4 deb https://deb.opera.com/opera-gx-stable/ stable non-free #Opera Browser (final releases)
/etc/apt/sources.list.d/steam-beta.list.bak
/etc/apt/sources.list.d/opera-gx-stable.sources
1 Types: deb
2 URIs: https://deb.opera.com/opera-gx-stable/
3 Suites: stable
4 Components: non-free
5 Signed-By: /usr/share/keyrings/opera.gpg
jfb@jfb-MS-7B49:~$ Hors ligne
#5 Le 28/06/2026, à 17:01
- Croco65
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Voici pour nany:
fb@jfb-MS-7B49:~$ cd /etc/apt/sources.list.d/ && sudo rm -v opera-gx-stable.sources ; cd
[sudo: authenticate] Mot de passe :
'opera-gx-stable.sources' supprimé
jfb@jfb-MS-7B49:~$ sudo apt clean && sudo apt update
Atteint : 1 http://security.ubuntu.com/ubuntu resolute-security InRelease
Atteint : 2 http://archive.ubuntu.com/ubuntu resolute InRelease
Réception de : 3 https://repo.steampowered.com/steam stable InRelease [3622 B]
Atteint : 4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Atteint : 5 https://deb.opera.com/opera-gx-stable stable InRelease
Atteint : 6 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
3622 o réceptionnés en 0s (12,6 ko/s)
3 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Notification : Des sources peuvent être modernisées. Veuillez lancer « apt modernize-sources » pour le faire.Hors ligne
#6 Le 28/06/2026, à 17:02
- Croco65
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
J'ai donc fait comme demandé par Ubuntu de moderniser les sources.
udo apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/opera-gx-stable.list
Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.
This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.
For a simulation, respond N in the following prompt.
Réécrire les sources 2 ? [O/n] O
Modernizing /etc/apt/sources.list...
Modernizing /etc/apt/sources.list.d/opera-gx-stable.list...
- Writing /etc/apt/sources.list.d/opera-gx-stable.sources
Attention : Could not determine Signed-By for URIs: https://deb.opera.com/opera-gx-stable/, Suites: stableHors ligne
#7 Le 29/06/2026, à 16:51
- iznobe

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
J'ai donc fait comme demandé par Ubuntu de moderniser les sources.
Bonjour , et bien , tu peux recommencer les commandes de @nany , et ne plus faire " modernize sources " ..........
Comme quoi , un(e) humain(e) restera toujours plus intelligent qu ' une machine , et encore heureux !
Dernière modification par iznobe (Le 29/06/2026, à 16:53)
Hors ligne
#8 Le 29/06/2026, à 17:10
- Croco65
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
jfb@jfb-MS-7B49:~$ cd /etc/apt/sources.list.d/ && sudo rm -v opera-gx-stable.sources ; cd
[sudo: authenticate] Mot de passe :
'opera-gx-stable.sources' suppriméjfb@jfb-MS-7B49:~$ sudo apt clean && sudo apt update
Atteint : 1 http://security.ubuntu.com/ubuntu resolute-security InRelease
Réception de : 2 https://repo.steampowered.com/steam stable InRelease [3622 B]
Atteint : 3 http://archive.ubuntu.com/ubuntu resolute InRelease
Atteint : 4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Atteint : 5 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
3622 o réceptionnés en 0s (11,9 ko/s)
Tous les paquets sont à jour.
jfb@jfb-MS-7B49:~$ Merci encore , j'ai l’impression que tous fonctionne. Je clôture la discussion.
Hors ligne
#9 Le 29/06/2026, à 19:36
- ylag
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
Si tu désires accéder au dépôt du navigateur opera-gx-stable, il te faudra recréer le fichier
/etcapt/sources.list.d/opera-gx-stable.sources avec ce contenu :
Types: deb
URIs: https://deb.opera.com/opera-gx-stable/
Suites: stable
Components: non-free
Signed-By: /usr/share/keyrings/opera.gpgA+
Dernière modification par ylag (Le 29/06/2026, à 19:40)
Hors ligne
#10 Le 29/06/2026, à 19:39
- nany

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
Je clôture la discussion.
Je signale tout de même que le fichier /etc/apt/sources.list.d/opera-gx-stable.list a apparemment disparu dans l’histoire. Par conséquent, Opera-gx ne sera plus mis à jour. ![]()
Dernière modification par nany (Le 29/06/2026, à 19:42)
Hors ligne
#11 Le 29/06/2026, à 19:42
- nany

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
il te faudra recréer le fichier
/etcapt/sources.list.d/opera-gx-stable.sources
Je ne suis pas d’accord. Opera ne propose pas le format deb822 alors ce qu’il faudrait recréer c’est le fichier .list.
Hors ligne
#12 Le 29/06/2026, à 19:43
- ylag
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
@nany :
Bonjour,
Tant qu'à faire, aussi bien recréer le fichier de sources en deb822 sur une 26.04 ?
Voir le message #9.
A+
Dernière modification par ylag (Le 29/06/2026, à 19:44)
Hors ligne
#13 Le 29/06/2026, à 19:45
- nany

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Tant qu'à faire, aussi bien recréer le fichier decources en deb822 sur une 26.04 ?
Non, c’est à Opera de corriger le tir, pas à Ubuntu de le faire.
Dernière modification par nany (Le 29/06/2026, à 19:46)
Hors ligne
#14 Le 29/06/2026, à 19:52
- ylag
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
@nany :
... et risquer le même souci avec un apt modernize sources intempestif proposé lors de futures mises à jour du système ?
Je n'insisterai pas, ton opinion a préseance sur la mienne ... ![]()
A+
Hors ligne
#15 Le 30/06/2026, à 07:06
- nany

Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
Pour justifier mon point de vue, voici le contenu du script de post-installation de l’archive opera-gx-stable_132.0.5905.110_amd64.deb téléchargée depuis le site d’Opera :
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
APT_FILE="/etc/apt/sources.list.d/opera-gx-stable.list"
OPERA_REPO="deb.opera.com\/opera-gx-stable\/"
available()
{
command -v "$1" >/dev/null 2>&1
}
case "$1" in
configure)
chown root:root /usr/lib/x86_64-linux-gnu/opera-gx-stable/opera_sandbox
chmod 4755 /usr/lib/x86_64-linux-gnu/opera-gx-stable/opera_sandbox
db_get opera-gx-stable/add-deb-source
if [ "$RET" = true ]; then
if [ ! -f $APT_FILE ]; then
cat > $APT_FILE <<EOF
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades
deb https://deb.opera.com/opera-gx-stable/ stable non-free #Opera Browser (final releases)
EOF
else
sed -i "s/deb http:\/\/$OPERA_REPO stable non-free/deb https\/\/:$OPERA_REPO stable non-free/g" $APT_FILE
fi
if [ -d /etc/update-manager -a ! -f /etc/update-manager/release-upgrades.d/opera-gx-stable.cfg ]; then
mkdir -p /etc/update-manager/release-upgrades.d
cat >/etc/update-manager/release-upgrades.d/opera-gx-stable.cfg <<EOF
# Added by Opera to prevent disabling of deb.opera.com sources on
# distribution release upgrade.
[ThirdPartyMirrors]
opera/opera-gx-stable=http://deb.opera.com/opera-gx-stable/
EOF
fi
fi
cat > /etc/cron.daily/opera-browser << 'EOF'
#!/bin/sh
APT_CONFIG="`command -v apt-config 2> /dev/null`"
find_apt_trusted() {
eval $("$APT_CONFIG" shell APT_TRUSTEDDIR 'Dir::Etc::trustedparts/d')
}
# Install the repository/package signing key (opera.archive.key.2023), if it isn't already.
install_key() {
find_apt_trusted
# ASCII-armored keyrings are only supported in apt 1.4 and later, but we must
# continue supporting Trusty and Xenial which have older versions of apt, so
# the keyring is installed as a binary blob. base64 is used to decode the
# ASCII keyring, which should always be available since it comes from the
# coreutils.
(base64 -d > "$APT_TRUSTEDDIR/opera.archive.key.2023.gpg") <<KEYDATA
mQINBGR0shUBEAD62ZzRWPkw8VASmjsjbohyD7VdIJOZP+hcvd2eG4KIo8n6H7UF
7+2I1Qfmv9tKpW6BLmtR9tE7DlpQHFj2IyEEDYuG66/hzfYoewifZ8vZV02afXLS
gRmMMg1U7GfDfOAs9qvZd6PkxpP5VIVdFnS86d30gGZY/KnaJ99g5kOJuGGrtf1b
RvPt9Nvnj1TE3kSjk0+fIJgkyKMY2ksHtvPZp+axyBmGLv6viCGhNGXnc7e2pkCi
qpP9L/IHBG6Qv+c8fSe0IjSnTTWSjGvdU15hsoWWVhW5U36qLW6Ae3Lmh/mjoztM
WYkcuyax6qadMItJpNZmDwVbB8cBGhblvDXpkLtHSFkhYk2Sv3j0hl2NUTdOyv00
Dsx903ab1YKVWV2D84IR7/36v9UPT1RF34iJBAzOLToKor6BRWJce18oHw5qJbYJ
Ql5xpK0gOqchxPglX73FKeM3jr2LkjQbuh2fcOMATCYmUY1HtwO2PqwvOHDgCn1U
HXB1QXugRXVF83hIEr+OEZjxKbG9iqSJwB85hq4iG3f10Gq04Pc6f7b3hPWBPxPd
y3qmSNr3LQPmaggEUk1Nh3/1Rve0/+IsqSIMFxVlcHtkGKhoL4+H0t77IEiMo6qd
D5FbDZ9IKXCnN77iavZtlCj+cfzKX9Vt1mR9Hu8AXmJrCB5De+JEzrJKVQARAQAB
tEZPcGVyYSBTb2Z0d2FyZSBBcmNoaXZlIEF1dG9tYXRpYyBTaWduaW5nIEtleSAy
MDIzIDxwYWNrYWdlckBvcGVyYS5jb20+iQJUBBMBCgA+FiEElwHUobTZLiYcjGb+
JKEASx8R3MkFAmR0shUCGwMFCQPCZwAFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AA
CgkQJKEASx8R3MltRg//ecfjch19a9LdtXv3klv+V/09NyWu+09F7GI700iDkH+6
IiO3Oijv4GUgBxjP4Q2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ymOJ9s/Te7B6vu9BVvS
roroHkpAUxPsHsYbqC4w+Z+M21IggfG6MXkdWFb1j9rDbtoGCwyKSpuKFNRV7/Gg
Pp56pzY9A4OFobTTMiix40OLyiMFosD4WUHQjl327+5AooQDKeaFttEQcelOzlnv
5o+vYAavAyDc76fOZHUWH9KUiCBeevMnFjiFw5KoQ0DHjg1vR7O/i7plqVxdRJcW
7PmY0JQq8DgO/B5rtsC7KU7o9gaZ7LT3cIXukFRznEcL/KNQGSccOffjABEBAAGJ
AjwEGAEKACYWIQSXAdShtNkuJhyMZv4koQBLHxHcyQUCZHSyFQIbDAUJA8JnAAAK
CRAkoQBLHxHcycoREADJr8YWFAMBHj87mKCFOqcWyasEiSwpdATqziHXnpWqURms
RpzYbNpkNv5KWM/auawf6Z1OgWbCq3q//2mkW0z+so0bHSVxafPPp6xKPIplBMmz
g0fwvi2dPg0NaHpFUqpHbFe+FFTQrW40Dtg4kKhAdlMXqmB3K2Pe5rj0TzpzshKE
b6mlOC8MR9rZmgz7nj7gTJpWM62dvLFzCk0rEjrEOj+gGIBW7VE0t2Tzw4avZ4Ai
/PIcjk03uIEubCSkA1UVVnGT0Qk24wP7oghmjE6dysiCQuLOkZ67fU2K7Wzw1M3P
QZts1Da3jPLTRnj05cAzomSoO40lTW2RKuixKy7m1e8rT8oEiP4XYrd6Xk6Oc8Uz
GBPPYHTclj/I47qe/KNZe8rwPq7NZjNnEz2C4exORS8rynt4jJcO7XdNJOI1vduU
ChajONXnsvE1uBJJ41DwgeVFdIcsz2m/BlO3GE5Jzopu75YHUMNMP086MejchvNM
r+0LNxVU5OaSotm1xnrj8F8GQuyIUUn882Sslo/rMGC856FIMnK7cPoFOIde2P3/
VGlRXPYlutARVVe60wue37Bg/2PGWl3g6d4P18G7yBAGWYssJlgrFaxJQ0Uts3M0
eyqN1gas54e942AE92BdPYvqtW6E3/cS1+FfqCj9K+4i1IgbirTcHfSErlDTZQ==
KEYDATA
}
# Install another key (opera.archive.key.2025), if it isn't already, for future use.
install_future_key() {
find_apt_trusted
(base64 -d > "$APT_TRUSTEDDIR/opera.archive.key.2025.gpg") <<KEYDATA
mQGNBGgrEnABDAC3S++y9OPF79pFJApWv5Ke0czoirWLN7a0rzScY2v+9LYWYVfU
XrZkDoVLJrxI6U/WvNbLqyrsyg9D9jZNksp0x5K9Fe9Phr6xAdRrpdmXu5xYGpBP
5dKUYNhBL0JoXszEon84L1I/jfT1Xq81FGltGY/lw6q+GDbuTh3w+qyLF5xM1sfG
nArKxsmq3HGy67qzV7nDL2aUiTHDOC5Jti6XrHqNFBuj1R2yNhgBAEgaQblcS2fQ
nZ7X/PFFTNQZKD0FBVa8XycavQMFBlPGguBBTn4+tbZPIm8B8M/YKTs2fokR3EIV
rqzWVRYghVd+7U02ho6hZJZd28wMnWz8JPr5qjCWT0tNrtKeJ1w9SoIwXgQMX5Sz
lkHKq+az31D3z3orCWdKTUNnmVAA+CGFWFHLZ3C/JPAK3rUgLrNGDzvD205dKBa/
aiNg8sQGLuUQUNt093RE1UmluCU8aamxyj3hx8pw/+Yi/hJsj1yFspfE6DvjRxfB
MqW2oDZUjfddw2cAEQEAAbRGT3BlcmEgU29mdHdhcmUgQXJjaGl2ZSBBdXRvbWF0
aWMgU2lnbmluZyBLZXkgMjAyNSA8cGFja2FnZXJAb3BlcmEuY29tPokB1AQTAQoA
PhYhBGyGviFGSDdmgMqVexHujAC2k6dFBQJoKxJwAhsDBQkDwmcABQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEBHujAC2k6dFTl8L/2wRJyiBeCmCFRmGERs2S/OK
AoyqpRyBpFd1znGEzpGDWYZaurJVCDP56xH7u0fucpw3hLcXiF2YPBPudKzGmzwG
8nmiuMvhtk85FSDgd1LKaTFSaeF2uPmEMtABqoFh3xR+uDYqCg4f3Tfm327okxTv
c4Z1MyRE6LDUAkZWJUTe75KB/o7MMuigdQqV2+D565VBf3kPRnTLNH03zhA9ziQ8
RExQ2XFTEqJqLguj9uMQBYZD+JMCg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la5wmnuFLRD6Q9S71e/mxihKcpunm6ElFLgYII9MJ85QDRAWiN
c7o41HS0kRCe2IKJ997axAS9ehn8WbKy8pbvbnqSXzHU65rhXO9TNM/Qh7z9CoIM
Oq78pOY9r2N4ANGKtxRu9td/tOCII7XqnAnbLo6R1B8TJ+ZWy3Y5M0IQ0ehbyG0U
K1hsUWWMSlh478skq/+XhsVyycX0K0M6pjFP2rE4ljqCoZ6EHiZLaqOQoOx1D4ge
V+DxbAResoeRYkCpDs/KMOGInQjVIm5o9Wm4kT3HvvLAK7XyXQcDviicRj/pPjzo
mSKR/mRTQsrL8HcFdcc=
KEYDATA
}
install_key
install_future_key
EOF
chmod 755 /etc/cron.daily/opera-browser
# Run once now to add Opera's pgp key to apt's keyring
/etc/cron.daily/opera-browser > /dev/null 2>&1
update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/opera-gx 120 \
--slave /usr/share/man/man1/x-www-browser.1.gz x-www-browser.1.gz /usr/share/man/man1/opera-gx.1.gz
update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser /usr/bin/opera-gx 120 \
--slave /usr/share/man/man1/gnome-www-browser.1.gz gnome-www-browser.1.gz /usr/share/man/man1/opera-gx.1.gz
;;
esac
# Automatically added by dh_installmenu/13.14.1ubuntu5
if [ "$1" = "configure" ] && [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then
update-menus
fi
# End automatically added section
exit 0Le fichier /etc/apt/sources.list.d/opera-gx-stable.list est créé et deux clés de signature sont ajoutées dans /etc/apt/trusted.gpg.d/. J’ignore d’où vient la clé /usr/share/keyrings/opera.gpg mais elle ne figure pas, en tout cas, dans l’archive deb.
Je maintiens donc que c’est à Opera de remplacer opera-gx-stable.list par opera-gx-stable.sources avec une seule clé* idéalement placée dans /etc/apt/keyrings/.
* Actuellement, deb822 ne supporte qu’une seule clé mais la gestion de clés multiples est à l’étude.
Hors ligne
#16 Le 30/06/2026, à 12:32
- ylag
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
Merci @nany pour la démonstration detaillée, on n'en demandait pas tant ... ! ![]()
C'est sûr que le fichier opera-gx-stable.list sera recréé si on réinstalle à partir de l'archive téléchargée sur le site d'Opera.
On pourrait peut-être désactiver les avertissements générés par l'option modernize-sources de la commande apt pour plus de sécurité ?
Référence : https://daniel-lange.com/archives/192-M … rixie.html
... c'est pour Debian, mais je crois que ça le ferait aussi bien sur Ubuntu ?
On pourrait aussi le faire en ajoutant simplement le paramètre :
APT::Get::Update::SourceListWarnings "false";... à la fin du fichier /etc/apt/apt.conf
A+
Dernière modification par ylag (Le 30/06/2026, à 17:27)
Hors ligne
#17 Le 30/06/2026, à 17:40
- Croco65
Re : update cible plusieurs fois presente dans sources.list.d [ RESOLU ]
Bonjour,
de toute façon il n'y a pas de discutions car j'ai désinstaller opéra gx.
Merci pour vos précieux conseils et aides a la résolution de mon problème.
Hors ligne