Bug 195879

Summary: pkg update fails on fresh 10.1-RELEASE installation
Product: Base System Reporter: vamp898
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Not A Bug    
Severity: Affects Only Me    
Priority: ---    
Version: 10.1-RELEASE   
Hardware: Any   
OS: Any   

Description vamp898 2014-12-11 07:38:46 UTC
Steps to reproduce

1. Download FreeBSD ISO
2. Check checksum
3. Burn ISO
4. Check checksum
5. Install FreeBSD from checksum checked DVD
6. login into fresh, clean installation
7. cd /usr/ports/ports-mgmt/pkg
8. make install
9. pkg update

Exptected Result:
Updating pkg repository

Actual Result:
# pkg update
Updating FreeBSD repository catalogue...
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version or wrong format
Fetching meta.txz:   0%
pkg: No signature found
pkg: repository FreeBSD has no meta file, using default settings
Fetching digests.txz: 100%    2 MB 129.1k/s    00:16    
Fetching packagesite.txz: 100%    5 MB 136.8k/s    00:39    
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version or wrong format
pkg: Unable to open created repository FreeBSD
pkg: Unable to update repository FreeBSD

Reproducable:
Always

Additional Informations:
# file /var/db/pkg/FreeBSD.meta
/var/db/pkg/FreeBSD.meta: empty
Comment 1 vamp898 2014-12-15 19:39:07 UTC
I somehow got the bad luck to get 2 borked Internet connection who destroyed the downloaded data. FreeBSD works absolutely fine on a third one...