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?

  • RandomChain@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    Maybe it still appears in /var/lib/dpkg/status? If it is, try deleting the entry from there.

    • 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.