You are not logged in.

#1 2012-05-03 02:05:28

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

[SOLVED] I accidently deleted /usr/share/locale - should I be worried?

First of all, if this isn't the right forum, I'm sorry. I was looking and this one seemed the best fit.

I was looking for ways to lighten my Arch install, and accidentally deleted the entire contents of /usr/share/locale. Is this something I should be worried about?
locale-gen doesn't work, because it apparently requires a file in locales. 

Today I learned that one must be careful when one is using regex and rm...

Last edited by adamrehard (2012-05-03 02:20:58)


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

#2 2012-05-03 02:14:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] I accidently deleted /usr/share/locale - should I be worried?

At least some of that stuff, probably all of it, is from glibc. Reinstall that first with pacman's -S switch.

Offline

#3 2012-05-03 02:20:45

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

Re: [SOLVED] I accidently deleted /usr/share/locale - should I be worried?

That fixed it, thanks smile


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

#4 2012-05-03 02:29:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] I accidently deleted /usr/share/locale - should I be worried?

adamrehard wrote:

That fixed it, thanks smile

You're welcome.

It's always helpful to check the ownership of files before deleting things, which pacman provides. There may be ways around this one, but it really needs to be a compile time thing and not necessarily a randomly deleting files thing.

Offline

#5 2012-05-03 02:34:42

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

Re: [SOLVED] I accidently deleted /usr/share/locale - should I be worried?

I looked it up, and according to the people here, it shouldn't be a problem, provided you don't need those locales. I don't as far as I know. My problem was I wrote the regex wrong and accidentally deleted the english ones along with everything else. smile


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

Board footer

Powered by FluxBB