Updating focal to groovy fails
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| update-manager-core (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Running `do-release-
```
apt_pkg.Error: E:Could not configure 'libc6:amd64'. , E:Could not perform immediate configuration on 'libnss-nis:amd64'. Please see man 5 apt.conf under APT::Immediate-
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
self.write(f)
File "/usr/lib/
block = f.read(1048576)
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
apt_pkg.Error: E:Could not configure 'libc6:amd64'. , E:Could not perform immediate configuration on 'libnss-nis:amd64'. Please see man 5 apt.conf under APT::Immediate-
Error in function: install
apt_pkg.Error: E:Could not perform immediate configuration on 'libffi8ubuntu1
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
self.write(f)
File "/usr/lib/
block = f.read(1048576)
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
apt_pkg.Error: E:Could not perform immediate configuration on 'libffi8ubuntu1
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Upgrade infeasible
The upgrade could not be completed, there were errors during the
upgrade process.
```
I tried adding an /etc/apt/
```
APT::Immediate-
```
which resulted in:
```
# do-release-upgrade
Traceback (most recent call last):
File "/usr/bin/
from UpdateManager.
File "/usr/lib/
import apt
File "/usr/lib/
apt_
apt_pkg.Error: E:Syntax error /etc/apt/
```
This was detected by someone during the beta, but it seems that no one took the time to fix it: https:/
| affects: | python-defaults (Ubuntu) → update-manager-core (Ubuntu) |

In case other people have this problem, I have been able to work around it by using the procedure given in the answer to this StackOverflow post: https:/ /askubuntu. com/questions/ 458201/ how-can- i-upgrade- ubuntu- to-newer- release- manually- without- using-update- manager