Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
invalid charset name in etc-update [Aggirato]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Aug 11, 2005 6:20 pm    Post subject: invalid charset name in etc-update [Aggirato] Reply with quote

ogni volta che do un etc-update e cerco di visualizzare i files da editare mi da un simpatico invalid charset name.

Esempio:
Code:
# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/init.d/acpid
/etc/init.d/._cfg0000_acpid
2) /etc/X11/gdm/gdm.conf
/etc/X11/gdm/._cfg0000_gdm.conf
Please select a file to edit by entering the corresponding number.
              (don't use -3 or -5 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i'): 1

invalid charset name
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
Please select from the menu above (-1 to ignore this update):


Uso ISO-8859-15 e non ho problemi con nient'altro.
Ho provato a cambiare codifica ma ho sempre lo stesso errore
_________________
[Vuoi guadagnare navigando?]


Last edited by ProT-0-TypE on Thu Aug 11, 2005 11:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Aug 11, 2005 10:26 pm    Post subject: Reply with quote

ho trovato l'errore. è questo var d'ambiente che incasina tutto:
Code:
$LESSCHARSET

il problema è che non trovo dove viene settata..
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Aug 11, 2005 10:42 pm    Post subject: Reply with quote

hai provato con
Code:
grep -R LESSCHARSET /etc

e
Code:
grep -R LESSCHARSET ~

:?:
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Aug 11, 2005 10:59 pm    Post subject: Reply with quote

niente, nemmeno così ho trovato dove viene settata.
Ho comunque aggirato il problema risettando la var (lasciandola nulla) in /etc/profile. Anche se mi piacerebbe sapere dove viene settata..
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Sat Aug 13, 2005 8:28 am    Post subject: Reply with quote

io quella l'ho dovuta settare in: ~/.bash_profile (ma si poteva anche fare in /etc/profile). è un settaggio per il comando less. qui: http://www.gentoo.org/doc/en/utf-8.xml#doc_chap3 trovi tutto.
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Sat Aug 13, 2005 9:39 am    Post subject: Reply with quote

ho controllato nei vari .bashrc bash_profile, e non veniva settata la.. e il problema non era come e dove settarla, ma dove veniva settata automaticamente!
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum