You are not logged in.
I was using 'mc' to delete a file, but after that, accidentally I deleted something [i didn't even see what it was]
Thank you
Last edited by spiralarrowz (2011-11-18 01:52:30)
Offline
I was using 'mc' to delete a file, but after that, accidentally I deleted something [i didn't even see what it was]
Thank you
The contents of /etc depends on what you have installed. Another user posting that up would not help you in the least.
Lacking backups (if you had some you probably would not have posted this) you could try re-installing all packages (or all packages which have files in /etc as shown by pacman -Ql). From how you've described the user error, its probably only one file, though?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
sudo pacman -S `pacman -Ql|grep etc|cut -f1 -d ' '|sort -u`; # to install all packages with /etc in it.
Offline
sudo pacman -S `pacman -Ql|grep etc|cut -f1 -d ' '|sort -u`; # to install all packages with /etc in it.
...would pick up a lot of false positives (fetch, netconsole, getcap, setcap, etc).
pacman -Ql | awk '$2 ~ /^\/etc/ { p[$1]++ } END { for (a in p) print a }'
But don't use that either... Better to use pacman -Qkq (as root to avoid false positives on read denied) to figure out what package is missing files in /etc.
Offline
Better to use pacman -Qkq (as root to avoid false positives on read denied) to figure out what package is missing files in /etc.
The master speaks . I had no idea that was even an option.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Better to use pacman -Qkq (as root to avoid false positives on read denied) to figure out what package is missing files in /etc.
I didn't know about that either. Just emailed it to myself for later review. Thanks.
I laugh, yet the joke is on me
Offline