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 14/09/2017, à 07:53

parametre

[Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Bonjour,
Je suis sur une installation neuve de Xubuntu 16.04., réalisée avec le CD de 2016.
Lorsque je veux connaître les mises à jour à effectuer, la commande

sudo apt update

me retourne le message d'erreur:

E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code

Avez-vous déjà vu ce message ?
Quelle action pour y remédier ?
Merci de vos explications

Dernière modification par parametre (Le 14/09/2017, à 10:04)


Xubuntu 22.04 sur NUC7i3BNH

Hors ligne

#2 Le 14/09/2017, à 09:17

nam1962

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Il semblerait que ce soit déjà arrivé : https://askubuntu.com/questions/942895/ … ke-success


[ Modéré ]

Hors ligne

#3 Le 14/09/2017, à 10:03

parametre

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Grand merci, nam1962
Après la suppression de libappstream3, plus d'erreur de script.
Mais à quoi pouvait bien servir libappstream3 ? N'y aura-t-il pas d'autres erreurs ailleurs ?
Cordialement


Xubuntu 22.04 sur NUC7i3BNH

Hors ligne

#4 Le 14/09/2017, à 10:57

nam1962

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

On va regarder, donne nous :

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

Dernière modification par nam1962 (Le 14/09/2017, à 10:57)


[ Modéré ]

Hors ligne

#5 Le 14/09/2017, à 15:54

parametre

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Voilà :

rocky@ordi-12:~$ cat /etc/apt/sources.list
# deb cdrom:[Xubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main multiverse restricted universe

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

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

et

rocky@ordi-12:~$ ls /etc/apt/sources.list.d -1
rocky@ordi-12:~$ 

La deuxième commande ne sort rien du tout.
Merci de m'inciter à chercher. Tu m'expliqueras ?
a+

modif : remplacer le 1 par l

rocky@ordi-12:~$ ls /etc/apt/sources.list.d -l
total 0
rocky@ordi-12:~$

/etc/apt/sources.list.d est vide

a+

Dernière modification par parametre (Le 14/09/2017, à 16:00)


Xubuntu 22.04 sur NUC7i3BNH

Hors ligne

#6 Le 14/09/2017, à 16:15

nam1962

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Le l était bon, mais tu n'as pas de PPA (ce qui est bien wink )
Sinon, tes dépôts sont propres.
Donne nous maintenant les retours de :

sudo apt clean -v
sudo apt update
sudo apt full-upgrade
sudo apt autoremove --purge

[ Modéré ]

Hors ligne

#7 Le 14/09/2017, à 17:17

parametre

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Voici les réponses :

rocky@ordi-12:~$ sudo apt clean -v
apt 1.2.24 (amd64)
rocky@ordi-12:~$
rocky@ordi-12:~$ sudo apt update
Réception de:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Atteint:2 http://fr.archive.ubuntu.com/ubuntu xenial InRelease                 
Réception de:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Atteint:4 http://archive.canonical.com/ubuntu xenial InRelease                 
Réception de:5 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Réception de:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [59,9 kB]
Réception de:7 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [52,0 kB]
Réception de:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [48,8 kB]
Réception de:9 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [637 kB]
Réception de:10 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [59,5 kB]
Réception de:11 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [610 kB]
Réception de:12 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [305 kB]
Réception de:13 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [212 kB]
Réception de:14 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [540 kB]
Réception de:15 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [518 kB]
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [172 kB]
Réception de:17 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [229 kB]
Réception de:18 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5 888 B]
Réception de:19 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3 328 B]
Réception de:20 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5 136 B]
3 763 ko réceptionnés en 3s (961 ko/s)                               
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
All packages are up to date.
rocky@ordi-12:~$ 
rocky@ordi-12:~$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances        
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
rocky@ordi-12:~$
rocky@ordi-12:~$ sudo apt autoremove --purge
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
rocky@ordi-12:~$

a+


Xubuntu 22.04 sur NUC7i3BNH

Hors ligne

#8 Le 14/09/2017, à 18:20

nam1962

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

A priori tout est clean, profite de ta Xub !


[ Modéré ]

Hors ligne

#9 Le 14/09/2017, à 18:29

parametre

Re : [Résolu] Problem executing scripts APT::Update::Post-Invoke-Success

Merci, nam1962. J'aime bien cette distrib que j'utilise depuis des années.
Merci d'avoir passé tout ce temps sur mon problème.
Cordialement


Xubuntu 22.04 sur NUC7i3BNH

Hors ligne