do-release-upgrade is making problems hard to resolve
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am not an expert in Ubuntu, so I make mistakes. So, I have made a habit of capturing my interactions when I am doing superuser chores. I have a score or so of scripts that cover most things.. The all begin with TERM=dumb and run in a subshell with output piped through some formatting code and captured in a file.
This does not work with do-release-upgrade because
1. early on it fails complaining it needs the ability to clear screen. les How import is that? Really?
2. at some points, actual graphic windows are shown and interactions performed there.
Perhaps the current arrangement works for experts. Less so for us mere geeks (to be clear: I've been programming since 1962 (really), have used Unix or its variants since 1984, have used Linux since Caldera Network Desktop, have a PhD in computer science (from 2002) and spent the last decade of my career teaching that subject at Cal Poly, ending in 2010.)
This outburst was occasioned by my need to repair a system by restoring an old backup and upgrading it. In going from bionic to focal, I encountered two errors that I had to capture quickly, manually by copy-and-paste. I do not really understand either of them.
The first was short and somewhat contained:
Job for snapd.service failed because the control process exited with error code.
See "systemctl status snapd.service" and "journalctl -xe" for details.
snapd.failure.
snapd.snap-
Failed to restart snapd.mounts-
See system logs and 'systemctl status snapd.mounts-
The second was apparently unformatted or at least lacking newlines, and being unable to scroll the screen, I was only able to capture the end of it. I'm quite frustrated by not being at least able to see the entire message, but here's what I got:
dpkg: warning: package not in status nor available database at line 217: python-wstools:all
dpkg: warning: package not in status nor available database at line 222: qt4-qmake:amd64
dpkg: warning: package not in status nor available database at line 226: wine-stable:all
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-152-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
Date: Tue Jun 20 14:33:34 2023
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to focal on 2023-06-20 (0 days ago)
VarLogDistupgra
INFO:root:
INFO:root:No xorg.conf, exiting
The point: I'm hoping the use of graphic screens and clear screen can be eliminated, so that the interaction can be captured.
Failing that, I'm hoping that these two error messages can be cleaned up, and made to include enough information to understand what the issue is and what resolution(s) is/are possible.