[Bug 2065818] Re: No way to assume yes for do-release-upgrade
Nathan Teodosio
2065818 at bugs.launchpad.net
Thu May 16 13:55:58 UTC 2024
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2065818
Title:
No way to assume yes for do-release-upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
New
Status in update-manager package in Ubuntu:
Incomplete
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>/DeAdBCiUYInHcSTy/pcoip-client/deb/ubuntu focal InRelease
Hit http://<mirrored local repo>/pitchblack stable InRelease
Hit http://<mirrored local repo>/linux/chrome/deb stable InRelease
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.builtin.command: /usr/bin/do-release-upgrade -f DistUpgradeViewNonInteractive
it just quits if I do that
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: update-manager-core (not installed)
ProcVersionSignature: Ubuntu 5.11.0-46.51~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2065818/+subscriptions
More information about the foundations-bugs
mailing list