do-release-upgrade fails if /var/log/installer is a file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I did allow normal installs, not only lts. but it always ends with the same error
output of lsb_release -rd:
`root@play:~# lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04`
output of do-release-upgrade:
`root@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/
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/
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-
ProcVersionSign
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
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: release-upgrade
UpgradeStatus: Upgraded to bionic on 2019-04-29 (0 days ago)
mtime.conffile.
Ok solved it
/var/log/installer was a file so I just removed it.
also installed python-qt4
now everything works