Bonjour à tous,
Tout est dans le titre, source en double lors d'un apt-get update.
Je suis fraîchement sous un Ubuntu 20.04 qui a été installé depuis un 19.10
W: La cible Sources (partner/source/Sources) est spécifiée plusieurs fois dans /etc/apt/sources.list:44 et /etc/apt/sources.list:60
W: La cible Sources (partner/source/Sources) est spécifiée plusieurs fois dans /etc/apt/sources.list:44 et /etc/apt/sources.list:60
En cherchant sur le forum sur le forum, j'ai trouvé ça
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && nl -ba "$1"' _ '{}' \;
Et j'ai été surpris du résultat....
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 19.04 _Disco Dingo_ - Release amd64 (20190416)]/ disco 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/ focal main multiverse restricted universe
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/ focal-updates main multiverse restricted universe
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/ disco universe
18 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ disco-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/ disco multiverse
28 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ disco-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/ focal-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 focal-security main multiverse restricted universe
48 deb http://security.ubuntu.com/ubuntu focal-security universe
49 # deb-src http://security.ubuntu.com/ubuntu disco-security universe
50 deb http://security.ubuntu.com/ubuntu focal-security multiverse
51 # deb-src http://security.ubuntu.com/ubuntu disco-security multiverse
52
53 # This system was installed using small removable media
54 # (e.g. netinst, live or single CD). The matching "deb cdrom"
55 # entries were disabled at the end of the installation process.
56 # For information about how to configure apt package sources,
57 deb http://archive.ubuntu.com/ubuntu focal universe restricted multiverse main
58 # deb-src http://archive.ubuntu.com/ubuntu disco universe
59 deb-src http://archive.ubuntu.com/ubuntu focal main multiverse restricted universe
60 deb-src http://archive.canonical.com/ubuntu focal partner
61 # see the sources.list(5) manual.
/etc/apt/sources.list.distUpgrade
/etc/apt/sources.list.save
/etc/apt/sources.list.d/rebuntu16-ubuntu-avidemux_unofficial-eoan.list
/etc/apt/sources.list.d/rebuntu16-ubuntu-avidemux_unofficial-eoan.list.save
Si on pouvait m'aider à enlever les résidus des versions précédente cela serait sympa.
Merci d'avance