Re: should debian FAQ suggest "alpine" as an alternative to "pine"?

2009-08-22 Thread Robert P. J. Day
On Sat, 22 Aug 2009, Chris Burkhardt wrote:

> Robert P. J. Day wrote:
> >   currently perusing the FAQ, section 5.10 asks, "where is pine?"
> > since alpine is apparently available for debian, shouldn't that
> > section at least mention that alternative?  i've used alpine as a
> > drop-in replacement for pine on fedora for quite some time.
>
> Yes, I think that would be a good idea.
>
> >is there a better place to make that suggestion?
>
> >From FAQ Section 16.2 "Feedback":
>
> Comments and additions to this document are always welcome. Please
> send e-mail to doc-deb...@packages.debian.org, ...

  done.

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday



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



Problems booting installation CDs

2009-08-22 Thread Isaac Freeman
[x-posted to debian-am...@lists.debian.org, debian-b...@lists.debian.org,
debian-u...@lists.debian.org]

All, sorry for the wide distribution, but I wasn't sure which list this
belonged on; feel free to reply only to me, or to me and just one list.
Also, I'm not subscribed, so please keep me in to "to" line.

Whenever I boot the Debian testing installation CD (haven't tried stable) it
hangs at:

(process:766) INFO: kbd-mode: setting console mode to Unicode (UTF-8)

The rest of the screen is black, and this text is a few lines from the
bottom of the screen. Other Linux distros (Ubuntu, Knoppix) have problems
booting too. The strange thing is, Windows boots just fine, and I get the
same error booting Debian's CD in Virtualbox.

I am running:

Mobo: Biostar TA770 A2+ SE


-- 
Isaac Freeman
memotype (at) gmail.com

"The diversity of mankind is a basic postulate of our knowledge of human
beings. But if mankind is diverse and individuated, then how can anyone
propose equality as an ideal? Every year, scholars hold Conferences on
Equality and call for greater equality, and no one challenges the basic
tenet. But what justification can equality find in the nature of man? If
each individual is unique, how else can he be made 'equal' to others than by
destroying most of what is human in him and reducing human society to the
mindless uniformity of the ant heap?" --Murray N. Rothbard


Re: inode question

2009-08-22 Thread David Fox
On Sat, Aug 22, 2009 at 2:09 AM, Eugene
Apolinary wrote:
> Could that be possible to find the same inode, just because of there are two
> filesystems?

Yes, of course. Each fs is independent of the other, hence it is
possible to have two inode entries with the same number. Of course
they'd not point to the same file.

\


-- 
thanks for letting me change the magnetic patterns on your hard disk.


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



Re: Playing 8-bit raw Audio with mplayer

2009-08-22 Thread Emanoil Kotsev
Martin McCormick wrote:

> mplayer -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer
> rawaudio \ /tmp/

This was interesting experiment, but I don't hear such a thing.

what do you see in ratio (see below) from mplayer

for me it's ratio: 8000->8000

uname -a
Linux maistor 2.6.30.4eko2 #1 SMP PREEMPT Wed Aug 12 00:57:41 CEST 2009 i686
GNU/Linux

cat /proc/asound/card*/codec* | grep Codec
Codec: SigmaTel STAC9200

player -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer
rawaudio /tmp/testfile
MPlayer dev-SVN-r28048-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200  @ 2.00GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
/usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf doesn't look like a
bitmap font description, ignoring.
Cannot load bitmap
font: /usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /tmp/testfile.
rawaudio file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, u8, 64.0 kbit/100.00% (ratio: 8000->8000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [oss] 8000Hz 1ch u8 (1 bytes per sample)
Video: no video
Starting playback...


Exiting... (End of file)
eman...@maistor:/tmp$ mplayer -quiet -rawaudio
samplesize=1:channels=1:rate=8000 -demuxer rawaudio /tmp/testfile
MPlayer dev-SVN-r28048-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200  @ 2.00GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
...
Playing /tmp/testfile.
rawaudio file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 1 ch, u8, 64.0 kbit/100.00% (ratio: 8000->8000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [oss] 8000Hz 1ch u8 (1 bytes per sample)
Video: no video
Starting playback...


Exiting... (End of file)



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



Re: Wrong identification of a USB flash drive. [SOLVED]

2009-08-22 Thread Mark Neidorff
On Saturday 22 August 2009 08:47 pm, Kelly Clowers wrote:
> On Sat, Aug 22, 2009 at 09:09, Florian Kulzer

[[[snip]]]

Thank everyone for the advice.  I now know what to do to solve the problem.

Mark


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



Re: problem compiling kernel

2009-08-22 Thread Emanoil Kotsev
Bernard wrote:

> 
> 2.6.30.4 does compile all right, so does 2.6.26, but 2.6.20 does not.

you find out why in the archives

> Problem is that I still can't boot those I compiled, i.e. 2.6.26. because
> the initrd.img is buggy. I did find something, still it is not enough to
> get the process to work. In my
> 
> /etc/mkinitrd/mkinitrd.conf file, I found a modified line :
> 
> # Command to generate the initrd image.
> # MKIMAGE='mkcramfs %s %s > /dev/null' this has been changed august 19,
> # 2009
> 
> MKIMAGE='genromfs -d %s -f %s'
> 
> The change date has not been written by me, so this must be a conf file
> that came with a recent package upgrade that I did. I tried uncommenting
> the old line, commenting the new one instead. MKIMAGE='mkcramfs... became
> active. What gave me this idea, is that in those error messages that I
> could see at crash, it was matter of cramfs.
> 
> Well that change made mkinitrd to produce smaller images. I tried
> installing them in the grub boot menu, and then, now, the boot crashes do
> not happen at the same time as before... but it still crashes !
> 
> I could do nothing else than catch photos of my screen, since no log file
> are recorded in such cases.
> 
> http://www.teaser.fr/~bdebreil/bootcrash1.jpg

so this is the old error, and you don't need a fix for it

> 
> and
> 
> http://www.teaser.fr/~bdebreil/bootcrash2.jpg
> 
> will show you what I got
> 
> The first crash screen is not very informative :
> "
> could not load '/lib/modules... no such files"

I don't think so it's as informative as it should be. It can not mount sdb2
(is it your root?)

> 
> (these files exist, but at this point in time it is not in the /boot
> partition, therefore not mounted as yet). This crash came from a kernel
> which I had configure to have RAID inside, not as modules. While watching
> the boot logs of my working kernel, I could see that RAID was as modules.
> So, I recompiled a new kernel with modules for RAID, and then boot went a
> little bit further, as can be seen in the screen picture at crash :
> 
> 'raid1 set md1 active with 2 out of 2 mirrors
> 
> mdadm : /dev/md1 has been started with 2 drives'
> 
> but then :
> 
> 'mkdir cannot create directory '/devfs/vg00' : read only filesystem
> ..
> 
> failure to communicate to kernel device mapper driver
> incompatible libdevmapper 1.01.00-ioctl (2005-01-17) (compat) and kernel
> driver'
> 

The problem is as far as I remember that devfs was given up ... was it
something that worked with hotplug ... I really don't remember right now,
but there was a change affecting devmapper. I think you have to read about
it, perhaps replace it and recreate initrd.

Compiling md in the kernel is the right approach to boot from raided root
without initrd. You can try this just skipping (deleteing the line in grub
temporary)

> I think that this last quoted line does most explain that the tools I am
> using are not appropriate.
> 
> I have good grounds to think that the problems are in my initrd.img
> file... but there may also be something wrong in the compiled kernel
> image.

try without initrd (with custom kernel, you can put everything you need
inside it (i.e filesystem support ide/ata etc) you then can access your
root partition and the boot process will continue from there. The initrd is
only needed to load drivers which helps you do the above.
Because you are using lvm, if not using initrd you need to compile also lvm
inside the kernel.

> 
> Could someone please tell me what tool packages to purge and what to
> install instead so that I can recompile a 2.6.26 or 2.6.30 kernel that
> will boot on my Debian 3.1 system with raid 1 ?
> 
There are good howtos for upgrading from sarg -> etch and etch -> lenny.
You definitely better use udev ... devmapper is not needed anymore as far as
I know.

I did it last year ... and yes there were some troubles with the initrds ...

I could send you my scripts for building your own initrd ( I have used them
to build initrd for crypted root - before it started working in debian),
though I've already posted a 5step howto fix broken boot initrd - try
init=/bin/sh option ;-) and fix the boot by hand - you'll see what you are
missing

You could just copy over a working image and initrd (from some live cd/dvd)
edit grub and reboot - this should work.

regards


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



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Kelly Clowers
On Sat, Aug 22, 2009 at 09:09, Florian Kulzer
 wrote:
>
> On Sat, Aug 22, 2009 at 17:16:43 +0200, Peter Beck wrote:
> > > On 2009-08-22 09:16, Mark Neidorff wrote:
>
> [...]
>
> > >  I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of 
> > > them
> > >  into a USB port, the system recognizes it as a CD drive.
> >
> > AFAIK the Sandisk Cruzers are U3 Sticks and i think the U3 System is
> > shown as a CD-Drive and the storage as usb drive. There is a Tool from
> > Sandisk to disable the U3 functionality and use the sticks without this
> > software, but it's a windows executable.
>
> http://u3-tool.sourceforge.net/
>
> The u3-tool package is available in the Debian main archive, but only
> for Squeeze and Sid.

You can kill U3 without that utility. I did it once, with Parted I believe.


Cheers,
Kelly Clowers


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



Re: HOWTO run xorg without hal

2009-08-22 Thread John Hasler
Dirk wrote:
> some true asshole decreased linux' value as an alternative to windows by
> making hal a dependency(!) of xorg now...

I agree that this is objectionable.

In any case, "dpkg --force-help" should tell you what you need to know in
order to get rid of hal.
-- 
John Hasler


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



Re: dialing phone numbers

2009-08-22 Thread John Hasler
Pol wrote:
> Any hints about dialing numbers by your laptop keyboard to a phone connected
> through modem?  

chat (in the ppp package).
-- 
John Hasler


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



Re: To synchronize system time witn NTP-server with no winter time shift whole year - how to?

2009-08-22 Thread John Hasler
Strong and Humble writes:
> What I want(ed) is that my system show always the same time regardless of
> the winter time and I yet could synchronize my system w/ NTP-servers. I
> know that the servers are in UTC. But the problem w/ me was that once the
> 'winter time' comes and I synchronize my system w/ NTP-server, I get time
> offset too, notwithstanding I want to escape it.

Ntp and "winter time" are unrelated.

> What seemed me od with dpkg-reconfigure is that I had to choose wrong GMT
> offset in order system shows true time.

How is your hardware (i.e., BIOS) clock set?  Do you have "UTC=yes" in
/etc/default/rcS?
-- 
John Hasler


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



Re: Playing 8-bit raw Audio with mplayer

2009-08-22 Thread Martin McCormick
Tzafrir Cohen writes:
> In the worst case, convert it to a wav file:
> 
>   sox -r8000 -u -c1 -8 streamfile file.wav

That definitely does work. Thanks.

It turned out I was reading the wrong part of the man
page so searches for what one might think works turned up
nothing. It turns out that the following will directly play the
file:

mplayer -quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer rawaudio \
/tmp/rawaudio.tmp

I did discover an interesting little bug that is either
a misunderstanding on my part or an off-by-one situation.

If you listen to the dump with headphones or a good pair
of speakers, you can hear a rhythmic throbbing effect with a
rate of about 1 throb per second. It reminds me of the effect
you get when the tape guides on a tape machine are allowing the
tape to scue a little so the movement over the head is not
perfectly horizontal. You almost don't notice it but it is there
at times and somewhat annoying.

It made me wonder if the codec was feeding audio that
was being sampled a little faster than it should be.

I changed the sample rate to 8001 and the throb effect
doubled in speed, telling me that this was the problem but I had
gone in the wrong direction.

At 7999, the throb is totally gone and the effect is the
same as what you get if you cat a raw audio file directly to
/dev/dsp.

For all I know, it might not even show up on another
computer with a different sound card and possibly a different
time base.

I tried it on a computer I use at work that has a SBLive
sound card and I think I did still hear the slight throb effect.

I have since subscribed to the mplayer list and will
post this same description to see if somebody else can shed some
light/sound knowledge as to why the slight timing problem.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group


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



Re: should debian FAQ suggest "alpine" as an alternative to "pine"?

2009-08-22 Thread Chris Burkhardt
Robert P. J. Day wrote:
>   currently perusing the FAQ, section 5.10 asks, "where is pine?"
> since alpine is apparently available for debian, shouldn't that
> section at least mention that alternative?  i've used alpine as a
> drop-in replacement for pine on fedora for quite some time.

Yes, I think that would be a good idea.

>is there a better place to make that suggestion?

>From FAQ Section 16.2 "Feedback":

Comments and additions to this document are always welcome. Please send e-mail
to doc-deb...@packages.debian.org, or submit a wishlist bug report against the
debian-faq package.

- Chris


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



Re: KDE status in Squeeze/testing?

2009-08-22 Thread Sjoerd Hardeman
Andrew M.A. Cater schreef:
> Where are we at the moment with KDE installability in Squeeze?
I'm running KDE in Squeeze, and its mostly functional. I haven't noticed
any serious issues. There are some general problems KDE still has, like
not being able to change 'supersuer'-only settings in via the kde-config
app. Also, the printing system is not yet up to the 3.5 quality. For the
rest I think 4.2 is a huge improvement over kde 3.5.

Sjoerd
> 
> All best,
> 
> AndyC
> 
> 




signature.asc
Description: OpenPGP digital signature


modifier keys stop working

2009-08-22 Thread Steve Kleene
I am repeatedly losing modifier-key function.

I run an up-to-date Lenny system and use the window manager fvwm (2.5.26-1)
so that I can mostly work from the command line.  I also have a virtual XP
machine (VM, VMware 1.06).

If I use the VM for a few minutes (usually Photoshop, sometimes Acrobat), I
find that SHIFT, CTRL, and ALT no longer modify what I enter in the Linux
window.  For example, CTRL-c, ALT-c, and SHIFT-c all just send `c'.  The
modulator keys all still function in the VMware window.  I have not
identified any particular sequence that causes the change.  Shutting down the
VM doesn't fix it.  Exiting fvwm and calling startx again does.  When I ran
"dumpkeys -l" in the healthy and diseased states, the outputs were identical.
In my previous build (Etch + fvwm 2.5.18-3 + VMware 1.0.4), I never had this
problem.

The questions ...

1. Any idea what causes this or how to prevent it?  I'm not optimistic here.
2. Can anyone suggest a command line that might restore the key functions so
   that I wouldn't have to shut down the window manager?
3. Finally, a fun puzzle (inspired by actual events).  If I have a window up
   with text I want to save before shutting down the windows, how can I do
   the save without modifier keys?  I can copy the text with the mouse, but
   then what?  Redirect (< > << |) needs the SHIFT key.  I can't terminate
   stdin with CTRL-d.  I'm hoping to do better than scrot + OCR.

Thanks.


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



Re: problem compiling kernel

2009-08-22 Thread Bernard

Emanoil Kotsev wrote:


Emanoil Kotsev wrote:

 


Sorry forgot to write

Yes there is problem compiling the 2.6.20 with recent gcc

The problem is the compiler. If you are compiling just grab the last
version from kernel.org.

2.6.30.4 seems to be working fine

   



Just to be objective the gnu compiler people said kernel people are wrong
and vice versa. I didn't follow the discussion. I'm glad next kernels
compile

regards




 



2.6.30.4 does compile all right, so does 2.6.26, but 2.6.20 does not. Problem is that I still can't boot those I compiled, i.e. 2.6.26. because the initrd.img is buggy. I did find something, still it is not enough to get the process to work. In my 


/etc/mkinitrd/mkinitrd.conf file, I found a modified line :

# Command to generate the initrd image.
# MKIMAGE='mkcramfs %s %s > /dev/null' this has been changed august 19, 2009

MKIMAGE='genromfs -d %s -f %s'

The change date has not been written by me, so this must be a conf file that 
came with a recent package upgrade that I did. I tried uncommenting the old 
line, commenting the new one instead. MKIMAGE='mkcramfs... became active. What 
gave me this idea, is that in those error messages that I could see at crash, 
it was matter of cramfs.

Well that change made mkinitrd to produce smaller images. I tried installing 
them in the grub boot menu, and then, now, the boot crashes do not happen at 
the same time as before... but it still crashes !

I could do nothing else than catch photos of my screen, since no log file are 
recorded in such cases.

http://www.teaser.fr/~bdebreil/bootcrash1.jpg

and

http://www.teaser.fr/~bdebreil/bootcrash2.jpg

will show you what I got

The first crash screen is not very informative :
"
could not load '/lib/modules... no such files"

(these files exist, but at this point in time it is not in the /boot partition, 
therefore not mounted as yet). This crash came from a kernel which I had 
configure to have RAID inside, not as modules. While watching the boot logs of 
my working kernel, I could see that RAID was as modules. So, I recompiled a new 
kernel with modules for RAID, and then boot went a little bit further, as can 
be seen in the screen picture at crash :

'raid1 set md1 active with 2 out of 2 mirrors

mdadm : /dev/md1 has been started with 2 drives'

but then :

'mkdir cannot create directory '/devfs/vg00' : read only filesystem
..

failure to communicate to kernel device mapper driver
incompatible libdevmapper 1.01.00-ioctl (2005-01-17) (compat) and kernel driver'

I think that this last quoted line does most explain that the tools I am using 
are not appropriate.

I have good grounds to think that the problems are in my initrd.img file... but 
there may also be something wrong in the compiled kernel image.

Could someone please tell me what tool packages to purge and what to install 
instead so that I can recompile a 2.6.26 or 2.6.30 kernel that will boot on my 
Debian 3.1 system with raid 1 ?

Thanks in advance for your help


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




KDE status in Squeeze/testing?

2009-08-22 Thread Andrew M.A. Cater
Where are we at the moment with KDE installability in Squeeze?

All best,

AndyC


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



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Florian Kulzer
On Sat, Aug 22, 2009 at 17:16:43 +0200, Peter Beck wrote:
> > On 2009-08-22 09:16, Mark Neidorff wrote:

[...]

> >  I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of 
> > them 
> >  into a USB port, the system recognizes it as a CD drive.
> 
> AFAIK the Sandisk Cruzers are U3 Sticks and i think the U3 System is
> shown as a CD-Drive and the storage as usb drive. There is a Tool from
> Sandisk to disable the U3 functionality and use the sticks without this
> software, but it's a windows executable.

http://u3-tool.sourceforge.net/

The u3-tool package is available in the Debian main archive, but only
for Squeeze and Sid.

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


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



[OT] Online downloadable books

2009-08-22 Thread Rodolfo Medina
From:

 http://www.4shared.com

I downloaded a book I was looking for: Takeuti-Zaring's Introduction to
Axiomatic Set Theory.

It comes in .djvu format.  I'd be curious to know how it was formatted that
way: certainly not by scanning it page to page.

I think in future more and more books will be available on line, and many
already are; but the problem is with old editions: either scanning them page
after page, either re-write them from scratch.

Another book I was looking for: Quine's Set Theory and Its Logic, was not
anywhere in internet.  Can anyone suggest a place where it's downloadable?

Rodolfo


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



Re: debports

2009-08-22 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Hi,

I want to install this:

Package: kcontrol (4:3.5.9.dfsg.1-6) [debports]

So I changed my sources.list to:

deb http://ftp.us.debian.org/debian/ unstable main non-free contrib 
debports


and did 'aot-get update' but got:

W: Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/Release
Unable to find expected entry  debports/binary-i386/Packages in 
Meta-index file (malformed Release file?)


What am I doing wrong?


This explains:

http://wiki.debian.org/DebianPorts/Mirrors

but i386 is not one of the ports... :-(

Where do I get kcontrol for Sid?

Hugo


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




Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Thierry Chatelet
On Saturday 22 August 2009 16:58:57 Mark Neidorff wrote:
> On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:
> > On 2009-08-22 09:16, Mark Neidorff wrote:
> > > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
> > > still would like to know why it is happening.  That knowledge should
> > > tell me how to fix the problem.
> > >
> > > My system is Lenny 5.02, but the same problem exists on an old Fedora
> > > Core 3 system, so it is not a Debian problem, per se.
> > >
> > > I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
> > > them into a USB port, the system recognizes it as a CD drive.
> >
> > By "the system", do you mean lines in dmesg, or the icon on your
> > desktop?
> >
> > >Working
> > > around this is easy, but what is causing the system to mis-identify the
> > > Cruzer? The only things on the cruzer are the files that automatically
> > > run under windows ("autorun.inf, LaunchU3.exe" which put a different
> > > way of unounting the device on the screen, and a System subdirectory
> > > and a Documents
> > > subdirectory).
>
> Both on the desktop and in dmesg.  Here is the relavent info from dmesg:
>
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   Direct-Access  ANSI SCSI revision: 00
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
>  sdc: sdc1
> Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   CD-ROM ANSI SCSI revision: 00
> sr0: scsi3-mmc drive: 48x/48x tray
> Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
> usb-storage: device scan complete
>
> Looks like it is mounted twice?

Another trail to follow,from one time I had a USB dongle to connect to the 
internet. Its a long time ago, so pls check everything back before applying:

chmod a+w /dev/ttyUSB2
echo at+zcdrun=8 > /dev/ttyUSB2

Be sure to replace ttyUSB2 by your device.
To get back the CD part of the device, do the same, but replace 8 by 9
Thierry


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



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Peter Beck
> On 2009-08-22 09:16, Mark Neidorff wrote:
>  This is in the category of P.A.T. (Petty Annoyances and Tedium) but I still 
>  would like to know why it is happening.  That knowledge should tell me how 
> to 
>  fix the problem.
>  
>  My system is Lenny 5.02, but the same problem exists on an old Fedora Core 3 
>  system, so it is not a Debian problem, per se.
>  
>  I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of them 
>  into a USB port, the system recognizes it as a CD drive.

AFAIK the Sandisk Cruzers are U3 Sticks and i think the U3 System is
shown as a CD-Drive and the storage as usb drive. There is a Tool from
Sandisk to disable the U3 functionality and use the sticks without this
software, but it's a windows executable.


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



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Thierry Chatelet
On Saturday 22 August 2009 16:58:57 Mark Neidorff wrote:
> On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:
> > On 2009-08-22 09:16, Mark Neidorff wrote:
> > > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
> > > still would like to know why it is happening.  That knowledge should
> > > tell me how to fix the problem.
> > >
> > > My system is Lenny 5.02, but the same problem exists on an old Fedora
> > > Core 3 system, so it is not a Debian problem, per se.
> > >
> > > I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
> > > them into a USB port, the system recognizes it as a CD drive.
> >
> > By "the system", do you mean lines in dmesg, or the icon on your
> > desktop?
> >
> > >Working
> > > around this is easy, but what is causing the system to mis-identify the
> > > Cruzer? The only things on the cruzer are the files that automatically
> > > run under windows ("autorun.inf, LaunchU3.exe" which put a different
> > > way of unounting the device on the screen, and a System subdirectory
> > > and a Documents
> > > subdirectory).
>
> Both on the desktop and in dmesg.  Here is the relavent info from dmesg:
>
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   Direct-Access  ANSI SCSI revision: 00
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
> SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 45 00 00 08
> sdc: assuming drive cache: write through
>  sdc: sdc1
> Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
>   Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
>   Type:   CD-ROM ANSI SCSI revision: 00
> sr0: scsi3-mmc drive: 48x/48x tray
> Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
> usb-storage: device scan complete
>
> Looks like it is mounted twice?

Have a look at usb-modeswitch.
From man:
Several new USB devices have their proprietary Windows drivers onboard,  
especially  WAN  don‐
   gles.  When  plugged in for the first time, they act like a flash 
storage 
and start installing
   the driver from there. If the driver is already installed, the storage 
device vanishes  and  a
   new device, such as an USB modem, shows up. This is called the "ZeroCD" 
feature

Hope it helps
Thierry


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



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Ron Johnson

On 2009-08-22 09:58, Mark Neidorff wrote:

On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:

On 2009-08-22 09:16, Mark Neidorff wrote:

This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
still would like to know why it is happening.  That knowledge should tell
me how to fix the problem.

My system is Lenny 5.02, but the same problem exists on an old Fedora
Core 3 system, so it is not a Debian problem, per se.

I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
them into a USB port, the system recognizes it as a CD drive.

By "the system", do you mean lines in dmesg, or the icon on your
desktop?


   Working around
this is easy, but what is causing the system to mis-identify the Cruzer? 
The only things on the cruzer are the files that automatically run under

windows ("autorun.inf, LaunchU3.exe" which put a different way of
unounting the device on the screen, and a System subdirectory and a
Documents
subdirectory).


Both on the desktop and in dmesg.  Here is the relavent info from dmesg:

  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
 sdc: sdc1
Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   CD-ROM ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 48x/48x tray
Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
usb-storage: device scan complete

Looks like it is mounted twice?


I bet there's a bug in udev, or maybe usbutils.

--
Featuring GRATUITOUS ALIEN NUDITY


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




Re: gpgv

2009-08-22 Thread Ron Johnson

On 2009-08-22 00:46, Osamu Aoki wrote:
[snip]


Wait?

I can not run apt-file either.

Securit archive seems to lack Contents-i386.gz, Contents-ia64.gz, ...

Funny.


But not the "ha ha" funny.

How does one file a bug about this?

--
Featuring GRATUITOUS ALIEN NUDITY


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




Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Mark Neidorff
On Saturday 22 August 2009 10:48 am, Ron Johnson wrote:
> On 2009-08-22 09:16, Mark Neidorff wrote:
> > This is in the category of P.A.T. (Petty Annoyances and Tedium) but I
> > still would like to know why it is happening.  That knowledge should tell
> > me how to fix the problem.
> >
> > My system is Lenny 5.02, but the same problem exists on an old Fedora
> > Core 3 system, so it is not a Debian problem, per se.
> >
> > I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of
> > them into a USB port, the system recognizes it as a CD drive.
>
> By "the system", do you mean lines in dmesg, or the icon on your
> desktop?
>
> >Working around
> > this is easy, but what is causing the system to mis-identify the Cruzer? 
> > The only things on the cruzer are the files that automatically run under
> > windows ("autorun.inf, LaunchU3.exe" which put a different way of
> > unounting the device on the screen, and a System subdirectory and a
> > Documents
> > subdirectory).

Both on the desktop and in dmesg.  Here is the relavent info from dmesg:

  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
SCSI device sdc: 7856127 512-byte hdwr sectors (4022 MB)
sdc: Write Protect is off
sdc: Mode Sense: 45 00 00 08
sdc: assuming drive cache: write through
 sdc: sdc1
Attached scsi removable disk sdc at scsi14, channel 0, id 0, lun 0
  Vendor: SanDisk   Model: SanDisk CruzerRev: 8.02
  Type:   CD-ROM ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 48x/48x tray
Attached scsi CD-ROM sr0 at scsi14, channel 0, id 0, lun 1
usb-storage: device scan complete

Looks like it is mounted twice?


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



Re: gpgv

2009-08-22 Thread Raquel
On Fri, 21 Aug 2009 19:12:09 -0700
Raquel  wrote:

> 
> I've just reinstalled a very basic system onto that machine, Debian
> Lenny, and will begin adding firewall, server software, etc.
> However, I'm getting an error from aptitude.

This happens when I run aptitude udpate

> GPG error: http://security.debian.org testing/updates Release:
> Unknown error executing gpgv
> 
> I've run apt-get update as the error suggests and get the same error
> using apt-get.
> 
> I've installed debian-archive-keyring.
> 
> I've installed ntp so the machine's time is correct.
> 
> Does anyone know what's going on, and how to fix it?
> 

I've tried every suggestion found when I google this problem.  Does
no one have an idea how to fix it?

-- 
Raquel

If women are expected to do the same work as men, we must teach them
the same things.

  --Plato


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



Re: Wrong identification of a USB flash drive.

2009-08-22 Thread Ron Johnson

On 2009-08-22 09:16, Mark Neidorff wrote:
This is in the category of P.A.T. (Petty Annoyances and Tedium) but I still 
would like to know why it is happening.  That knowledge should tell me how to 
fix the problem.


My system is Lenny 5.02, but the same problem exists on an old Fedora Core 3 
system, so it is not a Debian problem, per se.


I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of them 
into a USB port, the system recognizes it as a CD drive.


By "the system", do you mean lines in dmesg, or the icon on your 
desktop?


   Working around this 
is easy, but what is causing the system to mis-identify the Cruzer?  The only 
things on the cruzer are the files that automatically run under windows 
("autorun.inf, LaunchU3.exe" which put a different way of unounting the 
device on the screen, and a System subdirectory and a Documents 
subdirectory).


--
Featuring GRATUITOUS ALIEN NUDITY


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




debports

2009-08-22 Thread Hugo Vanwoerkom

Hi,

I want to install this:

Package: kcontrol (4:3.5.9.dfsg.1-6) [debports]

So I changed my sources.list to:

deb http://ftp.us.debian.org/debian/ unstable main non-free contrib debports

and did 'aot-get update' but got:

W: Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/Release
Unable to find expected entry  debports/binary-i386/Packages in 
Meta-index file (malformed Release file?)


What am I doing wrong?

Hugo


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




Wrong identification of a USB flash drive.

2009-08-22 Thread Mark Neidorff
This is in the category of P.A.T. (Petty Annoyances and Tedium) but I still 
would like to know why it is happening.  That knowledge should tell me how to 
fix the problem.

My system is Lenny 5.02, but the same problem exists on an old Fedora Core 3 
system, so it is not a Debian problem, per se.

I just bought a 3 pack of Sandisk Cruzers (4Gb).  When I insert any of them 
into a USB port, the system recognizes it as a CD drive.  Working around this 
is easy, but what is causing the system to mis-identify the Cruzer?  The only 
things on the cruzer are the files that automatically run under windows 
("autorun.inf, LaunchU3.exe" which put a different way of unounting the 
device on the screen, and a System subdirectory and a Documents 
subdirectory).

Thanks for the info.

Mark


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



Re: inode question

2009-08-22 Thread Eugene Apolinary


--- On Sat, 8/22/09, Eugene Apolinary  wrote:

From: Eugene Apolinary 
Subject: inode question
To: "debian-user@lists.debian.org" 
Date: Saturday, August 22, 2009, 9:09 AM

Could that be possible to find the same inode, just because of there are two 
filesystems?e.g.: HDD is partitionedthank you


  


  

Re: .mov skipping?

2009-08-22 Thread Ron Johnson

On 2009-08-22 01:58, i'll teach you to turn away. wrote:

Ron Johnson  wrote:
RJ> On 2009-08-20 02:02, i'll teach you to turn away. wrote:
beautifully for nearly everything. every so often, though, i have a .mov 
file that doesn't play video smoothly - the audio sounds fine, but the 
video skips so badly that it appears to be more like a series of still 
images that vaguely line up every 3-10 seconds with the audio. i don't 
RJ> I'd run "file" or idvid[0] on a selection of QuickTime videos that 
RJ> both run smoothly and are choppy, to determine, for example, whether 
RJ> the choppy ones are HD or not.


	nope, all of the recent offenders report "ISO Media, Apple 
QuickTime movie" with file. the only working .movs i have around right now 
report either "data" or "Apple QuickTime movie (unoptimized)". perhaps 
it's an optimization problem then? uh, is that fixable?


Like I said, run idvid on them.

$ idvid 52704main_heliopause.mov

idvid
Video identification script
Part of the tovid suite, version 0.31
http://www.tovid.org

Analyzing file: '52704main_heliopause.mov'. This may take several 
minutes...

=
   File: 52704main_heliopause.mov
  Width: 320 pixels
 Height: 240 pixels
   Aspect ratio: 1.33:1
 Frames: 1030
   Duration: 00:00:34 hours/mins/secs
  Framerate: 29.970 frames per second
   Video format: jpeg
  Video bitrate: 0 bits per second
=
Audio is compliant with the following formats:
  Not compliant with (S)VCD or DVD
  No audio stream present
Video is compliant with the following formats:
  Not compliant with (S)VCD or DVD
This video does not seem to be compliant with (S)VCD or DVD
standards. If you burn it to a video disc, it may not work.
=



--
Featuring GRATUITOUS ALIEN NUDITY


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




Re: safe to purge older versions of installed software?

2009-08-22 Thread Emanoil Kotsev
Robert P. J. Day wrote:

> On Sat, 22 Aug 2009, Dean Sutherland wrote:
> 
>> Hi,
>>
>> Someone correct me if I'm wrong, but I believe the command you're
>> after is apt-cache rdepends packagename
>>
>> d...@subspace:~$ apt-cache rdepends gcc-4.1
>> gcc-4.1
>> Reverse Depends:
>>   linux-headers-2.6.26-1-686
>>   gcc-doc-base
>>   gcc-doc-base
>>   gcc-4.1-doc
>>   gcc-4.1-doc
>>   gpc-4.1
>>   gcj-4.4-jdk
>>   gcj-4.3
>>   gcj-4.2
>>   gcc-4.1-multilib
>>   gcc-4.1-multilib
>>   gcc-4.1-locales
>>   g++-4.1
>>
>> It appears not all of those packages will be removed if you remove the
>> gcc-4.1 package.
>>
>> d...@subspace:~$ sudo apt-get remove gcc-4.1-base
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following packages will be REMOVED:
>>   cpp-4.1 gcc-4.1 gcc-4.1-base linux-headers-2.6.26-1-686
>> 0 upgraded, 0 newly installed, 4 to remove and 394 not upgraded.
> 
>   yes, it look like that's what i was after, thanks.  (how many
> package management commands and alternatives *are* there in debian?
> :-)
> 
>   so the question now becomes, if i run that command on both
> gcc-4.2-base and gcc-4.3-base, it looks like (not surprisingly) the
> 4.2 package has lots of 4.2-related reverse dependencies, and likewise
> for gcc-4.3-base.  so do i really need the 4.2 stuff?
> 
>   if anyone has a fully-updated *lenny* system and they're willing to
> run the same commands, is there anything about the output from the 4.2
> version that would suggest that it needs to be retained, given that
> 4.3 is on the system?
> 
>   and on the system i'm upgrading, there are a number of packages that
> are installed with more than one version.  i'd just like to clean that
> system by purging anything that has no value.
> 

Just having a discussion on g++ list about 4.3 two days ago

g++-4.3 is not able to compile older applications, which means everything
older then may be two years ago depending on how isoC++ programmers have
written the code.

I'm actually considering removing 4.3 right now otherways I have to export
CXX and CC everytime I do compile and this is annoying.

regards


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



Re: safe to purge older versions of installed software?

2009-08-22 Thread Lisi Reisz
On Saturday 22 August 2009 12:52:54 Robert P. J. Day wrote:

>   so the question now becomes, if i run that command on both
> gcc-4.2-base and gcc-4.3-base, it looks like (not surprisingly) the
> 4.2 package has lots of 4.2-related reverse dependencies, and likewise
> for gcc-4.3-base.  so do i really need the 4.2 stuff?
>
>   if anyone has a fully-updated *lenny* system and they're willing to
> run the same commands, is there anything about the output from the 4.2
> version that would suggest that it needs to be retained, given that
> 4.3 is on the system?
>
>   and on the system i'm upgrading, there are a number of packages that
> are installed with more than one version.  i'd just like to clean that
> system by purging anything that has no value.

l...@tux:~$ apt-cache rdepends gcc-4.2
gcc-4.2
Reverse Depends:
  gcc-4.2-doc
  gcc-4.2-doc
  gobjc-4.2
  gfortran-4.2
  gcj-4.2
  gcc-avr
  gcc-4.2-multilib
  gcc-4.2-multilib
  gcc-4.2-locales
  g++-4.2
  cpp-4.2
l...@tux:~$ apt-cache rdepends gcc-4.3
gcc-4.3
Reverse Depends:
  gcc-4.3-doc
  gcc-4.3-doc
  protoize
  gobjc-4.3
  gnat-4.3
  gfortran-4.3
  gcj-4.3
  gcc-4.3-multilib
  gcc-4.3-locales
  gcc
  g++-4.3
  g++
  fixincludes
l...@tux:~$   

I've also got gcc-4.1, which has a much longer list of dependencies than 
either of those.

HTH
Lisi


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



Re: Strange log-rotate problem

2009-08-22 Thread Andrew Reid
On Saturday 22 August 2009 02:09:09 Sven Joachim wrote:
> On 2009-08-22 01:08 +0200, Andrew Reid wrote:

> >   My problem is that I can't figure out who is rotating
> > /var/log/auth.log.
> >
> >   It's currently being rotated every day, and retained for a week.
> >
> If you are using sysklogd (the standard syslog daemon in Etch), the
> answer is that it uses savelog, not logrotate.  See bug #44523¹.
>
> The good news is that in Lenny and later, rsyslog² is the standard
> syslog daemon, and it uses logrotate.  Of course, upgrading an existing
> system will not change your syslog daemon.

  Thanks, this is helpful.

  I found the sysklogd cron entries, but I further thought the 
daily one (in /etc/cron.daily/sysklogd) wasn't rotating auth.log --
it uses "syslogd-listfiles" to get the set of files to rotate daily,
and when I ran it interactively, it returned an empty string.

  However, as a sanity check, I instrumented /etc/cron.daily/sysklogd,
and sure enough, it *is* doing the mystery rotation.

  So, now I can adjust it to comply with policy, which solves
the immediate problem.

  The remaining mystery is, why does the "syslogd-listfiles" give
different answers interactively versus inside a cron script?  Probably
some environment thing.

>
> There is also an Etch backport of rsyslog, if you would like to use it
> without upgrading to Lenny.

  I'll probably be upgrading to Lenny in a few weeks anyways, so I'll just
wait, I think.  However, I did want to mention that I am a big fan of 
backports, they've helped me out a lot over the years.

-- A.

-- 
Andrew Reid / rei...@bellatlantic.net


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



Re: safe to purge older versions of installed software?

2009-08-22 Thread Robert P. J. Day
On Sat, 22 Aug 2009, Dean Sutherland wrote:

> Hi,
>
> Someone correct me if I'm wrong, but I believe the command you're
> after is apt-cache rdepends packagename
>
> d...@subspace:~$ apt-cache rdepends gcc-4.1
> gcc-4.1
> Reverse Depends:
>   linux-headers-2.6.26-1-686
>   gcc-doc-base
>   gcc-doc-base
>   gcc-4.1-doc
>   gcc-4.1-doc
>   gpc-4.1
>   gcj-4.4-jdk
>   gcj-4.3
>   gcj-4.2
>   gcc-4.1-multilib
>   gcc-4.1-multilib
>   gcc-4.1-locales
>   g++-4.1
>
> It appears not all of those packages will be removed if you remove the
> gcc-4.1 package.
>
> d...@subspace:~$ sudo apt-get remove gcc-4.1-base
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>   cpp-4.1 gcc-4.1 gcc-4.1-base linux-headers-2.6.26-1-686
> 0 upgraded, 0 newly installed, 4 to remove and 394 not upgraded.

  yes, it look like that's what i was after, thanks.  (how many
package management commands and alternatives *are* there in debian?
:-)

  so the question now becomes, if i run that command on both
gcc-4.2-base and gcc-4.3-base, it looks like (not surprisingly) the
4.2 package has lots of 4.2-related reverse dependencies, and likewise
for gcc-4.3-base.  so do i really need the 4.2 stuff?

  if anyone has a fully-updated *lenny* system and they're willing to
run the same commands, is there anything about the output from the 4.2
version that would suggest that it needs to be retained, given that
4.3 is on the system?

  and on the system i'm upgrading, there are a number of packages that
are installed with more than one version.  i'd just like to clean that
system by purging anything that has no value.

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday



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



Re: Inquiry:Incorrectly built binary

2009-08-22 Thread Florian Weimer
* hadi motamedi:

> Can you please do me favor and let me know what is the cause of the
> following error message that I got when trying to run my application on the
> Linux server :

> "Incorrectly built binary which accesses errno, h_errno or _res directly.
> Needs to be fixed."

You need to include  in source code files which refers to
errno, instead of using "extern int errno;" or some other mechanism.

If your application is qmail, there already exist patches.


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



Re: safe to purge older versions of installed software?

2009-08-22 Thread Dean Sutherland
On Sat, 22 Aug 2009 05:45:00 -0400 (EDT), rpj...@crashcourse.ca wrote:

[snip]
> >
> >   no, i want to go the *other* way -- to ask what
> > currently-installed packages depend *on* a given,
> > currently-installed package.
> 
>   actually, even though i was asking in the context of a system in the
> process of upgrading on which there is all kinds of historical cruft
> so i fully expect to find older versions of packages lying around, i
> just noticed that the same thing happens on a fresh (and updated)
> version of lenny (5.0.2).
> 
>   here are two currently installed packages (according to "dpkg -l"):
> 
> gcc-4.2-base
> gcc-4.3-base
> 
> my immediate thought is -- why do i need both?  it's quite possible i
> *do*, but i don't know how to verify that.  hence my question:  how
> can i display what installed packages allegedly depend on
> gcc-4.2-base, so that i know it's actually required to be on my
> system.  i realize i can simulate trying to remove it to see what
> would happen, but that strikes me as messy and overkill.
> 


Hi,

Someone correct me if I'm wrong, but I believe the command you're
after is apt-cache rdepends packagename

d...@subspace:~$ apt-cache rdepends gcc-4.1
gcc-4.1
Reverse Depends:
  linux-headers-2.6.26-1-686
  gcc-doc-base
  gcc-doc-base
  gcc-4.1-doc
  gcc-4.1-doc
  gpc-4.1
  gcj-4.4-jdk
  gcj-4.3
  gcj-4.2
  gcc-4.1-multilib
  gcc-4.1-multilib
  gcc-4.1-locales
  g++-4.1

It appears not all of those packages will be removed if you remove the
gcc-4.1 package.

d...@subspace:~$ sudo apt-get remove gcc-4.1-base
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages will be REMOVED:
  cpp-4.1 gcc-4.1 gcc-4.1-base linux-headers-2.6.26-1-686
0 upgraded, 0 newly installed, 4 to remove and 394 not upgraded.


--
Dean Sutherland


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



Inquiry:Incorrectly built binary

2009-08-22 Thread hadi motamedi
Dear All
Can you please do me favor and let me know what is the cause of the
following error message that I got when trying to run my application on the
Linux server :
"Incorrectly built binary which accesses errno, h_errno or _res directly.
Needs to be fixed."
Thank you in advance
Regards
H.Motamedi


should debian FAQ suggest "alpine" as an alternative to "pine"?

2009-08-22 Thread Robert P. J. Day

  currently perusing the FAQ, section 5.10 asks, "where is pine?"
since alpine is apparently available for debian, shouldn't that
section at least mention that alternative?  i've used alpine as a
drop-in replacement for pine on fedora for quite some time.  is there
a better place to make that suggestion?

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday



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



Re: safe to purge older versions of installed software?

2009-08-22 Thread Robert P. J. Day
On Sat, 22 Aug 2009, Robert P. J. Day wrote:

> On Sat, 22 Aug 2009, Niu Kun wrote:
>
> > Robert P. J. Day 写道:
> > > On Sat, 22 Aug 2009, Niu Kun wrote:
> > >
> > > > See if your 'apt-get' supports 'apt-get purge'.
> > >
> > > it does, but how does that solve my problem?  should i try to
> > > purge a package, then see what the result would be before saying
> > > yes/no?
>
> > Yes. apt-get will ask you if you'd like to remove the related
> > package.
>
>   right, so i can always just use "--dry-run" if i want.
>
> > Or you can use 'apt-cache show `packagename`'.
> > It'll list the related "Depends" package.
>
>   no, i want to go the *other* way -- to ask what currently-installed
> packages depend *on* a given, currently-installed package.

  actually, even though i was asking in the context of a system in the
process of upgrading on which there is all kinds of historical cruft
so i fully expect to find older versions of packages lying around, i
just noticed that the same thing happens on a fresh (and updated)
version of lenny (5.0.2).

  here are two currently installed packages (according to "dpkg -l"):

gcc-4.2-base
gcc-4.3-base

my immediate thought is -- why do i need both?  it's quite possible i
*do*, but i don't know how to verify that.  hence my question:  how
can i display what installed packages allegedly depend on
gcc-4.2-base, so that i know it's actually required to be on my
system.  i realize i can simulate trying to remove it to see what
would happen, but that strikes me as messy and overkill.

rday

p.s.  i warned you there would be more trivial questions. :-)
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday


Re: safe to purge older versions of installed software?

2009-08-22 Thread Robert P. J. Day
On Sat, 22 Aug 2009, Niu Kun wrote:

> Robert P. J. Day 写道:
> > On Sat, 22 Aug 2009, Niu Kun wrote:
> >
> >
> > > See if your 'apt-get' supports 'apt-get purge'.
> > >
> >
> > it does, but how does that solve my problem?  should i try to
> > purge a package, then see what the result would be before saying
> > yes/no?

> Yes. apt-get will ask you if you'd like to remove the related
> package.

  right, so i can always just use "--dry-run" if i want.

> Or you can use 'apt-cache show `packagename`'.
> It'll list the related "Depends" package.

  no, i want to go the *other* way -- to ask what currently-installed
packages depend *on* a given, currently-installed package.

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday


Re: safe to purge older versions of installed software?

2009-08-22 Thread Niu Kun

Robert P. J. Day 写道:

On Sat, 22 Aug 2009, Niu Kun wrote:

  

See if your 'apt-get' supports 'apt-get purge'.



  it does, but how does that solve my problem?  should i try to purge
a package, then see what the result would be before saying yes/no?
  

Yes. apt-get will ask you if you'd like to remove the related package.
Or you can use 'apt-cache show `packagename`'.
It'll list the related "Depends" package.
Hope this will also help.:)

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday

  



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




inode question

2009-08-22 Thread Eugene Apolinary
Could that be possible to find the same inode, just because of there are two 
filesystems?e.g.: HDD is partitionedthank you


  

safe to purge older versions of installed software?

2009-08-22 Thread Robert P. J. Day

  this should be an easy one:  on my current (etch) system, there are
a number of packages that have more than one version installed.  for
example (and from memory), there are at least three versions of gcc
installed.  am i safe to remove/purge the older ones?

  perhaps a better question is, what is the command to list the
packages that depend on a certain package?  in fedora, i'm used to
running:

  $ rpm -q --whatrequires 

so i can always ask whether anything depends on one of those older
versions first.  in particular, i noticed that most of those older
versions of installed packages were "lib" packages, so it should be
easy(?) to ask whether there's anything installed that needs an older
version.  if not, i should be ok to get rid of it, no?

rday
--


Robert P. J. Day   Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:  http://crashcourse.ca
Twitter:   http://twitter.com/rpjday



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



Re: encrypted DVDs on Lenny

2009-08-22 Thread Girish Kulkarni

On Fri, 21 Aug 2009, Girish Kulkarni wrote:

Will try installing libdvdcss later today and see if that helps me
play region 5 DVDs.  But another question: libdvdcss is GPL'ed; why
is it not in any of the Debian repositories then?  I'm also hoping
to find its legal status here in India.


Just for the record: libdvdcss2 helped.  Thanks!

--
Girish Kulkarni - Allahabad, India - athene.org.in/girish


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




Re: acpi video driver and 2.6.30

2009-08-22 Thread Thierry Chatelet
I reply myself
It is a known probem:
http://groups.google.co.kr/group/fa.linux.kernel/browse_thread/thread/000eb65f2fbe06a8

So I guess I must wait for it to be fixed.
Thierry


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



Re: .mov skipping?

2009-08-22 Thread i'll teach you to turn away.
Ron Johnson  wrote:
RJ> On 2009-08-20 02:02, i'll teach you to turn away. wrote:
>> beautifully for nearly everything. every so often, though, i have a .mov 
>> file that doesn't play video smoothly - the audio sounds fine, but the 
>> video skips so badly that it appears to be more like a series of still 
>> images that vaguely line up every 3-10 seconds with the audio. i don't 
RJ> I'd run "file" or idvid[0] on a selection of QuickTime videos that 
RJ> both run smoothly and are choppy, to determine, for example, whether 
RJ> the choppy ones are HD or not.

nope, all of the recent offenders report "ISO Media, Apple 
QuickTime movie" with file. the only working .movs i have around right now 
report either "data" or "Apple QuickTime movie (unoptimized)". perhaps 
it's an optimization problem then? uh, is that fixable?

lish
cr...@got.net


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