2019/05/05
Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
sh[nona@akashi ~]$ dpkg --get-selections | grep holddpkg: error: parsing file '/var/lib/dpkg/status' near line 11256 package 'bsdtar':multiple non-coinstallable package instances present; most probably due to an upgrade from an unofficial dpkg sudo cp /var/lib/dpkg/status{-old,}
dpkg --get-selections | grep hold
ReadyNAS OSのバージョンを上げると、libclamav7がholdされる影響でか、aptの依存関係が崩壊する。
これ直すの何度かやってる気がする。
本質的には ↑
sudo apt purge libclamav7 でなんとかしている……。sh[nona@akashi ~]$ sudo apt install -f aptReading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages were automatically installed and are no longer required: clamav-base libbind9-90 libdns100 libisc95 libisccc90 libisccfg90 liblwres90 libmspack0Use 'sudo apt autoremove' to remove them.Suggested packages: aptitude | synaptic | wajig apt-doc python-aptThe following packages will be upgraded: apt1 upgraded, 0 newly installed, 0 to remove and 53 not upgraded.Need to get 0 B/1,158 kB of archives.After this operation, 4,096 B of additional disk space will be used.debconf: delaying package configuration, since apt-utils is not installed(Reading database ... 33926 files and directories currently installed.)Preparing to unpack .../apt_1.2.29+netgear1_armel.deb ...Failed to stop apt-daily.timer: Unit apt-daily.timer not loaded.Failed to stop apt-daily-upgrade.timer: Unit apt-daily-upgrade.timer not loaded.dpkg: warning: subprocess old pre-removal script returned error exit status 5dpkg: trying script from the new package instead ...Failed to stop apt-daily.timer: Unit apt-daily.timer not loaded.Failed to stop apt-daily-upgrade.timer: Unit apt-daily-upgrade.timer not loaded.dpkg: error processing archive /var/cache/apt/archives/apt_1.2.29+netgear1_armel.deb (--unpack): subprocess new pre-removal script returned error exit status 5Processing triggers for libc-bin (2.19-18+deb8u10.netgear1) ...Errors were encountered while processing: /var/cache/apt/archives/apt_1.2.29+netgear1_armel.debE: Sub-process /usr/bin/dpkg returned an error code (1)なんかあたらしく出た……。