On Wed, Sep 21, 2016 at 9:04 AM, Louis Munro <lmu...@inverse.ca> wrote:
> On Sep 21, 2016, at 4:56 AM, mj <li...@merit.unu.edu> wrote:
> apt-get upgrade --enablerepo=packetfence packetfence
> Is that possible?
> Hi MJ,
> Comment out the PacketFence repository in the sources.

If you are leveraging the sources.list.d directory, you could rename
it to end in something other than .list.

> apt is less flexible than yum in that respect (more in others).

Depending on what you want from your system, you could also pin the package:

sudo -i
cat << EOF >> /etc/apt/preferences.d/300-packetfence
Package: packetfence
Pin: release n=*
Pin-Priority: -10

So that it doesn't get upgraded when you run: apt upgrade or apt-get
upgrade. The pinning would allow you to not modify the repository
source file.

I don't know if there is a (good?) way to alter the pinning on the
apt(-get) command line, though. A quick glance through the man pages
didn't yield anything.


PacketFence-users mailing list

Reply via email to