View Full Version : [SOLVED] Excluding a package when dist-upgrade'ing
Koffeehaus
February 7th, 2011, 02:13 AM
Is there a way of excluding a software package when issuing the 'apt-get dist-upgrade' command? For example the newer 'pm-utils' packs are incompatible with my hardware and my laptop starts to glitch. What I do is I uninstall and replace the package every time I run 'sudo apt-get update && apt-get dist-upgrade'. Which is kind of annoying. I know that you can hide updates from the update manager, but what about the terminal? I'm sure there are codes like "dist-upgrade [except pm-utils]"
mörgæs
February 7th, 2011, 10:20 AM
I don't know for sure, since I never do dist-upgrade, but you could try this:
http://www.accessdataservices.com/blog/apt-get-hold-version/
Koffeehaus
February 7th, 2011, 06:15 PM
I don't know for sure, since I never do dist-upgrade, but you could try this:
http://www.accessdataservices.com/blog/apt-get-hold-version/
Excellent! Thanks Mörgæs, just what I was looking for!
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.