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 do UK politicians seemingly ignore opinion polls on Brexit?
Is there a symbol for a right arrow with a square in the middle?
Geography at the pixel level
Do these rules for Critical Successes and Critical Failures seem Fair?
What is the accessibility of a package's `Private` context variables?
Where to refill my bottle in India?
What does "fetching by region is not available for SAM files" means?
Aging parents with no investments
How to notate time signature switching consistently every measure
What is the most effective way of iterating a std::vector and why?
How technical should a Scrum Master be to effectively remove impediments?
FPGA - DIY Programming
What is the meaning of Triage in Cybersec world?
Return to UK after being refused entry years previously
Multiply Two Integer Polynomials
Is this app Icon Browser Safe/Legit?
Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?
Is there any way to tell whether the shot is going to hit you or not?
How to manage monthly salary
How come people say “Would of”?
What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?
Why not take a picture of a closer black hole?
Are there incongruent pythagorean triangles with the same perimeter and same area?
Are there any other methods to apply to solving simultaneous equations?
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 Apr 7 at 12:07
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
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