11d25 FreeBSD-8 and #portsnap fetch extract - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old May 6th, 2010, 09:38
tekinerdem tekinerdem is offline
Junior Member
 
Join Date: May 2010
Location: Turkiye
Posts: 4
Thanks: 5
Thanked 0 Times in 0 Posts
Unhappy FreeBSD-8 and #portsnap fetch extract

Hi,

FreeBSD-8 and portsnap fetch extract

Why portsnap command not running our servers? this is the error messages.
Code:
www# portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Thu May  6 04:23:41 EEST 2010:
Extracting snapshot... tar: Unrecognized archive format
tar: snap: Not found in archive
tar: Error exit delayed from previous errors.

Last edited by DutchDaemon; May 6th, 2010 at 15:36. Reason: added [code] tags
Reply With Quote
  #2  
Old May 6th, 2010, 10:14
ondra_knezour ondra_knezour is offline
Member
 
Join Date: Nov 2008
Location: Prague, Czech Republic, Europe
Posts: 221
Thanks: 10
Thanked 33 Times in 31 Posts
Default

Quote:
Originally Posted by tekinerdem View Post
Extracting snapshot... tar: Unrecognized archive format
Downloaded file is probably corrupted. I would empty /var/db/portsnap/files folder and try # portsnap fetch extract again.
Reply With Quote
The Following User Says Thank You to ondra_knezour For This Useful Post:
tekinerdem (May 6th, 2010)
  #3  
Old May 6th, 2010, 13:01
tekinerdem tekinerdem is offline
Junior Member
 
Join Date: May 2010
Location: Turkiye
Posts: 4
Thanks: 5
Thanked 0 Times in 0 Posts
Default seriously problem continie

same problem continusly

Code:
www# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Thu May  6 04:23:41 EEST 2010:
Extracting snapshot... tar: Unrecognized archive format
tar: snap: Not found in archive
tar: Error exit delayed from previous errors.

www# portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap2.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Thu May  6 04:23:41 EEST 2010:
Extracting snapshot... tar: Unrecognized archive format
tar: snap: Not found in archive
tar: Error exit delayed from previous errors.

Last edited by DutchDaemon; May 6th, 2010 at 15:38. Reason: added [code] tags again
Reply With Quote
  #4  
Old May 6th, 2010, 14:30
ondra_knezour ondra_knezour is offline
Member
 
Join Date: Nov 2008
Location: Prague, Czech Republic, Europe
Posts: 221
Thanks: 10
Thanked 33 Times in 31 Posts
Default

Maybe something wrong with your tar?

I would try to untar downloaded file by hand and additionally to download some different tared file and try untar it also as first easiest test.
Reply With Quote
The Following User Says Thank You to ondra_knezour For This Useful Post:
tekinerdem (May 6th, 2010)
  #5  
Old May 6th, 2010, 14:38
mfeldheim mfeldheim is offline
Junior Member
 
Join Date: Dec 2009
Location: Munich, Germany
Posts: 10
Thanks: 2
Thanked 2 Times in 2 Posts
Default

A full disk could be one reason that the snapshot.tgz is corrupted and tar fails reading it
Reply With Quote
The Following User Says Thank You to mfeldheim For This Useful Post:
tekinerdem (May 6th, 2010)
  #6  
Old May 6th, 2010, 14:44
mfeldheim mfeldheim is offline
Junior Member
 
Join Date: Dec 2009
Location: Munich, Germany
Posts: 10
Thanks: 2
Thanked 2 Times in 2 Posts
Default

check disk usage using "df -h"
using "portsclean -CDLP" may free a lot of space. It cleans up old distfiles, working directories, libraries and package tarballs

Code:
lb-002 ~ # head -n 1000 HTML-Parser-3.64.tar.gz > simulateFullDiskCorrupted.tar.gz
lb-002 ~ # tar -zxvf test.tar.gz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Reply With Quote
The Following User Says Thank You to mfeldheim For This Useful Post:
tekinerdem (May 6th, 2010)
  #7  
Old May 6th, 2010, 15:04
tekinerdem tekinerdem is offline
Junior Member
 
Join Date: May 2010
Location: Turkiye
Posts: 4
Thanks: 5
Thanked 0 Times in 0 Posts
Default

my disc info and still i can't fetch & extract

Code:
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/da0s1a    496M    174M    282M    38%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/da0s1e    496M     12K    456M     0%    /tmp
/dev/da0s1f     15G    131M     13G     1%    /usr
/dev/da0s1d    1.9G     59M    1.7G     3%    /var

Last edited by DutchDaemon; May 6th, 2010 at 15:38. Reason: added [code] tags again
Reply With Quote
  #8  
Old May 6th, 2010, 15:38
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,935
Thanks: 30
Thanked 1,931 Times in 1,351 Posts
Default

@tekinerdem
Post in the right forum -> Select the right forum for new threads
Format your posts -> Posting and Editing in the FreeBSD Forums
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
The Following User Says Thank You to DutchDaemon For This Useful Post:
tekinerdem (May 6th, 2010)
  #9  
Old May 6th, 2010, 23:13
tekinerdem tekinerdem is offline
Junior Member
 
Join Date: May 2010
Location: Turkiye
Posts: 4
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Thank you DutchDaemon for move my subject. But i can't solved portsnap error with below answers. How can i running portsnap fetch command.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
portsnap fetch Failed Temp Installation and Maintenance of FreeBSD Ports or Packages 9 February 12th, 2013 17:36
[Solved] portsnap fetch extract jus71n742 Installation and Maintenance of FreeBSD Ports or Packages 5 March 1st, 2010 21:30
[Solved] Any ideas how to extract data from tables like these? graudeejs Userland Programming & Scripting 11 January 6th, 2010 16:27
[Solved] Single file extract from a tar jaymax General 6 August 5th, 2009 18:36
Portsnap 'forgets' about FreeBSD 8? DutchDaemon Installation and Maintenance of FreeBSD Ports or Packages 14 July 27th, 2009 12:32


All times are GMT +1. The time now is 21:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0