You are not logged in.
Dear Archers
Unable to merge .pacnew files, following the example on ArchWiki. Only, the difference between the two files shown
[root@KRISHNA san2ban]# #!/bin/bash
[root@KRISHNA san2ban]# # pacnew-update - merge *.pacnew files with original configurations with meld
[root@KRISHNA san2ban]#
[root@KRISHNA san2ban]# pacnew=$(find /etc -type f -name "*.pacnew")
[root@KRISHNA san2ban]#
[root@KRISHNA san2ban]# for config in $pacnew; do
> # Merge with meld
> gksu meld ${config%\.*} $config &
> wait
> done
[1] 1578
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: The connection is closed)
GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: The connection is closed)
Also, on the Archwiki, we are advised to change 'kdesu' to 'gksudo' for GNOME, but I think it should be gksu
Last edited by San2ban (2011-08-18 14:07:53)
Satyam eva jayate
Registered linux user #535257
Offline
Please, don't overuse the [ ins ] tag - remove it, as it doesn't help here.
Offline
Dear Karol
Sorry, did not use right command. Never meant to colour it
Satyam eva jayate
Registered linux user #535257
Offline
no wonder it doesn't work.
you are root when you try to run gksu
Give what you have. To someone, it may be better than you dare to think.
Offline
AFAIK meld doesn't work automatically, it's a nice graphical tool to help you pick which changes should be added to the old files: you just point and click.
Offline
Dear Karol
Thanks. yes, manual intervention is needed
Wonder how it will be without you guy's guiding us
Satyam eva jayate
Registered linux user #535257
Offline
Can you please edit your first post and remove the [ ins ] tags? My eyes hurt.
Use [ code ] tags when pasting snippets of code.
Last edited by karol (2011-08-18 14:05:21)
Offline
Done
Satyam eva jayate
Registered linux user #535257
Offline
Dear Karol
Thanks. yes, manual intervention is needed
Wonder how it will be without you guy's guiding us
You bet your ass, manual intervention is needed. If you try to blindly just merge *.pacnew with original files, it might lead to an unbootable system. Especially when you get pacnew files for /etc/group and /etc/inittab
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
San2ban, removed redundant url tags from your post for you.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Dear fsckd
Thanks, sorry about that
Satyam eva jayate
Registered linux user #535257
Offline