>There is no specific handling in apt for this, so where are you seeing this?
Open konsole, and do an
sudo apt-get -s install snapd
SHOULD RESULT in
$ sudo apt-get install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package snapd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'snapd' has no installation candidate
It DOES for my 20.04 boxes, and the VM IMAGE for 22.04 which has not been touched with any updates since created... (we update that once in a VM) and it WAS PREVIOUSLY WORKING on this box, as I had just rebuilt it for 22.04 specifically.. went to do some testing with another program.. and had to cleanse the system before I could do the testing....
ON 22.04 it WILL INSTALL SNAPD!
I do NOT use "update manager"
>Is it possible you see this in a graphical update tool like update-manager?
This is *** CLI **** I do all updates via CLI for things... I do not do any auto updating ever.
I will occasionally use synaptic for GUI interface, when I need to search for something.... mostly to get package names, and the dump to the CLI to install.
I just tried this in my VM that I was testing with last night, and which was powered up, checked, powered down, and NO UPDATES were applied, and NOW IT IS PERMITTING snapd to be installed! Thankfully I didn't run with permission to complete (-s option!)
Testing with a 22.10 daily build ISO and it CORRECTLY BLOCKS things...
>There is no specific handling in apt for this, so where are you seeing this?
Open konsole, and do an
sudo apt-get -s install snapd
SHOULD RESULT in
$ sudo apt-get install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package snapd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'snapd' has no installation candidate
It DOES for my 20.04 boxes, and the VM IMAGE for 22.04 which has not been touched with any updates since created... (we update that once in a VM) and it WAS PREVIOUSLY WORKING on this box, as I had just rebuilt it for 22.04 specifically.. went to do some testing with another program.. and had to cleanse the system before I could do the testing....
ON 22.04 it WILL INSTALL SNAPD!
I do NOT use "update manager"
>Is it possible you see this in a graphical update tool like update-manager?
This is *** CLI **** I do all updates via CLI for things... I do not do any auto updating ever.
I will occasionally use synaptic for GUI interface, when I need to search for something.... mostly to get package names, and the dump to the CLI to install.
>What does apt-cache policy snapd say?
FOR 20.04 and it correctly blocked I get:
$ sudo apt-cache policy snapd 54.3+20. 04.1ubuntu0. 3 -10 us.archive. ubuntu. com/ubuntu focal-updates/main amd64 Packages 54.3+20. 04.1ubuntu0. 2 -10 security. ubuntu. com/ubuntu focal-security/main amd64 Packages
snapd:
Installed: (none)
Candidate: (none)
Version table:
2.
500 http://
2.
500 http://
ON *** 22.04 *** which has been updated yesterday:
$ sudo apt-cache policy snapd
snapd: us.archive. ubuntu. com/ubuntu jammy-updates/main amd64 Packages dpkg/status us.archive. ubuntu. com/ubuntu jammy/main amd64 Packages
Installed: (none)
Candidate: 2.55.5+22.04
Version table:
2.55.5+22.04 1 (phased 50%)
500 http://
100 /var/lib/
2.55.3+22.04 -10
500 http://
2.44.3+20.04 -10 us.archive. ubuntu. com/ubuntu focal/main amd64 Packages
500 http://
I just tried this in my VM that I was testing with last night, and which was powered up, checked, powered down, and NO UPDATES were applied, and NOW IT IS PERMITTING snapd to be installed! Thankfully I didn't run with permission to complete (-s option!)
Testing with a 22.10 daily build ISO and it CORRECTLY BLOCKS things...