I tried to install audacity and they told me to "apt-get update" .. However this produced the following messages including the errors at the end of the message:
root@primergy:/home/joerg# apt-get update
Holen:1 http://security.debian.org/debian-security stretch/updates InRelease [53,0 kB]
Ign:2 http://ftp.de.debian.org/debian stretch InRelease
OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease
Holen:4 http://ftp.uni-kl.de/debian-multimedia stable InRelease [19,5 kB]
OK:5 http://ftp.de.debian.org/debian stretch Release
OK:6 https://repo.skype.com/deb stable InRelease
Holen:7 http://security.debian.org/debian-security stretch/updates/main Sources [273 kB]
Holen:9 http://security.debian.org/debian-security stretch/updates/main i386 Packages [614 kB]
Holen:10 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [614 kB]
OK:8 https://www.deb-multimedia.org stretch InRelease
Holen:12 http://security.debian.org/debian-security stretch/updates/main Translation-en [273 kB]
Es wurden 1.847 kB in 0 s geholt (1.852 kB/s).
AppStream system cache was updated, but problems were found: Metadaten-Dateien haben Fehler: /var/cache/app-info/xmls/fwupd.xml
Paketlisten werden gelesen... Fertig
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-cache > /dev/null; fi'
E: Sub-process returned an error code
root@primergy:/home/joerg#
Can you tell me how to circumvent these messages?
I am running debian 9 and uname -a brings:
Linux primergy 4.9.0-14-amd64 #1 SMP Debian 4.9.240-2 (2020-10-30) x86_64 GNU/Linux
tia
Jörg Kampmann
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
apt-get update with strange error
Re: apt-get update mit eigenartigem Fehler
Apparently when appstream updates whatever it needs to update it fails, without even saying why or how :(
I had never heard of appstream until now. Seems to be some framework required by various desktop "app stores".
Perhaps, at least temporarily, you could remove the appstream package, do your updates, and then reinstall it.
As root, run "dpkg -P appstream". That should delete the package and its configuration.
(maybe also "apt-get --purge remove appstream" would work, but there's a risk of apt-get failing when removing the package that causes it to fail :)
Later you can "apt-get install appstream" to install it again and hopefully nobody will have noticed that the package was missing for some time.
Good luck!
I had never heard of appstream until now. Seems to be some framework required by various desktop "app stores".
Perhaps, at least temporarily, you could remove the appstream package, do your updates, and then reinstall it.
As root, run "dpkg -P appstream". That should delete the package and its configuration.
(maybe also "apt-get --purge remove appstream" would work, but there's a risk of apt-get failing when removing the package that causes it to fail :)
Later you can "apt-get install appstream" to install it again and hopefully nobody will have noticed that the package was missing for some time.
Good luck!
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: apt-get update with strange error
Those foreign sources arose my suspicion, from where is the appstream package installed?
The LC_ALL=C bit makes the output English.
Code: Select all
LC_ALL=C apt policy appstream
deadbang