Professional Documents
Culture Documents
The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages > [Solved] metadata
corrupt ?!
PDA
Hi,
I don't known what to do with this error :
# portsnap fetch update && portversion -l "<"
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap1.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Mon Dec 8 14:40:05 CET 2008 to Tue Dec 9 07:14:40 CET 2008.
Fetching 3 metadata patches.. done.
Applying metadata patches... done.
Fetching 3 metadata files... /usr/sbin/portsnap: cannot open ca3d1528c2ecc4e2241979fac3ee3ce28ea68f9db12150f8ad
3457929e69242d.gz: No such file or directory
metadata is corrupt.
Thanks for your help
artificer
Try deleting the /var/db/portsnap directory and running "portsnap fetch" again.
nORKy
I have the same issue, tried it with 4 different servers , same error. It still is amazing why this happened not to just one but 4
of my servers.
Anyways, deleting /var/db/portsnap and repopulating the ports tree helps.
thanks
ale
http://forums.freebsd.org/archive/index.php/t-901.html[15/12/2012 10:05:57 ]
# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from portsnap1.FreeBSD.org... done.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sun Jan 4 19:38:12 EST 2009:
916e4693ea4689b7598778ef6358f1c2705c84aeaf4a79100% of 55 MB 713 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... fetch: http://portsnap1.FreeBSD.org/t/ef1df878b5fba73256d50b9944b5fb8ee1e9d376fec917a60e
52af5e02a861b7: Not Found
sha256: ef1df878b5fba73256d50b9944b5fb8ee1e9d376fec917a60e 52af5e02a861b7: No such file or directory
[: !=: unexpected operator
mv: rename ef1df878b5fba73256d50b9944b5fb8ee1e9d376fec917a60e 52af5e02a861b7 to tINDEX.new: No such file or
directory
done.
grep: tINDEX.new: No such file or directory
look: tINDEX.new: No such file or directory
Portsnap metadata appears bogus.
Cowardly refusing to proceed any further.That's what is was talking about ;)
EDIT:
I run portsnap several times per day and this is the first error message I've gotCowardly refusing to downgrade from Mon Jan 5
18:36:54 CET 2009 to Mon Jan 5 14:06:34 CET 2009.
So I updated my clock with ntpdate and I got 5 Jan 20:39:17 ntpdate[62802]: step time server 193.204.114.105 offset
812.242543 secSo it was 812 secs behind!
Very strange!
ale
I have the very same error with tINDEX.new: No such file or directory. I have updated my time and still it gives the same
output. What should i do?
DutchDaemon
Had this on three different servers today. It must be a problem with the portsnap mirrors. In one instance, deleting
/var/db/portsnap and running portsnap fetch extract worked, but only after two tries (the first fetch extract produced the same
error).
ale
http://forums.freebsd.org/archive/index.php/t-901.html[15/12/2012 10:05:57 ]
It's not your bad. It's obviously a problem @FreeBSD. Or it was, it seems.
tangram
There's some talk on the mailing list about sub-par performance on portsnap servers because of the new 7.1.
It's just a matter of updating in a couple of days.
gammamatrix
http://forums.freebsd.org/archive/index.php/t-901.html[15/12/2012 10:05:57 ]
There's been a mail on stable saying that this is due to the strong traffic because of the 7.1 release (mirrors have trouble
synchronizing).
It will get better again by itself and a new mirror will be available, soon.
graudeejs
portsnap -I fetch
resoved my problems
gammamatrix
Just wait it out. I had same problem last night and a couple hours ago it worked fine again.
This does not have to do with 7.1. This is broken for me in 6.2 and 6.3 for several months.
Portsnap works on the server holding the jails, but not inside the jails.
gammamatrix
This does not have to do with 7.1. This is broken for me in 6.2 and 6.3 for several months.
Portsnap works on the server holding the jails, but not inside the jails.
To restate myself:
Portsnap is broken for me in jails for 6.2, 6.3, 7.0 and 7.1.
This problem has been around for me for quite some time.
francisloco
how i fix this?
i add to /etc/services
http 80/tcp www www-http # WorldWideWeb HTTP
http 80/udp www www-http # HyperText Transfer Protocol
https 443/tcp # MCom
http://forums.freebsd.org/archive/index.php/t-901.html[15/12/2012 10:05:57 ]
To restate myself:
Portsnap is broken for me in jails for 6.2, 6.3, 7.0 and 7.1.
All versions of FreeBSD use the same ports tree.
Great, now I've replied to a year old post x(
SirDice
i add to /etc/services
Those entries should already be there.
then portsnap work again,
Coincidence.
francisloco
cuz im in ezjail.
kriscom
http://forums.freebsd.org/archive/index.php/t-901.html[15/12/2012 10:05:57 ]
http://forums.freebsd.org/archive/index.php/t-901.html[15/12/2012 10:05:57 ]