I have no clue what to do please help.. updating to 14.3 It put me in VI, what am I meant to change. ""the following file could not be merged automatically: /etc/group""
How do I fix this?
<<<<<<< current version <-- REMOVE
# $FreeBSD$ <-- REMOVE
# <-- REMOVE
wheel:*:0:root,user <-- KEEP!
======= <-- REMOVE
wheel:*:0:root <-- REMOVE
>>>>>>> 14.0-RELEASE <-- REMOVE
daemon:*:1:
kmem:*:2:
mailnull:*:26:
guest:*:31:
<<<<<<< current version <-- REMOVE
video:*:44:user,lightdm <-- KEEP!
======= <-- REMOVE
video:*:44: <--- REMOVE
realtime:*:47: <--- KEEP...
<<<<<<<< Name of one version here
The content of
the one version
========
The content of the
other version which
caused a conflict
>>>>>>>> Name of the other version
There's no need to learn vi on FreeBSD because ee is in the base system. I wouldn't recommend even trying, unless you plan to use a vi derived editor regularly. I learned the basics of vi once, but by the time I had cause to use it, I'd forgotten it all. ee is very basic, but it's intuitive enough that you can just pick it up and use it.To add to Beastie's excellent post: (a) You will need to know at least the basics of operating vi. It might be possible to switch to different editors, but since at least survival skills in vi are vital (pun!), you might as well get on that with.
Except for the (admittedly rare) case where EDITOR can't easily be set, or where it is ignored.Just set EDITOR to ee in the environment.
Except for the (admittedly rare) case where EDITOR can't easily be set, or where it is ignored.
I used to think the same thing. I was proud of the fact that I "didn't even know how to quit out of vi". And when installing and upgrading FreeBSD, I got stuck in vi a half dozen times. Enough so now I know how to be productive but really slow in it. If someone gave me the task of editing the photo at the top of this thread to be correct, using only vi, I would curse and complain, but get it done in 5 minutes. In emacs it would be 2 seconds.I've been using FreeBSD for about 20 year and I've never once needed vi, I think that's probably true of most home users. In my experience the need for vi is mostly to do with having to use other people's practices and systems. Broadly, if you don't need vi for employment, you probably don't need vi at all. The idea that everyone that uses FreeBSD will eventually need vi is just plain wrong.
I suppose it depends what you mean by learning the basics. Someone once advised me just to learn :q! and what esc does, and then use a crib sheet if vi is needed. However, I've had EDITOR set to ee in shell config for most of the last 20 years and I've never seen vi open unexpectedly.I used to think the same thing. I was proud of the fact that I "didn't even know how to quit out of vi". And when installing and upgrading FreeBSD, I got stuck in vi a half dozen times. Enough so now I know how to be productive but really slow in it. If someone gave me the task of editing the photo at the top of this thread to be correct, using only vi, I would curse and complain, but get it done in 5 minutes. In emacs it would be 2 seconds.
Note that I am a long time vi user but IMHO this shouldn't be required. etcupdate resolve should step you through each conflict and interactively allow you to pick the old or new part of each conflict, with an option to use an editor (and pick one in case EDITOR is not set).To add to Beastie's excellent post: (a) You will need to know at least the basics of operating vi. It might be possible to switch to different editors, but since at least survival skills in vi are vital (pun!), you might as well get on that with.