Bug 195879 - pkg update fails on fresh 10.1-RELEASE installation
Summary: pkg update fails on fresh 10.1-RELEASE installation
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 07:38 UTC by vamp898
Modified: 2014-12-15 19:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...