No way to assume yes for do-release-upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.
If you continue, an additional ssh daemon will be started at port
'1022'.
Do you want to continue?
Continue [yN] y
Starting additional sshd
To make recovery in case of failure easier, an additional sshd will
be started on port '1022'. If anything goes wrong with the running
ssh, you can still connect to the additional one.
If you run a firewall, you may need to temporarily open this port. As
this is potentially dangerous it's not done automatically. You can
open the port with e.g.:
'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'
To continue please press [ENTER]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://<mirrored local repo>/ubuntu focal InRelease
Hit http://<mirrored local repo>/ubuntu focal-updates InRelease
Hit http://<mirrored local repo>/ubuntu focal-security InRelease
Hit http://<mirrored local repo>/DeAdBCiUY
Hit http://<mirrored local repo>/pitchblack stable InRelease
Hit http://<mirrored local repo>/linux/
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
none
None
Updating repository information
No valid mirror found
While scanning your repository information no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.
Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here it will update all 'focal' to 'jammy' entries.
If you select 'No' the upgrade will cancel.
This is the task in Ansible:
- name: Run do-release-upgrade
ansible.
it just quits if I do that
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: update-manager-core (not installed)
ProcVersionSign
Uname: Linux 5.11.0-46-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed May 15 16:01:16 2024
InstallationDate: Installed on 2024-05-07 (8 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS amd64 "Focal Fossa" (20220309)
SourcePackage: update-manager
UpgradeStatus: Upgraded to focal on 2024-05-15 (0 days ago)
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Incomplete → New |
Seems to be a bug in ubuntu- release- upgrader, but I think apart from "it just quits if I do that" all the other words in the report are not yours, being either the program log or automatically collected information. Can you please give more context, explain what you were trying to to and how?