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 31/10/2014, à 11:28

ysuire

[Résolu] Problème apt-get update

Bonjour à tous,

Un problème mineur mais un problème quand même ... je voudrais mettre fin à ce message dans le terminal :

W: Duplicate sources.list entry [url]http://security.ubuntu.com/ubuntu/[/url] utopic-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_main_binary-i386_Packages) 
W: Duplicate sources.list entry [url]http://security.ubuntu.com/ubuntu/[/url] utopic-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages) 
W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.

J'ai bien essayé son conseil mais le problème persiste ... dois-je supprimer l'un de ces deux fichiers cités ?

Dernière modification par ysuire (Le 05/11/2014, à 15:12)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#2 Le 31/10/2014, à 11:58

arnolita

Re : [Résolu] Problème apt-get update

Bonjour, j'ai eu le meme problème que toi récemment, tapes dans un terminal

cat /var/lib/apt/lists/security.ubuntu 

et postes nous le retour. Postes nous ensuite le retour de

cat /var/lib/apt/lists/security.ubuntu

Dernière modification par arnolita (Le 31/10/2014, à 12:08)


La peste ou le choléra? Il vous reste le choix.

Hors ligne

#3 Le 31/10/2014, à 16:35

arnolita

Re : [Résolu] Problème apt-get update

Sinon postes nous le retour de

gksudo gedit /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages

         Le copier-coller de Gedit.


La peste ou le choléra? Il vous reste le choix.

Hors ligne

#4 Le 01/11/2014, à 19:48

ysuire

Re : [Résolu] Problème apt-get update

arnolita a écrit :

Bonjour, j'ai eu le meme problème que toi récemment, tapes dans un terminal

cat /var/lib/apt/lists/security.ubuntu 

et postes nous le retour. Postes nous ensuite le retour de

cat /var/lib/apt/lists/security.ubuntu

Aucun fichier ou dossier de ce type (et d'ailleurs c'est la même commande deux fois lol)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#5 Le 01/11/2014, à 19:51

ysuire

Re : [Résolu] Problème apt-get update

arnolita a écrit :

Sinon postes nous le retour de

gksudo gedit /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages

         Le copier-coller de Gedit.

Eh bien là c'est vide ... par contre le terminal répond :

(gksudo:3599): GConf-CRITICAL **: gconf_value_free: assertion 'value != NULL' failed

Dernière modification par ysuire (Le 05/11/2014, à 14:20)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#6 Le 03/11/2014, à 11:33

ysuire

Re : [Résolu] Problème apt-get update

Petit up ...


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#7 Le 04/11/2014, à 22:58

arnolita

Re : [Résolu] Problème apt-get update

Oui, il faut que tu supprimes

/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages

car tu l'as en double. Il faut que tu supprimes un seul des deux fichiers. Mais j'avais eu beaucoup de mal à le faire. Mon problème conçernait Opera et non Security.ubuntu.com, malheureusement. Tu peut regarder ici si ça peut t'aider, c'est la résolution de mon problème similaire.


La peste ou le choléra? Il vous reste le choix.

Hors ligne

#8 Le 04/11/2014, à 23:05

cqfd93

Re : [Résolu] Problème apt-get update

Bonsoir,

On peut voir le sources.list et le dossier sources.list.d ?

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d

cqfd93

Hors ligne

#9 Le 05/11/2014, à 13:59

ysuire

Re : [Résolu] Problème apt-get update

Première réponse :

# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted
deb [url]http://archive.ubuntu.com/ubuntu/[/url] utopic main restricted
deb [url]http://security.ubuntu.com/ubuntu/[/url] utopic-security main restricted
deb [url]http://archive.ubuntu.com/ubuntu/[/url] utopic-updates main restricted

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

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

deb [url]http://security.ubuntu.com/ubuntu[/url] utopic-security main restricted
deb-src [url]http://security.ubuntu.com/ubuntu[/url] utopic-security main restricted
deb [url]http://security.ubuntu.com/ubuntu[/url] utopic-security universe
deb-src [url]http://security.ubuntu.com/ubuntu[/url] utopic-security universe
deb [url]http://security.ubuntu.com/ubuntu[/url] utopic-security multiverse
deb-src [url]http://security.ubuntu.com/ubuntu[/url] utopic-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb [url]http://archive.canonical.com/ubuntu[/url] utopic partner
# deb-src [url]http://archive.canonical.com/ubuntu[/url] utopic partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb [url]http://extras.ubuntu.com/ubuntu[/url] utopic main
deb-src [url]http://extras.ubuntu.com/ubuntu[/url] utopic main
deb [url]http://archive.ubuntu.com/ubuntu/[/url] utopic-proposed multiverse main universe restricted

Deuxième :

google-chrome.list       yorba-ubuntu-ppa-utopic.list
google-chrome.list.save  yorba-ubuntu-ppa-utopic.list.save

Dernière modification par ysuire (Le 05/11/2014, à 14:19)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#10 Le 05/11/2014, à 14:15

cqfd93

Re : [Résolu] Problème apt-get update

Avant de continuer, je te demanderai d'éditer tes messages #1 et #9 pour mettre les messages et retours de commandes entre balises code (voir explication) et non pas "balises de citation" (il faudrait refaire les commandes pour remplacer ces retours par quelque chose de plus propre)


cqfd93

Hors ligne

#11 Le 05/11/2014, à 14:23

ysuire

Re : [Résolu] Problème apt-get update

Il semble que je doive faire ça pour obtenir une réponse, alors j'y vais ...

Dernière modification par ysuire (Le 05/11/2014, à 14:30)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#12 Le 05/11/2014, à 14:23

cqfd93

Re : [Résolu] Problème apt-get update

Tu lis entre les lignes lol


cqfd93

Hors ligne

#13 Le 05/11/2014, à 14:28

ysuire

Re : [Résolu] Problème apt-get update

Je me suis toujours demandé comment vous faisiez ces cadres lol ... bon maintenant que c'est fait, j'ai droit à ma réponse lol ?

Dernière modification par ysuire (Le 05/11/2014, à 14:28)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#14 Le 05/11/2014, à 14:31

cqfd93

Re : [Résolu] Problème apt-get update

ysuire a écrit :

C'est fait

Merci.

Dans le #9, il reste des balises url ajoutées par l'éditeur du forum qui n'apparaissent pas dans le véritable sources.list. Édite encore une fois ce message en remplaçant toute la balise code par celle-là :

# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted
deb http://archive.ubuntu.com/ubuntu/ utopic main restricted
deb http://security.ubuntu.com/ubuntu/ utopic-security main restricted
deb http://archive.ubuntu.com/ubuntu/ utopic-updates main restricted

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

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

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

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu utopic partner
# deb-src http://archive.canonical.com/ubuntu utopic partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main
deb http://archive.ubuntu.com/ubuntu/ utopic-proposed multiverse main universe restricted

Maintenant, je jette un œil à ce contenu et je reviens bientôt.


cqfd93

Hors ligne

#15 Le 05/11/2014, à 14:32

cqfd93

Re : [Résolu] Problème apt-get update

ysuire a écrit :

Je me suis toujours demandé comment vous faisiez ces cadres lol ... bon maintenant que c'est fait, j'ai droit à ma réponse lol ?

Maintenant tu sais wink La suite arrive...


cqfd93

Hors ligne

#16 Le 05/11/2014, à 14:37

jplemoine

Re : [Résolu] Problème apt-get update

Je pense que c'est que le paquet est passé de main à restricted (ou l'inverse) et que le update ne passe pas.
@cqfd93 : que dirais-tu de faire un clean, autoclean, autoremove avant un update en bonne et due forme?


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#17 Le 05/11/2014, à 14:43

cqfd93

Re : [Résolu] Problème apt-get update

jplemoine a écrit :

Je pense que c'est que le paquet est passé de main à restricted (ou l'inverse) et que le update ne passe pas.
@cqfd93 : que dirais-tu de faire un clean, autoclean, autoremove avant un update en bonne et due forme?

Y'a plusieurs entrées en double dans sources.list, je viens de le nettoyer et je vais lui proposer. Je préfère d'abord faire update et upgrade, ensuite ça sera OK pour clean, autoclean, autoremove.


cqfd93

Hors ligne

#18 Le 05/11/2014, à 14:48

jplemoine

Re : [Résolu] Problème apt-get update

As-tu vu aussi qu'il y a les dépôts 'proposed' qui sont activés ? Voir peut-être à le désactiver.


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#19 Le 05/11/2014, à 14:53

cqfd93

Re : [Résolu] Problème apt-get update

ysuire a écrit :

bon maintenant que c'est fait, j'ai droit à ma réponse lol ?

Yep !!!

J'ai nettoyé ton sources.list et tu vas maintenant faire ce qui suit (je suppose que tu es sous Unity)  :
Ouvre-le avec :

gksudo gedit /etc/apt/sources.list

Sélectionne tout son contenu avec ctrl-A et supprime-le puis remplace-le par :

# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted

deb http://archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ utopic main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ utopic-updates main restricted universe multiverse

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

deb http://fr.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse

deb http://extras.ubuntu.com/ubuntu utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main

# deb http://archive.canonical.com/ubuntu utopic partner
# deb-src http://archive.canonical.com/ubuntu utopic partner

# deb http://archive.ubuntu.com/ubuntu/ utopic-proposed multiverse main universe restricted

Enregistre et ferme gedit.

Si tu obtiens une insulte comme quoi gksu n'est pas installé, il faut l'installer avec

sudo apt-get install gksu

@jplemoine : j'avais vu les proposed et je les ai désactivés (on a les mêmes valeurs wink )


cqfd93

Hors ligne

#20 Le 05/11/2014, à 14:59

ysuire

Re : [Résolu] Problème apt-get update

Merci m'sieur !!! Et ça va mettre à jour mes logiciels tiers aussi ?


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#21 Le 05/11/2014, à 15:03

jplemoine

Re : [Résolu] Problème apt-get update

cqfd93 a écrit :

(on a les mêmes valeurs wink )

MDR ! Oui, mais on n'est pas les seuls à avoir ce raisonnement : les proposed, c'est avec parcimonie....
Tu as la ligne pour avoir les dépôts correspondant aux paquets installés ? (sinon, je te la (re) donne..)
Ça permettra de savoir s'il y a un (voire plusieurs) paquet issu de ce dépôt.
--> C'est après  le dépannage classique donc, ça ne presse pas..


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#22 Le 05/11/2014, à 15:06

ysuire

Re : [Résolu] Problème apt-get update

Je pense que je peux les sélectionner dans les sources de mises à jour dans les paramètres non ?

EDIT : Apparemment ça n'a rien changé quant aux logiciels tiers donc merci ça marche maintenant !

Dernière modification par ysuire (Le 05/11/2014, à 15:11)


- PC Packard Bell ENTG71BM, Ubuntu 23.10 64 bits, Carte graphique Mesa Intel® HD Graphics (BYT), Processeur Intel® Celeron(R) CPU N2940 @ 1.83GHz×4, 4 Go RAM

Hors ligne

#23 Le 05/11/2014, à 15:12

cqfd93

Re : [Résolu] Problème apt-get update

jplemoine a écrit :

Tu as la ligne pour avoir les dépôts correspondant aux paquets installés ? (sinon, je te la (re) donne..)
Ça permettra de savoir s'il y a un (voire plusieurs) paquet issu de ce dépôt.
--> C'est après  le dépannage classique donc, ça ne presse pas..

Je ne l'ai pas, donc je veux bien que tu me la donnes.


cqfd93

Hors ligne

#24 Le 05/11/2014, à 15:19

cqfd93

Re : [Résolu] Problème apt-get update

ysuire a écrit :

Je pense que je peux les sélectionner dans les sources de mises à jour dans les paramètres non ?

EDIT : Apparemment ça n'a rien changé quant aux logiciels tiers donc merci ça marche maintenant !

Impec !

Maintenant, on peut faire ce que jplemoine a suggéré, ça ne peut pas faire de mal :

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove

cqfd93

Hors ligne

#25 Le 05/11/2014, à 16:07

jplemoine

Re : [Résolu] Problème apt-get update

Sauf qu'il faut faire un update ensuite...
La ligne concernée est :

for line in $(dpkg --get-selections | awk '{print $1}'); do apt-cache madison "$line" ; done | awk '{print $5}' | sort -u

--> ça donne tous les dépôts correspondant aux paquets installés.


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne