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?

  • Successful_Try543@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    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.