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 08/01/2017, à 16:43

Zonk

[Résolu] Mise a jour

Bonjour
Je rencontre deux ennuis quand je tente la commande sudo apt-get update
J'ai deux erreurs:
20auto-upgrades.ucf-dist » dans le répertoire « /etc/apt/apt.conf.d/ » a été ignoré car il utilise une extension non valable

AppStream cache update completed, but some metadata was ignored due to errors.

Avez-vous une idée de ces résultats

Je suis sous Ubuntu 16.04 LTS

Merci beaucoup wink

Dernière modification par Zonk (Le 08/01/2017, à 18:20)

Hors ligne

#2 Le 08/01/2017, à 17:38

abelthorne

Re : [Résolu] Mise a jour

Pour le premier problème, tu peux afficher le contenu du fichier pour vérifier ce qu'il contient :

cat /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist

avant de l'effacer pour résoudre le problème de façon radicale :

sudo rm /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist

Pour le deuxième problème, il vient apparemment d'un bug dans un paquet qui a été corrigé sur Ubuntu 16.10. Pour la 16.04, le correctif est dans les backports. Commence par vérifier que le dépôt xenial-backports est activé dans les préférences système → Logiciels & Mises à jour. Si c'est le cas et que le paquet concerné ne se met pas à jour, essaie la première réponse donné là : http://askubuntu.com/questions/854168/h … -ignored-d

Hors ligne

#3 Le 08/01/2017, à 17:51

Zonk

Re : [Résolu] Mise a jour

Salut abelthorne

Voila pour ta première demande

danny@Ubuntu1604LTS:~$ cat /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist
cat: /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist: Aucun fichier ou dossier de ce type
danny@Ubuntu1604LTS:~$ 

Le xenial-backports est activé
Merci

Dernière modification par Zonk (Le 08/01/2017, à 17:55)

Hors ligne

#4 Le 08/01/2017, à 17:55

abelthorne

Re : [Résolu] Mise a jour

Tu as bien tapé la commande avant d'effacer le fichier ? Parce que là, il ne le trouve pas alors qu'il se plaint de son contenu quand tu fais un apt-get update...

Hors ligne

#5 Le 08/01/2017, à 17:59

Zonk

Re : [Résolu] Mise a jour

Salut
Il me semble avoir bien suivit ta recommandation
Je n'ai fait que entrer ta commande

cat /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist

et vérifier pour le xenial....

Je n'ai rien supprimer
Merci

Hors ligne

#6 Le 08/01/2017, à 18:02

abelthorne

Re : [Résolu] Mise a jour

Et si tu refais un sudo apt-get update, il t'affiche le même message à propos de ce mystérieux "20auto-upgrades.ucf-dist"?

Hors ligne

#7 Le 08/01/2017, à 18:05

Zonk

Re : [Résolu] Mise a jour

danny@Ubuntu1604LTS:~$ sudo apt-get update
[sudo] Mot de passe de danny : 
Réception de:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Atteint:2 http://ca.archive.ubuntu.com/ubuntu xenial InRelease                 
Atteint:3 http://archive.canonical.com/ubuntu xenial InRelease                 
Réception de:4 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Réception de:5 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
306 ko réceptionnés en 1s (168 ko/s)
Lecture des listes de paquets... Fait
danny@Ubuntu1604LTS:~$ 

Ca semble ok !?

Encore merci !

Hors ligne

#8 Le 08/01/2017, à 18:10

abelthorne

Re : [Résolu] Mise a jour

Oui, mais tu n'as quasiment pas de dépôts rechargés, qu'est-ce que c'est que ce bazar ?

Donne le retour de :

cat /etc/apt/sources.list

Hors ligne

#9 Le 08/01/2017, à 18:13

Zonk

Re : [Résolu] Mise a jour

Je n'ai pas bidouiller machine pourtant neutral


danny@Ubuntu1604LTS:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ca.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial universe
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-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://ca.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-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://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe 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 xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
danny@Ubuntu1604LTS:~$ 

Hors ligne

#10 Le 08/01/2017, à 18:17

abelthorne

Re : [Résolu] Mise a jour

Tout a l'air ok. C'est bizarre que le retour d'apt-get update soit aussi court, mais bon... C'est peut-être moi qui suis tellement habitué à utiliser plein de dépôts tiers que j'en viens à dire n'importe quoi. Ouais, ça doit être ça.

Hors ligne

#11 Le 08/01/2017, à 18:19

Zonk

Re : [Résolu] Mise a jour

Merci encore abelthorne pour ton aide
Bonne et heureuse année !

Hors ligne