portsnap fetch error

Trihexagonal

Son of Beastie

Reaction score: 2,356
Messages: 2,977

It's working fine for me. I've got another machine working to rebuild www/firefox-esr and this one waiting for the ftp/curl vulnerability update to hit ports.

Code:
root@bakemono:/ # portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from ipv4.aws.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Wed Apr 14 04:45:16 CDT 2021 to Wed Apr 14 15:54:39 CDT 2021.
Fetching 5 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 170 patches. 
(170/170) 100.00%  done.                                     
done.
Applying patches... 
done.
Fetching 2 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
*snip*
Building new INDEX files... done.
root@bakemono:/ #
 

diego

Member

Reaction score: 34
Messages: 93

Not good. I really need to use the ports tree.
While portsnap had problems I will remove "/usr/ports" and do a fresh installation via git (Port Collection)

Code:
# rm -rf /usr/ports/*
# git clone https://git.FreeBSD.org/ports.git /usr/ports
for updating port collection ....
Code:
# git -C /usr/ports pull

Waiting portsnap will be fixed soon ;)
 

vigole

Daemon

Reaction score: 1,562
Messages: 1,395

Fetching 5 metadata files... /usr/sbin/portsnap: cannot open bc296f38560f99bc3850120ee604754fe95618059f581c280573c208e7c28a89.gz: No such file or directory

"cannot open" -- mainly in Europe, was due to some load issue.

The reason:
Mirrors have expanded from one up to ten instances of m6g.medium, and mirrors are pulling from same Amazon EFS.

Why 10x mirrors:
Commits are removing $FreeBSD$ tags from ports.

Source:
Colin Percival (Security Officer Emeritus, FreeBSD/EC2 maintainer)
https://twitter.com/cperciva/status/1382491128537096193
 

athan

Member

Reaction score: 3
Messages: 21

As I said, portsnap seems to be working now though not in sync with cgit.freebsd.org/ports.
Last time portsnap local tree got an update was 26 hours ago although many ports have been updated since then.
 

ZFS_HBG

New Member

Reaction score: 1
Messages: 4

As I said, portsnap seems to be working now though not in sync with cgit.freebsd.org/ports.
Last time portsnap local tree got an update was 26 hours ago although many ports have been updated since then.
That is still happening:

Bash:
portsnap auto
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from ipv4.aws.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.
# date
Fri Apr 16 20:21:28 CEST 2021

So the port tree is not yet stable it seams.
 

tingo

Son of Beastie

Reaction score: 643
Messages: 2,549

Note that portsnap builds snapshots from the ports tree, at unspecified intervals (at least I could not find any info about it). Implied (by me): portsnap snapshots have a lower update rate than the commit rate for the ports repository.
 
Top