[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get no X



shöck wrote:
What do i need to do in order to ensure that apt-get upgrade doesn't
upgrade X-Windows?  I have a fairly customized X-Windows set up, so I
usually upgrade X myself.

I've tried messing with dselect, but it's greek to me.  I know it's fairly
straightforward for 99% of planet earth, but it seems to be beyond me.

Thanks.


This URL discusses preventing apt-get from upgrading X-Windows using dselect:
http://rtfm.phpwebhosting.com/tips/2000/07/25/37.shtml

If you don't want to use dselect to put packages on hold, you could use 'dpkg --set-selections' to put packages on hold. To see how it is used, look at man dpkg, read sections for 'dpkg --get-selections' and 'dpkg --set-selections' and examples at bottom of the man page. Essentially, you make a file like:

package1    hold
package2    hold
package3 ...

and then pipe the file into 'dpkg --set-selections' as shown in man page examples.

Here is a script, dpkg-hold, that does this at the bottom of this URL:
http://www.debianplanet.org/debianplanet/article.php?sid=348

--
Jerome



Reply to: