Removing Debian Package From Registry

To remove a Debian package from package registry only leaving all files untouched, do the following:

  • Backup status file
    • cp  /var/lib/dpkg/status status
  • Find package you want to delete, and delete all lines
  • Ensure that pacakge is no longer visible by running
    • dpkg -l | grep <package-name>

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *