I have experienced the following today.
Has anyone else seen this? Any workarounds to getting openssh-server to install?
I have experienced the following today.
Has anyone else seen this? Any workarounds to getting openssh-server to install?
So, not incus. Appears to be repository issue for Ubuntu. If anyone else runs into this simply do the following.
apt purge openssh-client
Then openssh-server will install.
apt install openssh-server
I was just going to report this.
It isn’t a repository issue with Ubuntu, it is an image problem with images:ubuntu/24.04. They contain openssh-client version 1:9.6p1-3ubuntu13.7 but that version is only in the noble-proposed pocket. Since the apt sources list do not contain this pocket by default you cannot see the corresponding openssh-server package.
I checked using a VM with LXD installed and their ubuntu:noble image has openssh-client 9.6p1-3ubuntu13.5. It also has openssh-server at that level too. I assume that’s just a difference in choice of packages in the image.
rmadison output:
openssh | 1:9.6p1-3ubuntu13 | noble | source
openssh | 1:9.6p1-3ubuntu13.4 | noble-security | source
openssh | 1:9.6p1-3ubuntu13.7 | noble-proposed | source
That kind of stuff can happen when Ubuntu decides to rollback an update partway through.
You end up with openssh-client preinstalled as a newer version in the image, then openssh-server is the older version causing this issue.
Indeed not Incus specific, you could have hit that on any other Ubuntu system given the right timing.
Ah, ok. I wondered if that was a possibility. I wasn’t sure of the image build process for images:. I suppose it uses distrobuilder and pulls from the repositories?
Yep, exactly and we build those daily, so you probably pulled the image of the day which had a newer openssh at the time it was built, but something went wrong with it and was reverted in the repos afterwards, causing the issue.
https://launchpad.net/ubuntu/+source/openssh/+publishinghistory
That actually shows you that the package was pulled (deleted) from the updates repository.