Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 20264  / 3 Years ago, tue, november 2, 2021, 12:17:37

Yesterday I trying to install a package with apt-get but I regret of installing this package, but every time I want to install a new package the apt-get trying to install that package again !



How I can cancel hold packages in apt-get ?


More From » apt

 Answers
5

You may not have removed the package correctly, or apt-get got interrupted while removing the package. First, I would suggest running the following to process pending operations:



apt-get -f install


Once this is done, use autoremove to make sure there is no garbage in the way:



apt-get autoremove


Then, remove your package completely:



apt-get remove --purge [package name]

[#23342] Wednesday, November 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oredoise

Total Points: 66
Total Questions: 116
Total Answers: 111

Location: Lebanon
Member since Sun, Aug 2, 2020
4 Years ago
;