snap remove: operation not permitted





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have a problem remove a snap package.



$ snap list
Name Version Rev Tracking Publisher Notes
canonical-livepatch 8.1.0 54 stable canonical✓ -
core 16-2.37.1 6350 stable canonical✓ core
gnome-3-26-1604 3.26.0 74 stable/… canonical✓ -
gnome-characters 3.30.0 139 stable/… canonical✓ -
gnome-logs 3.30.0 45 stable/… canonical✓ -
gnome-system-monitor 3.30.0 57 stable/… canonical✓ -
gtk-common-themes 0.1-4-g88bc1b2 818 stable/… canonical✓ -
microk8s v1.13.1 354 stable canonical✓ desactivado,classic
slack 3.3.7 11 stable slack✓ classic


If I want to remove microk8s, I get the following message



$ sudo snap remove microk8s
[sudo] contraseña para sogeking:
error: cannot perform the following tasks:
- Eliminar datos para el snap "microk8s" (354) (remove /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a: operation not permitted)


Other packages are not locked like this one. What can I do? Thanks.



EDIT: adding extra output



$ snap logs microk8s
error: cannot communicate with server: Get http://localhost/v2/logs?n=10&names=microk8s: dial unix /run/snapd.socket: connect: connection refused
$ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a
total 0
$ snap services
Service Startup Current Notes
canonical-livepatch.canonical-livepatchd activado activo -
microk8s.daemon-apiserver desactivado inactivo -
microk8s.daemon-apiserver-kicker desactivado inactivo -
microk8s.daemon-controller-manager desactivado inactivo -
microk8s.daemon-docker desactivado inactivo -
microk8s.daemon-etcd desactivado inactivo -
microk8s.daemon-kubelet desactivado inactivo -
microk8s.daemon-proxy desactivado inactivo -
microk8s.daemon-scheduler desactivado inactivo -









share|improve this question




















  • 1





    Can you run and add the output? $ snap logs microk8s (Sorry the formatting is a bit weird with comments. There are 3 separate commands here) $ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a $ snap services

    – Ryan J. Yoder
    Feb 11 at 20:54













  • @RyanJ.Yoder there is the extra logging information. That directory is empty. Thanks!

    – sogeking
    Feb 12 at 9:11


















0















I have a problem remove a snap package.



$ snap list
Name Version Rev Tracking Publisher Notes
canonical-livepatch 8.1.0 54 stable canonical✓ -
core 16-2.37.1 6350 stable canonical✓ core
gnome-3-26-1604 3.26.0 74 stable/… canonical✓ -
gnome-characters 3.30.0 139 stable/… canonical✓ -
gnome-logs 3.30.0 45 stable/… canonical✓ -
gnome-system-monitor 3.30.0 57 stable/… canonical✓ -
gtk-common-themes 0.1-4-g88bc1b2 818 stable/… canonical✓ -
microk8s v1.13.1 354 stable canonical✓ desactivado,classic
slack 3.3.7 11 stable slack✓ classic


If I want to remove microk8s, I get the following message



$ sudo snap remove microk8s
[sudo] contraseña para sogeking:
error: cannot perform the following tasks:
- Eliminar datos para el snap "microk8s" (354) (remove /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a: operation not permitted)


Other packages are not locked like this one. What can I do? Thanks.



EDIT: adding extra output



$ snap logs microk8s
error: cannot communicate with server: Get http://localhost/v2/logs?n=10&names=microk8s: dial unix /run/snapd.socket: connect: connection refused
$ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a
total 0
$ snap services
Service Startup Current Notes
canonical-livepatch.canonical-livepatchd activado activo -
microk8s.daemon-apiserver desactivado inactivo -
microk8s.daemon-apiserver-kicker desactivado inactivo -
microk8s.daemon-controller-manager desactivado inactivo -
microk8s.daemon-docker desactivado inactivo -
microk8s.daemon-etcd desactivado inactivo -
microk8s.daemon-kubelet desactivado inactivo -
microk8s.daemon-proxy desactivado inactivo -
microk8s.daemon-scheduler desactivado inactivo -









share|improve this question




















  • 1





    Can you run and add the output? $ snap logs microk8s (Sorry the formatting is a bit weird with comments. There are 3 separate commands here) $ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a $ snap services

    – Ryan J. Yoder
    Feb 11 at 20:54













  • @RyanJ.Yoder there is the extra logging information. That directory is empty. Thanks!

    – sogeking
    Feb 12 at 9:11














0












0








0








I have a problem remove a snap package.



$ snap list
Name Version Rev Tracking Publisher Notes
canonical-livepatch 8.1.0 54 stable canonical✓ -
core 16-2.37.1 6350 stable canonical✓ core
gnome-3-26-1604 3.26.0 74 stable/… canonical✓ -
gnome-characters 3.30.0 139 stable/… canonical✓ -
gnome-logs 3.30.0 45 stable/… canonical✓ -
gnome-system-monitor 3.30.0 57 stable/… canonical✓ -
gtk-common-themes 0.1-4-g88bc1b2 818 stable/… canonical✓ -
microk8s v1.13.1 354 stable canonical✓ desactivado,classic
slack 3.3.7 11 stable slack✓ classic


If I want to remove microk8s, I get the following message



$ sudo snap remove microk8s
[sudo] contraseña para sogeking:
error: cannot perform the following tasks:
- Eliminar datos para el snap "microk8s" (354) (remove /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a: operation not permitted)


Other packages are not locked like this one. What can I do? Thanks.



EDIT: adding extra output



$ snap logs microk8s
error: cannot communicate with server: Get http://localhost/v2/logs?n=10&names=microk8s: dial unix /run/snapd.socket: connect: connection refused
$ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a
total 0
$ snap services
Service Startup Current Notes
canonical-livepatch.canonical-livepatchd activado activo -
microk8s.daemon-apiserver desactivado inactivo -
microk8s.daemon-apiserver-kicker desactivado inactivo -
microk8s.daemon-controller-manager desactivado inactivo -
microk8s.daemon-docker desactivado inactivo -
microk8s.daemon-etcd desactivado inactivo -
microk8s.daemon-kubelet desactivado inactivo -
microk8s.daemon-proxy desactivado inactivo -
microk8s.daemon-scheduler desactivado inactivo -









share|improve this question
















I have a problem remove a snap package.



$ snap list
Name Version Rev Tracking Publisher Notes
canonical-livepatch 8.1.0 54 stable canonical✓ -
core 16-2.37.1 6350 stable canonical✓ core
gnome-3-26-1604 3.26.0 74 stable/… canonical✓ -
gnome-characters 3.30.0 139 stable/… canonical✓ -
gnome-logs 3.30.0 45 stable/… canonical✓ -
gnome-system-monitor 3.30.0 57 stable/… canonical✓ -
gtk-common-themes 0.1-4-g88bc1b2 818 stable/… canonical✓ -
microk8s v1.13.1 354 stable canonical✓ desactivado,classic
slack 3.3.7 11 stable slack✓ classic


If I want to remove microk8s, I get the following message



$ sudo snap remove microk8s
[sudo] contraseña para sogeking:
error: cannot perform the following tasks:
- Eliminar datos para el snap "microk8s" (354) (remove /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a: operation not permitted)


Other packages are not locked like this one. What can I do? Thanks.



EDIT: adding extra output



$ snap logs microk8s
error: cannot communicate with server: Get http://localhost/v2/logs?n=10&names=microk8s: dial unix /run/snapd.socket: connect: connection refused
$ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a
total 0
$ snap services
Service Startup Current Notes
canonical-livepatch.canonical-livepatchd activado activo -
microk8s.daemon-apiserver desactivado inactivo -
microk8s.daemon-apiserver-kicker desactivado inactivo -
microk8s.daemon-controller-manager desactivado inactivo -
microk8s.daemon-docker desactivado inactivo -
microk8s.daemon-etcd desactivado inactivo -
microk8s.daemon-kubelet desactivado inactivo -
microk8s.daemon-proxy desactivado inactivo -
microk8s.daemon-scheduler desactivado inactivo -






snap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 12 at 9:09







sogeking

















asked Feb 11 at 19:48









sogekingsogeking

1012




1012








  • 1





    Can you run and add the output? $ snap logs microk8s (Sorry the formatting is a bit weird with comments. There are 3 separate commands here) $ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a $ snap services

    – Ryan J. Yoder
    Feb 11 at 20:54













  • @RyanJ.Yoder there is the extra logging information. That directory is empty. Thanks!

    – sogeking
    Feb 12 at 9:11














  • 1





    Can you run and add the output? $ snap logs microk8s (Sorry the formatting is a bit weird with comments. There are 3 separate commands here) $ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a $ snap services

    – Ryan J. Yoder
    Feb 11 at 20:54













  • @RyanJ.Yoder there is the extra logging information. That directory is empty. Thanks!

    – sogeking
    Feb 12 at 9:11








1




1





Can you run and add the output? $ snap logs microk8s (Sorry the formatting is a bit weird with comments. There are 3 separate commands here) $ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a $ snap services

– Ryan J. Yoder
Feb 11 at 20:54







Can you run and add the output? $ snap logs microk8s (Sorry the formatting is a bit weird with comments. There are 3 separate commands here) $ sudo ls -l /var/snap/microk8s/common/var/lib/docker/btrfs/subvolumes/f04d46763b67891f310ff06bb39c280f5bae5584caa3fab1bfcf0de374aca88a $ snap services

– Ryan J. Yoder
Feb 11 at 20:54















@RyanJ.Yoder there is the extra logging information. That directory is empty. Thanks!

– sogeking
Feb 12 at 9:11





@RyanJ.Yoder there is the extra logging information. That directory is empty. Thanks!

– sogeking
Feb 12 at 9:11










0






active

oldest

votes












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117468%2fsnap-remove-operation-not-permitted%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117468%2fsnap-remove-operation-not-permitted%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅