SurlyJake Blog

Freebsd-update Fetch Interupted

| Comments

I lost power while freebsd-update fetch was downloading patches up to 8.0-Release-p3. When the server came back online, I ran a freebsd-update fetch again and it still found two files that needed updating. after running freebsd-update install, got this error:

# freebsd-update install
Installing updates...gunzip: (stdin): unexpected end of file
gunzip: (stdin): unexpected end of file

I guess a patch archive was corrupted. no problem though, just remove the download:

# rm -r /var/db/freebsd-update/files

now you can run

# freebsd-update fetch
Looking up mirrors... 3 mirrors found.
Fetching metadata signature for 8.0-RELEASE from done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 2 files... done.

The following files will be updated as part of updating to 8.0-RELEASE-p3:
# freebsd-update install
Installing updates... done.

no problems