LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Keeping APT packages from being upgraded (https://www.linuxquestions.org/questions/linux-general-1/keeping-apt-packages-from-being-upgraded-169128/)

pilot1 04-12-2004 09:18 AM

Keeping APT packages from being upgraded
 
I'm using Fedora Core 1, with APT for RPM.
When I run apt-get dist-upgrade, I get the following output:
Code:

The following packages will be upgraded
  nvidia-glx (1.0.4620-0.lvn.18.1 => 1.0.5336-0.lvn.3.1)
  nvidia-glx-devel (1.0.4620-0.lvn.18.1 => 1.0.5336-0.lvn.3.1)
The following packages will be REMOVED:
  kernel-module-nvidia-2.4.22-1.2174.nptl#0:1.0.4620-0.lvn.18.1 (1.0.4620-0.lvn.18.1)
The following NEW packages will be installed:
  kernel-module-nvidia-2.4.22-1.2174.nptl#0:1.0.5336-0.lvn.3.1 (1.0.5336-0.lvn.3.1)

I don't want those packages to be upgraded, because the 4620 nvidia drivers run better than the 5336 nvidia drivers with my graphics card.
I've tried adding lines to /etc/apt/preferences to keep them from being upgraded, but nothing seems to work.

Can anyone either tell me what lines would work in /etc/apt/preferences, or tell me another way to keep those packages from being upgraded?


All times are GMT -5. The time now is 04:27 AM.