Re: Idea of a Debian Mascot [Was: FW: Bits from the DPL: FTP assistants, marketing team, init scripts, elections]

2008-03-17 Thread Bogart Salzberg


On Mar 9, 2008, at 8:05 PM, Paul Johnson wrote:


On Wednesday 27 February 2008 06:06:37 pm Douglas A. Tutty wrote:

On Tue, Feb 26, 2008 at 09:41:24PM +0200, Andrei Popescu wrote:

- Forwarded message from Sam Hocevar <[EMAIL PROTECTED]> -

  I also would like to spend some Debian money on a contest,  
similar to
the FreeBSD logo contest [2], to create a friendly mascot for the  
Debian
project (in a similar way to the Linux penguin or the GNU gnu)  
that we

can use where the logo is not enough. More on this in a few days.


The Debian Swirl reminds me of some kind of worm or shellfish.

The Debian HookWorm?
The Debian RingWorm?  Digs into your Sole (Soul)?  Lord of the  
RingWorm?

The Debian Tapeworm?  Makes you hungry for more!

The Debian Krill?  (Eaten by Puffy?)


If it's a bear, I'd be happy to provide the live mascot for  
conventions if

someone picks up travel costs!



I would like to see a bear logo. Not a care bear, but something like a  
grizzly bear. I think the temperament of the grizzly suits Debian: it  
rules the world for a few months and then goes into hibernation. (I'm  
suggesting this is a good thing). It doesn't need to eat half its body  
weight every day, like a bird. i.e.: It doesn't lust after the latest  
and greatest "features" or obsess about its plumage.


So in the grizzly bear you have a creature that is soft and furry but  
can also rip your head off.


Bogart


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: diff between amd64 and ia64

2007-12-22 Thread Bogart Salzberg


On Dec 22, 2007, at 2:16 PM, Jose Luis Rivas Contreras wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Johnson wrote:

On Saturday December 22 2007 10:11:48 Sven Hoexter wrote:

On Sat, Dec 22, 2007 at 04:45:25PM +0100, abdelkader belahcene

wrote:

HI,
I have an AMD laptop,
 I downoloaded ia64  iso image , I thought it is the same,
I can't boot with the CD;
what is the difference between them?

It's a different architecture.
http://en.wikipedia.org/wiki/IA64
http://en.wikipedia.org/wiki/Amd64


After 13 years (HP partnered with Intel in 1994), I'm truly
shocked that anyone geek enough to want to self-install Linux
doesn't know the difference between ia64/Itanic and AMD64.


Well, I'm not shocked because of that, I'm shocked because she/he says
that'd have an _AMD_ laptop and didn't use the amd64 port
straightforward but ia64.


I think we ought to be encouraging of geekful aspirations rather than  
rolling our eyes. My 2 cents.


Oh yeah, "amd64".

Bogart


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

2007-12-17 Thread Bogart Salzberg


On Dec 16, 2007, at 2:29 PM, Jon D. Irish wrote:


Hi Mark,
Still no luck. I keep getting "The webpage cannot be found" errors.  
Is it possible that I am missing an Apache package? Here are my  
index,html and config files (if it would help).


Thanks,
Jon


Jon,

By "the webpage cannot be found", do you mean a "404 Not Found"  
response? What URL are you using to make the request? I ask this  
because it is important to ensure, first of all, that your request is  
actually being received by Apache. If it is, there should be an entry  
in both the access and error logs with information about the request,  
such as the path of the file that Apache believes you are requesting.  
Unless you have specified an alternate location, such as with the  
"ErrorLog" directive, then I think you will find the error log in / 
var/log/apache2.


HTH

Bogart



- Original Message 
From: Mark Grieveson <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Sent: Sunday, December 16, 2007 9:37:41 AM
Subject: Re: CGI Scripts, Apache 2.2.3, and Debian 4.0 R1

On Sun, 16 Dec 2007 08:05:04 + (UTC)
[EMAIL PROTECTED] wrote:



   AllowOverride None
   Options Indexes Includes FollowSymLinks
   Order deny,allow
   Deny from all
   Allow from 192.168.1


Neither of these has allowed my cgi scripts to run. Can someone
please tell me what I am doing wrong?
Sincerely,
Jon



Red Hat, and others, use /var/www/cgi-bin, as the directory.  I've
found, for Debian, that the correct directory is /usr/lib/cgi-bin/;  
so,

change  to:
.

When I ran a webserver, I also had the scriptalias stuff in the
file /etc/apache2/sites-available/default file.  I was running a
virtual host though; so, for yourself, the sites-available file may  
not

be important.

Mark


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]



   
__ 
__

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http:// 
mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: bash color aliases

2007-12-06 Thread Bogart Salzberg
Is ~/.bashrc only run automatically for non-login shells? I think it  
should be "sourced" in ~/.bash_profile so that it will run either  
way. e.g.:


source ~/.bashrc

Of course, also run the above command manually to ensure the .bashrc  
script works.


Bogart

On Dec 6, 2007, at 12:00 PM, Christian Ruffer wrote:


Hello Cassiano,

thats what I expected. I did logout and login a several times while  
trying, but nothing happend.


Is there a another place which overrights the /home/user/.bashrc ?

Christian

Cassiano Bertol Leal schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christian Ruffer wrote:

Hello,

can you please tell me how to set colors and aliases in my bash.
I read the docs and comments, which told me to add or uncomment the
lines in /home/user/.bashrc.
I did that, but the changes didn't take an effect.
For the root user it works when I change /root/.bashrc

How can I change the bash for a normal user?

best regards,
Christian
It actually *is* like that. The thing is that it will not work  
until the

next time you log in.
Cheers,
Cassiano Leal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHWALIq4Bz51JiUuERAsP8AJ9lbgXnrxVy4tPhdANJIK5lX3q+7ACfdCHM
el84xnVd11X/MsxB82P04yA=
=4N9D
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with  
a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Preferred Backup Method?

2007-12-04 Thread Bogart Salzberg


On Dec 4, 2007, at 4:09 PM, Michael Pobega wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What is d-u's preferred method of backups? Now that I'm running  
servers
on my system (Apache, MySQL, SSH, etc.) I need to find a good  
method of

backing up, because no matter how much security someone has things may
still go wrong.

So list your preferred methods of creating/restoring backups and the
pros and cons. Thanks!


I like Mondo for bare-metal restore (or cloning to identical  
hardware) and dirvish (an rsync wrapper) for archiving.




- --
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
 - Richard Stallman
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHVcH4g6qL2BGnx4QRAq7tAJ49KhZOQNCcjcsk0jqFHVa8DS4cmwCgiWXc
JyDyAiDY1HZ0d8n4xEY2tUM=
=ZBlN
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mount USB drive at boot: fsck failure

2007-12-04 Thread Bogart Salzberg


On Dec 4, 2007, at 11:48 AM, Ron Johnson wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/04/07 08:45, Bogart Salzberg wrote:
Running "lshw" on the box shows the motherboard as a Dell 0UW457,  
v. A03

with socket M2 and Nvidia GeForce 6150LE chipset. The BIOS version is
about a year old (12/09/2006, v. 1.1.4), so it could probably use an
upgrade.


That sounds like something that a BIOS upgrade would fix, since the
box doesn't "know" Linux during POST.

Actually, if you have any tips on upgrading the BIOS from within  
Linux,

give me a shout. Most of Dell's "solutions" for BIOS upgrade are
convoluted or Windows-centric. I was playing around with the  
libsmbios
utilities the other day. Perhaps there is something in there to  
help...


I've got a similar problem with a DOS-based upgrade app.  I'm going
to look to writing FreeDOS to a USB key.



I spent some research time on this today and found a Dell project  
called biosdisk:


http://linux.dell.com/projects.shtml

After installing biosdisk (from the Dell site) and experimenting, I  
was eventually able to update the BIOS by booting into a memdisk  
kernel with an initrd created by biosdisk.


Bogart


Thanks,

Bogart

On Dec 3, 2007, at 8:26 PM, Ron Johnson wrote:

On 12/03/07 18:56, Bogart Salzberg wrote:

Ron,

Interesting: when the USB drive is on, the box stalls during  
POST. It is
apparently some kind of deadlock, because when I power down the  
drive

POST completes immediately.


What motherboard?



- --
Ron Johnson, Jr.
Jefferson LA  USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHVYTmS9HxQb37XmcRAoc4AKC3BY3ZbS/KMsWlRSe8mMMoKwydUwCgnnhO
mVV8Km8o5FjX8YtAeeS/qZk=
=c0qI
-END PGP SIGNATURE-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mount USB drive at boot: fsck failure -> kernel upgrade

2007-12-04 Thread Bogart Salzberg
Would you personally use the kernel from "testing" on a production  
box? Is it really as simple as "apt-get upgrade linux-image" ->  
restart -> done? I've been cautious about using packages from  
testing, because they seem to depend on a lot of other packages from  
testing and I'm nervous about the snowball effect on a box that is  
supposed to be "stable".


Bogart

On Dec 3, 2007, at 8:28 PM, Ron Johnson wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/03/07 18:51, Bogart Salzberg wrote:

Ron,

I'm running the original Etch kernel on this machine, "Linux version
2.6.18-4-amd64 (Debian 2.6.18.dfsg.1-12)".


Upgrade to the latest kernel.  If for no other reason than you
shouldn't be running such an old kernel.

- --
Ron Johnson, Jr.
Jefferson LA  USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHVK0sS9HxQb37XmcRAkvfAJ99oeYn9nCRqHvTnzSNWTLZXPG/SQCeOyu/
hQkfynnyoIUYhO0bUcvAMxA=
=GjjC
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mount USB drive at boot: fsck failure

2007-12-04 Thread Bogart Salzberg
Running "lshw" on the box shows the motherboard as a Dell 0UW457, v.  
A03 with socket M2 and Nvidia GeForce 6150LE chipset. The BIOS  
version is about a year old (12/09/2006, v. 1.1.4), so it could  
probably use an upgrade.


Actually, if you have any tips on upgrading the BIOS from within  
Linux, give me a shout. Most of Dell's "solutions" for BIOS upgrade  
are convoluted or Windows-centric. I was playing around with the  
libsmbios utilities the other day. Perhaps there is something in  
there to help...


Thanks,

Bogart

On Dec 3, 2007, at 8:26 PM, Ron Johnson wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/03/07 18:56, Bogart Salzberg wrote:

Ron,

Interesting: when the USB drive is on, the box stalls during POST.  
It is

apparently some kind of deadlock, because when I power down the drive
POST completes immediately.


What motherboard?


- --
Ron Johnson, Jr.
Jefferson LA  USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHVKyvS9HxQb37XmcRAu/wAKDZrf+iCcCC7txXR47s2MIzdlNAmQCff96y
sVMWMyF06GrLGCQs8xXQANg=
=cSJk
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mount USB drive at boot: fsck failure

2007-12-03 Thread Bogart Salzberg

Ron,

Interesting: when the USB drive is on, the box stalls during POST. It  
is apparently some kind of deadlock, because when I power down the  
drive POST completes immediately.


Bogart

On Dec 3, 2007, at 5:50 PM, Ron Johnson wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/03/07 16:39, Bogart Salzberg wrote:

Dear Debian Users,

I partitioned and installed an ext3 filesystem on an external 250 GB
Western Digital USB 2.0 drive. It mounts OK manually and I can
read/write it. I added this line to /etc/fstab in order to mount the
drive at boot time:

/dev/sdc1   /archiveext3defaults0   3

Upon reboot, I got an error at the console re: fsck not finding a  
valid
filesystem. But when I exit the maintenance shell and continue  
booting,

the drive mounts as specified and "fsck /dev/sdc1" reports clean.

Are the USB drivers not loading in time? I tried changing the "pass"
value in column 6 of /etc/fstab to 0. This had the desired effect of
skipping the fsck checks, but the drive did not automount either.

Has anyone else out there encountered this problem with mounting USB
drives at boot?


Stock Debian binary kernel or home-rolled?


Also, does anyone have any hints for recovering all of the startup
console messages after boot? I get a lot out of "dmesg" and
"/var/log/kern.log", but some messages are missing. For example, the
fsck messages. Are they being wiped out by messages from higher/other
run levels?

Also, the box stalled during POST after reboot, which I found
remarkable. Is it possible the USB drive has introduced an interrupt
problem?


Well that's Bad.  Just one time?


Whoa, that's three issues in one message. ;-)



- --
Ron Johnson, Jr.
Jefferson LA  USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHVIhMS9HxQb37XmcRAmfSAJ9ouYCNDEqHi3wgEIWM8oE7QZPotACffF6W
T0FxZERsyDP+dNpwJvyF/gs=
=tyAH
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mount USB drive at boot: fsck failure

2007-12-03 Thread Bogart Salzberg

Ron,

I'm running the original Etch kernel on this machine, "Linux version  
2.6.18-4-amd64 (Debian 2.6.18.dfsg.1-12)".


The POST bomb did happen only once, so far. Another time it was  
slowed down significantly.


Thanks,

Bogart

On Dec 3, 2007, at 5:50 PM, Ron Johnson wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/03/07 16:39, Bogart Salzberg wrote:

Dear Debian Users,

I partitioned and installed an ext3 filesystem on an external 250 GB
Western Digital USB 2.0 drive. It mounts OK manually and I can
read/write it. I added this line to /etc/fstab in order to mount the
drive at boot time:

/dev/sdc1   /archiveext3defaults0   3

Upon reboot, I got an error at the console re: fsck not finding a  
valid
filesystem. But when I exit the maintenance shell and continue  
booting,

the drive mounts as specified and "fsck /dev/sdc1" reports clean.

Are the USB drivers not loading in time? I tried changing the "pass"
value in column 6 of /etc/fstab to 0. This had the desired effect of
skipping the fsck checks, but the drive did not automount either.

Has anyone else out there encountered this problem with mounting USB
drives at boot?


Stock Debian binary kernel or home-rolled?


Also, does anyone have any hints for recovering all of the startup
console messages after boot? I get a lot out of "dmesg" and
"/var/log/kern.log", but some messages are missing. For example, the
fsck messages. Are they being wiped out by messages from higher/other
run levels?

Also, the box stalled during POST after reboot, which I found
remarkable. Is it possible the USB drive has introduced an interrupt
problem?


Well that's Bad.  Just one time?


Whoa, that's three issues in one message. ;-)



- --
Ron Johnson, Jr.
Jefferson LA  USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHVIhMS9HxQb37XmcRAmfSAJ9ouYCNDEqHi3wgEIWM8oE7QZPotACffF6W
T0FxZERsyDP+dNpwJvyF/gs=
=tyAH
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




mount USB drive at boot: fsck failure

2007-12-03 Thread Bogart Salzberg

Dear Debian Users,

I partitioned and installed an ext3 filesystem on an external 250 GB  
Western Digital USB 2.0 drive. It mounts OK manually and I can read/ 
write it. I added this line to /etc/fstab in order to mount the drive  
at boot time:


/dev/sdc1   /archiveext3defaults0   3

Upon reboot, I got an error at the console re: fsck not finding a  
valid filesystem. But when I exit the maintenance shell and continue  
booting, the drive mounts as specified and "fsck /dev/sdc1" reports  
clean.


Are the USB drivers not loading in time? I tried changing the "pass"  
value in column 6 of /etc/fstab to 0. This had the desired effect of  
skipping the fsck checks, but the drive did not automount either.


Has anyone else out there encountered this problem with mounting USB  
drives at boot?


Also, does anyone have any hints for recovering all of the startup  
console messages after boot? I get a lot out of "dmesg" and "/var/log/ 
kern.log", but some messages are missing. For example, the fsck  
messages. Are they being wiped out by messages from higher/other run  
levels?


Also, the box stalled during POST after reboot, which I found  
remarkable. Is it possible the USB drive has introduced an interrupt  
problem?


Whoa, that's three issues in one message. ;-)

Thanks for your help with this.

A Debian user,

Bogart Salzberg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache and perl CGI

2007-12-03 Thread Bogart Salzberg
Perl has a "taint" mode (add switch "-T" to the command line or  
shebang line, as in "#!/usr/bin/perl -T"). The taint mode, I think,  
prevents user input from being used in unsafe operations until it is  
filtered by a regular expression.


Taint mode is not as comprehensive as PHP's safe mode. Type "perldoc  
perlsec" on the command line for a good tutorial on security in Perl.


Perl also does not have a built-in "mail" function.

For timing out an HTTP request, see Apache's "Timeout" directive.

HTH

Bogart

On Dec 2, 2007, at 5:03 PM, Misko wrote:


I am starting creating pages with perl and have some question.
I want to know if perl has something similar to PHPs safe mode.
Especialy if there are some limitation for how long script can run
(PHP has usually 30 second limit) and if perl can have disabled
some features (as fsocketopen() and mail() in PHP)?

Thanks,
Misko


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Broadcom 43xx Wireless Network Adapter

2007-11-16 Thread Bogart Salzberg
Though I much prefer Debian for the server platform, I have found  
Ubuntu "just works" in a very nice way on my laptop. I recently  
installed Ubuntu 7.10 on my Dell Inspiron 1501 laptop (with Broadcom  
43xx) and had wi-fi working with minimal fuss. The "restricted  
drivers manager" handled downloading and installing the Broadcom driver.


FMI: http://ubuntu1501.blogspot.com/

On Nov 16, 2007, at 1:32 AM, Scarletdown wrote:


I've been futiley attempting to get the onboard wireless working on my
laptop, and recently went through some instructions in a post over at
linuxquestions.org.  Despite going through the instructions step by
step, wireless still does not work, with either the onboard wireless
controller or the PCMCIA one I have for experimenting with. The on  
board

(eth1) shows in lspci as:

05:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
54g] 802.11g Wireless LAN Controller (rev 02)

The other one (eth2) is:

06:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller (rev 02)


ndiswrapper -l shows:

Installed ndis drivers:
wmp54gs driver present, hardware present


iwconfig:

lo no wireless extensions.

eth0 no wireless extensions.


I'm running the AMD-64 flavor of Debian, Kernel 2.6.22-3-amd64

Any ideas on where I may have erred here? Like I said, I'm certain I
followed the above instructions step by step.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Locale Problem

2007-11-14 Thread Bogart Salzberg
I received these same warnings when I removed the "locales" package  
as part of an upgrade of libc6. I had to install the locales package  
from testing in order to remain compatible. On a second machine I  
updated libc6, tzdata and locales from testing all at once and it  
worked well.


Bogart

On Nov 14, 2007, at 2:50 PM, Florian Kulzer wrote:


On Wed, Nov 14, 2007 at 05:58:26 -0800, Jeff Grossman wrote:

Kumar Appaiah wrote:

On Tue, Nov 13, 2007 at 09:18:49PM -0800, Jeff Grossman wrote:

I get the following error messages whenever I update or install  
a program

with aptitude:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:


[snip]

The simplest thing would be to set export LANG=en_US (or similar) in
your bashrc. But the proper way would be to run dpkg-reconfigure
locales and choose only the locales you are intersted in and set the
right default locale.

HTH.

Kumar

I have run the "dpkg-reconfigure locales" command numerous times.   
Here is

the output of my /etc/locale.gen file:

[EMAIL PROTECTED] /etc # less locale.gen
# This file lists locales that you wish to have built. You can  
find a list

# of valid supported locales at /usr/share/i18n/SUPPORTED. Other
# combinations are possible, but may not be well tested. If you  
change

# this file, you need to rerun locale-gen.
#

en_US.UTF-8 UTF-8

en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
[EMAIL PROTECTED] /etc #

And, here is what I have in my bash.bashrc file:

export LC_ALL="en_US.UTF-8 UTF-8"


I think that should be

export LC_ALL="en_US.UTF-8"


export LANG="en_US"
export LANGUAGE="en_US"

And, I get the error about the missing locale files.  If I change the
"export LC_ALL="en_US.UTF-8 UTF-8" to "export LC_ALL="en_US" then  
I do not
get the error from Perl.  But, I do get the following output when  
I run

'aptitude update' which seems weird to me:

Get:1 http://ftp.us.debian.org stable Release.gpg [378B]
Ign http://ftp.us.debian.org stable/main Translation-en_US
Ign http://ftp.us.debian.org stable/contrib Translation-en_US

What seems weird to me is the "Translation-en_US" part.  I don't  
have that

output if I use hte UTF-8 version of the locale.

I guess one of my main questions is, what LC_ALL, LANG, and LANGUAGE
settings do I use for US/English?


AFAIK, it should be either "en_US" if you want to use ISO-8859-1
encoding, en_US.ISO-8859-15 for ISO-8859-15, or en_US.UTF-8 for UTF-8.
Just setting LC_ALL should be enough since it forces all the other  
LC_*

variables and LANG to the same value. (You can check by running
"locale".) I don't think LANGUAGE is needed at all, LANG determines  
the

language of your localized messages.

--
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact  
[EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Determining how a binary package was configured

2007-11-14 Thread Bogart Salzberg

Debian Users,

For a package installed via aptitude or apt-get, is there a log or  
other source of information describing the "./configure" command used  
to configure the package prior to compilation?


Thank you for assistance.

Bogart Salzberg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]