FreeBSD – Snapshot is corrupt when you update the ports tree

When you try to update your ports tree by running the command:

# portsnap fetch update

After some files you will get a error message:

snapshot is corrupt

This is probably due the fact that the portsnap fetch update command hasnt been executed for some time,
and that it needs to get a lot of updates.

The solution:
# rm /var/db/portsnap/tag && portsnap fetch extract

This will download a complete new ports tree.

2 thoughts on “FreeBSD – Snapshot is corrupt when you update the ports tree

  1. Gaspar Jach

    Hello! I know this is somewhat off topic but I was wondering
    if you knew where I could get a captcha plugin for my comment
    form? I’m using the same blog platform as yours and I’m having trouble finding one?
    Thanks a lot!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you a human? *