You are not logged in.
Pages: 1
Is there something like gentoo's etc-update or merge master in BSD (I think) to update files. Do you guys just go through each of these and redo them and over write the old ones? Some of them don't look any different.
Anyway what is the right way of taking care of the messages below:
upgrading filesystem...
warning: extracting /etc/fstab as /etc/fstab.pacnew
warning: extracting /etc/group as /etc/group.pacnew
warning: extracting /etc/passwd as /etc/passwd.pacnew
warning: extracting /etc/shadow as /etc/shadow.pacnew
warning: extracting /etc/ld.so.conf as /etc/ld.so.conf.pacnew
done.
upgrading gcc... done.
upgrading graphviz... done.
upgrading initscripts...
warning: extracting /etc/rc.local as /etc/rc.local.pacnew
warning: extracting /etc/rc.conf as /etc/rc.conf.pacnew
done.
As always - Thanks
McRae
Offline
diff -u file1 file2
I am a gated community.
Offline
yeah, i usually do diff file1 file2...and usually followed by a rm *pacnew
Offline
I use meld to compare the existing and .pacnew files. I prefer having each file opened side by side with the differences highlighted. I've used kdiff in the past.
Offline
sudo vimdiff whatever.conf whatever.conf.pacnew
and then I just do the difference merging by hand on the file in the left pane. gvimdiff is just as helpful.
Offline
Try the dotpac utility.
HERE
Offline
Offline
diff -u file1 file2 I'll look at the man pages for diff. I'm still not sure I understand how this works but thanks for the advice.
McRae
Offline
sudo vimdiff whatever.conf whatever.conf.pacnew
and then I just do the difference merging by hand on the file in the left pane. gvimdiff is just as helpful.
seconded. vimdiff makes all these automerge utilities obsolete.
Offline
hmmm..
vimdiff looks cool but I don't know vi - I'm a nano guy hehe But, I've had this vim for idiots print out for a while....there must be a reason so many people like vim;)
dotpac - very handy! I did this with 9 files and it was a snap. Neat tool Thanks!!
McRae
Offline
Question on dotpac.
When I went through my files I ended just getting rid of about 9 pacnew files because they were identical. However, they are still there.......I'm I doing something wrong? It ask what you would like to do and I give an answer. while going through them I notice the list stays the same. In other words if you start with 9 files and you go through them the 9 files stay.
Is that question clear as mud?
McRae
Offline
Question on dotpac.
When I went through my files I ended just getting rid of about 9 pacnew files because they were identical. However, they are still there.......I'm I doing something wrong? It ask what you would like to do and I give an answer. while going through them I notice the list stays the same. In other words if you start with 9 files and you go through them the 9 files stay.Is that question clear as mud?
McRae
Are you running dotpac as root or as a normal user?
Offline
I did it on my desktop and laptop last night...........hmmmmm I can't remember if I was root or not. Once again, I'm going to feel very stupid if that's it .....sheesh.
Paul2lv I'll do it tonight but what you're saying makes perfect sense and I feel sure you're right. It's always the obvious isn't it :oops:
Thanks Again folks,
McRae
PS. I AM going to get comfortable with vim. My first project is going to be diffnano........lol.
Offline
Yep. I didn't run it as root............I'll done now:)
Thanks.
McRae
Offline
Pages: 1