Getting Error When Uninstalling Google Chrome
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I can't update or uninstall Google Chrome. I am getting this error:
Setting up google-chrome-stable (36.0.1985.125-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
I remember changing and replacing default icons of Google Chrome before. How do I solve this?
uninstall google-chrome
|
show 7 more comments
I can't update or uninstall Google Chrome. I am getting this error:
Setting up google-chrome-stable (36.0.1985.125-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
I remember changing and replacing default icons of Google Chrome before. How do I solve this?
uninstall google-chrome
This is a problem with Google's packaging, so you should probably report it to them.
– dobey
Aug 2 '14 at 20:28
I really don't think so. I guess something messed up when I replaced chrome's default icons. I guess that's the reason why it can't be updated/uninstalled. Do you know any way to force uninstall chrome? @dobey
– Jye Ramirez
Aug 2 '14 at 20:34
Trysudo apt-get install -f
– Tim
Aug 2 '14 at 20:35
3
@Tim: If there's an error in the packaging scripts, it can NOT be resolved throughapt
, Synaptic, or the Software Center. It will have to be throughdpkg
.
– saiarcot895
Aug 2 '14 at 21:38
2
The postinst script of the package is passing the wrong arguments to a program it requires. That is a problem in the package.
– dobey
Aug 2 '14 at 21:40
|
show 7 more comments
I can't update or uninstall Google Chrome. I am getting this error:
Setting up google-chrome-stable (36.0.1985.125-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
I remember changing and replacing default icons of Google Chrome before. How do I solve this?
uninstall google-chrome
I can't update or uninstall Google Chrome. I am getting this error:
Setting up google-chrome-stable (36.0.1985.125-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
I remember changing and replacing default icons of Google Chrome before. How do I solve this?
uninstall google-chrome
uninstall google-chrome
asked Aug 2 '14 at 20:26
Jye RamirezJye Ramirez
60110
60110
This is a problem with Google's packaging, so you should probably report it to them.
– dobey
Aug 2 '14 at 20:28
I really don't think so. I guess something messed up when I replaced chrome's default icons. I guess that's the reason why it can't be updated/uninstalled. Do you know any way to force uninstall chrome? @dobey
– Jye Ramirez
Aug 2 '14 at 20:34
Trysudo apt-get install -f
– Tim
Aug 2 '14 at 20:35
3
@Tim: If there's an error in the packaging scripts, it can NOT be resolved throughapt
, Synaptic, or the Software Center. It will have to be throughdpkg
.
– saiarcot895
Aug 2 '14 at 21:38
2
The postinst script of the package is passing the wrong arguments to a program it requires. That is a problem in the package.
– dobey
Aug 2 '14 at 21:40
|
show 7 more comments
This is a problem with Google's packaging, so you should probably report it to them.
– dobey
Aug 2 '14 at 20:28
I really don't think so. I guess something messed up when I replaced chrome's default icons. I guess that's the reason why it can't be updated/uninstalled. Do you know any way to force uninstall chrome? @dobey
– Jye Ramirez
Aug 2 '14 at 20:34
Trysudo apt-get install -f
– Tim
Aug 2 '14 at 20:35
3
@Tim: If there's an error in the packaging scripts, it can NOT be resolved throughapt
, Synaptic, or the Software Center. It will have to be throughdpkg
.
– saiarcot895
Aug 2 '14 at 21:38
2
The postinst script of the package is passing the wrong arguments to a program it requires. That is a problem in the package.
– dobey
Aug 2 '14 at 21:40
This is a problem with Google's packaging, so you should probably report it to them.
– dobey
Aug 2 '14 at 20:28
This is a problem with Google's packaging, so you should probably report it to them.
– dobey
Aug 2 '14 at 20:28
I really don't think so. I guess something messed up when I replaced chrome's default icons. I guess that's the reason why it can't be updated/uninstalled. Do you know any way to force uninstall chrome? @dobey
– Jye Ramirez
Aug 2 '14 at 20:34
I really don't think so. I guess something messed up when I replaced chrome's default icons. I guess that's the reason why it can't be updated/uninstalled. Do you know any way to force uninstall chrome? @dobey
– Jye Ramirez
Aug 2 '14 at 20:34
Try
sudo apt-get install -f
– Tim
Aug 2 '14 at 20:35
Try
sudo apt-get install -f
– Tim
Aug 2 '14 at 20:35
3
3
@Tim: If there's an error in the packaging scripts, it can NOT be resolved through
apt
, Synaptic, or the Software Center. It will have to be through dpkg
.– saiarcot895
Aug 2 '14 at 21:38
@Tim: If there's an error in the packaging scripts, it can NOT be resolved through
apt
, Synaptic, or the Software Center. It will have to be through dpkg
.– saiarcot895
Aug 2 '14 at 21:38
2
2
The postinst script of the package is passing the wrong arguments to a program it requires. That is a problem in the package.
– dobey
Aug 2 '14 at 21:40
The postinst script of the package is passing the wrong arguments to a program it requires. That is a problem in the package.
– dobey
Aug 2 '14 at 21:40
|
show 7 more comments
3 Answers
3
active
oldest
votes
Based on the error and the mention of post-installation script
, I would say that even the installation didn't complete successfully. You'll have to run sudo dpkg --purge --force-all google-chrome-stable
to remove it.
Edit: Run gksudo gedit /var/lib/dpkg/info/google-chrome-stable.postinst
, and add a #
in front of any lines that call xdg-icon-resource
. Save it, and try removing the package again.
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Apparently, evendpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.
– saiarcot895
Aug 2 '14 at 21:52
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Edited. I'm assuming you use/are familiar withgedit
. If you would rather use a command-line tool, replace the command as appropriate.
– saiarcot895
Aug 2 '14 at 21:58
add a comment |
The response here helped me,
It's very similar to @saiarcot895, except I also had to modify /var/lib/dpkg/info/google-chrome-stable.prerm
in the same way.
add a comment |
What worked for me was installing the xdg-utils package, removing chrome, and removing the xdg.utils package once it all finished:
- yum install xdg-utils
- yum remove google-chrome
- yum remove xdg-utils
Yes excellent answer, thank you.
– java-addict301
yesterday
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f506022%2fgetting-error-when-uninstalling-google-chrome%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Based on the error and the mention of post-installation script
, I would say that even the installation didn't complete successfully. You'll have to run sudo dpkg --purge --force-all google-chrome-stable
to remove it.
Edit: Run gksudo gedit /var/lib/dpkg/info/google-chrome-stable.postinst
, and add a #
in front of any lines that call xdg-icon-resource
. Save it, and try removing the package again.
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Apparently, evendpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.
– saiarcot895
Aug 2 '14 at 21:52
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Edited. I'm assuming you use/are familiar withgedit
. If you would rather use a command-line tool, replace the command as appropriate.
– saiarcot895
Aug 2 '14 at 21:58
add a comment |
Based on the error and the mention of post-installation script
, I would say that even the installation didn't complete successfully. You'll have to run sudo dpkg --purge --force-all google-chrome-stable
to remove it.
Edit: Run gksudo gedit /var/lib/dpkg/info/google-chrome-stable.postinst
, and add a #
in front of any lines that call xdg-icon-resource
. Save it, and try removing the package again.
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Apparently, evendpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.
– saiarcot895
Aug 2 '14 at 21:52
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Edited. I'm assuming you use/are familiar withgedit
. If you would rather use a command-line tool, replace the command as appropriate.
– saiarcot895
Aug 2 '14 at 21:58
add a comment |
Based on the error and the mention of post-installation script
, I would say that even the installation didn't complete successfully. You'll have to run sudo dpkg --purge --force-all google-chrome-stable
to remove it.
Edit: Run gksudo gedit /var/lib/dpkg/info/google-chrome-stable.postinst
, and add a #
in front of any lines that call xdg-icon-resource
. Save it, and try removing the package again.
Based on the error and the mention of post-installation script
, I would say that even the installation didn't complete successfully. You'll have to run sudo dpkg --purge --force-all google-chrome-stable
to remove it.
Edit: Run gksudo gedit /var/lib/dpkg/info/google-chrome-stable.postinst
, and add a #
in front of any lines that call xdg-icon-resource
. Save it, and try removing the package again.
edited Aug 2 '14 at 21:57
answered Aug 2 '14 at 21:41
saiarcot895saiarcot895
9,50422333
9,50422333
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Apparently, evendpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.
– saiarcot895
Aug 2 '14 at 21:52
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Edited. I'm assuming you use/are familiar withgedit
. If you would rather use a command-line tool, replace the command as appropriate.
– saiarcot895
Aug 2 '14 at 21:58
add a comment |
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Apparently, evendpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.
– saiarcot895
Aug 2 '14 at 21:52
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Edited. I'm assuming you use/are familiar withgedit
. If you would rather use a command-line tool, replace the command as appropriate.
– saiarcot895
Aug 2 '14 at 21:58
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Removing google-chrome-stable (36.0.1985.125-1) ... xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error processing package google-chrome-stable (--purge): subprocess installed pre-removal script returned error exit status 1 xdg-icon-resource: size argument must be numeric Try 'xdg-icon-resource --help' for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: google-chrome-stable
– Jye Ramirez
Aug 2 '14 at 21:48
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Thanks for the help but it still returns with error @Saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:49
Apparently, even
dpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.– saiarcot895
Aug 2 '14 at 21:52
Apparently, even
dpkg
has to run the scripts and make sure there are no errors. You might have to modify the scripts.– saiarcot895
Aug 2 '14 at 21:52
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Sorry I'm not quite sure how to do that.. @saiarcot895
– Jye Ramirez
Aug 2 '14 at 21:56
Edited. I'm assuming you use/are familiar with
gedit
. If you would rather use a command-line tool, replace the command as appropriate.– saiarcot895
Aug 2 '14 at 21:58
Edited. I'm assuming you use/are familiar with
gedit
. If you would rather use a command-line tool, replace the command as appropriate.– saiarcot895
Aug 2 '14 at 21:58
add a comment |
The response here helped me,
It's very similar to @saiarcot895, except I also had to modify /var/lib/dpkg/info/google-chrome-stable.prerm
in the same way.
add a comment |
The response here helped me,
It's very similar to @saiarcot895, except I also had to modify /var/lib/dpkg/info/google-chrome-stable.prerm
in the same way.
add a comment |
The response here helped me,
It's very similar to @saiarcot895, except I also had to modify /var/lib/dpkg/info/google-chrome-stable.prerm
in the same way.
The response here helped me,
It's very similar to @saiarcot895, except I also had to modify /var/lib/dpkg/info/google-chrome-stable.prerm
in the same way.
answered Jun 1 '15 at 19:47
MattMatt
1315
1315
add a comment |
add a comment |
What worked for me was installing the xdg-utils package, removing chrome, and removing the xdg.utils package once it all finished:
- yum install xdg-utils
- yum remove google-chrome
- yum remove xdg-utils
Yes excellent answer, thank you.
– java-addict301
yesterday
add a comment |
What worked for me was installing the xdg-utils package, removing chrome, and removing the xdg.utils package once it all finished:
- yum install xdg-utils
- yum remove google-chrome
- yum remove xdg-utils
Yes excellent answer, thank you.
– java-addict301
yesterday
add a comment |
What worked for me was installing the xdg-utils package, removing chrome, and removing the xdg.utils package once it all finished:
- yum install xdg-utils
- yum remove google-chrome
- yum remove xdg-utils
What worked for me was installing the xdg-utils package, removing chrome, and removing the xdg.utils package once it all finished:
- yum install xdg-utils
- yum remove google-chrome
- yum remove xdg-utils
answered Apr 4 at 17:15
Luis Alberto BarandiaranLuis Alberto Barandiaran
113
113
Yes excellent answer, thank you.
– java-addict301
yesterday
add a comment |
Yes excellent answer, thank you.
– java-addict301
yesterday
Yes excellent answer, thank you.
– java-addict301
yesterday
Yes excellent answer, thank you.
– java-addict301
yesterday
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f506022%2fgetting-error-when-uninstalling-google-chrome%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
This is a problem with Google's packaging, so you should probably report it to them.
– dobey
Aug 2 '14 at 20:28
I really don't think so. I guess something messed up when I replaced chrome's default icons. I guess that's the reason why it can't be updated/uninstalled. Do you know any way to force uninstall chrome? @dobey
– Jye Ramirez
Aug 2 '14 at 20:34
Try
sudo apt-get install -f
– Tim
Aug 2 '14 at 20:35
3
@Tim: If there's an error in the packaging scripts, it can NOT be resolved through
apt
, Synaptic, or the Software Center. It will have to be throughdpkg
.– saiarcot895
Aug 2 '14 at 21:38
2
The postinst script of the package is passing the wrong arguments to a program it requires. That is a problem in the package.
– dobey
Aug 2 '14 at 21:40