Upgrading from ubuntu 23.10 to 24.04 I found a broken package: libfreerdp2-2. This package is not in var/lib/dpkg/info, but terminal insists it is. I’ve tried purging it, removing it, apt --fix-broken install, but it always goes back to Sub-process /usr/bin/dpkg returned an error code (1)
how do I fix this?
Maybe it still appears in
/var/lib/dpkg/status
? If it is, try deleting the entry from there.I’ve sometimes encountered error 1 when the extraction failed because the downloaded deb-archive was corrupted. Deleting the corresponding deb-file in
/var/cache/apt
helped in my case.