Hi, Ok, thanks for for your responses.
MJ On 09/21/2016 04:46 PM, Matt Zagrabelny wrote: > On Wed, Sep 21, 2016 at 9:04 AM, Louis Munro <[email protected]> wrote: >> >> On Sep 21, 2016, at 4:56 AM, mj <[email protected]> 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 > EOF > > 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. > > -m > > ------------------------------------------------------------------------------ > _______________________________________________ > PacketFence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users > ------------------------------------------------------------------------------ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
