I'm upgrading my debian 11 to 12 version and I'm blocked with apt. Error:
parted: depends libparted2 (=3.4-1) but 3.5-3 will be installed (or "is installed" according to commands done) do apt --fix-broken install without package or give the solution
or similar my computer talks me in polish :)
apt --fix-broken install gives
dpkg-query: warning: no list of packages for parted - suppose no files installed
dpkg-mainscript-helper: error: directory '/usr/share/doc/parted contains files not owned by package 'parted:amd64', cannot switch to simlink
dpkg: error processing archive /var/cache/apt/archives/parted_3.5-3_amd64.deb (unpack)
Sub-process /usr/bin/dpkg returned an error code (1)
Can I just remove the parted[].deb archive to unblock this situation? Or have you other solution?
apt remove parted? oh, wait, you're half way through an upgrade? what have you done so far regarding upgrading to 12apt install --reinstall libparted2reinstalled the newer version. I wanted to force installing 3.4 version, but I haven't internet connection despite "eth0 [] state up". I feel like I'm good for a fresh install of bookworm...aptis blocked till I haven't the right version of libparted2 ?