request for port peg command, to lock down a port at the currently installed version

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Mar 6 15:16:21 UTC 2018


Oh man, if this exists and I didn't know about it, wouldn't that be something. If that's the case, many don't know about it, based on the innumerable tickets and issues that are raised by this.

How do you use --no-upgrade, exactly?

Ken


On 2018-03-06, at 7:10 AM, G Alexander wrote:

> 
> isnt this the same as --no-upgrade?
> 
>> On Mar 6, 2018, at 06:50, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
>> 
>> It is fairly common for users to find an update to a port that won't build on their system for some reason.
>> 
>> It would be nice to have a simple command, like 
>> 
>> port peg PORTNAME
>> 
>> that stops the port from attempting to update until the peg is released. Such a command does exist in other package mgmt systems.
>> 
>> This can be done manually with a local repo, but it is a bit of a PITA to do that for casual users.
>> 
>> Perhaps MacPorts could have a built-in local repo, and "port peg PORTNAME" would copy the current portfile out of the installed registry in there. That sounds pretty easy to do.
>> 
>> Perhaps there is some easy way to keep a list of ports that are ignored for port upgrade outdated.
>> 
>> 
>> Best,
>> 
>> Ken



More information about the macports-users mailing list