snapshot is corrupt

piotr

Well-Known Member
Hallo

Ich wollte ports tree auf freeBSD 5.4 updaten, aber bekomme folgende Fehlermeldung:
Code:
# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from Sun Apr  9 18:55:23 CEST 2006 to Mon Aug  7 10:15:30 CEST 2006.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 4 metadata files... done.
Fetching 6602 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240... done.
Applying patches... done.
Fetching 7639 new ports or files... /usr/local/sbin/portsnap: cannot open a97c3bc51765858500ec654f0c0070a85895791959d81aa63ba66d1feae73b39.gz: No such file or directory
snapshot is corrupt.
Wie kann ich das beheben ?

Piotr
 
Kommt vor. Einfach 2h warten, bis ein neuer Snapshot auf den Server geladen wird. Dann sollte es wieder gehen.
 
Yamagi schrieb:
Kommt vor. Einfach 2h warten, bis ein neuer Snapshot auf den Server geladen wird. Dann sollte es wieder gehen.

hilft leider nicht.

Code:
# portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from Sun Apr  9 18:55:23 CEST 2006 to Tue Aug  8 19:50:10 CEST 2006.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 4 metadata files... done.
Fetching 6652 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600....610....620....630....640....650....660....670....680....690....700....710....720....730....740....750....760....770....780....790....800....810....820....830....840....850....860....870....880....890....900....910....920....930....940....950....960....970....980....990....1000....1010....1020....1030....1040 done.
Applying patches... done.
Fetching 7343 new ports or files... /usr/local/sbin/portsnap: cannot open 23c5d08f0f88a6ca737a547e1c9129e565cf84ff9557a66476e11661150f85f1.gz: No such file or directory
snapshot is corrupt.
 
Zuletzt bearbeitet:
Ich habe etwa 3 Wochen lang portsnap benutzt. Da endete das Experiment in einem ähnlichen Desaster.

Ich bin jetzt wieder bei cvsup.
 
Ah, Klein-Yamagi hätte mal richtig lesen sollen!

Code:
Looking up portsnap.FreeBSD.org mirrors... none found.
Das liegt das Problem. Er kann den Snapshot gar nicht herunterladen, da er den Mirror nicht findet. Entweder kein korrekt konfiguriertes Inet auf der Box oder amoklaufende Firewall oder so...

So, ich stelle mich nun in die Ecke und schäme mich :(
 
Nein, das wird automatisch erzeugt. Das heißt mit deiner Netzwerkkonfiguration stimmt etwas nicht.
 
[LoN]Kamikaze schrieb:
Nein, das wird automatisch erzeugt. Das heißt mit deiner Netzwerkkonfiguration stimmt etwas nicht.

cvsup funktioniert aber nach wie vor tadellos,
verestehe nicht wieso portsnap nicht funktionieren sollte.

an neztwerkkonfigurationen wurde nichts geändert.

portsnap.FreeBSD.org kann ich anpingen,

braucht vielleicht portsnap andere ports, die ich bei der firewall aufmachen sollte ?
 
das habe schon gefunden, leider nicht schlauer geworden:

Code:
[B]# cat /usr/local/etc/portsnap.conf
[/B]
# $FreeBSD: src/etc/portsnap.conf,v 1.3 2006/01/18 03:40:57 cperciva Exp $

# Default directory where compressed snapshots are stored.
# WORKDIR=/usr/local/portsnap

# Default location of the ports tree (target for "update" and "extract").
# PORTSDIR=/usr/ports

# Server or server pool from which to fetch updates.  You can change
# this to point at a specific server if you want, but in most cases
# using a "nearby" server won't provide a measurable improvement in
# performance.
SERVERNAME=portsnap.FreeBSD.org

# Trusted keyprint.  Changing this is a Bad Idea unless you've received
# a PGP-signed email from <security-officer@FreeBSD.org> telling you to
# change it and explaining why.
KEYPRINT=8b5feee6d69f160e3dd0a2c8e469ddbd64f13f978f2f3bdde40c98633215c220

# Example of ignoring parts of the ports tree.  If you know that you
# absolutely will not need certain parts of the tree, this will save
# some bandwidth and disk space.  See the manual page for more details.
#
# WARNING: Working with an incomplete ports tree is not supported and
# can cause problems due to missing dependencies.  If you have REFUSE
# directives and experience problems, remove them and update your tree
# before asking for help on the mailing lists.
#
# REFUSE arabic chinese french german hebrew hungarian japanese
# REFUSE korean polish portuguese russian ukrainian vietnamese

soll ich bei:
Code:
SERVERNAME=portsnap.FreeBSD.org
den server ersetzen ?
wo finde ich eine liste mit den portsnap server ?
 
Code:
[...]
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
[...]
 
habe portsnap komplett deinstalliert und neu installiert von ports.

jetzt bekomme ich follgendes:
Code:
# portsnap fetch && portsnap update
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Wed Aug  9 12:51:32 CEST 2006 to Wed Aug  9 13:59:50 CEST 2006.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 11 patches.....10 done.
Applying patches... done.
Fetching 1 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
/usr/ports/MOVED
/usr/ports/Mk/bsd.sites.mk
/usr/ports/audio/cmus/
/usr/ports/converters/iconv/
/usr/ports/deskutils/gourmet/
/usr/ports/devel/bglibs/
/usr/ports/mail/t-prot/
/usr/ports/net/c3270/
/usr/ports/russian/Makefile
/usr/ports/sysutils/runit/
/usr/ports/www/Makefile
/usr/ports/www/xpi-imagezoom/
Building new INDEX files... done.

finde aber kein /var/db/portsnap
 
Zuletzt bearbeitet:
portsnap ist im base vorhanden.
Ah, 5.4, da wohl noch nicht, und ich weiss nicht ob das gemerged wurde, glaube aber kaum auf 5.4, eher 5.5 (wenn überhaupt).
Was sagt denn die manpage? Soll es ein /var/db/portsnap unter FBSD 5.4 geben?
 
asg schrieb:
portsnap ist im base vorhanden.
Ah, 5.4, da wohl noch nicht, und ich weiss nicht ob das gemerged wurde, glaube aber kaum auf 5.4, eher 5.5 (wenn überhaupt).
Was sagt denn die manpage? Soll es ein /var/db/portsnap unter FBSD 5.4 geben?
Note: If Portsnap is installed from the FreeBSD Ports Collection, then the default location for its compressed snapshot will be /usr/local/portsnap/ instead of /var/db/portsnap/.


interessanterweise finde nach dem update ethereal nicht mehr:
Code:
# whereis ethereal
ethereal: /usr/X11R6/bin/ethereal /usr/X11R6/man/man1/ethereal.1.gz

wurde aus den ports entfernt ?
 
Nur mal eine Frage (ohne Lösung):
piotr schrieb:
# cat /usr/local/etc/portsnap.conf
Laut Manpage ist diese Datei doch in: "/etc/portsnap.conf"?

piotr schrieb:
aber /var/db/portsnap existiert nach wie vor nicht.
Das ist zwar bei dir ein Kommentar. Aber:
piotr schrieb:
# Default directory where compressed snapshots are stored.
# WORKDIR=/usr/local/portsnap

Such doch einfach mal nach Verzeichnissen mit dem namen "portsnap":
Code:
find / -name "portsnap" -type d
 
piotr schrieb:
Note: If Portsnap is installed from the FreeBSD Ports Collection, then the default location for its compressed snapshot will be /usr/local/portsnap/ instead of /var/db/portsnap/.

interessanterweise finde nach dem update ethereal nicht mehr:
Code:
# whereis ethereal
ethereal: /usr/X11R6/bin/ethereal /usr/X11R6/man/man1/ethereal.1.gz

wurde aus den ports entfernt ?

ethereal wurde umbenannt und heisst nun wireshark
 
Zurück
Oben