No space left on device during freebsd-update install (stage 1)

Patrick gibblertron at gmail.com
Sat Feb 1 23:20:16 UTC 2014


On Sat, Feb 1, 2014 at 2:58 PM, Benjamin Lee <ben at b1c1l1.com> wrote:

> On Sat, 1 Feb 2014 13:51:46 -0800, Patrick <gibblertron at gmail.com> wrote:
> > $ sudo freebsd-update install
> > Installing updates...
> > /: write failed, filesystem is full
> > install: ///boot/kernel/INS at 9Y2g: No space left on device
> >
> > Kernel updates have been installed.  Please reboot and run
> > "/usr/sbin/freebsd-update install" again to finish installing updates.
> >
> > I was just doing an update from FreeBSD 9.2 to 10, and my root partition
> > filled up on the first "install" stage (after running freebsd-update -r
> > 10.0-RELEASE upgrade). Is there a way I can redo that first
> "freebsd-update
> > install" step? I'm concerned that the files didn't get copied over fully,
> > and rebooting may leave me with a broken system.
> >
> > *checks man page*
> >
> > Okay, so looks like I'll be doing freebsd-update rollback and start over.
> > Seems like freebsd-update should detect an error like a write failed
> > though...
>
> You just need to install and boot into the new kernel before running
> 'freebsd-update install' again, e.g.:
>
> * make buildkernel installkernel
>
> OR
>
> * download and extract the appropriate release kernel.txz for your arch
>   (e.g. ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/)
>
> Once you finish the full upgrade you should delete your data directory
> (defaults to /var/db/freebsd-update) to avoid rolling back to an
> inconsistent state in the future.
>
>
> --
> Benjamin Lee
> http://www.b1c1l1.com/
>


Yeah, except that there was an error installing the new kernel, so it
seemed risky to reboot into a potentially incomplete kernel. I opted to use
the rollback command. That part seemed to go okay, but now when I try to
upgrade, I get:

Looking up update.FreeBSD.org mirrors... 5 mirrors found.

Fetching public key from update2.freebsd.org... done.

Fetching metadata signature for 9.2-RELEASE from update2.freebsd.org...
done.

Fetching metadata index... done.

Fetching 2 metadata files... done.

Inspecting system... done.


The following components of FreeBSD seem to be installed:

kernel/generic world/base world/games


The following components of FreeBSD do not seem to be installed:

src/src world/doc


Does this look reasonable (y/n)? y


Fetching metadata signature for 10.0-RELEASE from update2.freebsd.org...
done.

Fetching metadata index... done.

Fetching 1 metadata patches. done.

Applying metadata patches... done.

Fetching 1 metadata files... done.


The update metadata is correctly signed, but

failed an integrity check.

Cowardly refusing to proceed any further.


And replacing /var/db/freebsd-update with a clean directory doesn't make a
difference.


*sobs*


More information about the freebsd-questions mailing list