Re: The purchase of a new laptop on debian

2009-12-02 Thread Jochen Schulz
Daniel Dalton:
> On Wed, Dec 02, 2009 at 03:24:31PM +0100, Jochen Schulz wrote:
>> 
>> The only drawback is that you probably won't have that much fun running
>> stable on it, because I don't think stable supports the graphics chip
> 
> I run squeeze

Then you shouldn't run into problems. The hardest part is to create a
USB stick with d-i on it (in case you don't have an external CD/DVD
drive). I think I used the testing installer.

>> yet. Wifi may be a problem as well (depending on the exact model). But
> 
> Does wifi work on the X 200 though? 

Yes. 2.6.30, which is in squeeze, should be fine. You just need to
install firmware-iwlwifi.

J.
-- 
My clothes aren't just fashion. They're a lifestyle.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Quick and dirty "debian live" on USB stick.

2009-12-02 Thread Chris Jones
On Wed, Dec 02, 2009 at 08:48:49PM EST, Stefan Monnier wrote:
> > I guess the "better way" is to read (and digest) whatever udev doc is
> > available and run enough tests, possibly with differenty hardware, and
> > get an in-depth understanding of how it really works. 
> 
> I understand just fine how it works: when the network interface is
> discovered (typically at boot), udev is asked to choose a name for
> that interface.  And /etc/udev/rules.d/75-persistent-net-generator.rules
> then saves the result as a new rule in
> /etc/udev/rules.d/70-persistent-net.rules that associates that
> interface's MAC address with the name that was chosen.
> There are 2 consequences:
> 1- next time this interface is found, the same name will be used (good).
> 2- when another interface is found, another name will be chosen: not so
> good, when you use your install on many different machines, since then
> each machine's interface will get a different interface name, even
> though they'll never be present at the same time.
> 
> So I use a boot-time rule which erases
> /etc/udev/rules.d/70-persistent-net.rules so the name is chosen anew
> each time (and will basically always be eth0).
> 
> Same for the cdrom drive names.

Crystal-clear.

Thanks for doing my homework for me :-)

CJ


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: live cd/usb projects?

2009-12-02 Thread T o n g
Thanks a lot Tzafrir & Rob for your explains. 
Hope that my slow respond can still get the thread going.

On Sun, 29 Nov 2009 12:32:25 -0500, Rob Owens wrote:

> . . . There are many conflicting sets of instructions floating
> around on wikis, etc.  It took me a long time to get this stuff figured
> out.

That's exactly what I felt, and why I gave up after several attempts. I 
think it is time for me to try it out again. So more questions followed:

> If you're concerned about adding packages w/o using "-p mylist", you can
> add "--interactive enabled" into the lh_config command.  That'll give
> you a shell before the image is created (after you run lh_build).  There
> you can add repositories, install software, etc.  When you exit the
> shell, the build will continue.

Any one know if I can break down this Ms-Windows-like, all-magic-happen-
within-a-single-click approach into finer steps? Say, get into the 
interactive shell mode as many times as I want; or stops after 
debootstrap? This way, I can make a backup with the smallest system and 
trying playing with my various package lists. If I screwed, I can just 
restore from backup and start over in no time, without going through the 
lengthy procedure of another debootstrap session. 

Maybe I've got used to the tools that I am using, but I found that grml-
debootstrap and grml-chroot give me the maximum freedom regarding playing 
with the underlying live system in micro steps. E.g., I can install 
packages step by step, which is a must if you use file-rc; I can do my 
own customization to the live system before wrapping it up in 
the .squashfs and/or .iso file. This will save me tremendous time in 
learning/exploring period, comparing to go over the whole process for a 
simple/minor fix/enhance.

>> - is there any other way to install the content, say copy into a ext3
>> partition?
> I think you should be able to mount binary.img as a loopback interface.
> You might need to specify "-t squashfs" in your mount command

Ok, thanks. Just for the record, mounting with "-t squashfs" is actually 
the 2nd step after loop mounting binary.img, to expose the underlying 
compressed root file system in the .squashfs file.

>> - how can I create an .iso file instea?
> Use "-b iso" instead of "-b usb-hdd" in the lh_config command.  I'm not
> sure if/how persistence would work if you create a live CD.  I've never
> tried it.

Yes, it works exactly the same. Your step #11 creates a filesystem for 
the peristence partition, which is all the magic it need for the 
persistence, regardless whether the OS is booted from USB or ISO. 

But personally, I strongly recommend to create a peristence file instead 
of peristence partition, on each computer that you want to boot the USB. 
This reason is for maximum compatibility. For detailed explanation, 
please check out the reason at

http://live-developers.sourceforge.net/tools/persistent/
#Make_it_portable_and_fast

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Quick and dirty "debian live" on USB stick.

2009-12-02 Thread Stefan Monnier
> I guess the "better way" is to read (and digest) whatever udev doc is
> available and run enough tests, possibly with differenty hardware, and
> get an in-depth understanding of how it really works. 

I understand just fine how it works: when the network interface is
discovered (typically at boot), udev is asked to choose a name for
that interface.  And /etc/udev/rules.d/75-persistent-net-generator.rules
then saves the result as a new rule in
/etc/udev/rules.d/70-persistent-net.rules that associates that
interface's MAC address with the name that was chosen.
There are 2 consequences:
1- next time this interface is found, the same name will be used (good).
2- when another interface is found, another name will be chosen: not so
good, when you use your install on many different machines, since then
each machine's interface will get a different interface name, even
though they'll never be present at the same time.

So I use a boot-time rule which erases
/etc/udev/rules.d/70-persistent-net.rules so the name is chosen anew
each time (and will basically always be eth0).

Same for the cdrom drive names.


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: The purchase of a new laptop on debian

2009-12-02 Thread Daniel Dalton
On Wed, Dec 02, 2009 at 03:24:31PM +0100, Jochen Schulz wrote:
> My Thinkpad X200 is approaching its first birthday and I really love it.
> If you can afford it, it is a really good choice and well worth the
> price.

Yes, all the reviews sounded positive.

> 
> The only drawback is that you probably won't have that much fun running
> stable on it, because I don't think stable supports the graphics chip

I run squeeze

> yet. Wifi may be a problem as well (depending on the exact model). But

Does wifi work on the X 200 though? 

Thanks for your help

-- 
Cheers,
Dan

http://members.iinet.net.au/~ddalton/



signature.asc
Description: Digital signature


Re: The purchase of a new laptop on debian

2009-12-02 Thread Daniel Dalton
> I've been happily using Debian on Thinkpads for just over 11 years now.

Excellent:)

> 
> > What other brands should I consider Dell and HP don't seem to be as
> > powerful as these Lenovos, but maybe I'm wrong. What should I consider
> > with good linux support (debian)? I'm looking at a 12.1 inch system, but
> > am also happy to buy a 14 inch. I will need something with dual core
> > 2ghz+ cpu and 2 gb+ ram. I also may run virtual machines too.
> 
> Nowadays the vast majority of hardware just works.  The biggest issues seems 
> to be in Wireless and high-end video support.  Video is the main thing to 

Video isn't too much of a concern just need to make sure the screen is
readable for people I may be working with. Internal wifi is nice to have
so will try and buy with that supported.

> worry about as you can always use a USB Wireless device while waiting for the 
> built-in hardware to be supported.

True

Thanks very much for your help

-- 
Cheers,
Dan

http://members.iinet.net.au/~ddalton/



signature.asc
Description: Digital signature


Re: CUPS Printing problems

2009-12-02 Thread Ben Pearre
Hi!

I was seeing that yesterday (cups 1.4.2-3, libpoppler 0.12.2-2) as
well.  Today Debian unstable is shipping cups 1.4.2-4 and my printing
works again.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: The purchase of a new laptop on debian

2009-12-02 Thread Daniel Dalton
On Wed, Dec 02, 2009 at 02:34:36PM -0600, John W Foster wrote:
> I dont often buy systems, I build my own, but laptops are not a DIY
> project. I have been shopping for a new laptop to use in my work & what
> someone told me to do was: burn a Ubuntu live disk & take it with me
> when shopping. Thats what I did & if the machine runs the 'live disk' 

Good idea -- are they normally happy to let you test?

Thanks for your help

Dan


signature.asc
Description: Digital signature


Re: migrate to new system disk

2009-12-02 Thread Mark Neidorff
On Tuesday 01 December 2009 09:22 pm, Stan Hoeppner wrote:
> I currently have a 40GB IDE boot disk in a Lenny server.  I boot with
> LILO, but not INITRD.  I have the following partitions:
>
> I would like to add a new IDE disk between say 160GB and 250GB, on
> another IDE channel, and copy/mirror/etc the exact contents of the
> current system disk to the new disk; make the new disk the system (boot)
> disk, and remove the original disk from the machine.  I've never done a
> disk migration such as this with Linux.
>
> This is a production email firewall/gateway.  Thus, I need to have the
> system down as little as possible to complete this.  I know I'll need to
> enter single user mode to do the work.  I'm just not sure what work I
> need to do in order to properly accomplish this task.
>
> So, what's the best method to pull this off, guaranteeing (as best as
> possible) that all the data made it across the river intact, with an
> identical partition and directory structure, will identical permissions
> on all dirs and files, and that will be bootable?  If I start up Postfix
> after the migration to the new disk, and the queue directory/file
> permissions are incorrect, my mail server would be dead in the water.

There is no concise guide to doing what you want, because it is a complex job.

Do your users store e-mail on the server?  That is an issue.
Do you have a second PC that you can use to install the software and test?

Suggestion:
Install mondorescue
stop the mail server
do a backup
restore to the new disk (on a different computer)
Install lilo
move the new disk to the server
start it up and see how it works.

Mondorescue will take care of the bare metal restore and get you up and 
running just fine.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Unstable, LVM and Grub2: "error: you need to load the kernel first"

2009-12-02 Thread Tom H
>> >>at the moment 'grub-pc' is broken in sid. When you have a separate /boot
>> >>partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at
>> >>the BTS for bug #558042. There is also the workaround for the problem.

>> I ran across the same problem, but I am running mdraid RAID 1, which
>> complicates matters, and root (/) is on an LVM2 volume.

> do you get grub? and where is /boot (I'm assuming it's on RAID but not
> lvm)?

> Based on what others have written, editting the grub entries from the
> grub command line should do the trick. Point grub at the right device
> and partitions and it should just work.

If you are getting to the grub cli, you need to insmod the raid/lvm
modules depending on whether you use raid/lvm for /boot before running
the root-linux-initrd-boot sequence.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread Tom H
> If you (or anyone else) is using Grub, simply copying your  files across
> your files will not work due to the presence of UUIDs in the Grub2 config
> files.  I have been unable to find the proper procedure for updating those
> UUIDs.

# chroot /
then
# update-grub


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: CUPS Printing problems

2009-12-02 Thread Camaleón
On Wed, 02 Dec 2009 12:47:35 +, Alan Chandler wrote:

> I have just tried to move my printer from an old lenny system to my
> desktop (running sid).
> 
> I seem to have created a printer OK, but an attempt to print a test page
> fails.  The view error log function on the cups web page shows the
> following (I have tried to pickup key parts from a VERY LONG file -
> debug is on at the moment)

(...)


> Can anyone tell from this what is wrong - the log against the job just
> says "/usr/lib/cups/filter/pdftopdf failed"
> 
> (I note in my older version of cups on lenny this filter didn't exist)

JFYI, your error log and symptoms are quite similar to the ones mentioned 
in this bug report:

Debian Bug report logs - #522722
(/usr/lib/cups/filter/pstopdf) stopped with status 1! (/usr/lib/cups/
filter/pstopdf) stopped with status 1!
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522722

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: messed up error messages from gcc

2009-12-02 Thread Mike Castle
On Wed, Dec 2, 2009 at 12:44 PM, Sven Joachim  wrote:
> Maybe your terminal is not in Unicode mode?

Good possibility, but, I thought that would only matter when non-ascii
characters came into play.



Oh... ok.. I just found the UTF 8 item on xterm and there actually is
a minor difference:
 $ LANG=en_US.utf8 gcc -Werror -Wall t.c 2>&1 | od -c
000   c   c   1   :   w   a   r   n   i   n   g   s   b   e
020   i   n   g   t   r   e   a   t   e   d   a   s   e
040   r   r   o   r   s  \n   t   .   c   :   I   n   f   u
060   n   c   t   i   o   n   �200 230   f   o   o   �200 231
100   :  \n   t   .   c   :   2   :   w   a   r   n   i   n   g
120   :   i   m   p   l   i   c   i   t   d   e   c   l   a
140   r   a   t   i   o   n   o   f   f   u   n   c   t   i
160   o   n   �200 230   b   a   r   �200 231  \n

$ LANG=en_US gcc -Werror -Wall t.c 2>&1 | od -c
000   c   c   1   :   w   a   r   n   i   n   g   s   b   e
020   i   n   g   t   r   e   a   t   e   d   a   s   e
040   r   r   o   r   s  \n   t   .   c   :   I   n   f   u
060   n   c   t   i   o   n   '   f   o   o   '   :  \n   t   .
100   c   :   2   :   w   a   r   n   i   n   g   :   i   m
120   p   l   i   c   i   t   d   e   c   l   a   r   a   t   i
140   o   n   o   f   f   u   n   c   t   i   o   n   '
160   b   a   r   '  \n


Note that the single quotes wrapping foo are different.  I guess gcc-3
used back-tick and single-tick, and gcc-4 uses the more modern quote
characters, that my environment couldn't handle.

So, now to read up on which resource I need to set up for xterm to
make this the default.


Many thanks all for pointing me in the right direction.

mrc


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: messed up error messages from gcc

2009-12-02 Thread Sven Joachim
On 2009-12-02 21:35 +0100, Mike Castle wrote:

> I guess this boils down to:  is this a bug in gcc or a bug in my set up?

Probably there is something wrong on your system, because gcc works as
expected in your example here:

,
| % LANG=en_US.UTF-8 gcc -Wall -Werror t.c
| cc1: warnings being treated as errors
| t.c: In function ‘foo’:
| t.c:2: error: implicit declaration of function ‘bar’
`

Maybe your terminal is not in Unicode mode?

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: messed up error messages from gcc

2009-12-02 Thread Mike Castle
On Wed, Dec 2, 2009 at 11:14 AM, Mike Castle  wrote:
> So, what's the proper solution to this?  Do I need to install
> something?  Or rebuild a locale database somewhere? (if the latter, I
> would have thought that it would have been done automatically upon
> appropriate installs along the way.)  Just go back to C?


Just capturing more information.

Apparently every gcc-4.* has this same issue.  gcc-3.4 does not.

I always thought that part of the joy of the way GNU did translations
was that, if it wasn't available, it would always fall back to the
strings written into the source code (typically English, though not
necessary).  Though, admittedly, the last time I actually read the
docs on any of this stuff was probably over a decade ago, so things
have probably changed.


I guess this boils down to:  is this a bug in gcc or a bug in my set up?

mrc


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: The purchase of a new laptop on debian

2009-12-02 Thread John W Foster
-Original Message-
From: Daniel Dalton 
To: luv-main 
Cc: debian-user 
Subject: The purchase of a new laptop on debian
Date: Wed, 2 Dec 2009 22:56:08 +1100

Hi All,

I'm looking to buy a knew laptop. I have been recommended by a few
people to look at the Lenovo thinkpad X 200 and t 400/500. What are your
thoughts on these systems? What is positive, what is negative? 

What other brands should I consider Del and HP don't seem to be as
powerful as these Lenovos, but maybe I'm wrong. What should I consider
with good linux support (debian)? I'm looking at a 12.1 inch system, but
am also happy to buy a 14 inch. I will need something with dual core
2ghz+ cpu and 2 gb+ ram. I also may run virtual machines too.

Any advice is greatly appreciated.

--REPLY 

I dont often buy systems, I build my own, but laptops are not a DIY
project. I have been shopping for a new laptop to use in my work & what
someone told me to do was: burn a Ubuntu live disk & take it with me
when shopping. Thats what I did & if the machine runs the 'live disk' 
then I know I can install debian on it. May take a bit of effort but 
I know that it will work.

-- 
John Foster


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Does email server OS needs clamav?

2009-12-02 Thread Jesús M. Navarro
Hi, Sthu:

On Wednesday 02 December 2009 16:38:43 Sthu Deus wrote:
> Good day.
>
> Do I need clamav mail check on mail server

No.

> - if I would leave it to 
> end-client antiviruses.

Unrelated.

> In other words, will it hurt the server some way 
> and therefore the clamav should be on every mail server -

No.

> as it protests 
> the server OR I can easily drop it to the end users (to be checked at their
> machines) - the every letter they get? -

Yes, you can.

> What does clamav protects: the 
> email server or the end user (at its own machine)?

Neither one.  It just tag and (possible) strip out messages.  If that 
means "protect" and to what extent depends on your own context and 
definition.

> PS I want to remove it because I suppose that in case clamav blesses users'
> life and not server's -

Uh?  You have servers in first place to bless users' lifes.  Every single 
server you have.

> by removing clamav I can close one potential 
> security whole.

By removing your server's MTA and let the end users to deal with mail transfer 
you'll certainly close another one so your point is, again?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Charset of the Aptitude reference manual

2009-12-02 Thread Celejar
On Wed, 02 Dec 2009 14:48:31 -0500
Chris Jones  wrote:

...

> Simple fix for the English version, in vim:
> 
> :%s/Â/ /g
> 
> Or use 'lynx -dump' to generate the text versions from the html files.

Thanks.  They don't actually bother me all that much; I just wanted to
know if I had something misconfigured on my system ...

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



trap keypress on bootup, during initrd

2009-12-02 Thread Toan Pham
Hi all,

I am developing an embedded OS, and at times, i would to boot the OS
different, lets say in a less secure mode when a user press or hold down,

CTRL + ESC, for example.

I am not sure what is the best way to do it.

please advise,

Thanks

Toan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Grub 2 does not boot Squeeze, Error 15, Need help

2009-12-02 Thread Thierry Chatelet
On Wednesday 02 December 2009 20:25:14 Foss User wrote:
> I am using Squeeze. I booted successfully many times using the
> chainloaded grub2. So, I thought it would be safe to replace grub with
> grub2.
> 
> So, I tried running update-from-grub-legacy but this command was not
> present even while logged in as root.
> 
> So, I ran upgrade-from-grub-legacy and now I am unable to boot
> Squeeze. I get this error after the computer starts.
> 
> Grub Loading, stage1.5...
> Grub Loading, please wait ...
> Error 15
> 
> Please help me to start my Debian
> 


http://stringofthoughts.wordpress.com/2009/05/25/grub-error-15-debianubuntu/
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Charset of the Aptitude reference manual

2009-12-02 Thread Chris Jones
On Tue, Dec 01, 2009 at 11:37:14PM EST, Daniel Burrows wrote:

>   It should be UTF-8, but that doesn't mean it's not broken.  The text
>   documentation is generated automatically via html2text, and that's
>   been buggy at various points, particularly with regards to encodings
>   -- unless you have a specific reason for wanting plain text, I'd
>   suggest using the HTML documentation.

Does html2text support utf-8 input?

The following also have problems:

README.es
README.fi
README.fr

Thanks,

CJ


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Charset of the Aptitude reference manual

2009-12-02 Thread Chris Jones
On Wed, Dec 02, 2009 at 08:47:21AM EST, Celejar wrote:
> On Tue, 01 Dec 2009 18:25:55 -0500
> Chris Jones  wrote:
> 
> > On Tue, Dec 01, 2009 at 05:35:01PM EST, Celejar wrote:

> > > Hi,
> > > 
> > > When I look at the Aptitude manual (/usr/share/aptitude/README)
> > > using 'less' (in Xfce4 Terminal), I get undisplayable characters,
> > > shown as ''.  'file' says that the charset is 'ISO-8859
> > > English text', so I tried preceding the 'less' invocation by
> > > 'LESSCHARSET=iso8859', and those characters are then shown as
> > > undisplayable glyphs (some sort of '?' symbols).  In Iceweasel and
> > > vi(m), they're shown as 'Â'.  What's with this file, and why are
> > > these characters not displayed correctly in any application on my
> > > system?
> > 
> > What version of debian?
> 
> Sid

Lenny

[..]

I took a look at the README files from unstable and now I can see all
those Â, I counted one hundred of them.

Not nearly as bad as README.es, README.fr, or README.fi, where there a
thousands of invalid characters.

Simple fix for the English version, in vim:

:%s/Â/ /g

Or use 'lynx -dump' to generate the text versions from the html files.

CJ


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Grub 2 does not boot Squeeze, Error 15, Need help

2009-12-02 Thread Foss User
I am using Squeeze. I booted successfully many times using the
chainloaded grub2. So, I thought it would be safe to replace grub with
grub2.

So, I tried running update-from-grub-legacy but this command was not
present even while logged in as root.

So, I ran upgrade-from-grub-legacy and now I am unable to boot
Squeeze. I get this error after the computer starts.

Grub Loading, stage1.5...
Grub Loading, please wait ...
Error 15

Please help me to start my Debian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: messed up error messages from gcc

2009-12-02 Thread Mike Castle
On Wed, Dec 2, 2009 at 10:41 AM, Kumar Appaiah
 wrote:
> Could you please try running LC_ALL=C gcc -Wall -Werror t.c and let us
> know if that solves the issue?

Yup.  That did it.  Thanks for the quick analysis.

LANG= gcc ...

had the same effect.

That's what I get for letting it set the darned thing to LANG=en_US.UTF-8


So, what's the proper solution to this?  Do I need to install
something?  Or rebuild a locale database somewhere? (if the latter, I
would have thought that it would have been done automatically upon
appropriate installs along the way.)  Just go back to C?

mrc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: messed up error messages from gcc

2009-12-02 Thread Kumar Appaiah
On Wed, Dec 02, 2009 at 10:36:20AM -0800, Mike Castle wrote:
> I typically keep my environment pretty stripped down, and so it may
> turn out that I'm missing some package that causes the following
> problem.  But I've not yet been able to figure it out.  I'm hoping the
> masses out here will immediately recognize the problem as ``Oh yes,
> you need ... ''

I'd suspect some locale issue.

> Running testing.
> 
> 
> gcc -v shows:
> gcc version 4.3.4 (Debian 4.3.4-6)
> 
> 
> $ cat t.c
> void foo(void) {
>   bar();
> }
> $ gcc -Wall -Werror t.c
> cc1: warnings being treated as errors
> t.c: In function â:
> t.c:2: error: implicit declaration of function â
> 
> 
> 
> I expect something closer to:
> cc1: warnings being treated as errors
> t.c: In function 'foo':
> t.c:2: warning: implicit declaration of function 'bar'
> 
> Any thoughts?

Could you please try running LC_ALL=C gcc -Wall -Werror t.c and let us
know if that solves the issue?

Thanks.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



messed up error messages from gcc

2009-12-02 Thread Mike Castle
I typically keep my environment pretty stripped down, and so it may
turn out that I'm missing some package that causes the following
problem.  But I've not yet been able to figure it out.  I'm hoping the
masses out here will immediately recognize the problem as ``Oh yes,
you need ... ''



Running testing.


gcc -v shows:
gcc version 4.3.4 (Debian 4.3.4-6)


$ cat t.c
void foo(void) {
  bar();
}
$ gcc -Wall -Werror t.c
cc1: warnings being treated as errors
t.c: In function â:
t.c:2: error: implicit declaration of function â



I expect something closer to:
cc1: warnings being treated as errors
t.c: In function 'foo':
t.c:2: warning: implicit declaration of function 'bar'




Any thoughts?

Thanks,
mrc


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



[Solved] Ntp daemon logs (ipv6)

2009-12-02 Thread Camaleón
On Tue, 01 Dec 2009 10:36:44 +, Camaleón wrote:

> Hello,
> 
> Running Lenny, I am seeing the following ntp logs under "daemon.log":
> 
> ***
> Dec  1 07:33:36 serv2 ntpd[3841]: ntpd 4.2@1.1520-o Mon May 11
> 20:13:01 UTC 2009 (1)
> 
> Dec  1 07:33:36 serv2 ntpd[3842]: precision = 1.000 usec Dec  1 07:33:36
> serv2 ntpd[3842]: Listening on interface #0 wildcard, 0.0.0.0#123
> Disabled
> 
> Dec  1 07:33:36 serv2 ntpd[3842]: Listening on interface #1 wildcard,
> ::#123 Disabled

(...)

> These entries are being repeated every 5 minutes or so, flooding the
> "dameon.log" file.
> 
> It seems ntpd tries to bind to the ipv6 address of the "bond0" interface
> and fails.
> 
> Any clue on this? :-?

The error was due to a lack of Internet connection (no dsl for a short 
period of time). As soon as the line was back, the error is gone.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Does email server OS needs clamav?

2009-12-02 Thread Camaleón
On Wed, 02 Dec 2009 18:34:16 +0100, Jochen Schulz wrote:

> Camaleón:

>> >> In what way removing clamav you are closing a "potencial security
>> >> hole"? :-?
>> > 
>> > http://www.google.com/search?q=clamav+exploit
>> 
>> Oh, sure.
>> 
>> But you can then change the query by:
>> 
>> http://www.google.com/search?q=postfix+exploit
>> http://www.google.com/search?q=sendmail+exploit
>> http://www.google.com/search?q=exim+exploit
>> 
>> And then we have to shutdown the mail service at all :-)
> 
> The OP specifically asked whether removing ClamAV from the mail server
> would increase the security on the server. The answer is obviously yes.

Well, I do not (personally) know any case where a linux server was 
"taken" by a ClamAV exploit.

But I do know many cases where client workstations are being used as 
zombi machines to spread malware. 

(Assuming here we are talking about windows machines, as it was stated 
the end-users should be using some kind of antivirus at their end).

E-mail is the first entry gate for these threats and should be protected.

> IMO, the real question (which only the OP can answer) is:
> 
> What's worse: the mail server being taken over by an attacker, or
> several workstations at once?

Dunno what could be "worse": a linux server running clamav or several 
client machines infected in any way.

Greetings,


-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread David Goodenough
On Wednesday 02 December 2009, Camaleón wrote:
> On Wed, 02 Dec 2009 12:04:17 +, David Goodenough wrote:
> > On Wednesday 02 December 2009, tv.debian wrote:
> >> tune2fs -U [old_partition_UUID] /dev/[new_partition]
> >>
> >> will change the UUID of the new partition to the one of the original
> >> one. If the partitions are inside the same machine, it is necessary to
> >> change the UUID of the old partition, so that UUID's remain unique...
> >> fstab needs adjusting if UUID are in use there too. This is how I do it
> >> when moving systems around, it works, not to say there isn't a better
> >> way !
> >
> > while that will solve the problem, what I really want is a command that
> > will update the grub config files (and fstab if that starts using UUIDs
> > too) to the new disk.  Issuing commands with UUIDs in them manually 
does
> > not strike me as fun or something to be done regularly.
> 
> I cannot imagine a way Grub could handle this situation
> "automatically" :-?
> 
> Let's take there are 4 hard disk in the system, with 4 primary partitions
> for each of them.
> 
> How can Grub (or Grub2) determine (on its own) what partition is holding
> the "right" system data? And the same goes for "/etc/fstab" file.
> 
> Grub can know something about the UUID ("label", "id" or "path") of the
> device but knows little about the "content" of the partitions and how are
> they arranged by the user.
> 
> Taking into account there can be may OS's installed across the
> partitions, autodetecting "what is what" is not an easy task for the
> bootloader.
> 
> Greetings,
> 
in the old procedure, you start by finding /boot/grub/stage1, then you set 
root to the one that you choose, and at this stage grub could at least
notice that the UUID is wrong and offer to rewrite it. 

David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Does email server OS needs clamav?

2009-12-02 Thread Jochen Schulz
Camaleón:
> On Wed, 02 Dec 2009 17:51:18 +0100, Jochen Schulz wrote:
> > Camaleón:
> >> On Wed, 02 Dec 2009 22:38:43 +0700, Sthu Deus wrote:
> >> 
> >>> PS I want to remove it because I suppose that in case clamav blesses
> >>> users' life and not server's - by removing clamav I can close one
> >>> potential security whole.
> >> 
> >> In what way removing clamav you are closing a "potencial security
> >> hole"? :-?
> > 
> > http://www.google.com/search?q=clamav+exploit
> 
> Oh, sure.
> 
> But you can then change the query by:
> 
> http://www.google.com/search?q=postfix+exploit
> http://www.google.com/search?q=sendmail+exploit
> http://www.google.com/search?q=exim+exploit
> 
> And then we have to shutdown the mail service at all :-)

The OP specifically asked whether removing ClamAV from the mail server
would increase the security on the server. The answer is obviously yes.

IMO, the real question (which only the OP can answer) is:

What's worse: the mail server being taken over by an attacker, or
several workstations at once?

J.
-- 
Ultimately, the Millenium Dome is a spectacular monument of the
doublethink of our times.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Does email server OS needs clamav?

2009-12-02 Thread Camaleón
On Wed, 02 Dec 2009 17:51:18 +0100, Jochen Schulz wrote:

> Camaleón:
>> On Wed, 02 Dec 2009 22:38:43 +0700, Sthu Deus wrote:
>> 
>>> PS I want to remove it because I suppose that in case clamav blesses
>>> users' life and not server's - by removing clamav I can close one
>>> potential security whole.
>> 
>> In what way removing clamav you are closing a "potencial security
>> hole"? :-?
> 
> http://www.google.com/search?q=clamav+exploit

Oh, sure.

But you can then change the query by:

http://www.google.com/search?q=postfix+exploit
http://www.google.com/search?q=sendmail+exploit
http://www.google.com/search?q=exim+exploit

And then we have to shutdown the mail service at all :-)

>> Clamav is just another service, just keep it updated for security fixes
>> and you are done.
> 
> Installing patches doesn't change the fact that another service
> increases the amount of code dealing with unsafe data (like e-mails).

No, but it help your users to decrease the amount of code with unsafe 
data at a very low prize for your server performance or security ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Does email server OS needs clamav?

2009-12-02 Thread Jochen Schulz
Camaleón:
> On Wed, 02 Dec 2009 22:38:43 +0700, Sthu Deus wrote:
> 
>> PS I want to remove it because I suppose that in case clamav blesses
>> users' life and not server's - by removing clamav I can close one
>> potential security whole.
> 
> In what way removing clamav you are closing a "potencial security 
> hole"? :-?

http://www.google.com/search?q=clamav+exploit

> Clamav is just another service, just keep it updated for security fixes 
> and you are done.

Installing patches doesn't change the fact that another service
increases the amount of code dealing with unsafe data (like e-mails).

J.
-- 
I often play sports / do exercise.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


XBM support in PHP5-GD Lenny

2009-12-02 Thread Djuk

Hello all,

Could anyone suggest how to enable XBM support for php5-gd library in 
Lenny ?


PHPINFO() shows:


   gd

GD Support  enabled
GD Version  2.0 or higher
FreeType Supportenabled
FreeType Linkagewith freetype
FreeType Version2.3.7
T1Lib Support   enabled
GIF Read Supportenabled
GIF Create Support  enabled
JPG Support enabled
PNG Support enabled
WBMP Supportenabled



BR, Dmitri


Re: Does email server OS needs clamav?

2009-12-02 Thread Camaleón
On Wed, 02 Dec 2009 22:38:43 +0700, Sthu Deus wrote:

> Do I need clamav mail check on mail server - if I would leave it to
> end-client antiviruses. In other words, will it hurt the server some way
> and therefore the clamav should be on every mail server - as it protests
> the server OR I can easily drop it to the end users (to be checked at
> their machines) - the every letter they get? - What does clamav
> protects: the email server or the end user (at its own machine)?

I'd add clamav as a first virus barrier to protect end-users.

Viruses will not hurt the (linux) server but having clamav will help a 
lot the (windows) end users.
 
> PS I want to remove it because I suppose that in case clamav blesses
> users' life and not server's - by removing clamav I can close one
> potential security whole.

In what way removing clamav you are closing a "potencial security 
hole"? :-?

Clamav is just another service, just keep it updated for security fixes 
and you are done.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Does email server OS needs clamav?

2009-12-02 Thread Sthu Deus
Good day.

Do I need clamav mail check on mail server - if I would leave it to end-client 
antiviruses. In other words, will it hurt the server some way and therefore the 
clamav should be on every mail server - as it protests the server OR I can 
easily drop it to the end users (to be checked at their machines) - the every 
letter they get? - What does clamav protects: the email server or the end user 
(at its own machine)?


PS I want to remove it because I suppose that in case clamav blesses users' 
life and not server's - by removing clamav I can close one potential security 
whole.

Thank You for Your time.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread Camaleón
On Wed, 02 Dec 2009 12:04:17 +, David Goodenough wrote:

> On Wednesday 02 December 2009, tv.debian wrote:
 
>> tune2fs -U [old_partition_UUID] /dev/[new_partition]
>> 
>> will change the UUID of the new partition to the one of the original
>> one. If the partitions are inside the same machine, it is necessary to
>> change the UUID of the old partition, so that UUID's remain unique...
>> fstab needs adjusting if UUID are in use there too. This is how I do it
>> when moving systems around, it works, not to say there isn't a better
>> way !
>> 
> while that will solve the problem, what I really want is a command that
> will update the grub config files (and fstab if that starts using UUIDs
> too) to the new disk.  Issuing commands with UUIDs in them manually does
> not strike me as fun or something to be done regularly.

I cannot imagine a way Grub could handle this situation 
"automatically" :-?

Let's take there are 4 hard disk in the system, with 4 primary partitions 
for each of them.

How can Grub (or Grub2) determine (on its own) what partition is holding 
the "right" system data? And the same goes for "/etc/fstab" file.

Grub can know something about the UUID ("label", "id" or "path") of the 
device but knows little about the "content" of the partitions and how are 
they arranged by the user.

Taking into account there can be may OS's installed across the 
partitions, autodetecting "what is what" is not an easy task for the 
bootloader.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread Andrew Sackville-West
On Wed, Dec 02, 2009 at 09:59:21AM +, David Goodenough wrote:
> On Wednesday 02 December 2009, Alan Ianson wrote:
> > > 2.  I'm sticking with LILO.  I've never "manually" installed a boot
> > > loader, only during Debian clean/scratch installations using the Deb
> > > installer.  The last time I did that was with Woody, like 4 years ago.
> > > How do I manually install LILO to the boot sector of the new disk?  I'm
> > > sure it's simple, I just don't know the command.
> > >
> > > Thanks so much for your very helpful insight to this point Andrew.
> > 
> > I haven't used lilo in years.. but if I remember right I ran the command
> > "lilo" after making any changes to it's config and that would rewrite
> > it.
> > 
> If you (or anyone else) is using Grub, simply copying your  files across
> your files will not work due to the presence of UUIDs in the Grub2 config
> files.  I have been unable to find the proper procedure for updating those
> UUIDs.

heh, good point. last time I did this, UUID's were just not typically
used. 

A


signature.asc
Description: Digital signature


Re: Charset of the Aptitude reference manual

2009-12-02 Thread Celejar
On Tue, 1 Dec 2009 20:37:14 -0800
Daniel Burrows  wrote:

>   It should be UTF-8, but that doesn't mean it's not broken.  The text
> documentation is generated automatically via html2text, and that's been
> buggy at various points, particularly with regards to encodings --
> unless you have a specific reason for wanting plain text, I'd suggest
> using the HTML documentation.

Looking at the README in a hex editor, I see that it contains (e.g.)
the sequence "0A 0A 0A 0A C2" (right before the Buddha nature
remark :)).  The 0As are, IIUC, line feeds, but the C2 just doesn't
seem to make any sense.  I'm not really great with encoding, though, so
I may be misunderstanding something.  I can use the HTML, but a) I like
the habit of a quick-and-dirty pager invocation and b) I like the
ability to look at the entire manual at once, so I can easily search
through the whole thing and jump back and forth therein.  Is there a
single-page HTML version?  I can't seem to find one.

Thanks for a great program, and for your responsiveness here.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: The purchase of a new laptop on debian

2009-12-02 Thread Jochen Schulz
Daniel Dalton:
> 
> I'm looking to buy a knew laptop. I have been recommended by a few
> people to look at the Lenovo thinkpad X 200 and t 400/500. What are your
> thoughts on these systems? What is positive, what is negative? 

My Thinkpad X200 is approaching its first birthday and I really love it.
If you can afford it, it is a really good choice and well worth the
price.

The only drawback is that you probably won't have that much fun running
stable on it, because I don't think stable supports the graphics chip
yet. Wifi may be a problem as well (depending on the exact model). But
sid works very well on my X200.

J.
-- 
Ultimately, the Millenium Dome is a spectacular monument of the
doublethink of our times.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


open e-chart directory

2009-12-02 Thread linux china
greetings,

I'm looking for a open source program like the e-chart
directory,
it prints organizational charts by reading the employee information from
LDAP, if you know the open source program name on Debian, I'll try to
install it, please advice the name, thanks.


Re: Charset of the Aptitude reference manual

2009-12-02 Thread Celejar
On Tue, 01 Dec 2009 18:25:55 -0500
Chris Jones  wrote:

> On Tue, Dec 01, 2009 at 05:35:01PM EST, Celejar wrote:
> > Hi,
> > 
> > When I look at the Aptitude manual (/usr/share/aptitude/README) using
> > 'less' (in Xfce4 Terminal), I get undisplayable characters, shown as
> > ''.  'file' says that the charset is 'ISO-8859 English text', so I
> > tried preceding the 'less' invocation by 'LESSCHARSET=iso8859', and
> > those characters are then shown as undisplayable glyphs (some sort of
> > '?' symbols).  In Iceweasel and vi(m), they're shown as 'Â'.  What's
> > with this file, and why are these characters not displayed correctly in
> > any application on my system?
> 
> What version of debian?

Sid

> What locale are you using?

~$ locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

> OK, here (debian lenny & locale set to en_US.UTF-8) with:
> 
> $ iconv -f iso8859-1 -t utf-8  /usr/share/aptitude/README | less
> $ vim -M /usr/share/aptitude/README 
> $ lynx /usr/share/aptitude/README

Um, what results do you *get* with these commands?

> Variable results with Seamonkey, ELinks, less, more, etc.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).

2009-12-02 Thread Mathieu Malaterre
installing hotkey-setup seems to get me a little further...

On Wed, Dec 2, 2009 at 12:40 PM, Mathieu Malaterre
 wrote:
> If that helps I can get lshal -m to work for the following:
>
> 12:38:47.903: computer_logicaldev_input_2 condition ButtonPressed =
> switch-videomode
> 12:38:51.014: computer_power_supply_battery_BAT0 property
> battery.voltage.current = 12578 (0x3122)
>
> I tried pressing Fn+F1 -> F12, but only two got recognized. The
> hal-info seems ok, but the event seems in-turn not to be registered...
>
> Thanks for help
>
> On Wed, Dec 2, 2009 at 12:35 PM, Mathieu Malaterre
>  wrote:
>> Hi there,
>>
>>  I am hitting this problem now :
>>
>> [  118.586044] atkbd.c: Unknown key pressed (translated set 2, code
>> 0x88 on isa0060/serio0).
>> [  118.586044] atkbd.c: Use 'setkeycodes e008 ' to make it known.
>>
>>
>>  In the past I was able to fix it using hal-info from testing, but
>> today this is not working anymore. What do I need to get the special
>> WLAN key (Alt-F2 on DELL M6300) to work on a Debian/Lenny system ?
>>
>> dmesg output:
>> [  118.586044] iwl4965: Radio Frequency Kill Switch is On:
>> [  118.586044] Kill switch must be turned off for wireless networking to 
>> work.
>> [  118.586044] atkbd.c: Unknown key pressed (translated set 2, code
>> 0x88 on isa0060/serio0).
>> [  118.586044] atkbd.c: Use 'setkeycodes e008 ' to make it known.
>> [  118.716437] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  118.725402] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.020807] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.030904] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.301369] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.509042] CE: hpet increasing min_delta_ns to 15000 nsec
>> [  119.565446] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.565446] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.734078] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.942087] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  119.942087] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  120.090892] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>> [  120.163248] iwl4965: WARNING: Requesting MAC access during RFKILL
>> wakes up NIC
>>
>>
>> Package:
>>
>> $ apt-cache policy hal hal-info
>> hal:
>>  Installed: 0.5.13-4
>>  Candidate: 0.5.13-4
>>  Version table:
>>     0.5.13-6 0
>>        100 http://ftp.fr.debian.org unstable/main Packages
>>  *** 0.5.13-4 0
>>        200 http://ftp.fr.debian.org testing/main Packages
>>        100 /var/lib/dpkg/status
>>     0.5.11-8 0
>>        500 http://ftp.fr.debian.org lenny/main Packages
>> hal-info:
>>  Installed: 20091130-1
>>  Candidate: 20091130-1
>>  Version table:
>>  *** 20091130-1 0
>>        100 http://ftp.fr.debian.org unstable/main Packages
>>        100 /var/lib/dpkg/status
>>     20090716-1 0
>>        200 http://ftp.fr.debian.org testing/main Packages
>>     20080508+git20080601-1 0
>>        500 http://ftp.fr.debian.org lenny/main Packages
>>
>>
>> The worst part is that I can see the DELL keycode:
>>
>> $ grep F2 /usr/share/hal/fdi/information/10freedesktop/30-keymap-dell.fdi
>>          > type="strlist">e008:wlan 
>>
>> Thanks again !
>> --
>> Mathieu
>>
>
>
>
> --
> Mathieu
>



-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: The purchase of a new laptop on debian

2009-12-02 Thread Russell Coker
On Wed, 2 Dec 2009, Daniel Dalton  wrote:
> I'm looking to buy a knew laptop. I have been recommended by a few
> people to look at the Lenovo thinkpad X 200 and t 400/500. What are your
> thoughts on these systems? What is positive, what is negative?

I've been happily using Debian on Thinkpads for just over 11 years now.

> What other brands should I consider Dell and HP don't seem to be as
> powerful as these Lenovos, but maybe I'm wrong. What should I consider
> with good linux support (debian)? I'm looking at a 12.1 inch system, but
> am also happy to buy a 14 inch. I will need something with dual core
> 2ghz+ cpu and 2 gb+ ram. I also may run virtual machines too.

Nowadays the vast majority of hardware just works.  The biggest issues seems 
to be in Wireless and high-end video support.  Video is the main thing to 
worry about as you can always use a USB Wireless device while waiting for the 
built-in hardware to be supported.

Don't get a Dell unless you like a really shiny screen.

-- 
russ...@coker.com.au
http://etbe.coker.com.au/  My Main Blog
http://doc.coker.com.au/   My Documents Blog


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



CUPS Printing problems

2009-12-02 Thread Alan Chandler
I have just tried to move my printer from an old lenny system to my 
desktop (running sid).


I seem to have created a printer OK, but an attempt to print a test page 
fails.  The view error log function on the cups web page shows the 
following (I have tried to pickup key parts from a VERY LONG file - 
debug is on at the moment)


D [02/Dec/2009:12:32:10 +] [Job 104] Running /usr/bin/pdftops 
-level2 -origpagesizes /var/spool/cups/tmp/pdftops.ZYEAkF -
D [02/Dec/2009:12:32:10 +] [Job 104] Running pstops '104' 'root' 
'Test Page' '1' ' job-uuid=urn:uuid:a4a29c47-6877-33a9-5cd4-02a51331b57c 
job-originating-host-name=localhost'

D [02/Dec/2009:12:32:10 +] [Job 104] Page size: A4
D [02/Dec/2009:12:32:10 +] [Job 104] Error: May not be a PDF file 
(continuing anyway)
D [02/Dec/2009:12:32:10 +] [Job 104] Error: PDF file is damaged - 
attempting to reconstruct xref table...
D [02/Dec/2009:12:32:10 +] [Job 104] Error: Couldn't find trailer 
dictionary

D [02/Dec/2009:12:32:10 +] [Job 104] Error: Couldn't read xref table
D [02/Dec/2009:12:32:10 +] [Job 104] Width: 595, height: 842, 
absolute margins: 18, 36, 577, 806

E [02/Dec/2009:12:32:10 +] [Job 104] Empty print file!




D [02/Dec/2009:12:32:11 +] [Job 104] Last OS error: 32
D [02/Dec/2009:12:32:11 +] [Job 104] GPL Ghostscript 8.70: 
Unrecoverable error, exit code 1
D [02/Dec/2009:12:32:11 +] [Job 104] GPL Ghostscript 8.70: ERROR -12 
closing pdfwrite device. See gs/src/ierrors.h for code explanation.
D [02/Dec/2009:12:32:11 +] PID 17774 (/usr/lib/cups/filter/pstopdf) 
stopped with status 1!



D [02/Dec/2009:12:32:17 +] [CGI] 
/usr/share/cups/drivers/pscript5.dll: No such file or directory








Can anyone tell from this what is wrong - the log against the job just 
says "/usr/lib/cups/filter/pdftopdf failed"


(I note in my older version of cups on lenny this filter didn't exist)





--
Alan Chandler
http://www.chandlerfamily.org.uk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: Default configuration file for X server?

2009-12-02 Thread Camaleón
On Wed, 02 Dec 2009 16:45:17 +0530, Hrishikesh Murali wrote:

> I am Hrishikesh Murali, a new member to this list. I have debian
> installed as a virtual machine on my laptop having resolution 1280x800,
> and by default without any graphics driver it uses a built-in
> configuration for the X session. This is a snippet from my log file :
> 
> 
> (==) --- Start of built-in configuration ---
>Section "Device"
>Identifier  "Builtin Default vesa Device 0" Driver 
>"vesa"
>EndSection
>Section "Screen"
>Identifier  "Builtin Default vesa Screen 0" Device 
>"Builtin Default vesa Device 0"
>EndSection
>Section "Device"
>Identifier  "Builtin Default fbdev Device 0" Driver 
>"fbdev"
>EndSection
>Section "Screen"
>Identifier  "Builtin Default fbdev Screen 0" Device 
>"Builtin Default fbdev Device 0"
>EndSection
>Section "ServerLayout"
>Identifier  "Builtin Default Layout" Screen  "Builtin
>Default vesa Screen 0" Screen  "Builtin Default fbdev
>Screen 0"
>EndSection
> (==) --- End of built-in configuration --- 

Your VM is using "VESA" driver.

> My questions are:
> 1) Where is this default configuration specified? 

It is set "on-the-fly" :-)

Anyway, you can always make a /etc/X11/xorng.conf file and put there any 
configuration you need.

2) There are three
> screens specified in the log, which one is used by default?

The one is active, I'd guess the laptop's embedded one. 

"xrandr -q" will tell you more about your detected screens.

> The default resolution of my screen in my debain VM is 1280x1024, but my
> laptop resolution is 1280x800. I am not able to view the desktop
> properly in my VM. Any suggestions are welcome.

Maybe "1280x800" is no a supported resolution by VESA driver :-?.

You will need to install "guest-additions" in your VM so your virtual 
machine can use a better vga driver.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong Keymap used in X session

2009-12-02 Thread Klistvud
Dne, 02. 12. 2009 12:21:28 je Mathieu Malaterre napisal(a):
> 
> Excellent that fixed it. thanks !
> 
> -- 
> Mathieu
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> 
> 
> 

Glad to help.

-- 
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: NetBeans in contrib

2009-12-02 Thread Sven Joachim
On 2009-12-02 11:54 +0100, Boyd Stephen Smith Jr. wrote:

> It's probably that a previous NetBeans-Platform version had a non-free 
> Dependency and the maintainer is still uploading it to the wrong queue.  Or, 
> the might be some special process needed to transition a package from contrib 
> to main that hasn't been completed yet.

The last sentence is true, but only part of the story.

> I suggest downloading the .deb and trying to install it in a clean main-only 
> system.  If that works, a wishlist bug is appropriate.

It is already there, and also another bug that actually prevents moving
netbeans-platform to main:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531952
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506294

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread David Goodenough
On Wednesday 02 December 2009, tv.deb...@googlemail.com wrote:
> >David Goodenough wrote:
> >> On Wednesday 02 December 2009, Alan Ianson wrote:
> >>> 2.  I'm sticking with LILO.  I've never "manually" installed a boot
> >>> loader, only during Debian clean/scratch installations using the Deb
> >>> installer.  The last time I did that was with Woody, like 4 years ago.
> >>> How do I manually install LILO to the boot sector of the new disk?  I'm
> >>> sure it's simple, I just don't know the command.
> >>>
> >>> Thanks so much for your very helpful insight to this point Andrew.
> >>
> >> I haven't used lilo in years.. but if I remember right I ran the command
> >> "lilo" after making any changes to it's config and that would rewrite
> >> it.
> >
> > If you (or anyone else) is using Grub, simply copying your  files across
> > your files will not work due to the presence of UUIDs in the Grub2 config
> > files.  I have been unable to find the proper procedure for updating
> > those UUIDs.
> >
> > David
> 
> Hi,
> 
> tune2fs -U [old_partition_UUID] /dev/[new_partition]
> 
> will change the UUID of the new partition to the one of the original
> one. If the partitions are inside the same machine, it is necessary to
> change the UUID of the old partition, so that UUID's remain unique...
> fstab needs adjusting if UUID are in use there too.
> This is how I do it when moving systems around, it works, not to say
> there isn't a better way !
> 
while that will solve the problem, what I really want is a command that
will update the grub config files (and fstab if that starts using UUIDs too)
to the new disk.  Issuing commands with UUIDs in them manually does
not strike me as fun or something to be done regularly.

David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



The purchase of a new laptop on debian

2009-12-02 Thread Daniel Dalton
Hi All,

I'm looking to buy a knew laptop. I have been recommended by a few
people to look at the Lenovo thinkpad X 200 and t 400/500. What are your
thoughts on these systems? What is positive, what is negative? 

What other brands should I consider Del and HP don't seem to be as
powerful as these Lenovos, but maybe I'm wrong. What should I consider
with good linux support (debian)? I'm looking at a 12.1 inch system, but
am also happy to buy a 14 inch. I will need something with dual core
2ghz+ cpu and 2 gb+ ram. I also may run virtual machines too.

Any advice is greatly appreciated.

-- 
Cheers,
Dan

http://members.iinet.net.au/~ddalton/



signature.asc
Description: Digital signature


Re: atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).

2009-12-02 Thread Mathieu Malaterre
If that helps I can get lshal -m to work for the following:

12:38:47.903: computer_logicaldev_input_2 condition ButtonPressed =
switch-videomode
12:38:51.014: computer_power_supply_battery_BAT0 property
battery.voltage.current = 12578 (0x3122)

I tried pressing Fn+F1 -> F12, but only two got recognized. The
hal-info seems ok, but the event seems in-turn not to be registered...

Thanks for help

On Wed, Dec 2, 2009 at 12:35 PM, Mathieu Malaterre
 wrote:
> Hi there,
>
>  I am hitting this problem now :
>
> [  118.586044] atkbd.c: Unknown key pressed (translated set 2, code
> 0x88 on isa0060/serio0).
> [  118.586044] atkbd.c: Use 'setkeycodes e008 ' to make it known.
>
>
>  In the past I was able to fix it using hal-info from testing, but
> today this is not working anymore. What do I need to get the special
> WLAN key (Alt-F2 on DELL M6300) to work on a Debian/Lenny system ?
>
> dmesg output:
> [  118.586044] iwl4965: Radio Frequency Kill Switch is On:
> [  118.586044] Kill switch must be turned off for wireless networking to work.
> [  118.586044] atkbd.c: Unknown key pressed (translated set 2, code
> 0x88 on isa0060/serio0).
> [  118.586044] atkbd.c: Use 'setkeycodes e008 ' to make it known.
> [  118.716437] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  118.725402] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.020807] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.030904] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.301369] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.509042] CE: hpet increasing min_delta_ns to 15000 nsec
> [  119.565446] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.565446] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.734078] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.942087] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  119.942087] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  120.090892] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
> [  120.163248] iwl4965: WARNING: Requesting MAC access during RFKILL
> wakes up NIC
>
>
> Package:
>
> $ apt-cache policy hal hal-info
> hal:
>  Installed: 0.5.13-4
>  Candidate: 0.5.13-4
>  Version table:
>     0.5.13-6 0
>        100 http://ftp.fr.debian.org unstable/main Packages
>  *** 0.5.13-4 0
>        200 http://ftp.fr.debian.org testing/main Packages
>        100 /var/lib/dpkg/status
>     0.5.11-8 0
>        500 http://ftp.fr.debian.org lenny/main Packages
> hal-info:
>  Installed: 20091130-1
>  Candidate: 20091130-1
>  Version table:
>  *** 20091130-1 0
>        100 http://ftp.fr.debian.org unstable/main Packages
>        100 /var/lib/dpkg/status
>     20090716-1 0
>        200 http://ftp.fr.debian.org testing/main Packages
>     20080508+git20080601-1 0
>        500 http://ftp.fr.debian.org lenny/main Packages
>
>
> The worst part is that I can see the DELL keycode:
>
> $ grep F2 /usr/share/hal/fdi/information/10freedesktop/30-keymap-dell.fdi
>           type="strlist">e008:wlan 
>
> Thanks again !
> --
> Mathieu
>



-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



atkbd.c: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).

2009-12-02 Thread Mathieu Malaterre
Hi there,

  I am hitting this problem now :

[  118.586044] atkbd.c: Unknown key pressed (translated set 2, code
0x88 on isa0060/serio0).
[  118.586044] atkbd.c: Use 'setkeycodes e008 ' to make it known.


  In the past I was able to fix it using hal-info from testing, but
today this is not working anymore. What do I need to get the special
WLAN key (Alt-F2 on DELL M6300) to work on a Debian/Lenny system ?

dmesg output:
[  118.586044] iwl4965: Radio Frequency Kill Switch is On:
[  118.586044] Kill switch must be turned off for wireless networking to work.
[  118.586044] atkbd.c: Unknown key pressed (translated set 2, code
0x88 on isa0060/serio0).
[  118.586044] atkbd.c: Use 'setkeycodes e008 ' to make it known.
[  118.716437] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  118.725402] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.020807] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.030904] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.301369] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.509042] CE: hpet increasing min_delta_ns to 15000 nsec
[  119.565446] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.565446] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.734078] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.942087] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  119.942087] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  120.090892] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC
[  120.163248] iwl4965: WARNING: Requesting MAC access during RFKILL
wakes up NIC


Package:

$ apt-cache policy hal hal-info
hal:
  Installed: 0.5.13-4
  Candidate: 0.5.13-4
  Version table:
 0.5.13-6 0
100 http://ftp.fr.debian.org unstable/main Packages
 *** 0.5.13-4 0
200 http://ftp.fr.debian.org testing/main Packages
100 /var/lib/dpkg/status
 0.5.11-8 0
500 http://ftp.fr.debian.org lenny/main Packages
hal-info:
  Installed: 20091130-1
  Candidate: 20091130-1
  Version table:
 *** 20091130-1 0
100 http://ftp.fr.debian.org unstable/main Packages
100 /var/lib/dpkg/status
 20090716-1 0
200 http://ftp.fr.debian.org testing/main Packages
 20080508+git20080601-1 0
500 http://ftp.fr.debian.org lenny/main Packages


The worst part is that I can see the DELL keycode:

$ grep F2 /usr/share/hal/fdi/information/10freedesktop/30-keymap-dell.fdi
  e008:wlan 

Thanks again !
-- 
Mathieu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong Keymap used in X session

2009-12-02 Thread Mathieu Malaterre
On Wed, Dec 2, 2009 at 1:14 PM, Klistvud  wrote:
> Dne, 02. 12. 2009 11:53:50 je Mathieu Malaterre napisal(a):
> In the
>> device-console keymap is British, but when I switch to the X session
>> (gnome) it is set to american.
>
> I had the exact same symptom in a new Lenny installation a while ago.
> In the end, it turned out that some lines were missing in my xorg.conf:
>
> 
>
> Section "InputDevice"
>    # generated from default
>    Identifier     "Keyboard0"
>    Driver         "kbd"
>    Option              "XkbRules"      "xorg"
>    Option              "XkbLayout"     "si"
>
> EndSection
>
> 
>
> To be exact, one of the last two lines (or both of them) were missing
> and had to be added manually. Of course, your layout would not be "si"
> but "gb" or something like that.

Excellent that fixed it. thanks !

-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Default configuration file for X server?

2009-12-02 Thread Hrishikesh Murali
Hi,
I am Hrishikesh Murali, a new member to this list. I have debian
installed as a virtual machine on my laptop having resolution
1280x800, and by default without any graphics driver it uses a
built-in configuration for the X session.
This is a snippet from my log file :


(==) --- Start of built-in configuration ---
   Section "Device"
   Identifier  "Builtin Default vesa Device 0"
   Driver  "vesa"
   EndSection
   Section "Screen"
   Identifier  "Builtin Default vesa Screen 0"
   Device  "Builtin Default vesa Device 0"
   EndSection
   Section "Device"
   Identifier  "Builtin Default fbdev Device 0"
   Driver  "fbdev"
   EndSection
   Section "Screen"
   Identifier  "Builtin Default fbdev Screen 0"
   Device  "Builtin Default fbdev Device 0"
   EndSection
   Section "ServerLayout"
   Identifier  "Builtin Default Layout"
   Screen  "Builtin Default vesa Screen 0"
   Screen  "Builtin Default fbdev Screen 0"
   EndSection
(==) --- End of built-in configuration ---


My questions are:
1) Where is this default configuration specified?
2) There are three screens specified in the log, which one is used by default?

The default resolution of my screen in my debain VM is 1280x1024, but
my laptop resolution is 1280x800. I am not able to view the desktop
properly in my VM. Any suggestions are welcome.

--
Cheers,
Hrishikesh Murali


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Wrong Keymap used in X session

2009-12-02 Thread Klistvud
Dne, 02. 12. 2009 11:53:50 je Mathieu Malaterre napisal(a):
In the
> device-console keymap is British, but when I switch to the X session
> (gnome) it is set to american.

I had the exact same symptom in a new Lenny installation a while ago. 
In the end, it turned out that some lines were missing in my xorg.conf:



Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbLayout" "si"

EndSection



To be exact, one of the last two lines (or both of them) were missing 
and had to be added manually. Of course, your layout would not be "si" 
but "gb" or something like that.


-- 
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: virus on linux?

2009-12-02 Thread Nuno Magalhães
On Wed, Dec 2, 2009 at 01:33, Rob Owens  wrote:

> Don't forget about the *.desktop files that several desktop environments
> use to launch programs from their deskop.  They can execute files
> without the "x" permission set.  Although I think one of the major DE's
> fixed that security hole (but I can't remember which).

I think that was the proof of concept someone mentioned.

For security there's Bastille linux, which (i guess) is similar to
harden_suse - does a lot of little changes to harden your system. I
didn't really like it, but it might be worth a try. Using an IDS
wouldn't be a bad idea also, tutorials abound.

I think it's worth repeating that even without privilege escalation, a
compromised user account could do a lot of damage - spambot for one.

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Last Minute Special!!!

2009-12-02 Thread Monyela mountain Lodge
Last minute special !!!

Availability up to the 17th of December 2009

Book now your family holiday 



(The Lodge unit sleeps up to 12 people)

R2600 per night(unit rate) or book 5 nights for R.00
 Normal price R3600 p/n (unit rate)



(The Chalet unit sleeps up to 4 people)

R1200 per night(unit rate) or book 5 nights For R4999
Normal price R1440 p/n (unit rate)



Please send a mail to i...@monyelalodge.com  with the subject "special" to make 
a booking.

Best regards.

Uys van Rensburg


To Unsubscribe, please click here :
http://pmailer.prefix.co.za/box.php?funcml=unsub2&nl=5616&mi=25518&email=debian-user%40lists.debian.org

Re: NetBeans in contrib

2009-12-02 Thread Boyd Stephen Smith Jr.
In <6b1504c40912020246o3d9755b8w9058e6119aa86...@mail.gmail.com>, Nuno 
Magalhães wrote:
>On Tue, Dec 1, 2009 at 08:45, Lars Tennstedt  wrote:
>> Can anyone tell me why
>> NetBeans-IDE is placed in contrib? It depends on the NetBeans-Plattform
>> from contrib and this depends on OpenJDK 6 from main.
>
>I think it's because it's developed by an external party and not
>specifically for Debian. If it were to depend on java-sun6-jdk or
>whatever the package is, it would be in non-free though-

No.  Packages in main must not Depend (and should not Recommend) any package 
from contrib or non-free and must be DFSG-Free.  Packages in contrib must be 
DFSG-Free but have few restrictions on Dependencies (they should be 
installable and useful without non-Debian-hosted repositories though).  
Packages in non-free must be distributable by Debian, but need not be DFSG-
Free.

It's probably that a previous NetBeans-Platform version had a non-free 
Dependency and the maintainer is still uploading it to the wrong queue.  Or, 
the might be some special process needed to transition a package from contrib 
to main that hasn't been completed yet.

I suggest downloading the .deb and trying to install it in a clean main-only 
system.  If that works, a wishlist bug is appropriate.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Wrong Keymap used in X session

2009-12-02 Thread Mathieu Malaterre
Hi there,

  I just finished installing a brand new debian/stable system on a
DELL Precision M6300... but I already have a problem with the keymap
used on my X session (console Ctrl-Alt-F1 is ok). In the
device-console keymap is British, but when I switch to the X session
(gnome) it is set to american.

  Every single package is from stable or stable/backports. Where do I
specify which keymap to use ?

Thanks
-- 
Mathieu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: NetBeans in contrib

2009-12-02 Thread Nuno Magalhães
On Tue, Dec 1, 2009 at 08:45, Lars Tennstedt  wrote:
> Hello,
>
> sorry for bothering you, but I do not get it. Can anyone tell me why
> NetBeans-IDE is placed in contrib? It depends on the NetBeans-Plattform from
> contrib and this depends on OpenJDK 6 from main.

I think it's because it's developed by an external party and not
specifically for Debian. If it were to depend on java-sun6-jdk or
whatever the package is, it would be in non-free though-

But i'm no authority on the matter.

Regards,
Nuno Magalhães

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread Jochen Schulz
Stan Hoeppner:
> 
> I would like to add a new IDE disk between say 160GB and 250GB, on
> another IDE channel, and copy/mirror/etc the exact contents of the
> current system disk to the new disk; make the new disk the system (boot)
> disk, and remove the original disk from the machine.  I've never done a
> disk migration such as this with Linux.

This Howto describes a few methods:
http://tldp.org/HOWTO/Hard-Disk-Upgrade/index.html

J.
-- 
If you do not move for long enough, you might see a rat.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: migrate to new system disk

2009-12-02 Thread tv.deb...@googlemail.com
>David Goodenough wrote:
>> On Wednesday 02 December 2009, Alan Ianson wrote:
>>> 2.  I'm sticking with LILO.  I've never "manually" installed a boot
>>> loader, only during Debian clean/scratch installations using the Deb
>>> installer.  The last time I did that was with Woody, like 4 years ago.
>>> How do I manually install LILO to the boot sector of the new disk?  I'm
>>> sure it's simple, I just don't know the command.
>>>
>>> Thanks so much for your very helpful insight to this point Andrew.
>> I haven't used lilo in years.. but if I remember right I ran the command
>> "lilo" after making any changes to it's config and that would rewrite
>> it.
>>
> If you (or anyone else) is using Grub, simply copying your  files across
> your files will not work due to the presence of UUIDs in the Grub2 config
> files.  I have been unable to find the proper procedure for updating those
> UUIDs.
> 
> David
> 
> 
Hi,

tune2fs -U [old_partition_UUID] /dev/[new_partition]

will change the UUID of the new partition to the one of the original
one. If the partitions are inside the same machine, it is necessary to
change the UUID of the old partition, so that UUID's remain unique...
fstab needs adjusting if UUID are in use there too.
This is how I do it when moving systems around, it works, not to say
there isn't a better way !


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: setting a preferred debian repository?

2009-12-02 Thread Boyd Stephen Smith Jr.
In <68b1e2610912020216p698bcb0x2f771de504dde...@mail.gmail.com>, Liviu 
Andronic wrote:
>How can I instruct Synaptic to honour
>the priorities defined in /etc/apt/preferences?

I don't use synaptic.

It's documentation may point you to a different file with the same or similar 
syntax.  Even in that case, I suggest filing a bug against synaptic and 
waiting for it to be addressed.  The standard tools in the "apt" package use 
this file, as does aptitude -- I see no reason it can't be shared with 
synaptic as well.  It's even possible there may be a configuration option to 
have it use /etc/apt/preferences.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: setting a preferred debian repository?

2009-12-02 Thread Liviu Andronic
Hello

On 12/1/09, Boyd Stephen Smith Jr.  wrote:
> Yes, read (man 5 apt_preferences) and review the output of (apt-cache policy)
>  or (apt-cache policy $package).
>
>  For a full practical example, see .
>
I looked at the pages and right now it *seems* to be doing what I
need. In my case, I set
li...@debian-liv:~$ cat /etc/apt/preferences
Package: *
Pin: release n=cran2deb
Pin-Priority: 1001

which gives
li...@debian-liv:~$ apt-cache policy | grep cran
1001 http://debian.cran.r-project.org testing/ Packages
 release o=root,a=testing,n=cran2deb,l=root,c=
 origin debian.cran.r-project.org

and now aptitude proposes to upgrade, for example,
r-cran-urca 1.2-3-1cran1 -> 1.2-3-1cran2

instead of
r-cran-urca 1.2-3-1cran1 -> 1.2-3-2

, which is what I want. This doesn't seem to affect Synaptic, though.
It still proposes to upgrade
r-cran-urca 1.2-3-1cran1 -> 1.2-3-2

, something that I don't want. How can I instruct Synaptic to honour
the priorities defined in /etc/apt/preferences?

Thank you
Liviu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: migrate to new system disk

2009-12-02 Thread David Goodenough
On Wednesday 02 December 2009, Alan Ianson wrote:
> > 2.  I'm sticking with LILO.  I've never "manually" installed a boot
> > loader, only during Debian clean/scratch installations using the Deb
> > installer.  The last time I did that was with Woody, like 4 years ago.
> > How do I manually install LILO to the boot sector of the new disk?  I'm
> > sure it's simple, I just don't know the command.
> >
> > Thanks so much for your very helpful insight to this point Andrew.
> 
> I haven't used lilo in years.. but if I remember right I ran the command
> "lilo" after making any changes to it's config and that would rewrite
> it.
> 
If you (or anyone else) is using Grub, simply copying your  files across
your files will not work due to the presence of UUIDs in the Grub2 config
files.  I have been unable to find the proper procedure for updating those
UUIDs.

David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org