I want to execute an upgrade on my RaspBerry Pi 5, but I have this error :
# sudo apt-get upgrade :
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
bash : Depends: base-files (>= 2.1.12)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
# sudo apt --fix-broken install :
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
base-files
The following NEW packages will be installed:
base-files
0 upgraded, 1 newly installed, 0 to remove and 170 not upgraded.
Need to get 0 B/70.9 kB of archives.
After this operation, 349 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 150526 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u8_arm64.deb ...
Unpacking base-files (12.4+deb12u8) ...
dpkg: warning: base-files: unable to stat config file '/etc/dpkg/origins/debian'
(= '/etc/dpkg/origins/debian'): Bad message
dpkg: error processing archive /var/cache/apt/archives/base-files_12.4+deb12u8_arm64.deb (--unpack):
unable to stat './etc/dpkg/origins/debian' (which was about to be installed): Bad message
Errors were encountered while processing:
/var/cache/apt/archives/base-files_12.4+deb12u8_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for all
I just try to get the new version of base-files, but without success
New contributor
Tom is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1