Problem with appstreamcli when running apt update The 2019 Stack Overflow Developer Survey Results Are InError when doing apt-get updateapt-get has unmet dependencies, but apt-get -f install doesn't solve problemUpdate is telling me my package system is broken - the instruction to fix it doesn't work - what to do?Debian pinning - Use stable but install from testing/unstable when necessary | Also install deps from stable, backports when availableWhat does apt need to be healed of a bad setup?Install Java 8 on ARM Nas (Debian Wheezy)how to update cURL openssl version for paypal IPNHas roxterm been removed from Debian 9 (stretch)?Failed to start MariaDB database server after upgrade to debian 9debian9 can't install python packages with pip3 or uninstall packages with apt
Why can Shazam do this?
Falsification in Math vs Science
What is the motivation for a law requiring 2 parties to consent for recording a conversation
How was Skylab's orbit inclination chosen?
What can other administrators access on my machine?
Time travel alters history but people keep saying nothing's changed
Deadlock Graph and Interpretation, solution to avoid
Why don't Unix/Linux systems traverse through directories until they find the required version of a linked library?
How to change the limits of integration
Realistic Alternatives to Dust: What Else Could Feed a Plankton Bloom?
Is there a name of the flying bionic bird?
Unbreakable Formation vs. Cry of the Carnarium
aging parents with no investments
Is "plugging out" electronic devices an American expression?
Geography at the pixel level
How to manage monthly salary
What does "sndry explns" mean in one of the Hitchhiker's guide books?
Why is my p-value correlated to difference between means in two sample tests?
Should I use my personal or workplace e-mail when registering to external websites for work purpose?
It's possible to achieve negative score?
JSON.serialize: is it possible to suppress null values of a map?
Inflated grade on resume at previous job, might former employer tell new employer?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Understanding the implication of what "well-defined" means for the operation in quotient group
Problem with appstreamcli when running apt update
The 2019 Stack Overflow Developer Survey Results Are InError when doing apt-get updateapt-get has unmet dependencies, but apt-get -f install doesn't solve problemUpdate is telling me my package system is broken - the instruction to fix it doesn't work - what to do?Debian pinning - Use stable but install from testing/unstable when necessary | Also install deps from stable, backports when availableWhat does apt need to be healed of a bad setup?Install Java 8 on ARM Nas (Debian Wheezy)how to update cURL openssl version for paypal IPNHas roxterm been removed from Debian 9 (stretch)?Failed to start MariaDB database server after upgrade to debian 9debian9 can't install python packages with pip3 or uninstall packages with apt
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I had a problem with debian testing today when I was running an apt update with following return:
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
debian apt upgrade
add a comment |
I had a problem with debian testing today when I was running an apt update with following return:
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
debian apt upgrade
2
Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.
– DopeGhoti
Aug 23 '18 at 16:10
add a comment |
I had a problem with debian testing today when I was running an apt update with following return:
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
debian apt upgrade
I had a problem with debian testing today when I was running an apt update with following return:
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
debian apt upgrade
debian apt upgrade
edited Aug 23 '18 at 16:12
JonLord
asked Aug 23 '18 at 15:59
JonLordJonLord
30111
30111
2
Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.
– DopeGhoti
Aug 23 '18 at 16:10
add a comment |
2
Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.
– DopeGhoti
Aug 23 '18 at 16:10
2
2
Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.
– DopeGhoti
Aug 23 '18 at 16:10
Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.
– DopeGhoti
Aug 23 '18 at 16:10
add a comment |
1 Answer
1
active
oldest
votes
After Googling I found some people saying that removing the package appstream will fix the problem.
This solution will work but in many cases this approach will remove packages that you may not want to remove.
An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream
file like this:
...
#APT::Update::Post-Invoke-Success true; fi";
#;
and then save the file and run apt-get update
again.
After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:
Configuration file '/etc/apt/apt.conf.d/50appstream'
==> Modified (by yourself or by a script) since the installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I: install the version of the maintainer package
N or O: keep the currently installed version
D: Show differences between versions
Z: start a shell to examine the situation
You should say Y to upgrade the file you have modified.
I'm posting this to help others that may search for this error.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464445%2fproblem-with-appstreamcli-when-running-apt-update%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After Googling I found some people saying that removing the package appstream will fix the problem.
This solution will work but in many cases this approach will remove packages that you may not want to remove.
An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream
file like this:
...
#APT::Update::Post-Invoke-Success true; fi";
#;
and then save the file and run apt-get update
again.
After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:
Configuration file '/etc/apt/apt.conf.d/50appstream'
==> Modified (by yourself or by a script) since the installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I: install the version of the maintainer package
N or O: keep the currently installed version
D: Show differences between versions
Z: start a shell to examine the situation
You should say Y to upgrade the file you have modified.
I'm posting this to help others that may search for this error.
add a comment |
After Googling I found some people saying that removing the package appstream will fix the problem.
This solution will work but in many cases this approach will remove packages that you may not want to remove.
An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream
file like this:
...
#APT::Update::Post-Invoke-Success true; fi";
#;
and then save the file and run apt-get update
again.
After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:
Configuration file '/etc/apt/apt.conf.d/50appstream'
==> Modified (by yourself or by a script) since the installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I: install the version of the maintainer package
N or O: keep the currently installed version
D: Show differences between versions
Z: start a shell to examine the situation
You should say Y to upgrade the file you have modified.
I'm posting this to help others that may search for this error.
add a comment |
After Googling I found some people saying that removing the package appstream will fix the problem.
This solution will work but in many cases this approach will remove packages that you may not want to remove.
An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream
file like this:
...
#APT::Update::Post-Invoke-Success true; fi";
#;
and then save the file and run apt-get update
again.
After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:
Configuration file '/etc/apt/apt.conf.d/50appstream'
==> Modified (by yourself or by a script) since the installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I: install the version of the maintainer package
N or O: keep the currently installed version
D: Show differences between versions
Z: start a shell to examine the situation
You should say Y to upgrade the file you have modified.
I'm posting this to help others that may search for this error.
After Googling I found some people saying that removing the package appstream will fix the problem.
This solution will work but in many cases this approach will remove packages that you may not want to remove.
An alternate solution is to comment the three last lines in /etc/apt/apt.conf.d/50appstream
file like this:
...
#APT::Update::Post-Invoke-Success true; fi";
#;
and then save the file and run apt-get update
again.
After running a system upgrade there is a chance that the package appstream will have a upgrade that can fix this error and a message like this may appear:
Configuration file '/etc/apt/apt.conf.d/50appstream'
==> Modified (by yourself or by a script) since the installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I: install the version of the maintainer package
N or O: keep the currently installed version
D: Show differences between versions
Z: start a shell to examine the situation
You should say Y to upgrade the file you have modified.
I'm posting this to help others that may search for this error.
edited 2 days ago
GAD3R
28.1k1958114
28.1k1958114
answered Aug 23 '18 at 16:12
JonLordJonLord
30111
30111
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f464445%2fproblem-with-appstreamcli-when-running-apt-update%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-apt, debian, upgrade
2
Hello, and welcome to U&L. You should probably reformulate this into both a question and an answer separately. Move the solution into an Answer below, and mark it as accepted.
– DopeGhoti
Aug 23 '18 at 16:10