set port not to upgrade

petr.2006 petr.2006 at centrum.cz
Tue Feb 14 15:52:22 UTC 2017


On gentoo I prefer to modify /etc/portage/package.mask
where I can specify packages' versions which I do not want to upgrade.

> On 14 Feb 2017, at 16:30, Ralph Seichter <macports-ml at seichter.de> wrote:
> 
> On 14.02.2017 16:12, Richard L. Hamilton wrote:
> 
>> Sure would be handy if one could optionally have ports that failed to
>> upgrade blacklisted (for that version only), so that “port upgrade”
>> could still do everything else.
> 
> Gentoo's "emerge" (https://wiki.gentoo.org/wiki/Portage#emerge) offers a
> useful combination of options to skip faulty packages when updating. If
> an update fails, calling
> 
> emerge --resume --skipfirst ...
> 
> will continue the last operation, passing over the problematic package.
> If "port upgrade" could be made to offer similar functionality, that
> would be helpful.
> 
> -Ralph



More information about the macports-users mailing list