Re: orphan link linux-kbuild-N.N.N in /usr/local/src

2011-08-12 Thread Sven Joachim
On 2011-08-12 23:54 +0200, Jerome BENOIT wrote:

>> If you don't want to do that, use a bind mount rather than a symlink for
>> /usr/src.  Then the /usr/src/linux-kbuild-3.0.0 symlink will work (but
>> /usr/local/src/linux-kbuild-3.0.0 will not).
>>
>
> In other words, the issue remains.
>
> Is there a way to ask to the involved package to link via an absolute path 
> rather than a relative one ?

Not really, although it might be possible to convert it to absolute
after unpacking if you install a dpkg trigger which does that.

> May I fill a bug report here ?

Debian policy requires the link to be relative¹, so the Debian kernel
team will not change their packages to accommodate you.

Sven


¹ http://www.debian.org/doc/debian-policy/ch-files.html#s10.5


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y5yxg76j@turtle.gmx.de



Re: orphan link linux-kbuild-N.N.N in /usr/local/src

2011-08-12 Thread Sven Joachim
On 2011-08-12 09:29 +0200, Jerome BENOIT wrote:

> On 12/08/11 08:08, Sven Joachim wrote:
>> On 2011-08-11 21:10 +0200, Jerome BENOIT wrote:
>>
>>> On my Debian (Wheezy) boxes, the /usr/src is a link to /usr/local/src ,
>>> /usr and /usr/local being mounted on different partitions.
>>> I guess it is a common practice.
>>
>> It might be common, but it is not a good practice since /usr/src is
>> distribution territory.  I.e. Debian packages will overwrite any local
>> files without warning.
>
> My understand is the /usr/src is an exception: and /usr/src is meant to
> to build kernel images.

You can build kernel images anywhere you like, there is no need or
advantage whatsoever to build them under /usr/src.

> Second, my set up forced the distribution territory:
> on my box: /usr is mounted read only, whereras /usr/local is not.

That does still not explain why you need /usr/src to be writable.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877h6hhm9m@turtle.gmx.de



Re: Unidentified subject! (wireless installation problem)

2011-08-12 Thread gnubayonne-debian...@yahoo.com
It makes me feel a little better if its not just my hardware with this issue. I 
hope wireless support gets improved though, I think with wireless being so 
popular and telco/cable companies being so cheap they'll eventually remove 
wired 
connections from consumer grade routers. Its the sort of win-win that 
corporations love: saving money and reducing consumer choice. The ultimate 
two-fer! Although I like learning technology (and the DFSG lowers the expense 
of 
learning to the cost of the hardware you learn on), I mostly use debian because 
I don't like my communication and security to be at the whim of people who's 
profit model doesn't really take into consideration whether I can communicate 
securely.



- Original Message 
From: Charlie 
To: debian-user@lists.debian.org
Sent: Fri, August 12, 2011 10:16:12 PM
Subject: Re: Unidentified subject! (wireless installation problem)

On Fri, 12 Aug 2011 14:30:40 -0700 (PDT)
"gnubayonne-debian...@yahoo.com gnubayonne-debian...@yahoo.com"
suggested this:

>From Camaleón's comment, it sounds like using a wireless network to do
>an install is generally a problem, has anyone had success with a
>wireless install? I'm worried if I ever need to reinstall when I'm not
>in my home, it would not work. I don't know if I could get a wired
>network port away from home.

I have had the experience as what you say Camaleón has mentioned. Never
been able to install from a wireless network straight up. Have used a
wired network to get the basic system that boots up.

Then installed wireless-tools, non free firmware etc.. to try to
connect to a wireless network. Have installed wicd also, usually, to get
wireless recognised by my /etc/network/interfaces entries and then
installed the rest of the packages to complete the system installation.

Without wicd, ifup wlan0 doesn't seem to work. So I leave it on the
system. If it starts up and finds the wireless network I use that
connection, if it doesn't I invoke ifup wlan0 and use that.

It appears, in my case at least, that wireless just isn't as straight
forward as it probably should be in Debian. On a dual boot laptop,
windows XP finds it straight away. Ce la vie. We're using Debian to
learn, not because it's easy, are we?

Hope that helps.
Charlie
-- 
Registered Linux User:- 329524
***

Whatever the human law may be, neither an individual nor a nation can
commit the least act of injustice against the obscurest individual
without having to pay the penalty for it. ...Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110813121612.367c00d0@taowild


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1313213949.5855.yahoomai...@web180614.mail.sp1.yahoo.com



Re: Wireless problem with Thinkpad X220

2011-08-12 Thread Kumar Appaiah
On Fri, Aug 12, 2011 at 02:56:02PM +0300, Volkan YAZICI wrote:
> 1. Turn every service (wicd, network-manager, rf stuff, etc.) that is
>associated with wifi off.
> 
> 2. Does "iwlist wlan0 scan" still return nothing?

Unfortunately, even these didn't help. However, upgrading the kernel
to 3.0.0-1-amd64 fixed things.

Thanks!

Kumar
-- 
 How do I bind a computer to an NIS server?
 Use a rope?
-- Seen on #Debian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110813052042.ga28...@bluemoon.alumni.iitm.ac.in



Re: Unidentified subject! (wireless installation problem)

2011-08-12 Thread Charlie
 On Fri, 12 Aug 2011 14:30:40 -0700 (PDT)
 "gnubayonne-debian...@yahoo.com gnubayonne-debian...@yahoo.com"
 suggested this:

>From Camaleón's comment, it sounds like using a wireless network to do
>an install is generally a problem, has anyone had success with a
>wireless install? I'm worried if I ever need to reinstall when I'm not
>in my home, it would not work. I don't know if I could get a wired
>network port away from home.

I have had the experience as what you say Camaleón has mentioned. Never
been able to install from a wireless network straight up. Have used a
wired network to get the basic system that boots up.

Then installed wireless-tools, non free firmware etc.. to try to
connect to a wireless network. Have installed wicd also, usually, to get
wireless recognised by my /etc/network/interfaces entries and then
installed the rest of the packages to complete the system installation.

Without wicd, ifup wlan0 doesn't seem to work. So I leave it on the
system. If it starts up and finds the wireless network I use that
connection, if it doesn't I invoke ifup wlan0 and use that.

It appears, in my case at least, that wireless just isn't as straight
forward as it probably should be in Debian. On a dual boot laptop,
windows XP finds it straight away. Ce la vie. We're using Debian to
learn, not because it's easy, are we?

Hope that helps.
Charlie
-- 
Registered Linux User:- 329524
***

Whatever the human law may be, neither an individual nor a nation can
commit the least act of injustice against the obscurest individual
without having to pay the penalty for it. ...Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110813121612.367c00d0@taowild



cdrom-detect udeb package in netinstall CD of Lenny

2011-08-12 Thread Ravi Roy
Hi,

I am using netinstall 5.0.4 of Lenny and I wonder if somone can throw some
light on cdrom-detect udeb package which is part of debian installer. I can
not find cdrom-detect.udeb in debian netinstall CD of lenny. Reason to ask
this is to understand that what is the flow of CD/DVD-Rom detection and
mount or how it works at lower level.

Thanks!

--RR


How do you change file associations in Thunar?

2011-08-12 Thread Jason Hsu
OS: antiX Linux M11 (based on MEPIS)
File managers: Thunar and ROX-Filer
Window manager: IceWM

I know that the file associations in the Rox-Filer file manager are in the 
~/.config/rox.sourceforge.net/MIME-types directory.  These scripts control what 
application opens up when I click on a file in the Rox-Filer file manager.

Where are the file associations in the Thunar file manager, and how do I change 
them?  When I click on a file in the Thunar window manager, I still get AbiWord 
for *.doc and *.odt files and Gnumeric for *.xls files.

Please note that I'm aware of right-click -> Open with Another Application.  
I'm looking for the solution that involves command line or directly editing 
files, as I need to automate the procedure on behalf of Swift Linux users.

-- 
Jason Hsu 
Founder and lead developer of Swift Linux (http://www.swiftlinux.org)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110812173921.e1c1680a.jhsu802...@jasonhsu.com



Re: [maybe OT] unicode control characters in filenames

2011-08-12 Thread Eike Lantzsch
On Wednesday 10 August 2011 19:04:57 Mike McClain wrote:
> 
> 
> > myuser@mysytem:~/path-name-of-unicode-files$ rename -n 's/\x{202A}//' *
> > 
> > I get no output although x{202A} is definitely the first char in the
> > filename. This definitely needs more than a cursory view into perl -
> > exactly what I wanted to avoid.
> > Maybe I better post in a perl mailinglist. Only I'm afraid that I'll get
> > nothing but RTFM! and "do your own homework!" - they maybe right ...
> 
> Sorry to hear my suggestion about tr didn't help you.
> Try this:
> ls *file.ext | hd
> to be sure you know what characters are in the filename, then
> prename -n 's/\x20\x2A//' *file.ext
> or what ever the characters turn out to be
> Mike

Thank you Mike!

prename -v 's/\xe2\x80\xac//' *file.ext got me going. Didn't know about hd 
before - duh!
And I just was not really on the right scent with the unicode. It is composed 
of three bytes, not two as I asumed.
With two renames, one after another I was able to eliminate the control 
characters.
It was all a bug of FlashGot 1.3.0.4 in connection with curl.
FlashGot 1.3.0.5 does not have this problem anymore, instead it is stripping 
the last character of the filename (not the extension) now. I filed a bug 
report.

Thnx again
Greetings
Eike


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201108121821.47297.zp6...@gmx.net



Re: orphan link linux-kbuild-N.N.N in /usr/local/src

2011-08-12 Thread Jerome BENOIT




My advice would be to delete the symlink and move any files belonging to
Debian packages to /usr/src.  Use "dpkg -S usr/src" to find out which
files belong to packages.

If you don't want to do that, use a bind mount rather than a symlink for
/usr/src.  Then the /usr/src/linux-kbuild-3.0.0 symlink will work (but
/usr/local/src/linux-kbuild-3.0.0 will not).



In other words, the issue remains.

Is there a way to ask to the involved package to link via an absolute path 
rather than a relative one ?
May I fill a bug report here ?

Thanks,
Jerome


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

Archive: http://lists.debian.org/4e45a110.5050...@rezozer.net



Re: Unidentified subject! (wireless installation problem)

2011-08-12 Thread gnubayonne-debian...@yahoo.com
I started another install, had the same problem not detecting my WPA network. 
It 
still couldn't detect either of the two unprotected networks, even when I 
specified their ESSIDs.

Pulled from the syslog, here you see it finding the firmware:

Aug 12 20:49:41 check-missing-firmware: missing firmware files 
(iwlwifi-3945-2.ucode iwlwifi-3945-1.ucode) for iwl3945 iwl3945
Aug 12 20:49:55 check-missing-firmware: installing firmware package 
/media/firmware-iwlwifi_0.28_all.deb
Aug 12 20:49:56 kernel: [   78.904299] iwl3945 :0c:00.0: PCI INT A disabled
Aug 12 20:49:56 kernel: [   78.950751] iwl3945: Intel(R) PRO/Wireless 
3945ABG/BG 
Network Connection driver for Linux, 1.2.26ks
Aug 12 20:49:56 kernel: [   78.950754] iwl3945: Copyright(c) 2003-2009 Intel 
Corporation
Aug 12 20:49:56 kernel: [   78.950813] iwl3945 :0c:00.0: PCI INT A -> GSI 
17 
(level, low) -> IRQ 17
Aug 12 20:49:56 kernel: [   78.950832] iwl3945 :0c:00.0: setting latency 
timer to 64
Aug 12 20:49:56 kernel: [   79.006469] iwl3945 :0c:00.0: Tunable channels: 
11 802.11bg, 13 802.11a channels
Aug 12 20:49:56 kernel: [   79.006472] iwl3945 :0c:00.0: Detected Intel 
Wireless WiFi Link 3945ABG
Aug 12 20:49:56 kernel: [   79.006611] iwl3945 :0c:00.0: irq 29 for 
MSI/MSI-X
Aug 12 20:49:56 kernel: [   79.007201] phy0: Selected rate control algorithm 
'iwl-3945-rs'
Aug 12 20:49:56 kernel: [   79.009064] iwl3945 :0c:00.0: firmware: 
requesting iwlwifi-3945-2.ucode
Aug 12 20:49:56 kernel: [   79.012391] iwl3945 :0c:00.0: loaded firmware 
version 15.32.2.9
Aug 12 20:49:56 kernel: [   79.079937] Registered led device: iwl-phy0::radio
Aug 12 20:49:56 kernel: [   79.080154] Registered led device: iwl-phy0::assoc
Aug 12 20:49:56 kernel: [   79.080305] Registered led device: iwl-phy0::RX
Aug 12 20:49:56 kernel: [   79.080457] Registered led device: iwl-phy0::TX
Aug 12 20:49:58 kernel: [   81.003877] Registered led device: iwl-phy0::radio
Aug 12 20:49:58 kernel: [   81.004125] Registered led device: iwl-phy0::assoc
Aug 12 20:49:58 kernel: [   81.004278] Registered led device: iwl-phy0::RX
Aug 12 20:49:58 kernel: [   81.004429] Registered led device: iwl-phy0::TX
Aug 12 20:50:02 kernel: [   85.367923] Registered led device: iwl-phy0::radio
Aug 12 20:50:02 kernel: [   85.368183] Registered led device: iwl-phy0::assoc

The last 6 lines above repeated at least a dozen times in the syslog.

then later when I'm trying the different networks:

Aug 12 20:54:08 kernel: [  330.522097] ADDRCONF(NETDEV_UP): wlan0: link is not 
ready
Aug 12 20:54:09 kernel: [  331.595802] Registered led device: iwl-phy0::radio
Aug 12 20:54:09 kernel: [  331.596049] Registered led device: iwl-phy0::assoc
Aug 12 20:54:09 kernel: [  331.596197] Registered led device: iwl-phy0::RX
Aug 12 20:54:09 kernel: [  331.596343] Registered led device: iwl-phy0::TX
Aug 12 20:54:09 kernel: [  331.597972] ADDRCONF(NETDEV_UP): wlan0: link is not 
ready
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc (v1.17.1) started
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc: has been called with an 
unknown param: leasefail
Aug 12 20:54:13 main-menu[430]: (process:5459): Received SIGTERM
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc (v1.17.1) started
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc: has been called with an 
unknown param: leasefail
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc: has been called with an 
unknown param: leasefail
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc: has been called with an 
unknown param: leasefail
Aug 12 20:54:13 main-menu[430]: (process:5459): Read error: Network is down, 
reopening socket
Aug 12 20:54:13 main-menu[430]: (process:5459): Read error: Network is down, 
reopening socket
Aug 12 20:54:13 main-menu[430]: (process:5459): Read error: Network is down, 
reopening socket
Aug 12 20:54:13 main-menu[430]: (process:5459): Read error: Network is down, 
reopening socket
Aug 12 20:54:13 main-menu[430]: (process:5459): Read error: Network is down, 
reopening socket
Aug 12 20:54:13 main-menu[430]: (process:5459): Sending discover...
Aug 12 20:54:13 main-menu[430]: (process:5459): udhcpc: sendto: Netw

Re: restoring GRUB after windows 7 install along side Debian set-up with LUKS+LVM

2011-08-12 Thread yudi v
> W7 does not mangle the mbr any longer. After install, go to debian and run
> update-grub to get a bootable W7.
> Thierry
>
> This is incorrect.

Win 7 will definitely wipe out GRUB.

There are several ways to restore GRUB. It really depends on how one
configured his setup.
I had the following configuration:

sda1 - win7
sda2 - /boot
sda3 - LVM on top of LUKS partition - (separate LVs for /, /home, and SWAP)
sda5 - FAT32

to restore GRUB I used the Debian DVD installer disk.
choose:
Advanced options >
rescue mode or Graphical rescue mode >
>From the "Debian installer main menu" choose "enter rescue mode"
then it prompted me for my passphrase for sda3
then it listed all the partitions/LVs/LUKS partitions and asked me to choose
the root file system
selected the LV with /
then selected execute a shell in root filesystem

this is where I got confused.

I did not mount /boot as it was on a separate partition and was getting
errors.
Mounting sda2 at /boot fixed the issue.

the following two commands were the only ones I had to execute to get back
GRUB.

mount /dev/sda2 /boot
grub-install /dev/sda

all done.

rebooted and everything was back to normal.

I hope this helps anyone with the same issue.
-- 
Kind regards,
Yudi


Re: jigdo-bd

2011-08-12 Thread Dejan Ribič

Dne 12.8.2011 21:26, piše Paul E Condon:

I am looking into downloading some iso images of squeeze. I have not
done this in quite a while and I see that things have changed a lot
while I wasn't looking. I think I need jigdo-cd.

But what is jigdo-bd? Under what conditions is it the proper choice?
"bd" must be mnemonic for something, but I don't make the connection
the way I do for "cd".

TIA

Hi,

   "bd" stands for Bluray-Disc.

Cheers,

Dejan


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

Archive: http://lists.debian.org/4e458257.9090...@gmail.com



squeeze freeze while copying from camera mem card (via USB)

2011-08-12 Thread Itay


After upgrading to squeeze from lenny I cannot copy photos from the 
8GB memory card.  Worse: the computer freezes, I lose the mouse and 
the keyboard (attached via USB) and have to make hard-shutdown.
I can mount the file-system, but very quickly it will appear as if it 
was never mounted: cd, ls, etc., will not work.


So far using same camera and connection with another card didn't 
produce that effect.


Using both cards, same camera and connection, on another machine + 
lenny doesn't produce this effect either.


Below is the relevant part of /var/log/messages showing the detection 
of the camera with a 4GB card, followed by the detection of the 
tricksey 8GB card.  The last line belongs to the boot sequence that I 
was forced to do.


Please help me to resolve this issue.
Thanks,
Itay


[264415.556019] usb 2-4: new high speed USB device using ehci_hcd and address 3
[264415.689635] usb 2-4: New USB device found, idVendor=04b0, idProduct=0419
[264415.689638] usb 2-4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[264415.689641] usb 2-4: Product: NIKON DSC D300
[264415.689643] usb 2-4: Manufacturer: NIKON
[264415.689644] usb 2-4: SerialNumber: 03103000
[264415.689747] usb 2-4: configuration #1 chosen from 1 choice
[264415.689995] scsi9 : SCSI emulation for USB Mass Storage devices
[264420.690039] scsi 9:0:0:0: Direct-Access NIKOND300  1.00 PQ: 0 
ANSI: 2
[264420.690605] sd 9:0:0:0: Attached scsi generic sg5 type 0
[264420.691392] sd 9:0:0:0: [sdc] 8027712 512-byte logical blocks: (4.11 
GB/3.82 GiB)
[264420.691763] sd 9:0:0:0: [sdc] Write Protect is off
[264420.693641]  sdc: sdc1
[264420.696766] sd 9:0:0:0: [sdc] Attached SCSI removable disk
[264870.768022] usb 2-4: reset high speed USB device using ehci_hcd and address 
3
[264871.016021] usb 2-4: reset high speed USB device using ehci_hcd and address 
3
[264975.886655] usb 2-4: USB disconnect, address 3
[265094.536019] usb 1-4: new high speed USB device using ehci_hcd and address 4
[265094.669478] usb 1-4: New USB device found, idVendor=04b0, idProduct=0419
[265094.669481] usb 1-4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[265094.669483] usb 1-4: Product: NIKON DSC D300
[265094.669485] usb 1-4: Manufacturer: NIKON
[265094.669487] usb 1-4: SerialNumber: 03103000
[265094.669590] usb 1-4: configuration #1 chosen from 1 choice
[265094.669872] scsi10 : SCSI emulation for USB Mass Storage devices
[265099.669888] scsi 10:0:0:0: Direct-Access NIKOND300 1.00 PQ: 0 
ANSI: 2
[265099.670463] sd 10:0:0:0: Attached scsi generic sg5 type 0
[265099.671363] sd 10:0:0:0: [sdc] 16007040 512-byte logical blocks: (8.19 
GB/7.63 GiB)
[265099.671730] sd 10:0:0:0: [sdc] Write Protect is off
[265099.673741]  sdc: sdc1
[265099.678379] sd 10:0:0:0: [sdc] Attached SCSI removable disk
imklog 4.6.4, log source = /proc/kmsg started.



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

Archive: 
http://lists.debian.org/alpine.DEB.2.00.1108122203440.2888@gandalf.furmanet



Re: Unidentified subject! (wireless installation problem)

2011-08-12 Thread gnubayonne-debian...@yahoo.com
Sorry, you're right that was the wired interface, I must have cut n pasted the 
wrong line, my wireless is:

0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] 
Network Connection (rev 02)


I'm sorry to hear the installer only supports WEP. That would make it hard for 
anyone without a wired connection.

I did look at the tty with the logging info I don't remember seeing anything 
obvious. I'll try again though.

What seems strange to me is there are two completely unprotected/unencrypted 
wireless networks that I can connect to and browse the net with, but they are 
not detected by the installer. When I manually specify my protected network in 
the installer, it just errors out saying it can't reach it, not that its a 
level 
of encryption not supported, or other specific error. I'll try manually 
specifying one of the unprotected networks next time.

I tried the install again after my original post before getting your reply, and 
the wireless light blinks a lot after the installer finds the iwl firmware deb 
file. Originally I said it only blinked when finding the firmware, but I must 
have just not noticed it. When I specifically watched for it, I see it blinks 
like mad when the installer says it's trying to detect wireless networks. So it 
really seems like its trying.

Thanks.


- Original Message 
From: Camaleón 
To: debian-user@lists.debian.org
Sent: Fri, August 12, 2011 12:39:47 PM
Subject: Re: Unidentified subject!

On Thu, 11 Aug 2011 06:13:12 -0700, gnubayonne-debian...@yahoo.com wrote:

> I'm trying to do a fresh install of 6.0.2.1, but there is a glitch
> bringing up the wireless network on my 1420N Inspiron laptop. It uses
> the iwl3945 driver:
> 
> 09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast
> Ethernet PCI Express (rev 02)

That's the wired adapter not the wireless one, right? :-?

If you can use this adapter I would definitely go with it. Wifi can be 
flaky for a full installation.

> I boot with with the first i386 CD and it goes through the installer
> until it asks if you need to load firmware from removable storage. At
> first I just put the actually ucode files on a USB stick, but it didn't
> like that. But after putting the iwl firmware deb file, it now installs
> the modules. At the command-line, I can see the iwl3945 module running.
> I then select the wireless interface in the next screen where you pick
> what network interface to use, however it can't see any wireless
> networks. I try the manual setup, but it still doesn't see the network.
> In addition to my protected network some of my neighbors have
> unprotected networks and it can't see them either.

IIRC, the installer only allows WEP encryption, so ensure your AP is 
configured as such if you still want to proceed in that way...

> When its loading the modules from the usb stick, I see the wireless LED
> on my laptop flash a few times, but after that it stays off.
> 
> I'm not sure what else i can do with it, the install CD doesn't seem to
> have ifconfig or iwconfig. But with lspci I see the device and the
> correct iwl modules are running and I see the iwl ucode files in
> /usr/lib/firmware.

(...)

Installation is a complex and delicated task I always take very seriously 
and so try to avoid anything that can complicate things in this stage
(like using a wifi card :-P).

Anyway, to see what's going within the installer on you can jump to tty4 
(if not 4 try with another, I never remember the number).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.16.39...@gmail.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1313177365.98480.yahoomai...@web180615.mail.sp1.yahoo.com



jigdo-bd

2011-08-12 Thread Paul E Condon
I am looking into downloading some iso images of squeeze. I have not
done this in quite a while and I see that things have changed a lot
while I wasn't looking. I think I need jigdo-cd. 

But what is jigdo-bd? Under what conditions is it the proper choice?
"bd" must be mnemonic for something, but I don't make the connection
the way I do for "cd".

TIA
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110812192613.ga11...@cmpq.lan.gnu



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-12 Thread Brian
On Tue 09 Aug 2011 at 16:14:38 -0400, Christian Jaeger wrote:

> Hello
> 
> This is not the first time I'm struggling trying to make a bootable
> USB flashdrive. . . . . . . . 

[Rather a large snip]

> Could you help me in any of these attempts? Of course I don't expect
> you to help me debug problems with Mythbuntu or XMBC, but as you see
> there are already multiple Debian-only problems I'm dealing with.

Let's try to move forward. The problem is installing an iso to a flash
stick. How easy the solution is will depend on how the iso has been
produced. So could we start with the Debian Squeeze netinst iso. It is
of the hybrid variety.

Download it and put it on a flashdrive with

   cat  > /dev/sdX

The drive should be unmounted. Note sdX - not sdX1 or sdX2.

Prior to putting it on the stick run:

  /sbin/fdisk -l 

Afterwards do:

  /sbin/fdisk -l /dev/sdX

Please post both outputs and say whether the usb drive boots into the
installer.

A satisfactory outcome to all of this is quite likely to get you on the
road with Mythbuntu at least.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110812184122.GS14528@desktop



Re: Backup Software

2011-08-12 Thread Chris Davies
Paul E Condon  wrote:
> writing the include/exclude filter for the underlying rsync is
> non-trivial --- should I write an exclude for the private key in .ssh/
> ? Etc.

I make a backup of my (work) laptop both to a system at the office (which
in turn gets backed up to tape) and to a big drive on a system at home,
where I work a couple of days a week. The home backup includes my private
keys; the work one doesn't. You might prefer not to back them up anywhere
except to a USB key you keep in your pocket.

So yes, these sort of questions are important but once you have them
out in the open fairly easy to handle.

For the specific situation you mention, I find this seems to work for me:
rsync --exclude '.ssh/id_*' ...

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ds1gh8x33s@news.roaima.co.uk



Re: autoinstalled packages

2011-08-12 Thread Ivan Shmakov
> Sven Joachim  writes:
> On 2011-08-12 17:25 +0200, Ivan Shmakov wrote:
> Sven Joachim  writes:

[…]

 >> Also there's the APT::Get::AutomaticRemove option, which, if set
 >> to false, I expect to prevent APT from removing the
 >> automatically installed packages.

 > Well, apt-get and aptitude have different configuration keys and
 > default values for them (apt-get defaults to not autoremove unused
 > packages).  That's a bit unfortunate, but since aptitude had always
 > defaulted to autoremove unused packages and apt versions before 0.7
 > could not even mark packages as automatically installed, this is
 > understandable.

To be honest, I cannot recall that I've ever used aptitude(8),
so I guess that I've just confused OP's aptitude(8) invocation
with apt-get(8).  My apologies for that.

 >> However, what I'm interested in right now, is how do I access
 >> the list of autoinstalled packages with plain APT or dpkg(1)?

 > With apt, use "apt-mark showauto".

ACK.  Thanks!

 > With dpkg it's not possible since dpkg does not know about
 > autoinstalled packages.

-- 
FSF associate member #7257


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86ty9m8tdv@gray.siamics.net



Re: autoinstalled packages

2011-08-12 Thread Ivan Shmakov
> Scott Ferguson  writes:
> On 13/08/11 01:25, Ivan Shmakov wrote:
> Sven Joachim  writes:

[…]

 >> Also there's the APT::Get::AutomaticRemove option, which, if set
 >> to false, I expect to prevent APT from removing the
 >> automatically installed packages.

 > I'm not sure that works the way you expect - but I haven't had a
 > chance to check.  My foggy memory is that it refuses to remove any
 > packages if a package selected to be removed doesn't want to go
 > alone.

I haven't checked it explicitly, but:

--cut: apt-get(8) --
   --auto-remove
   If the command is either install or remove, then this option
   acts like running autoremove command, removing the unused
   dependency packages.  Configuration Item:
   APT::Get::AutomaticRemove.
--cut: apt-get(8) --

[…]

 >>> The package they pull in gets marked as "automatically installed",

[…]

 >> However, what I'm interested in right now, is how do I access
 >> the list of autoinstalled packages with plain APT or dpkg(1)?

 > I don't have any "autoinstalled" packages (whatever that means)

It was meant to mean “installed thanks to the dependencies”, as
opposed to “manually selected with # apt-get install PACKAGE.”
I believe that Sven (above) has used the term in the same way.

 > on my system so I can't test.

 > Try:-

 > dpkg -l *dummy* | less

 > OR

 > dpkg -l *transitional* | less

The both are going to search for these keywords in the package
names, while I think that the Description:'s are more relevant
here.

[…]

 > PS. This might do what you want:-

 > # apt-get -s autoremove | less

Indeed it does.  Yet, this doesn't seem like a straightforward
way to obtain this list.  (Especially from a script.)  Moreover,
I'd like to be able to modify this list, too.

 > If it then looks safe to proceed...:-

 > # apt-get autoremove

-- 
FSF associate member #7257


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86y5yy8ttl@gray.siamics.net



Re: Unidentified subject!

2011-08-12 Thread Camaleón
On Thu, 11 Aug 2011 06:13:12 -0700, gnubayonne-debian...@yahoo.com wrote:

> I'm trying to do a fresh install of 6.0.2.1, but there is a glitch
> bringing up the wireless network on my 1420N Inspiron laptop. It uses
> the iwl3945 driver:
> 
> 09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast
> Ethernet PCI Express (rev 02)

That's the wired adapter not the wireless one, right? :-?

If you can use this adapter I would definitely go with it. Wifi can be 
flaky for a full installation.

> I boot with with the first i386 CD and it goes through the installer
> until it asks if you need to load firmware from removable storage. At
> first I just put the actually ucode files on a USB stick, but it didn't
> like that. But after putting the iwl firmware deb file, it now installs
> the modules. At the command-line, I can see the iwl3945 module running.
> I then select the wireless interface in the next screen where you pick
> what network interface to use, however it can't see any wireless
> networks. I try the manual setup, but it still doesn't see the network.
> In addition to my protected network some of my neighbors have
> unprotected networks and it can't see them either.

IIRC, the installer only allows WEP encryption, so ensure your AP is 
configured as such if you still want to proceed in that way...

> When its loading the modules from the usb stick, I see the wireless LED
> on my laptop flash a few times, but after that it stays off.
> 
> I'm not sure what else i can do with it, the install CD doesn't seem to
> have ifconfig or iwconfig. But with lspci I see the device and the
> correct iwl modules are running and I see the iwl ucode files in
> /usr/lib/firmware.

(...)

Installation is a complex and delicated task I always take very seriously 
and so try to avoid anything that can complicate things in this stage
(like using a wifi card :-P).

Anyway, to see what's going within the installer on you can jump to tty4 
(if not 4 try with another, I never remember the number).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.16.39...@gmail.com



Re: autoinstalled packages

2011-08-12 Thread Scott Ferguson

On 13/08/11 02:13, Sven Joachim wrote:

On 2011-08-12 17:25 +0200, Ivan Shmakov wrote:


Sven Joachim  writes:


  >  "aptitude unmarkauto isc-dhcp-client" does the trick.

I guess that # apt-get install isc-dhcp-client may do the same
(provided that there's no newer version of the package in the
repositories.)


With a new enough apt, probably.  But not in Squeeze, I think.  See
http://bugs.debian.org/612557.


That bug is closed for Squeeze. Did I miss your meaning?




Also there's the APT::Get::AutomaticRemove option, which, if set
to false, I expect to prevent APT from removing the
automatically installed packages.


Well, apt-get and aptitude have different configuration keys and default
values for them (apt-get defaults to not autoremove unused packages).
That's a bit unfortunate, but since aptitude had always defaulted to
autoremove unused packages and apt versions before 0.7 could not even
mark packages as automatically installed, this is understandable.


However, what I'm interested in right now, is how do I access
the list of autoinstalled packages with plain APT or dpkg(1)?


With apt, use "apt-mark showauto".  With dpkg it's not possible since
dpkg does not know about autoinstalled packages.

Sven




If apt-mark showauto worked as expected I'd be unable to remove any of 
the packages it lists without losing my entire DE... admittedly I didn't 
test the whole list - by the time I got to bzip2 it was pretty obvious 
something was wrong as not one package I simulated removal of, would go 
quietly - nor are they packages I can do without (sigh):-

root@work:/home/scott# apt-mark showauto | more
aacplusenc
advancecomp
akonadi-server
akregator
amarok-common
amarok-utils
ark
aspell
aspell-en
automoc
autopoint
binutils
blt
bzip2

eg.:-
root@work:/home/scott# apt-get -s remove bzip2 | more
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  alien build-essential bzip2 cdbs checkinstall debhelper dpkg-dev 
googleearth

  googleearth-package lsb-core
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I'll have another read of the documentation tomorrow. Thanks for 
pointing out apt-mark to me, but pity it doesn't seem to work the way 
I'd hoped.


Cheers


--
“This needs to be said: there never was a war. "How can you say that, 
Bill?" Well, a war is when two armies are fighting. So you can see, 
right there, there never was a war … People say to me, "Hey, Bill, the 
war made us feel better about ourselves." Really? What kind of people 
are these with such low self-esteem that they need a war to feel better 
about themselves? May I suggest, instead of a war to feel better about 
yourself, perhaps … sit-ups? Maybe a fruit cup? Eight glasses of water a 
day?”

~ Bill Hicks


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

Archive: http://lists.debian.org/4e4556ef.5080...@gmail.com



Re: autoinstalled packages

2011-08-12 Thread Sven Joachim
On 2011-08-12 17:25 +0200, Ivan Shmakov wrote:

>> Sven Joachim  writes:
>
>  > "aptitude unmarkauto isc-dhcp-client" does the trick.
>
>   I guess that # apt-get install isc-dhcp-client may do the same
>   (provided that there's no newer version of the package in the
>   repositories.)

With a new enough apt, probably.  But not in Squeeze, I think.  See
http://bugs.debian.org/612557.

>   Also there's the APT::Get::AutomaticRemove option, which, if set
>   to false, I expect to prevent APT from removing the
>   automatically installed packages.

Well, apt-get and aptitude have different configuration keys and default
values for them (apt-get defaults to not autoremove unused packages).
That's a bit unfortunate, but since aptitude had always defaulted to
autoremove unused packages and apt versions before 0.7 could not even
mark packages as automatically installed, this is understandable.

>   However, what I'm interested in right now, is how do I access
>   the list of autoinstalled packages with plain APT or dpkg(1)?

With apt, use "apt-mark showauto".  With dpkg it's not possible since
dpkg does not know about autoinstalled packages.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871uwqbob8@turtle.gmx.de



Re: autoinstalled packages

2011-08-12 Thread Scott Ferguson

On 13/08/11 01:25, Ivan Shmakov wrote:

Sven Joachim  writes:
On 2011-08-12 15:51 +0200, Bonno Bloksma wrote:






I guess that # apt-get install isc-dhcp-client may do the same
(provided that there's no newer version of the package in the
repositories.)


As of a few hours ago there is a newer version.



Also there's the APT::Get::AutomaticRemove option, which, if set
to false, I expect to prevent APT from removing the
automatically installed packages.


I'm not sure that works the way you expect - but I haven't had a chance 
to check. My foggy memory is that it refuses to remove any packages if a 
package selected to be removed doesn't want to go alone.


dpkg has the --auto-deconfigure parameter eg:-
# dpkg -r --auto-deconfigure dhcp3-client

The simulate/dryrun parameter is recommended.



However, what I'm interested in right now, is how do I access
the list of autoinstalled packages with plain APT or dpkg(1)?



I don't have any "autoinstalled" packages (whatever that means) on my 
system so I can't test.

Try:-

dpkg -l *dummy* | less

OR

dpkg -l *transitional* | less

dpkg-query will do similar things. As I'm not certain what you mean by 
autoinstalled I can't be certain those methods will work. To me 
autoinstalled might mean "not needed" - which I avoid by using "ignore 
recommends", deborphan, and debfoster. Your results should prove 
instructive.


Cheers

PS. This might do what you want:-
# apt-get -s autoremove | less
If it then looks safe to proceed...:-
# apt-get autoremove

--
“This needs to be said: there never was a war. "How can you say that, 
Bill?" Well, a war is when two armies are fighting. So you can see, 
right there, there never was a war … People say to me, "Hey, Bill, the 
war made us feel better about ourselves." Really? What kind of people 
are these with such low self-esteem that they need a war to feel better 
about themselves? May I suggest, instead of a war to feel better about 
yourself, perhaps … sit-ups? Maybe a fruit cup? Eight glasses of water a 
day?”

~ Bill Hicks


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

Archive: http://lists.debian.org/4e455023.8040...@gmail.com



Re: System crash when swithing to text-console

2011-08-12 Thread Camaleón
On Wed, 10 Aug 2011 22:58:14 +0200, Martin Lorenz wrote:

> Am 10.08.2011 16:07, schrieb Camaleón:

(..)

>>> I had some tail -f's running in ssh-sessions on
>>> /var/log/{debug|messages|Xorg.0.log}
>>> All I see is the "shutdown" Broadcast message and Log-entries. Nothing
>>> more.
>> 
>> Then it can be royaly freezing (a soft kernel freeze) not just X. If
>> you get no useful logs, you may need a second computer attached to one
>> of the serial ports of your main system (the one that crashes) to catch
>> something...
>> 
>> 
> the system does not have a serial port. maybe there is one on the MB ...
> however it is not wired to the case.

Well, I've already seen that you have catched a kernel panic by using 
netconsole, the tool that recommended Vivek, so I would open a bug report 
for that unless you are a kernel hacker and now how to interpret that :-)

>> What VGA driver are you using? Whatever it is, try to disable KMS to
>> see if that makes any difference... or if you are currently running
>> "non-KMS" try with the opposite :-)
>> 
>> 
> the driver (module) is i915
> I changed the "options" line to modeset=0 (was modeset=1) without any
> success
> Also tried nomodeset at the grub kernel-bootline, no success either
> 
> the kernel unfortunately dosen't have /proc/config.gz enabled, so I
> could not check if CONSOLE_FB is enabled.
>
> maybe I have to bake my own kernel ...

Kernel config is available under /boot/*, so you can check it with:

grep -i console /boot/config-`uname -r`

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.15.54...@gmail.com



Re: Fwd: Billion 7800N

2011-08-12 Thread Camaleón
On Fri, 12 Aug 2011 10:51:25 +1000, Heddle Weaver wrote:

> On 11 August 2011 00:01, Camaleón  wrote:
> 
>> >> then point your web browser to "http://192.168.1.254";.
>> >
>> >
>> > With two separate browsers, the same message - "Network is
>> > unreachable" Restarted the modem, same result.
>>
>> (...)
>>
>> That's very weird... can you access to that same IP (192.168.1.254)
>> from another computer in the network?
>>
>>
> I'm afraid that is the network.
> Just a laptop and the modem.

It would be nice if you can bring up another computer and connect it to 
the same switch to verify if it works or not.

> I've even borrowed a card and tried a connection through 'eth1' to avoid
> any port problem potentials also.
> No different reaction.

I assume you have one computer that is connected to one of the ethernet 
ports of the router, right? If that's the case, and you already reviewed 
all of the external symptoms (e.g., network sockets blink when a cable is 
attached in both ends) there can be happening one of these situations:

- The router has no DHCP server enabled and it is configured to listen in 
another IP address that you don't remember.

If this is the case, a reset could be the fatest way to recover from this 
but be careful with resetting because it can delete your ISP connection 
settings, so if you are not sure what data do you require to setup your 
WAN interface, call to service support so thay can guide you -step by 
step- with a reset procedure.

Another option can be also to use a network device discover tool (like 
angry ip scanner) to find whee is your router located.

- The router is locked/blocked somehow and does not respond to pings. Try 
by power cycling it and check if you can now reach it.

- The router can be broken, request for a replacement.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.15.44...@gmail.com



Re: removing dummy package

2011-08-12 Thread Scott Ferguson

On 13/08/11 01:00, Bonno Bloksma wrote:

Hi,


[]

After upgrading from Lenny to Squeeze I have some dhcp3 dummy packages.








I wouldn't remove the dummy package ('cause I'm lazy) - but if you want
to, the following will work.


The reason I want to remove some dummy packages is because I ran into a problem 
upgrading to Squeeze because of some old dummy package (dhcp) from the Etch 
install. Removing that dummy package also gave me some problems I probably 
would not have had if I removed it right after the upgrade in stead of after 
the next upgrade.


Note: if you can't login as root (#), just use sudo.

if:-
# ls /var/cache/apt/archives | grep isc-dhcp-client
yields nothing
then:-
# apt-get -d install isc-dhcp-client;apt-get --purge remove
dhcp3-client;apt-get install isc-dhcp-client
else:-
# apt-get --purge remove dhcp3-client;apt-get install isc-dhcp-client


So basicly, let aptitude remove both packages and reinstall the isc package. 
That's what I ended up with when I remove the old dhcp (not even dhcp3) package 
on a system that had been upgraded from Etch to Lenny to Squeeze.
I will try Sven's suggestion First, maybe that works without the double work.

Bonno Bloksma




Svens method would be preferred if aptitude is your weapon of choice. 
Either way you need to copy and paste one line of code. You can even 
avoid the effort of hitting Enter by just copying part of another line 
before the paste ;-)


NOTE: just make sure that isc-dhcp-client is sitting in 
/var/cache/apt/archives before removing it (if you take that approach) - 
because you might need dhcp client ability to download it later...


Either way you will want to do an upgrade. An update to isc-dhcp-client 
was released today:-

Format: 1.8
Date: Tue, 09 Aug 2011 20:20:35 +0200
Source: isc-dhcp
Binary: isc-dhcp-server isc-dhcp-server-dbg isc-dhcp-server-ldap 
isc-dhcp-common isc-dhcp-dev isc-dhcp-client isc-dhcp-client-dbg 
isc-dhcp-client-udeb isc-dhcp-relay isc-dhcp-relay-dbg dhcp3-server 
dhcp3-client dhcp3-relay dhcp3-common dhcp3-dev

Architecture: source amd64 all
Version: 4.1.1-P1-15+squeeze3
Distribution: squeeze-security
Urgency: high

Cheers

--
“This needs to be said: there never was a war. "How can you say that, 
Bill?" Well, a war is when two armies are fighting. So you can see, 
right there, there never was a war … People say to me, "Hey, Bill, the 
war made us feel better about ourselves." Really? What kind of people 
are these with such low self-esteem that they need a war to feel better 
about themselves? May I suggest, instead of a war to feel better about 
yourself, perhaps … sit-ups? Maybe a fruit cup? Eight glasses of water a 
day?”

~ Bill Hicks


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

Archive: http://lists.debian.org/4e454892.4020...@gmail.com



autoinstalled packages

2011-08-12 Thread Ivan Shmakov
> Sven Joachim  writes:
> On 2011-08-12 15:51 +0200, Bonno Bloksma wrote:

[…]

 >> When I want to remove the dummy dhcp3 package, the real isc package also
 >> gets removed.

 > This is general problem with dummy transitional packages.  The
 > package they pull in gets marked as "automatically installed", and
 > when you remove the dummy package, its dependency gets autoremoved.
 > Nobody has a good solution to this yet, AFAIK.

[…]

 > "aptitude unmarkauto isc-dhcp-client" does the trick.

I guess that # apt-get install isc-dhcp-client may do the same
(provided that there's no newer version of the package in the
repositories.)

Also there's the APT::Get::AutomaticRemove option, which, if set
to false, I expect to prevent APT from removing the
automatically installed packages.

However, what I'm interested in right now, is how do I access
the list of autoinstalled packages with plain APT or dpkg(1)?

-- 
FSF associate member #7257


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86aabeabzk.fsf...@gray.siamics.net



Re: Doc for configuration RAID

2011-08-12 Thread Camaleón
On Thu, 11 Aug 2011 20:09:40 +0200, abdelkader belahcene wrote:

> *I want to add to my working system, disks using RAID. 

You mean "software raid" (md), "fake raid" (dm) or "hardware-based raid"?

> I found doc for Fedora ,  the packages used are not the same in debian
>  ( it seems to me, for example on fedora  there are commands like 
>  mkraid
> and raidstart
>   I didn't find them in debaian package : I installed mdadm dmraid   ),
> 
> please somebody tells me where to find an easy doc to configure the raid
> for debian.

"Easy" and "raid" words cannot go on the same sentence >:-)

Documents for software raid should be under "/usr/share/doc/mdadm/*".

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.15.22...@gmail.com



Re: Problem with preseed

2011-08-12 Thread Wawrzek Niewodniczanski

On 08/12/11 15:50, Tom H wrote:

d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true


I think it was the point!!!

Thanks a lot,
Wawrzek


--
Wawrzyniec (Wawrzek) Niewodniczan'ski - (niewod @ LinkedIn 
)

System Administrator - Engineering Services Team (XenServer)
Citrix Systems, Building 101, Cambridge Science Park, CB4 0FY, Cambridge
PhD in Quantum Chemistry, MSc in Molecular EngineeringM


Re: Kernel messages during startup

2011-08-12 Thread Camaleón
On Wed, 10 Aug 2011 20:44:15 +0200, Ralf Jung wrote:

>> On Tue, 09 Aug 2011 13:26:46 +0200, Ralf Jung wrote:
>> > every time I boot my laptop (HP Compaq 615) into Debian testing, some
>> > kernel messages are printed on the boot console: [0.470960]
>> > pci_root PNP0A03:00: address space collision: host bridge window [mem
>> > 0x000cc000-0x000c] conflicts with Video ROM [mem
>> > 0x000c-0x000ce9ff] [0.471052] pci_root PNP0A03:00: address
>> > space collision: host bridge window [mem 0x000ec000-0x000e]
>> > conflicts with reserved [mem 0x000ef000-0x000f]
>> 
>> (...)
>> 
>> There is an upstream bug for those errors:
>> 
>> Bug 38522 - address space collision error message on boot
>> https://bugzilla.kernel.org/show_bug.cgi?id=38522
> I think this is only about the first one, the other one is slightly
> different ("conflicts with Video RAM" vs. "conflicts with reserved"),
> and it was already present in 2.6.39.
> 
>> For the rest... well, this may require an additional Google search :-)
> Well, I did that, and for some of them I found that supposedly, they are
> harmless. I wonder however if that qualifies as a bug, i.e. is it
> justified to report a bug against the kernel (at bugs.debian.org) saying
> that there is this message during startup?

>From the reporter POV, I'd say it is justified to report anything we 
consider is not normal or that it should not be present. I wouldn't worry 
about that, devels and packagers take the appropiate steps, that is, if 
there is no real bug to worry about, they will just ignore your report or 
will tell you (with more or less kind words) that there is nothing to fix 
>:-)

Look, there is a bug report opened in Fedora for the "address space 
collision" message:

Multiple kernel problems and memory collision
https://bugzilla.redhat.com/show_bug.cgi?id=710715

Which makes me think that kernel developers are fully aware of the 
problem.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.15.14...@gmail.com



Re: network devices have vanished on Dell D600

2011-08-12 Thread Camaleón
On Thu, 11 Aug 2011 14:26:03 -0400, Mark Grieveson wrote:

> I think I've figured out a possible solution to my issues.  I noticed a
> bunch of errors when running dmesg, and I centred on these errors with
> the command "dmesg | grep BAR".  From this, I searched the internet, and
> found a site where a whack of people were complaining of similar issues.
>  The site being:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/424142 So, if this
> site is accurate, it seems that 2.6.32 kernels on Debian can give some
> of these issues, but upgrading to 2.6.33 will solve it.  Of course,
> occasionally I don't have these issues, as my laptop sometimes works. 
> So, the person who reported the improvement after upgrading may simply
> have had a lucky boot.  But, I figure I may as well try getting a 2.6.33
> image and see.

Yes, as I said in a previous post, you can try with an updated kernel (a 
LiveCD would be my first option to avoid breaking the current system). If 
that works, well, at least you know where the problem is and how can be 
solved.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.15.02...@gmail.com



RE: removing dummy package

2011-08-12 Thread Bonno Bloksma
Hi,

>[]
>> After upgrading from Lenny to Squeeze I have some dhcp3 dummy packages.
>>
>> ---
>> linbobo:~# aptitude show dhcp3-client
>> Package: dhcp3-client
>> State: installed
>> Automatically installed: no
>[...]
>>   This is a dummy package to aid in transitioning from the v3 DHCP packages
>> to the new-style DHCP packages.
>>
>>   This dummy package may be safely removed after upgrading to squeeze
>> ---
>>
>> So I wanted to remove the dummy package but
>>
>> ---
>> linbobo:~# aptitude remove dhcp3-client
>> The following packages will be REMOVED:
>>dhcp3-client isc-dhcp-client{u}
>> 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
>> Need to get 0 B of archives. After unpacking 680 kB will be freed.
>> Do you want to continue? [Y/n/?] n
>> Abort.
>> ---
>>
>> When I want to remove the dummy dhcp3 package, the real isc package also
>> gets removed.
>> This is probably one of those simply to answer questions and probably has a
>> easy answer, but I am unable to find it. :-(
>>

> I wouldn't remove the dummy package ('cause I'm lazy) - but if you want 
> to, the following will work.

The reason I want to remove some dummy packages is because I ran into a problem 
upgrading to Squeeze because of some old dummy package (dhcp) from the Etch 
install. Removing that dummy package also gave me some problems I probably 
would not have had if I removed it right after the upgrade in stead of after 
the next upgrade.

> Note: if you can't login as root (#), just use sudo.
> 
> if:-
> # ls /var/cache/apt/archives | grep isc-dhcp-client
> yields nothing
> then:-
> # apt-get -d install isc-dhcp-client;apt-get --purge remove 
> dhcp3-client;apt-get install isc-dhcp-client
> else:-
> # apt-get --purge remove dhcp3-client;apt-get install isc-dhcp-client

So basicly, let aptitude remove both packages and reinstall the isc package. 
That's what I ended up with when I remove the old dhcp (not even dhcp3) package 
on a system that had been upgraded from Etch to Lenny to Squeeze.
I will try Sven's suggestion First, maybe that works without the double work.

Bonno Bloksma




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/009601cc5900$8e2fa160$aa8ee420$@blok...@tio.nl



Re: network devices have vanished on Dell D600

2011-08-12 Thread Camaleón
On Wed, 10 Aug 2011 23:06:25 -0400, Mark Grieveson wrote:

> On Wed, 10 Aug 2011 18:20:00 + (UTC)
> debian-user-digest-requ...@lists.debian.org wrote:
> 
>> Try by powering off the computer and leave it so for a while. Then
>> engage it and wait for a miracle... if no miracle comes to you I would
>> go for a bug report :-)
>> 
> 
> 
> Yes, the linuxquestions.org post was indeed made by me about the same
> laptop.  

Ouch! I guessed it...

> Anyway, it does seem that turning off the laptop and leaving it
> for a while is the only thing that's worked so far.  I did this and it
> is now working again.  

Wow! Have you tried with a BIOS update? Embedded network devices are very 
"sensible" to ACPI (power saving) and it could be indeed a bug and now 
that I think... are you hibernanting or suspending the computer?

> For the record (and in case it can provide clues as to why I'm getting
> this fickle performance from the laptop), I'm attaching a text file
> with the results of various commands (iwconfig and dmesg).

Thanks for confirming that your solution still worked for you O:-)

> Thanks for the feedback.  I may simply need to get a different laptop.
> However, hopefully the laptop will work more consistently in the future
> (though it seems to burn out and require at least a day's rest before it
> works properly in setting up the network devices again).

(...)

I would try to load a new kernel, a LiveCD or whatever has the latest 
packages (kernel and network adapater drivers) and see if you still can 
reproduce the error.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.14.59...@gmail.com



Re: Problem with preseed

2011-08-12 Thread Tom H
On Fri, Aug 12, 2011 at 9:08 AM, Wawrzek Niewodniczanski
 wrote:
> On 08/11/11 16:09, Tom H wrote:
>
> Thanks Tom for your suggestion. After some tries I figured out a bit
> embarrassing fact - I were using a slightly different receipt that I posted
> to the list.
>
> I post the proper one below. The problem I presented in my original message
> has gone away, but the file has another one. Every time I see following
> screen. I guess I have to set something to true, but what?
>
> x Before the Logical Volume Manager can be configured, the currentx
> x partitioning scheme has to be written to disk. These changes cannot  x
> x be undone.x
> xx
> x After the Logical Volume Manager is configured, no additional changes x
> x to the partitioning scheme of disks containing physical volumes are   x
> x allowed during the installation. Please decide if you are satisfied   x
> x with the current partitioning scheme before continuing.x
> xx
> x The partition tables of the following devices are changed:x
> x    Virtual disk 1 (xvda)x
> xx
> x Write the changes to disks and configure LVM?x
> xx
> xx

You're welcome. Looking through my configs, I think that one of these
(or both!) should do it:
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=szuqcfmglhvsm-x16rwchboeayfalbkj4s3vpfoo2e...@mail.gmail.com



Re: cups on wheezy problem

2011-08-12 Thread Camaleón
On Thu, 11 Aug 2011 11:36:04 -0400, Wayne Topa wrote:

> On 08/10/2011 02:09 PM, Wayne Topa wrote:

> This thread has taught me something.  I should not have depended on
> apt-listbugs!
> 
> http://bugs.debian.org/release-critical/debian/all.html  shows that
> Total number of release-critical bugs: 1229 in wheezy and one of which
> is
> 
> Package: cups (debian/main).
> Maintainer: Debian CUPS Maintainers
> 
>635842 [] [T] lpd backend crashes, cups unusable

At first sight I wouldn't seen a common point with this bug and yours 
(logs differ or maybe we have been looking into the wrong place) but 
upagrading cups will tell if this is what is hitting you :-?

> I would not have wasted the lists time/bandwidth with this thread if I
> had known that apt-listbugs was not reporting 'unusable' packages.

That's why I pointed you a link listing of all of the CUPS bugs >:-)
 
> The bug is known upstream and is being looked into.
> 
> Thanks Camaleon, old dogs can learn new tricks.

You're welcome. Hope the fixed package reaches wheezy very soon.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.14.43...@gmail.com



Re: cups on wheezy problem

2011-08-12 Thread Camaleón
On Wed, 10 Aug 2011 14:09:16 -0400, Wayne Topa wrote:

> On 08/10/2011 01:38 PM, Camaleón wrote:

 And "ls -l /usr/lib/cups/backend/" shows what available backends?
>>>
>>> As of this mornings upgrade shows the same as below but includes usb
>>> now.
>>
>> How voluble is this USB thingy.
>^^^  I don't know what this means
> If you mean the usb-printer cable, if it works on Squeeze I would hope
> that it would work on wheezy & sid...  :-)

:-)

I meant that USB (plug&play devices) that dynamically come and go can be 
very hard to debug: you boot and device is there, then you reboot and is 
not where it is supposed to be.

(...)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.08.12.14.36...@gmail.com



Re: Wheezy kernel bug

2011-08-12 Thread Dejan Ribič

Dne 12.8.2011 15:57, piše Tony Gallagher:

Hi,
This is my first time reporting a bug, so bear with me.  I installed 
Debian Squeeze and performed a dist-upgrade once.  From there, I 
changed my sources.list to point at Wheezy and have regularly 
performed a dist-upgrade.  Everything is reasonably stable, with the 
exception of the kernel.  My laptop contains an Intel Express 4 Mobile 
chipset, and every kernel from 2.6.38 onwards leads to a black screen 
during booting, and no way to get a console to diagnose the problem.  
Kernel 2.6.35 boots without problems.


I've seen the same issue on Ubuntu and Linux Mint, though not on the 
32-bit edition of Linux Mint, so it is probably a kernel issue on 
64-bit systems, though I have not discounted the possibility of the 
Intel driver being the source of the problem.


Regards,
Tony Gallagher



Hi,

   have you also reported this bug using ReportBug in Debian?

Cheers,

Dejan


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

Archive: http://lists.debian.org/4e45360e.9060...@gmail.com



Re: removing dummy package

2011-08-12 Thread Scott Ferguson

On 12/08/11 23:51, Bonno Bloksma wrote:

Hi,

After upgrading from Lenny to Squeeze I have some dhcp3 dummy packages.

---
linbobo:~# aptitude show dhcp3-client
Package: dhcp3-client
State: installed
Automatically installed: no
Version: 4.1.1-P1-15+squeeze3
Priority: extra
Section: oldlibs
Maintainer: Debian ISC DHCP maintainers

Uncompressed Size: 36.9 k
Depends: isc-dhcp-client
Provided by: isc-dhcp-client
Description: ISC DHCP server (transitional package)
  This is the client from the Internet Software Consortium's implementation
of DHCP. For more information visit http://www.isc.org.

  Dynamic Host Configuration Protocol (DHCP) is a protocol like BOOTP
(actually dhcpd includes much of the functionality of bootpd). It gives
client
  machines "leases" for IP addresses and can automatically set their network
configuration. If your machine depends on DHCP (especially likely if it's
  a workstation on a large network, or a laptop, or attached to a cable
modem), keep this or another DHCP client installed.

  This is a dummy package to aid in transitioning from the v3 DHCP packages
to the new-style DHCP packages.

  This dummy package may be safely removed after upgrading to squeeze
---

So I wanted to remove the dummy package but

---
linbobo:~# aptitude remove dhcp3-client
The following packages will be REMOVED:
   dhcp3-client isc-dhcp-client{u}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 680 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
---

When I want to remove the dummy dhcp3 package, the real isc package also
gets removed.
This is probably one of those simply to answer questions and probably has a
easy answer, but I am unable to find it. :-(


Bonno Bloksma

I wouldn't remove the dummy package ('cause I'm lazy) - but if you want 
to, the following will work.


Note: if you can't login as root (#), just use sudo.

if:-
# ls /var/cache/apt/archives | grep isc-dhcp-client
yields nothing
then:-
# apt-get -d install isc-dhcp-client;apt-get --purge remove 
dhcp3-client;apt-get install isc-dhcp-client

else:-
# apt-get --purge remove dhcp3-client;apt-get install isc-dhcp-client

Cheers


--
“This needs to be said: there never was a war. "How can you say that, 
Bill?" Well, a war is when two armies are fighting. So you can see, 
right there, there never was a war … People say to me, "Hey, Bill, the 
war made us feel better about ourselves." Really? What kind of people 
are these with such low self-esteem that they need a war to feel better 
about themselves? May I suggest, instead of a war to feel better about 
yourself, perhaps … sit-ups? Maybe a fruit cup? Eight glasses of water a 
day?”

~ Bill Hicks (about the first Gulf War)


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

Archive: http://lists.debian.org/4e4535d2.9030...@gmail.com



Wheezy kernel bug

2011-08-12 Thread Tony Gallagher

Hi,
This is my first time reporting a bug, so bear with me.  I installed 
Debian Squeeze and performed a dist-upgrade once.  From there, I changed 
my sources.list to point at Wheezy and have regularly performed a 
dist-upgrade.  Everything is reasonably stable, with the exception of 
the kernel.  My laptop contains an Intel Express 4 Mobile chipset, and 
every kernel from 2.6.38 onwards leads to a black screen during booting, 
and no way to get a console to diagnose the problem.  Kernel 2.6.35 
boots without problems.


I've seen the same issue on Ubuntu and Linux Mint, though not on the 
32-bit edition of Linux Mint, so it is probably a kernel issue on 64-bit 
systems, though I have not discounted the possibility of the Intel 
driver being the source of the problem.


Regards,
Tony Gallagher


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

Archive: http://lists.debian.org/4e453130.40...@gall1974.plus.com



Re: removing dummy package

2011-08-12 Thread Sven Joachim
On 2011-08-12 15:51 +0200, Bonno Bloksma wrote:

> So I wanted to remove the dummy package but
>
> ---
> linbobo:~# aptitude remove dhcp3-client
> The following packages will be REMOVED:
>   dhcp3-client isc-dhcp-client{u}
> 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
> Need to get 0 B of archives. After unpacking 680 kB will be freed.
> Do you want to continue? [Y/n/?] n
> Abort.
> ---
>
> When I want to remove the dummy dhcp3 package, the real isc package also
> gets removed.

This is general problem with dummy transitional packages.  The package
they pull in gets marked as "automatically installed", and when you
remove the dummy package, its dependency gets autoremoved.  Nobody has a
good solution to this yet, AFAIK.

See also http://bugs.debian.org/328441 for a similar problem with
metapackages.

> This is probably one of those simply to answer questions and probably has a
> easy answer, but I am unable to find it. :-(

"aptitude unmarkauto isc-dhcp-client" does the trick.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aabebu3x@turtle.gmx.de



removing dummy package

2011-08-12 Thread Bonno Bloksma
Hi,

After upgrading from Lenny to Squeeze I have some dhcp3 dummy packages.

---
linbobo:~# aptitude show dhcp3-client
Package: dhcp3-client
State: installed
Automatically installed: no
Version: 4.1.1-P1-15+squeeze3
Priority: extra
Section: oldlibs
Maintainer: Debian ISC DHCP maintainers

Uncompressed Size: 36.9 k
Depends: isc-dhcp-client
Provided by: isc-dhcp-client
Description: ISC DHCP server (transitional package)
 This is the client from the Internet Software Consortium's implementation
of DHCP. For more information visit http://www.isc.org.

 Dynamic Host Configuration Protocol (DHCP) is a protocol like BOOTP
(actually dhcpd includes much of the functionality of bootpd). It gives
client
 machines "leases" for IP addresses and can automatically set their network
configuration. If your machine depends on DHCP (especially likely if it's
 a workstation on a large network, or a laptop, or attached to a cable
modem), keep this or another DHCP client installed.

 This is a dummy package to aid in transitioning from the v3 DHCP packages
to the new-style DHCP packages.

 This dummy package may be safely removed after upgrading to squeeze
---

So I wanted to remove the dummy package but

---
linbobo:~# aptitude remove dhcp3-client
The following packages will be REMOVED:
  dhcp3-client isc-dhcp-client{u}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 680 kB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
---

When I want to remove the dummy dhcp3 package, the real isc package also
gets removed.
This is probably one of those simply to answer questions and probably has a
easy answer, but I am unable to find it. :-(


Bonno Bloksma




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/007c01cc58f6$f8fb4e40$eaf1eac0$@blok...@tio.nl



Re: Problem with preseed

2011-08-12 Thread Wawrzek Niewodniczanski

On 08/11/11 16:09, Tom H wrote:
[...]

Thanks Tom for your suggestion. After some tries I figured out a bit 
embarrassing fact - I were using a slightly different receipt that I 
posted to the list.


I post the proper one below. The problem I presented in my original 
message has gone away, but the file has another one. Every time I see 
following screen. I guess I have to set something to true, but what?


Any ideas,
Wawrzek


lqqqu [!!] Partition disks tk
xx
x Before the Logical Volume Manager can be configured, the currentx
x partitioning scheme has to be written to disk.  These changes cannot  x
x be undone.x
xx
x After the Logical Volume Manager is configured, no additional changes x
x to the partitioning scheme of disks containing physical volumes are   x
x allowed during the installation. Please decide if you are satisfied   x
x with the current partitioning scheme before continuing.x
xx
x The partition tables of the following devices are changed:x
xVirtual disk 1 (xvda)x
xx
x Write the changes to disks and configure LVM?x
xx
xx
xx
mqqqj





# PARTITIONS
d-i partman-auto/methodstring lvm
d-i partman-auto/automatically_partition
d-i partman-auto/disk string /dev/xvda
d-i partman-lvm/confirmboolean true
d-i partman-auto/expert_recipe string   \
boot-root ::\
50 300 300 ext3   \
$primary{ }   \
$bootable{ }  \
method{ format }  \
format{ } \
use_filesystem{ } \
filesystem{ ext2 }\
mountpoint{ /boot }   \
.\
256 512 100% linux-swap   \
$lvmok{ } \
method{ swap }\
format{ } \
.\
5000 1 1 ext3 \
$lvmok{ } \
method{ format }  \
format{ } \
use_filesystem{ } \
filesystem{ ext3 }\
mountpoint{ / }   \
.
d-i partman-partitioning/confirm_write_new_labelboolean true
d-i partman/confirmboolean true
d-i partman/confirm_nooverwriteboolean true
d-i partman/choose_partitionselect finish

d-i partman/mount_styleselect traditional

# APT setup


--
Wawrzyniec (Wawrzek) Niewodniczan'ski - (niewod @ LinkedIn 
)

System Administrator - Engineering Services Team (XenServer)
Citrix Systems, Building 101, Cambridge Science Park, CB4 0FY, Cambridge
PhD in Quantum Chemistry, MSc in Molecular EngineeringM


Re: restoring GRUB after windows 7 install along side Debian set-up with LUKS+LVM

2011-08-12 Thread yudi v
> W7 does not mangle the mbr any longer. After install, go to debian and run
> update-grub to get a bootable W7.
> Thierry
>
> This is incorrect.

Win 7 will definitely wipe out GRUB.

There are several ways to restore GRUB. It really depends on how one
configured his setup.
I had the following configuration:

sda1 - win7
sda2 - /boot
sda3 - LVM on top of LUKS partition - (separate LVs for /, /home, and SWAP)
sda5 - FAT32

to restore GRUB I used the Debian DVD installer disk.
choose:
Advanced options >
rescue mode or Graphical rescue mode >
>From the "Debian installer main menu" choose "enter rescue mode"
then it prompted me for my passphrase for sda3
then it listed all the partitions/LVs/LUKS partitions and asked me to choose
the root file system
selected the LV with /
then selected execute a shell in root filesystem

this is where I got confused.

I did not mount /boot as it was on a separate partition and was getting
errors.
Mounting sda2 at /boot fixed the issue.

the following two commands were the only ones I had to execute to get back
GRUB.

mount /dev/sda2 /boot
grub-install /dev/sda

all done.

rebooted and everything was back to normal.

I hope this helps anyone with the same issue.
-- 
Kind regards,
Yudi


Re: Wireless problem with Thinkpad X220

2011-08-12 Thread Volkan YAZICI
On Thu, 11 Aug 2011 23:05:26 -0500, Kumar Appaiah writes:
> I've been trying to help a friend out with wireless on his Thinkpad
> X220. The identifier is:
>
> 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 
> 802.11b/g/n WiFi Adapter (rev 01)
>
> Now, according to http://wiki.debian.org/rtl819x the drivers should
> work for the kernel (2.6.39 bpo.2). However, while wlan0 is displayed,
> he is unable to configure his network, and dmesg output says this:
>
> [ 2069.228798] rtl8192ce :03:00.0: PCI INT A disabled
> [ 2085.887165] ieee80211_crypt: unregistered algorithm 'WEP'
> [ 2085.887174] ieee80211_crypt: unregistered algorithm 'CCMP'
> [ 2085.887181] ieee80211_crypt: unregistered algorithm 'TKIP'
> [ 2085.887187] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)
> [ 2143.973876] ieee80211_crypt: registered algorithm 'NULL'
> [ 2143.973885] ieee80211_crypt: registered algorithm 'TKIP'
> [ 2143.973892] ieee80211_crypt: registered algorithm 'CCMP'
> [ 2143.973898] ieee80211_crypt: registered algorithm 'WEP'
> [ 2143.973921] 
> [ 2143.973923] Linux kernel driver for RTL8192 based WLAN cards
> [ 2143.973929] Copyright (c) 2007-2008, Realsil Wlan
> [ 2326.698887] ieee80211_crypt: unregistered algorithm 'WEP'
> [ 2326.698897] ieee80211_crypt: unregistered algorithm 'CCMP'
> [ 2326.698904] ieee80211_crypt: unregistered algorithm 'TKIP'
> [ 2326.698910] ieee80211_crypt: unregistered algorithm 'NULL' (deinit)
> [ 2343.256604] rtl8192ce :03:00.0: PCI INT A -> GSI 17 (level, low) -> 
> IRQ 17
> [ 2343.256624] rtl8192ce :03:00.0: setting latency timer to 64
> [ 2343.266633] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
> [ 2343.267260] rtlwifi: wireless switch is off   
>
> In spite of having switched the WiFi on, Network Manager doesn't see anything.
>
> iwlist scanning gives:
> Failed to read scan data : Network is down
>
> Also, rfkill showed:
> 2: phy0: Wireless LAN
> Soft blocked: yes
> Hard blocked: no
>
> An rfkill unblock removed the soft block, but that still did nothing.
>
> I've run out of debugging ideas, and am looking for suggestions. Could
> you let me know how I should go about this?

1. Turn every service (wicd, network-manager, rf stuff, etc.) that is
   associated with wifi off.

2. Does "iwlist wlan0 scan" still return nothing?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87wreij12l@alamut.ozun.int



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-12 Thread Scott Ferguson

On 12/08/11 17:50, Christian Jaeger wrote:

I run Squeeze on the computer where I prepare the usb flashdrive, and
Lenny on the computer where I want to install mythbuntu (the T61).


Thank you for the clarification. I did spend some time trying to work
out which computer and OS you were referring to - and it is relevant.



I don't think asking fellow Debian users about compiling software on
 Debian is offtopic.


It's not.
From memory you asked about an Ubuntu package usb-creator -
the OS you compile it on is irrelevant unless the issue is the compiler,
which it's not.
If you have problems with your car do you ask for help at the mower
maintenance shop? Not only is the car mechanic the best person to ask -
it's good manners. If the car mechanic is not answering your questions
get another mechanic. It'll make the other people waiting to get their
mowers repaired happier - and it'll keep the car mechanics honest.



I have checked Arnt advice by setting the boot flag on the partition
 "but got the same result as before".


Which is not helpful feedback. We offer to help because we wish to solve
the problem - not just for you, but for anyone else who wants to know
the answer. Providing detailed information helps you and others.

If you provide detailed notes on what you've done, and on what, then we
can quickly solve the problem.
HINT: when different approaches result in identical outcomes, the cause
will be the one thing that remained constant (it's your Thinkpad). Try
testing your USB stick on another machine.



I've checked where I remembered your name from, it's from the thread
 "How to get Bell Canada 3G USB network up?". I've much appreciated
your participation and help there. (Actually I'm still owing a
followup there, and I know it, but I've been very busy.)


I have (remotely) set them up for several people, on Debian, without
problems. It still remains to add a final parameter that forces only
high speed connections.



So I'm not sure how I got this criticism today.


It's a matter of context. This is not the triumph of optimism over
experience.


Possibly I've started to be too sensitive for this "we don't want to
hear Ubuntu" business;


Well... yes.


I got this a couple times in IRC, and as I said, I increasingly
think some people are being too quick pushing people away.


That's your opinion, and you deserve it.
Do you call the mower repairman a "hater" when he suggests you take your
car to the mechanics?


I think it hurts Debian and the Debian community. That's just my two
cents.


Please keep your 2 cents - there is no such coinage in my country ;-p
That Ubuntu (and it's spinoffs) users feel the need to ask for help
within the Debian community does not speak well for the Ubuntu community.
I'll happily pay $10 for every Debian user that seeks help on *any*
Ubuntu forums if you'll give me $1 for every Ubuntu user that wants help
here. It's not a fanboi issue - it's just that people subscribe to this
list to read about Debian, not Ubuntu. Most of them use Debian as their
main distro so can't help even if they wanted - and others, myself
included, have wasted a lot of time with people who pretended to run
Debian in order to get us to do their reading and research. That's time
we can't spend helping people who *do* use Debian - which is
definitely *not* good for Debian or the Debian community.


In the interest of not feeling hurt myself anymore I'll just wear a
flame suit from now on, so, fire away if you like.


Now that's just foolish... ;-)



Christian.



Cheers


--
“I’ve been on what I call my UFO Tour, which means, like UFOs, I too
have been appearing in small southern towns in front of a handful of
hillbillies lately. I’ve been doubting my own existence”
~ Bill Hicks


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

Archive: http://lists.debian.org/4e4505ac.90...@gmail.com



Autoreply to Returned mail: see transcript for details

2011-08-12 Thread jvarghese
Dear Sender

This is to inform you that my e Mail id has changed. My new e Mail id is 
joshy.vargh...@geodis.co.in.
This id will be active for a period of 1 month. Request you to update your 
contact details for future correspondence

Thanks & Best Regards,
Joshy Varghese


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1313143977.19...@geodis.co.in



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-12 Thread Selim T. Erdogan
Christian Jaeger, 11.08.2011:
> 2011/8/9 Wolodja Wentland :
> > Why don't you follow the method
> > outlined in the installation guide?
> >
> > http://www.debian.org/releases/stable/amd64/ch04s03.html.en
> 
> I'm trying to follow "4.3.3. Manually copying files to the USB stick ?
> the flexible way".
> 
> Here are the questions not answered by this guide:

... 

> [3. Ubuntu has an initrd.lz file, not initrd.gz, will that work?]
> 
> 4. The guide says "If you used an hd-media image, you should now copy
> a Debian ISO image[6] onto the stick." and "[6] You can use either a
> businesscard, a netinst or a full CD image (see Section 4.1, ?Official
> Debian GNU/Linux CD-ROM Sets?). Be sure to select one that fits. Note
> that the ?netboot mini.iso? image is not usable for this purpose."
>  * I didn't use the hd-media image, since I'm in section 4.3.3 which
> doesn't use hd-media! This is a logical bug in the manual that only
> confused me.
>  * Well "especially" *if* I'm not using the hd-media image, I'm of
> course supposed to copy the contents of the iso now?
>  * the manual doesn't say whether to mount the iso and copy the
> contents recursively (and to which target location), or whether to
> copy the iso file itself (neither which location).
> 
> 5. what I tried so far doesn't even bring up the syslinux boot menu
> (it should, shouldn't it, even if there's only 1 entry?). It just
> shows a black screen with blinking underline cursor in top left
> corner, doing nothing.
> 
> 6. the manual doesn't hint at what else is needed in syslinux.cfg to
> have a chance of it working.
> 
> Also, there's no *boot.img* on the mythbuntu iso, so I can't try
> section 4.3.2. Of course I know that this manual is for creating a
> Debian boot, not Ubuntu boot; but in any case, my problem of using
> Debian to enable me to boot any kind of Ubuntu based image is
> unsolved.

I've read some (but not all) of this thread.  AFAICT, you want to prepare
an Ubuntu-type USB installation disk, and you tried to use the Debian 
installation manual, as described above, but it didn't quite work.

I would recommend having a look at the corresponding section in Ubuntu's
installation guide.  It's very similar to Debian's but I remember noticing
some small differences.  Maybe try
https://help.ubuntu.com/11.04/installation-guide/amd64/boot-usb-files.html

Around 4 or 5 years ago, I was doing an Ubuntu installation with a USB 
stick.  The guide looked very much like Debian's so I assumed they were
the same and tried to do it like Debian, but it didn't work.  (I think 
the difference I experienced was that in Debian the "easy" method required
one to copy an iso after copying the image to the USB, whereas in Ubuntu, 
one just copied the image and that was it (no iso to copy).  I'm not sure,
though.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110812085559.ga3...@cs.utexas.edu



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-12 Thread Christian Jaeger
I run Squeeze on the computer where I prepare the usb flashdrive, and
Lenny on the computer where I want to install mythbuntu (the T61).

I don't think asking fellow Debian users about compiling software on
Debian is offtopic.

I have checked Arnt advice by setting the boot flag on the partition
"but got the same result as before".

I've checked where I remembered your name from, it's from the thread
"How to get Bell Canada 3G USB network up?". I've much appreciated
your participation and help there. (Actually I'm still owing a
followup there, and I know it, but I've been very busy.) So I'm not
sure how I got this criticism today. Possibly I've started to be too
sensitive for this "we don't want to hear Ubuntu" business; I got this
a couple times in IRC, and as I said, I increasingly think some people
are being too quick pushing people away. I think it hurts Debian and
the Debian community. That's just my two cents. In the interest of not
feeling hurt myself anymore I'll just wear a flame suit from now on,
so, fire away if you like.

Christian.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAEjYwfWPEx=qSJdPX=kv+unh0lma4sk_h-0xxqa6t+hvrbk...@mail.gmail.com



Re: orphan link linux-kbuild-N.N.N in /usr/local/src

2011-08-12 Thread Jerome BENOIT

Hello List:

On 12/08/11 08:08, Sven Joachim wrote:

On 2011-08-11 21:10 +0200, Jerome BENOIT wrote:


On my Debian (Wheezy) boxes, the /usr/src is a link to /usr/local/src ,
/usr and /usr/local being mounted on different partitions.
I guess it is a common practice.


It might be common, but it is not a good practice since /usr/src is
distribution territory.  I.e. Debian packages will overwrite any local
files without warning.


My understand is the /usr/src is an exception: and /usr/src is meant to
to build kernel images.
Second, my set up forced the distribution territory:
on my box: /usr is mounted read only, whereras /usr/local is not.




Whatever, I have noticed that in my /usr/src (->  /usr/local/src)
an orphaned link was created linux-kbuild-3.0.0 ->  ../lib/linux-kbuild-3.0.0 :
the /usr/lib/linux-kbuild-3.0.0 does exist, but not 
/usr/local/lib/linux-kbuild-3.0.0

I could create a link /usr/local/lib , but because of the version suffix,
this approach is not an appropriate one.
Of course, I can unorphan the link by hand, but I am looking for a permanent 
solution.

Any idea ?


My advice would be to delete the symlink and move any files belonging to
Debian packages to /usr/src.  Use "dpkg -S usr/src" to find out which
files belong to packages.

If you don't want to do that, use a bind mount rather than a symlink for
/usr/src.  Then the /usr/src/linux-kbuild-3.0.0 symlink will work (but
/usr/local/src/linux-kbuild-3.0.0 will not).


This sound better: I will try soon.



Sven





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

Archive: http://lists.debian.org/4e44d65b.5010...@rezozer.net