-
Notifications
You must be signed in to change notification settings - Fork 24
Purging and Reinstalling a Package
Michael DeGuzis edited this page Jun 15, 2017
·
3 revisions
Table of Contents generated with DocToc
To no fault but my own, sometimes a Libregeek package must be purged and reinstalled. Currently, the repository utilizes reprepro, which only allows 1 current package version at a time, per name. If, at any time, I used say, package_20160101+bsos1
and it is decided to follow the release tag or version in the code, as the base version (e.g. package_1.6+bsos1), this causes a problem. 20160101 is < 1.6, so this will be rejected by reprepro. A dummy package is a tricky affair, unless the package name changes or a new package is made for transitional purposes (the preferred method)
To do this, issue these commands, replacing "<package>" with the target package name.
sudo apt-get update
sudo apt-get purge <package>
sudo apt-get install <package>