Upgrade to Proxmox 7 failed

taich

Active Member
Aug 15, 2020
117
20
38
65
I have a Proxmox 6.4. I followed the instructions of how to upgrade but after apt dist-upgrade I get this error.
How can I fix this?

Code:
root@pve:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  ncal
The following NEW packages will be installed:
  ncal
0 upgraded, 1 newly installed, 0 to remove and 184 not upgraded.
40 not fully installed or removed.
Need to get 0 B/30.1 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libc-bin (2.31-12) ...
Bus error
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path `/usr/lib/x86_64-linux-gnu' given more than once
ldconfig: Path `/lib/x86_64-linux-gnu' given more than once
ldconfig: Path `/usr/lib/x86_64-linux-gnu' given more than once
ldconfig: Path `/usr/lib' given more than once
/usr/local/lib:
/lib/x86_64-linux-gnu:
Bus error
dpkg: error processing package libc-bin (--configure):
 installed libc-bin package post-installation script subprocess returned error exit status 135
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
try with remove ldconfig-aux-cache:
rm /var/cache/ldconfig/aux-cache;/sbin/ldconfig
 
Last edited:
root@pve:~# apt install --reinstall libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
bsdmainutils : Depends: ncal but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
No nothing noticeable in syslog.
Now I did a fresh install with proxmox 7 iso and that worked.