I can't update dependencies and I can't recover from here? I tried many things to fix apt but still fails.
# 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:
linux-image-5.10.0-23-arm64
Suggested packages:
linux-doc-5.10 debian-kernel-handbook
The following packages will be upgraded:
linux-image-5.10.0-23-arm64
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/45.2 MB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n]
Reading changelogs... Done
dpkg: warning: files list file for package 'linux-image-5.10.0-23-arm64' missing; assuming package has no files currently installed
(Reading database ... 99560 files and directories currently installed.)
Preparing to unpack .../linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb ...
Unpacking linux-image-5.10.0-23-arm64 (5.10.179-3) over (5.10.179-1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb (--unpack):
unable to make backup link of './boot/System.map-5.10.0-23-arm64' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Furthermore,
# dpkg -i --force-overwrite /var/cache/apt/archives/linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb
dpkg: warning: files list file for package 'linux-image-5.10.0-23-arm64' missing; assuming package has no files currently installed
(Reading database ... 99560 files and directories currently installed.)
Preparing to unpack .../linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb ...
Unpacking linux-image-5.10.0-23-arm64 (5.10.179-3) over (5.10.179-1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb (--install):
unable to make backup link of './boot/System.map-5.10.0-23-arm64' before installing new version: Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-5.10.0-23-arm64_5.10.179-3_arm64.deb
I can't update dependencies and I can't recover from here? I tried many things to fix apt but still fails.
Furthermore,