SOLVED Portsnap Corrupt In 11.3 Jail

Joined
May 2, 2017
Messages
211
Any ideas what could cause me to get a message that the snapshot is corrupt when I do a "portsnap fetch" command in a jail? How would I clear the existing ports and redownload if necessary?

Thanks!
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Just rm -rf /usr/ports/*, and then run portsnap fetch.
 
Joined
May 2, 2017
Messages
211
Worked like a charm, thanks! I shouldn't need to run the extract command, correct? Just "portsnap update" from here?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
I believe that is the case, if /usr/ports/ has the full tree.
 
Joined
May 2, 2017
Messages
211
Ran the update command and it seemed to complete without errors. Thanks for the help!
 
Top