[Bug 1826896] Re: do-release-upgrade fails after cosmic.tar.gz extraction on 18.04.2 LTS
Brian Murray
brian at ubuntu.com
Wed May 1 20:32:33 UTC 2019
I was able to recreate this by removing the /var/log/installer folder
and replacing it with a zero byte file.
bdmurray at clean-bionic-amd64:~$ sudo rm -fr /var/log/installer
[sudo] password for bdmurray:
bdmurray at clean-bionic-amd64:~$ sudo touch /var/log/installer
bdmurray at clean-bionic-amd64:~$ do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,243 kB]
Fetched 1,244 kB in 0s (0 B/s)
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg'
extracting 'cosmic.tar.gz'
can't load DistUpgradeViewText ([Errno 20] Not a directory: '/var/log/installer/media-info')
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
can't load DistUpgradeViewGtk3 ([Errno 20] Not a directory: '/var/log/installer/media-info')
can't load DistUpgradeViewKDE (No module named 'PyQt4')
can't load DistUpgradeViewText ([Errno 20] Not a directory: '/var/log/installer/media-info')
No view can be imported, aborting
Given that ubiquity creates the /var/log/installer folder and that I'm
unable to recreate this by just removing the folder I'm setting this to
a low priority.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => Low
** Summary changed:
- do-release-upgrade fails after cosmic.tar.gz extraction on 18.04.2 LTS
+ do-release-upgrade fails if /var/log/installer is a file
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1826896
Title:
do-release-upgrade fails if /var/log/installer is a file
Status in ubuntu-release-upgrader package in Ubuntu:
Triaged
Bug description:
I did allow normal installs, not only lts. but it always ends with the
same error
output of lsb_release -rd:
`root at play:~# lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04`
output of do-release-upgrade:
`root at play:~# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,243 kB]
Fetched 1,244 kB in 0s (0 B/s)
authenticate 'cosmic.tar.gz' against 'cosmic.tar.gz.gpg'
extracting 'cosmic.tar.gz'
can't load DistUpgradeViewText ([Errno 20] Not a directory: '/var/log/installer/media-info')
can't load DistUpgradeViewGtk3 (Namespace Vte not available)
can't load DistUpgradeViewKDE (No module named 'PyQt4')
can't load DistUpgradeViewText ([Errno 20] Not a directory: '/var/log/installer/media-info')
No view can be imported, aborting
`
I'm not sure what is going on, but I did have some DNS related issues
where resolv.conf was getting overwritten with the 127 address which
made apt, wget, ping stop working.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.31
ProcVersionSignature: Ubuntu 4.15.0-47.50-generic 4.15.18
Uname: Linux 4.15.0-47-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CrashDB: ubuntu
Date: Mon Apr 29 17:45:06 2019
PackageArchitecture: all
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to bionic on 2019-04-29 (0 days ago)
mtime.conffile..etc.update-manager.release-upgrades: 2019-04-29T00:55:40.078049
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1826896/+subscriptions
More information about the foundations-bugs
mailing list