Stuck at freebsd-update fetch

I tried updating today and it says "The following files will be removed as a part of updating to 13.0-Release-p13"
And then a list of files.
It doesnt give me any options to continue though, at the end it just says [END} And I cant type anything

I havent updated this device in a few years, and it wont boot into the WM because I updated the files before the OS, and its no longer c ompatable it seems. I use ICEwm.

Please help
 
I should add, without the updated OS it says "kld i915kms.ko: depends on kernel - not available or version mismatch linker_load_file: /boot_modules/i915kms.ko - unsupported file type"
 
I tried updating today and it says "The following files will be removed as a part of updating to 13.0-Release-p13"
And then a list of files.
It doesnt give me any options to continue though, at the end it just says [END} And I cant type anything

I havent updated this device in a few years, and it wont boot into the WM because I updated the files before the OS, and its no longer c ompatable it seems. I use ICEwm.

Please help
You're in a pager (more/less), type q.
 
Ok thanks that worked to update it but I still get the same message when booting up. What do I need to do im lost.

I tried to upgrade again but when i did it it says no updates are available to install and that 13.0 is past its end of life
 
Ok thanks that worked to update it but I still get the same message when booting up. What do I need to do im lost.

I tried to upgrade again but when i did it it says no updates are available to install and that 13.0 is past its end of life
Take a look in the Handbook on the website, look for how to upgrade to a new MAJOR version of FreeBSD. It should get you to 14.x.
 
Take a look in the Handbook on the website, look for how to upgrade to a new MAJOR version of FreeBSD. It should get you to 14.x.
Im at this step "The merging process requires some user intervention as a file may be merged or an editor may appear on screen for a manual merge. The results of every successful merge will be shown to the user as the process continues. A failed or ignored merge will cause the process to abort."

How do I merge it or can I just ignore this. It put me in a VI editor

"the following file could not be merged automatically: /etc/group"
Also should I skip the "nextboot" thing as I dont believe I am using a "custom kernel"??
 
My poor friend, I was you a couple of years ago. I had the same questions. There are three things you need to be prepared for when upgrading FreeBSD:
  1. less will present you a bunch of binaries that are about to change and the installation will not continue until you quit by pressing q.
  2. Using vi as your editor. Some online vimtutor website helped me with that. Takes less than an hour.
  3. Mergemaster syntax
Regarding your "merge conflict", read and try to understand what has changed. Oftentimes only some header comments are changed, this is not critical at all. If you made manual pre-upgrade changes to important files such as sshd_config, then you do want to inspect closely which part is identified as merge conflict.

You drop into vi because of a merge conflict mostly for 2 reasons:
  • You customised some configuration file.
  • You are upgrading from a little too outdated FreeBSD version to the latest RELEASE available or a RELEASE too far away from what you are currently running. Your life will be easier of you don't skip too many minor FreeBSD versions, like 14.1 --> 14.3 is probably OK. Avoid skipping a full major version upgrade, e.g. 13.1 --> 15.0 will not make you happy (but smarter, if you troubleshoot your way out of the mess you probably encounter)
You resolve merge conflicts by removing the merge conflict markers. Use your brain or at least your intuition when you do that.
What are merge conflict markers? This: <<<<<, this: ======, and this: >>>>>

Example:
Code:
<<<
existing/old stuff in the file you have to edit using the vi editor. stuff that you may wish to keep, for example:
a highly customised sshd_config file or
a customised wheel group defined in /etc/group that not only has root but also your normal user as a member
====
new stuff, suggested by freebsd-update, usually removing your customisations
>>>>

To resolve the merge conflict, you not only have to remove any line that looks like this: <<<<<, this: ======, and this: >>>>>, you also have to make a decision if you want to keep the old or the new stuff (see example above). Do not keep both, new and old. If you don't know what to do, research what the file in question does and then make a choice. Write-quit vi the normal way when you are done with resolving the merge conflict and expect to manually resolve another one shortly after.
 
Back
Top