[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2021-01-15 Thread Launchpad Bug Tracker
[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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-16 Thread Daniel van Vugt
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-16 Thread ralphb
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 informa

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-15 Thread Daniel van Vugt
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-14 Thread ralphb
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-13 Thread ralphb
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:

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-13 Thread ralphb
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-11 Thread Daniel van Vugt
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 Ubunt

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-11 Thread ralphb
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-10 Thread Daniel van Vugt
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-10 Thread ralphb
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 beca

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-10 Thread ralphb
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.lau

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-01 Thread Daniel van Vugt
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 t

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-11-01 Thread Daniel van Vugt
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

[Bug 1902352] Re: apt-get -u upgrade yields "-bash: /usr/bin/snap: No such file or directory"

2020-10-31 Thread Dylan Aïssi
** 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 man