Download - [Solved] Cannot Portsnap Now [Archive] - The FreeBSD Forums

Transcript
  • [Solved] cannot portsnap now [Archive] - The FreeBSD Forums

    http://forums.freebsd.org/archive/index.php/t-29976.html[15/12/2012 10:05:50 ]

    sw2wolf

    UNIXgod

    sw2wolf

    SirDice

    mix_room

    DutchDaemon

    sw2wolf

    PDA

    The FreeBSD Forums > Base System > General > [Solved] cannot portsnap now

    View Full Version : [Solved] cannot portsnap now

    February 21st, 2012, 03:08

    >sudo portsnap fetch updatePassword:Looking up portsnap.hshh.org mirrors... 2 mirrors found.Fetching snapshot tag from portsnap2.hshh.org... done.Fetching snapshot metadata... done.Updating from Tue Dec 27 15:35:40 CST 2011 to Tue Feb 21 09:34:34 CST 2012.Fetching 4 metadata patches... done.Applying metadata patches... done.Fetching 4 metadata files... done.Fetching 67 patches.....10....20....30....40....50....60... done.Applying patches... done.Fetching 45 new ports or files... gunzip: (stdin): unexpected end of filesnapshot is corrupt.

    How can I fix such a problem?

    February 21st, 2012, 03:58

    Does this happen every time you use portsnap?

    February 21st, 2012, 08:09

    It is normal before. But today portsnap does not work!

    February 21st, 2012, 11:12

    Try running portsnap fetch again.

    February 21st, 2012, 11:13

    You could also try another mirror: http://www.daemonology.net/blog/2007-03-23-portsnap-mirrors.html

    February 22nd, 2012, 00:20

    Updating from Tue Dec 27 15:35:40 CST 2011 to Tue Feb 21 09:34:34 CST 2012.

    This will often go wrong. If you don't run portsnap at least once a week or a couple of times a month, catching up andintegrating thousands of patches will become error-prone. The best thing to do is the following:

    rm /var/db/portsnap/tag && portsnap fetch extract

    This will get you a clean and new ports tree at the expense of a download of ~70 MB. At least you'll be done faster thandownloading, unzipping, and integrating thousands of patches into an existing ports tree.

    February 22nd, 2012, 02:08

    Thanks for all your answer. I will portsnap extract as DutchDaemon suggests.

    vBulletin v3.8.7, Copyright 2000-2012, vBulletin Solutions, Inc.

    freebsd.org[Solved] cannot portsnap now [Archive] - The FreeBSD Forums