Cannot update after install

Questions about the installation of FreeBSD
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Cannot update after install

Post by lsitongia »

Just did a fresh install. uname says it is 13.0-STABLE. I recently downloaded it.

After the install, rebooted, check to see if updates were needed. There were over 500. While running the update, it errored out. There's no error at the end of the update.failed file, but it just stops on

[356/656] Extracting os-generic-userland-bin-21.10.22... done

When I try to install software, it says it needs to be upgraded.

Firefox core dumps, so the install is in bad shape. I did a reinstall of the OS, and then an update, and again it fails.

This is an old Intel NUC, dual-booting with Haiku-OS.

Thank you for your time and help.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Cannot update after install

Post by ericbsd »

How did you run the updates?
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Re: Cannot update after install

Post by lsitongia »

I ran Update Station.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Cannot update after install

Post by ericbsd »

What was the version of the ISO?

Could be that your disk is full?

zfs list would show you that.
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Re: Cannot update after install

Post by lsitongia »

Well, I didn't save the ISO I downloaded, I can't tell from the thumbdrive I created, and I can't see from running the installer. I'm going to start over with 21.10.16.
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Re: Cannot update after install

Post by lsitongia »

It crashed in the midst of copying files during the installation. (It's done this before.)

I'm going to try this one more time, then I'm going to try reinstalling using the entire disk, like I had it before.
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Re: Cannot update after install

Post by lsitongia »

Okay, it crashes all the time during update. Different place each time after an install. It had a 170G partition and now I gave it the whole disk. This last time, I could start a terminal and check the logs. I don't see anything amiss.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Cannot update after install

Post by ericbsd »

You can try:

Code: Select all

sudo pkg upgrade -f
You might see why it is failing.
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Re: Cannot update after install

Post by lsitongia »

Thank you. Here's what it says:
...
[88/567] Reinstalling perl5-5.32.1_1...
[88/567] Extracting perl5-5.32.1_1: 34%
pkg: Fail to extract /usr/local/lib/perl5/5.32/perl/man/man1/perltoc.1.gz from package: truncated input
[88/567] Extracting perl5-5.32.1_1: 100%
[lsitongia@nuc ~]$
lsitongia
Posts: 12
Joined: Fri Nov 02, 2018 2:40 pm

Re: Cannot update after install

Post by lsitongia »

BTW, disk space is
[lsitongia@nuc ~]$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 9.21G 204G 96K legacy
zroot/ROOT 9.10G 204G 96K legacy
zroot/ROOT/backup-2021-10-25-14-14 8K 204G 6.29G /
zroot/ROOT/backup-2021-10-25-14-34 8K 204G 7.45G /
zroot/ROOT/backup-2021-10-25-14-46 8K 204G 7.55G /
zroot/ROOT/default 9.10G 204G 7.65G /
zroot/tmp 140K 204G 140K /tmp
zroot/usr 113M 204G 96K /usr
zroot/usr/home 113M 204G 113M /usr/home
zroot/usr/ports 96K 204G 96K /usr/ports
zroot/usr/src 96K 204G 96K /usr/src
zroot/var 480K 204G 96K /var
zroot/var/audit 96K 204G 96K /var/audit
zroot/var/crash 96K 204G 96K /var/crash
zroot/var/mail 96K 204G 96K /var/mail
zroot/var/tmp 96K 204G 96K /var/tmp
Post Reply