Solved Question about upgrade to 13.0-RELEASe

circus78

Well-Known Member

Reaction score: 9
Messages: 264

Hi, I was upgrading from 12.2-RELEASE to 13.0-RELEASE.
I ran:
freebsd-update upgrade -r 13.0-RELEASE

I got a couple of configuration files to merge, then the usual questions "Does this look reasonable?".

Now I get this:

Code:
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
look: INDEX-NEW: No such file or directory
comm: INDEX-NEW: No such file or directory
rm: modifiedfiles: No such file or directory
rm: INDEX-PRESENT: No such file or directory

No updates needed to update system to 13.0-RELEASE-p0.
touch: f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-install/kernelfirst: No such file or directory
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
root@server:~ # /usr/sbin/freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.

How should I proceed now?
Thank you
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,367
Messages: 38,901

How should I proceed now?
No, this doesn't look good. I don't know where but something went seriously wrong.

I'd redo the download, it seems things went wrong there. You can try something like freebsd-update upgrade -r 13.0-RELEASE --currently-running 12.2-RELEASE. You probably need that --currently-running 12.2-RELEASE because the upgrade was botched and it probably won't recognize it correctly any more.
 
OP
C

circus78

Well-Known Member

Reaction score: 9
Messages: 264

Hi SirDice, maybe I know the answer.
I started upgrade process yesterday; this morning, I wrote this post, but I have these crontabs that are scheduled during the night:

Code:
# package updates
15      4       *       *       *       root    pkg version -vqRL=
# base system
@daily                                  root    freebsd-update cron

could be relevant, in your opinion?
Thank you again.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,367
Messages: 38,901

could be relevant, in your opinion?
Yes, that freebsd-update cron messed things up. It downloaded patch updates for your currently installed 12.2-RELEASE, which messed up the upgrade downloads. Remove that, at least until you've completed the upgrade.

Then I'd remove everything in /var/db/freebsd-update/*, just to clean up everything, and restart the download process; freebsd-update -r 13.0-RELEASE upgrade.
 

astyle

Daemon

Reaction score: 488
Messages: 1,139

I know this is solved, but it looks like automating your ass off is not always a good idea - gotta make sure that each and every step works just right, and that takes time and effort.
 
Top