HOLD_PKGS not working?

Dave Byrne dave-lists at glynjones.com
Tue Aug 19 15:26:57 PDT 2003


I got some ideas from pkg_glob(1) and tried:

 HOLD_PKGS = [
    '*linux*',
    'bsdpan-*',
    'jdk*',
  ]

-and-

 HOLD_PKGS = [
    'java/linux-sun-jdk*'
    'emulators/linux_base*',
    'bsdpan-*',
    'jdk*',
  ]

-and-

HOLD_PKGS = [
    'java/linux-sun-jdk',
    'emulators/linux_base',
    'bsdpan-*',
    'jdk*',
  ]

However none of the above are masking linux_base and linux-sun-jdk from
portversion.

any other ideas?

Thanks
Dave



----- Original Message ----- 
From: "Michael Edenfield" <kutulu at kutulu.org>
To: "Dave Byrne" <dave-lists at glynjones.com>
Cc: <freebsd-ports at freebsd.org>
Sent: Tuesday, August 19, 2003 3:14 PM
Subject: Re: HOLD_PKGS not working?

>* Dave Byrne <dave-lists at glynjones.com> [030819 18:06]:
>> I am trying to disable portupgrade from trying to upgrade my linux ports
>> (linux-base and linux-sun-jdk) by adding it to pkgtools.conf but it seems
to
>> not be working.
>
>>   HOLD_PKGS = [
>>     'bsdpan-*',
>>     'jdk*',
>>     'linux-sun-jdk',
>>     'linux_base'
>>   ]
>
>I beleive you need either a package name *or* a port origin.  That
>means you should be using either 'linux_base*' or
>'emulators/linux_base' here.
>
>--Mike




More information about the freebsd-ports mailing list