Bonjour,
J'ai installé une 20.04 sur une VM Freebox (ARM64).
Jusque là, tout allait bien, et ce matin, en me loguant, elle m'indique que j'ai des mises à jour dispo.
Donc je lance tranquillement :
Et là, je sens que c'est mal barré :
Code : Sélectionner tout - Visualiser dans une fenêtre à part freebox@owncloud:~$ sudo apt update
Bon... Je tente un upgrade quand même :Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
WARNING:root:cannot read /var/lib/command-not-found/commands.db.metadata: 'utf-8' codec can't decode byte 0x8d in position 1: invalid start byte
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 26, in <module>
col.create(db)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 93, in create
self._fill_commands(con)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 127, in _fill_commands
self._parse_single_commands_file(con, fp)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 162, in _parse_single_commands_file
if not tagf.step():
apt_pkg.Error: E:Unable to parse package file (1)
Reading package lists... Done
W: http://ports.ubuntu.com/ubuntu-ports...cal/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports...tes/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports...rts/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file has an unsupported filetype.
W: http://ports.ubuntu.com/ubuntu-ports...ity/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file has an unsupported filetype.
E: Problem executing scripts APT::Update:ost-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi '
E: Sub-process returned an error code
Et là c'est le drame :
Code : Sélectionner tout - Visualiser dans une fenêtre à part freebox@owncloud:~$ sudo apt upgrade
Aïe...Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libicu63 python3-nacl python3-pymacaroons
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-phpdbg php7.4-readline
The following packages will be upgraded:
cloud-init cryptsetup cryptsetup-bin cryptsetup-initramfs cryptsetup-run libcap2 libcap2-bin libcryptsetup12 libncurses6 libncursesw6 libpam-cap libpython3.8 libpython3.8-minimal
libpython3.8-stdlib libreadline8 libsoup2.4-1 libtinfo6 libx11-6 libx11-data ncurses-base ncurses-bin ncurses-term php-imagick python3-distupgrade python3-distutils python3-gdbm
python3-lib2to3 python3-software-properties python3-urllib3 python3-zope.interface python3.8 python3.8-minimal readline-common software-properties-common ssh-import-id
ubuntu-advantage-tools ubuntu-release-upgrader-core xkb-data
38 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.6 MB of archives.
After this operation, 17.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libncurses6 arm64 6.2-0ubuntu2 [91.9 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libncursesw6 arm64 6.2-0ubuntu2 [120 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libtinfo6 arm64 6.2-0ubuntu2 [81.1 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ncurses-bin arm64 6.2-0ubuntu2 [167 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ncurses-base all 6.2-0ubuntu2 [18.7 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 php7.4-common arm64 7.4.3-4build1 [954 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 php7.4-json arm64 7.4.3-4build1 [17.9 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 php7.4-opcache arm64 7.4.3-4build1 [179 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 php7.4-readline arm64 7.4.3-4build1 [11.7 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 php7.4-cli arm64 7.4.3-4build1 [1296 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 php7.4-phpdbg arm64 7.4.3-4build1 [1333 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 php-imagick arm64 3.4.4-3ubuntu1 [88.8 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libpython3.8 arm64 3.8.2-1 [1489 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-lib2to3 all 3.8.0-1ubuntu1 [74.1 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-distutils all 3.8.0-1ubuntu1 [140 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3.8 arm64 3.8.2-1 [364 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libpython3.8-stdlib arm64 3.8.2-1 [1640 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3.8-minimal arm64 3.8.2-1 [1829 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libpython3.8-minimal arm64 3.8.2-1 [702 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 readline-common all 8.0-4 [53.5 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libreadline8 arm64 8.0-4 [123 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libcap2 arm64 1:2.32-1 [15.5 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libpam-cap arm64 1:2.32-1 [8280 B]
Get:24 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libcap2-bin arm64 1:2.32-1 [25.7 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libcryptsetup12 arm64 2:2.2.2-3ubuntu2 [166 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ubuntu-advantage-tools arm64 20.2.1~0ubuntu1 [47.3 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 xkb-data all 2.29-1 [349 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libx11-data all 2:1.6.9-2 [113 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libx11-6 arm64 2:1.6.9-2 [552 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ubuntu-release-upgrader-core all 1:20.04.13 [22.9 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-distupgrade all 1:20.04.13 [101 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-gdbm arm64 3.8.0-1ubuntu1 [12.7 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 cryptsetup-initramfs all 2:2.2.2-3ubuntu2 [24.1 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 cryptsetup-bin arm64 2:2.2.2-3ubuntu2 [113 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 cryptsetup arm64 2:2.2.2-3ubuntu2 [158 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 cryptsetup-run all 2:2.2.2-3ubuntu2 [5312 B]
Get:37 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 libsoup2.4-1 arm64 2.69.90-1 [244 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ncurses-term all 6.2-0ubuntu2 [249 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 software-properties-common all 0.98.7 [10.5 kB]
Get:40 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-software-properties all 0.98.7 [25.1 kB]
Get:41 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-urllib3 all 1.25.8-1 [88.5 kB]
Get:42 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 python3-zope.interface arm64 4.7.1-1 [84.6 kB]
Get:43 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 cloud-init all 20.1-5-g67c8e53c-0ubuntu1 [404 kB]
Get:44 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 ssh-import-id all 5.10-0ubuntu1 [10.0 kB]
Fetched 13.6 MB in 26s (526 kB/s)
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (you may need to install the Debconf::Log module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl /5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/aarch64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/ aarch64-linux-gnu/perl-base) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
(Reading database ... 79449 files and directories currently installed.)
Preparing to unpack .../libncurses6_6.2-0ubuntu2_arm64.deb ...
Unpacking libncurses6:arm64 (6.2-0ubuntu2) over (6.1+20191019-1ubuntu1) ...
Preparing to unpack .../libncursesw6_6.2-0ubuntu2_arm64.deb ...
Unpacking libncursesw6:arm64 (6.2-0ubuntu2) over (6.1+20191019-1ubuntu1) ...
Preparing to unpack .../libtinfo6_6.2-0ubuntu2_arm64.deb ...
Unpacking libtinfo6:arm64 (6.2-0ubuntu2) over (6.1+20191019-1ubuntu1) ...
Setting up libtinfo6:arm64 (6.2-0ubuntu2) ...
(Reading database ... 79449 files and directories currently installed.)
Preparing to unpack .../ncurses-bin_6.2-0ubuntu2_arm64.deb ...
Unpacking ncurses-bin (6.2-0ubuntu2) over (6.1+20191019-1ubuntu1) ...
Setting up ncurses-bin (6.2-0ubuntu2) ...
(Reading database ... 79449 files and directories currently installed.)
Preparing to unpack .../ncurses-base_6.2-0ubuntu2_all.deb ...
Unpacking ncurses-base (6.2-0ubuntu2) over (6.1+20191019-1ubuntu1) ...
dpkg: warning: ncurses-base: unable to stat config file '/etc/terminfo/README'
(= '/etc/terminfo/README'): Bad message
dpkg: error processing archive /var/cache/apt/archives/ncurses-base_6.2-0ubuntu2_all.deb (--unpack):
unable to stat './etc/terminfo/README' (which I was about to install): Bad message
Errors were encountered while processing:
/var/cache/apt/archives/ncurses-base_6.2-0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Et là depuis...
Hmpffreebox@owncloud:~$ sudo apt update
sudo: unable to initialize PAM: Critical error - immediate abort
freebox@owncloud:~$ sudo apt upgrade
sudo: unable to initialize PAM: Critical error - immediate abort
freebox@owncloud:~$ sudo shutdown -r now
sudo: unable to initialize PAM: Critical error - immediate abort
freebox@owncloud:~$ shutdown -r now
Failed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required.
Failed to open initctl fifo: Permission denied
Failed to talk to init daemon.
freebox@owncloud:~$ sudo shutdown -r now
sudo: unable to initialize PAM: Critical error - immediate abort
Partager