[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
[Expired for Ubuntu because there has been no activity for 60 days.] ** Changed in: ubuntu Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
No, I checked for that. The word "snap" does not appear in the apt* source code. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
The grep command doesn't yield any output. And I did purge snapd using aptitude when I uninstalled it. Anyway, I did purge it again with the command you gave, but the output was: cassiopeia:~# apt purge snapd Reading package lists... Done Building dependency tree Reading state information... Done Package 'snapd' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I did not reboot, and the snap message is still there. Couldn't this be built into apt-get upgrade? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
Thanks. Clearly there's a shell script somewhere running 'snap'... Please run this command to check those other files: grep -r snap /etc/apt/apt.conf.d and tell us if you get any results. Also, just to be sure, please purge snapd: sudo apt purge snapd and then reboot. That will remove any more such leftover config files. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
I've just rebooted, and now the output is even worse: cassiopeia:~# apt-get update && apt-get -u upgrade Ign:1 cdrom://Kubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease ... Fetched 23,9 MB in 5s (4.632 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Command 'snap' not found, but can be installed with: apt install snapd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
Just to make it clear: I did uninstall snapd, and any snapd packages I know of. Since I'm using Kubuntu, I only know of chromium-browser. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
Thanks for the suggestion, but my /etc/apt/apt.conf.d/ looks like: cassiopeia:~# ls /etc/apt/apt.conf.d/ 00aptitude01-vendor-ubuntu 50apt-file.conf60icons-hidpi 00trustcdrom 20auto-upgrades 50command-not-found60icons-large 01autoremove 20packagekit 50unattended-upgrades 60icons-large-hidpi 01autoremove-kernels 50appstream 60icons70debconf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
Maybe this file is the problem: /etc/apt/apt.conf.d/20snapd.conf If you have uninstalled snapd then it might be leftover, but it should be removed if you have uninstalled snapd already. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
This problem is 100% reproducible: cassiopeia:~# apt-get update && apt-get -u upgrade Ign:1 cdrom://Kubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease Hit:2 cdrom://Kubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release Hit:4 http://de.archive.ubuntu.com/ubuntu focal InRelease Hit:5 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. -bash: /usr/bin/snap: No such file or directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
Thanks but surprisingly those logs don't show the original problem. If you can reproduce the problem again then please attach the full output of the command where you saw: -bash: /usr/bin/snap: No such file or directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
I didn't install chromium-browser, and don't know of any other snapd packages on Kubuntu. But as requested, I attached the two files. ** Attachment added: "term.log" https://bugs.launchpad.net/ubuntu/+bug/1902352/+attachment/5433031/+files/term.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
The other file, as Launchpad has issues. ** Attachment added: "term.log.1.gz" https://bugs.launchpad.net/ubuntu/+bug/1902352/+attachment/5433032/+files/term.log.1.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
Please find out which deb package(s) are causing the problem. If you can't immediately see which ones have the problem then please attach the files: /var/log/apt/term.log* ** Package changed: snapd (Ubuntu) => ubuntu ** Changed in: ubuntu Status: Invalid => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
That's because you removed the command. To fix this you probably need to reinstall it: sudo apt install snapd Alternatively find out which debs are calling 'snap' and remove those debs. One example I can think of is the deb 'chromium-browser'. ** Tags added: focal ** Changed in: snapd (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"
** Package changed: snap (Ubuntu) => snapd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1902352 Title: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1902352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs