Page MenuHomeDevCentral

On FreeBSD 13.2, portsnap fetch refuses to work in non interactive mode
Closed, ResolvedPublic

Description

----------
          ID: /usr/ports
    Function: cmd.run
        Name: portsnap fetch extract
      Result: False
     Comment: Command "portsnap fetch extract" run
     Started: 20:39:50.885022
    Duration: 662.292 ms
     Changes:
              ----------
              pid:
                  1338
              retcode:
                  1
              stderr:
              stdout:
                  portsnap fetch should not be run non-interactively.
                  Run portsnap cron instead

Event Timeline

dereckson triaged this task as High priority.May 12 2023, 20:39
dereckson created this task.
dereckson moved this task from Backlog to Bug and issues on the Salt board.

According recent portsnap man:

     --interactive
		  override auto-detection of calling process.  Only use	this
		  when calling portsnap	from an	interactive, non-terminal
		  application. (Cron jobs are particularly bad since they
		  cause	load spikes on the Portsnap mirrors.)