missing folders and conf

This forum is for general chat between members about Mageia.

Technical questions are supposed to be posted in support forums. Not here !

missing folders and conf

Postby PietroTux88 » Nov 6th, '11, 13:15

i have delet the folders /etc/modprobe.d/ with all files and the file to /etc/modprobe.conf and the module-init-tools to /lib/module-init-tools with all files and the folder /etc/modprobe.d.preload
Eat a piece of bread and after you're gone suddenly become a skeleton
User avatar
PietroTux88
 
Posts: 202
Joined: Mar 31st, '11, 09:43

Re: missing folders and conf

Postby doktor5000 » Nov 6th, '11, 15:23

Yes, when you have deleted them they are surely missing.

Where's your question/problem?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18225
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: missing folders and conf

Postby PietroTux88 » Nov 6th, '11, 17:05

how can i regenerate them?
Eat a piece of bread and after you're gone suddenly become a skeleton
User avatar
PietroTux88
 
Posts: 202
Joined: Mar 31st, '11, 09:43

Re: missing folders and conf

Postby ghmitch » Nov 6th, '11, 22:56

To regenerate them precisely is impossible because they are configuration files that may be edited via different programs or even manually. But to get the basic structure back:

1) From console as root, forcefully remove the remains of the module-init-tools package (since you have already destroyed the configuration files)

# rpm -e --nodeps module-init-tools

2) From Sofware Manager find 'module-init-tools' package and reinstall

3) NEVER EVER delete system files as root user! If you *think* you need to get rid of a system file to test something, ALWAYS AT LEAST MOVE THEM to your home directory, NEVER just delete them. That way, if you later change your mind, you can move them back to where they came from.

It might be a good idea to do "rpm -Va" from root as well and see what that turns up.

- George
ghmitch
 
Posts: 325
Joined: Mar 30th, '11, 03:05
Location: Eureka California USA


Return to General discussions about Mageia

Who is online

Users browsing this forum: No registered users and 1 guest