Unable to uninstall snapd 2.34.2 in 16.04
I've been having problems with upgrading snapd with apt-get. I've tried running dpkg --configure -a
and sudo apt-get install -f
, but the system hangs indefinitely setting up snapd. I've also read numerous posts on how to resolve this issue, but unfortunately none of them have worked. Some posts seem promising, but my main problem is that I cannot uninnstall snapd because the subprocess new pre-removal script returned error exit status 1.
Right before this error message, the system says the job for snapd.service
and snapd.socket
have been canceled. I have tried everything I know to try, and searched around the net, but would appreciate some insight from you all about this issue!
So far, I have tried: sudo apt purge snapd
and sudo apt purge snapd ubuntu-core-launcher squashfs-tools
, but I get the same results.
apt package-management dpkg snap
|
show 7 more comments
I've been having problems with upgrading snapd with apt-get. I've tried running dpkg --configure -a
and sudo apt-get install -f
, but the system hangs indefinitely setting up snapd. I've also read numerous posts on how to resolve this issue, but unfortunately none of them have worked. Some posts seem promising, but my main problem is that I cannot uninnstall snapd because the subprocess new pre-removal script returned error exit status 1.
Right before this error message, the system says the job for snapd.service
and snapd.socket
have been canceled. I have tried everything I know to try, and searched around the net, but would appreciate some insight from you all about this issue!
So far, I have tried: sudo apt purge snapd
and sudo apt purge snapd ubuntu-core-launcher squashfs-tools
, but I get the same results.
apt package-management dpkg snap
1
what version of Ubuntu is this?
– George Udosen
Jan 2 at 22:13
Hi, I'm using version 16.04
– myselfesteem
Jan 2 at 22:14
Try thissudo apt purge snapd ubuntu-core-launcher squashfs-tools
seen here ubuntuforums.org/showthread.php?t=2328152
– George Udosen
Jan 2 at 22:15
I have indeed tried this! Same result
– myselfesteem
Jan 2 at 22:17
Stop it first withsudo systemctl stop snapd
then disablesudo systemctl disable snapd
then try to remove it!
– George Udosen
Jan 2 at 22:19
|
show 7 more comments
I've been having problems with upgrading snapd with apt-get. I've tried running dpkg --configure -a
and sudo apt-get install -f
, but the system hangs indefinitely setting up snapd. I've also read numerous posts on how to resolve this issue, but unfortunately none of them have worked. Some posts seem promising, but my main problem is that I cannot uninnstall snapd because the subprocess new pre-removal script returned error exit status 1.
Right before this error message, the system says the job for snapd.service
and snapd.socket
have been canceled. I have tried everything I know to try, and searched around the net, but would appreciate some insight from you all about this issue!
So far, I have tried: sudo apt purge snapd
and sudo apt purge snapd ubuntu-core-launcher squashfs-tools
, but I get the same results.
apt package-management dpkg snap
I've been having problems with upgrading snapd with apt-get. I've tried running dpkg --configure -a
and sudo apt-get install -f
, but the system hangs indefinitely setting up snapd. I've also read numerous posts on how to resolve this issue, but unfortunately none of them have worked. Some posts seem promising, but my main problem is that I cannot uninnstall snapd because the subprocess new pre-removal script returned error exit status 1.
Right before this error message, the system says the job for snapd.service
and snapd.socket
have been canceled. I have tried everything I know to try, and searched around the net, but would appreciate some insight from you all about this issue!
So far, I have tried: sudo apt purge snapd
and sudo apt purge snapd ubuntu-core-launcher squashfs-tools
, but I get the same results.
apt package-management dpkg snap
apt package-management dpkg snap
edited Jan 2 at 23:00
myselfesteem
asked Jan 2 at 21:58
myselfesteemmyselfesteem
1013
1013
1
what version of Ubuntu is this?
– George Udosen
Jan 2 at 22:13
Hi, I'm using version 16.04
– myselfesteem
Jan 2 at 22:14
Try thissudo apt purge snapd ubuntu-core-launcher squashfs-tools
seen here ubuntuforums.org/showthread.php?t=2328152
– George Udosen
Jan 2 at 22:15
I have indeed tried this! Same result
– myselfesteem
Jan 2 at 22:17
Stop it first withsudo systemctl stop snapd
then disablesudo systemctl disable snapd
then try to remove it!
– George Udosen
Jan 2 at 22:19
|
show 7 more comments
1
what version of Ubuntu is this?
– George Udosen
Jan 2 at 22:13
Hi, I'm using version 16.04
– myselfesteem
Jan 2 at 22:14
Try thissudo apt purge snapd ubuntu-core-launcher squashfs-tools
seen here ubuntuforums.org/showthread.php?t=2328152
– George Udosen
Jan 2 at 22:15
I have indeed tried this! Same result
– myselfesteem
Jan 2 at 22:17
Stop it first withsudo systemctl stop snapd
then disablesudo systemctl disable snapd
then try to remove it!
– George Udosen
Jan 2 at 22:19
1
1
what version of Ubuntu is this?
– George Udosen
Jan 2 at 22:13
what version of Ubuntu is this?
– George Udosen
Jan 2 at 22:13
Hi, I'm using version 16.04
– myselfesteem
Jan 2 at 22:14
Hi, I'm using version 16.04
– myselfesteem
Jan 2 at 22:14
Try this
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
seen here ubuntuforums.org/showthread.php?t=2328152– George Udosen
Jan 2 at 22:15
Try this
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
seen here ubuntuforums.org/showthread.php?t=2328152– George Udosen
Jan 2 at 22:15
I have indeed tried this! Same result
– myselfesteem
Jan 2 at 22:17
I have indeed tried this! Same result
– myselfesteem
Jan 2 at 22:17
Stop it first with
sudo systemctl stop snapd
then disable sudo systemctl disable snapd
then try to remove it!– George Udosen
Jan 2 at 22:19
Stop it first with
sudo systemctl stop snapd
then disable sudo systemctl disable snapd
then try to remove it!– George Udosen
Jan 2 at 22:19
|
show 7 more comments
2 Answers
2
active
oldest
votes
Try this solution:
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
Found here.
add a comment |
Just to add more flesh to George's answer. I needed to
cd /var/lib/dpkg/updates/
sudo rm *
sudo fuser -vki /var/lib/dpkg/lock (bc there was a lock on dpkg process)
sudo systemctl stop snapd (stop the snapd process..if it's running)
sudo rm -f /etc/apt/sources.list.d/*
(solves:Internal Error no file name for snapd:amd64
)sudo apt purge snapd ubuntu-core-launcher squashfs-tools
I'm not sure if steps 1) and 2) are necessary, but at the end of the day, this is what worked for me. I'm not sure, but could my system still reinstall snapd when I do sudo apt-get update/upgrade
?
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
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%2f1106402%2funable-to-uninstall-snapd-2-34-2-in-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try this solution:
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
Found here.
add a comment |
Try this solution:
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
Found here.
add a comment |
Try this solution:
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
Found here.
Try this solution:
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
Found here.
answered Jan 2 at 22:17
George UdosenGeorge Udosen
20.4k94367
20.4k94367
add a comment |
add a comment |
Just to add more flesh to George's answer. I needed to
cd /var/lib/dpkg/updates/
sudo rm *
sudo fuser -vki /var/lib/dpkg/lock (bc there was a lock on dpkg process)
sudo systemctl stop snapd (stop the snapd process..if it's running)
sudo rm -f /etc/apt/sources.list.d/*
(solves:Internal Error no file name for snapd:amd64
)sudo apt purge snapd ubuntu-core-launcher squashfs-tools
I'm not sure if steps 1) and 2) are necessary, but at the end of the day, this is what worked for me. I'm not sure, but could my system still reinstall snapd when I do sudo apt-get update/upgrade
?
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
add a comment |
Just to add more flesh to George's answer. I needed to
cd /var/lib/dpkg/updates/
sudo rm *
sudo fuser -vki /var/lib/dpkg/lock (bc there was a lock on dpkg process)
sudo systemctl stop snapd (stop the snapd process..if it's running)
sudo rm -f /etc/apt/sources.list.d/*
(solves:Internal Error no file name for snapd:amd64
)sudo apt purge snapd ubuntu-core-launcher squashfs-tools
I'm not sure if steps 1) and 2) are necessary, but at the end of the day, this is what worked for me. I'm not sure, but could my system still reinstall snapd when I do sudo apt-get update/upgrade
?
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
add a comment |
Just to add more flesh to George's answer. I needed to
cd /var/lib/dpkg/updates/
sudo rm *
sudo fuser -vki /var/lib/dpkg/lock (bc there was a lock on dpkg process)
sudo systemctl stop snapd (stop the snapd process..if it's running)
sudo rm -f /etc/apt/sources.list.d/*
(solves:Internal Error no file name for snapd:amd64
)sudo apt purge snapd ubuntu-core-launcher squashfs-tools
I'm not sure if steps 1) and 2) are necessary, but at the end of the day, this is what worked for me. I'm not sure, but could my system still reinstall snapd when I do sudo apt-get update/upgrade
?
Just to add more flesh to George's answer. I needed to
cd /var/lib/dpkg/updates/
sudo rm *
sudo fuser -vki /var/lib/dpkg/lock (bc there was a lock on dpkg process)
sudo systemctl stop snapd (stop the snapd process..if it's running)
sudo rm -f /etc/apt/sources.list.d/*
(solves:Internal Error no file name for snapd:amd64
)sudo apt purge snapd ubuntu-core-launcher squashfs-tools
I'm not sure if steps 1) and 2) are necessary, but at the end of the day, this is what worked for me. I'm not sure, but could my system still reinstall snapd when I do sudo apt-get update/upgrade
?
edited Jan 3 at 3:26
answered Jan 3 at 2:35
myselfesteemmyselfesteem
1013
1013
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
add a comment |
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
Ok that it finally worked, run that update and upgrade command and let us know!
– George Udosen
Jan 3 at 6:33
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
update and upgrade works, no snapd problems!
– myselfesteem
Jan 4 at 1:46
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%2f1106402%2funable-to-uninstall-snapd-2-34-2-in-16-04%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
1
what version of Ubuntu is this?
– George Udosen
Jan 2 at 22:13
Hi, I'm using version 16.04
– myselfesteem
Jan 2 at 22:14
Try this
sudo apt purge snapd ubuntu-core-launcher squashfs-tools
seen here ubuntuforums.org/showthread.php?t=2328152– George Udosen
Jan 2 at 22:15
I have indeed tried this! Same result
– myselfesteem
Jan 2 at 22:17
Stop it first with
sudo systemctl stop snapd
then disablesudo systemctl disable snapd
then try to remove it!– George Udosen
Jan 2 at 22:19