Re: snort question

2006-03-09 Thread Bryan Donlan
On 3/4/06, Jude DaShiell [EMAIL PROTECTED] wrote:
 It appears oinkmaster may not be useable.  Running it to download new
 rules fails with an error 404 in the wget-log file.  That or perhaps it's
 necessary to give it a specific rules file to download may be necessary.

The snort rules require registration now; register on snort.org and
follow the instructions to update your oinkmaster paths.



Re: mono for debian

2006-02-19 Thread Bryan Donlan
On 2/19/06, Martin Paraskevov [EMAIL PROTECTED] wrote:
 I'm using Debian Sarge (stable) and searched for a mono package to install:
 apt-cache search mono.
  I didn't get any  packages related to the mono project back. How can I
 install mono and run .NET applications
  on my debian box?

  I searched the internet and found the backports.org website. However I
 don't quite understand how it functions.
  There are lots of packages under the mono directory
 (http://www.backports.org/debian/pool/main/m/mono/), but
  I don't know which of them to install and, moreover, how to install them.
 They are not visible with the apt-get tool.

Instructions on using backports.org are here:
http://backports.org/instructions.html



Re: How to remove exim4 when aptitude doesnt think its installed?

2005-11-30 Thread Bryan Donlan
On 11/30/05, T [EMAIL PROTECTED] wrote:
 On Tue, 29 Nov 2005 17:12:35 +, Andy wrote:

  Hello List,
 
  How should I go about removing files relating to the exim4 package, when
  aptitude doesn't think the package is installed?

 This is the very situation that low level command dpg comes into play. Try:

 dpkg --purge exim4

This won't work. Aptitude uses the dpkg databases to determine what is
installed. Additionally, exim4's just a metapackage depending on the
actual exim4 packages. In this case, he'll probably need to reinstall
exim4, then remove it. For example:

wget 
http://ftp.us.debian.org/debian/pool/main/e/exim4/exim4-base_4.50-8_i386.deb
http://ftp.us.debian.org/debian/pool/main/e/exim4/exim4-daemon-light_4.50-8_i386.deb
dpkg --force-depends --unpack exim4-base_4.50-8_i386.deb
exim4-daemon-light_4.50-8_i386.deb
dpkg --purge exim4-base exim4-daemon-light



Problems with kinput2

2005-11-06 Thread Bryan Donlan
I'm trying to configure kinput2 for Japanese text input, but as of yet
I've had no success. I have the following lines in my ~/.Xdefaults and
have merged them using xrdb:
*KinputProtocol.XlcConversionStartKey:  ShiftKeyspace
*ConversionStartKeys:  ShiftKeyspace
*inputMethod: kinput2

I also have the following in my ~/.xsession:
[...]
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export XMODIFIERS='@im=kinput2'
kinput2 -xim -kinput -canna 
[...]

However, kinput2 fails to trigger in either firefox or gvim.

Ideally I'd like it to work with a menu key trigger, but KeyMenu
didn't work any better than ShiftKeyspace.



Re: Adding new hardware after installation

2005-10-28 Thread Bryan Donlan
On 10/28/05, Gary [EMAIL PROTECTED] wrote:
 I'm not sure what the best way to handle this is. I need to add a network 
 card to a PC with recently installed Debian (Sarge). What's the best way to 
 do it? I don't really want to sit in front of the thing again feeding it CDs, 
 so if I could avoid doing a complete install that would be nice.

On the hardware side of things, just add the network card. If it's
supported, hotplug should load the drivers automatically at boot time.
Then to configure it just edit /etc/network/interfaces in any text
editor. For information on the format, run man 7 interfaces



Re: Adding new hardware after installation

2005-10-28 Thread Bryan Donlan
On 10/28/05, Bryan Donlan [EMAIL PROTECTED] wrote:
 On 10/28/05, Gary [EMAIL PROTECTED] wrote:
  I'm not sure what the best way to handle this is. I need to add a network 
  card to a PC with recently installed Debian (Sarge). What's the best way 
  to do it? I don't really want to sit in front of the thing again feeding it 
  CDs, so if I could avoid doing a complete install that would be nice.

 On the hardware side of things, just add the network card. If it's
 supported, hotplug should load the drivers automatically at boot time.
 Then to configure it just edit /etc/network/interfaces in any text
 editor. For information on the format, run man 7 interfaces


Er, man 5 interfaces.



Re: QQ about apt.

2005-10-27 Thread Bryan Donlan
On 10/27/05, Scott Muir [EMAIL PROTECTED] wrote:
 (noob)

 I would like to know if and how it is possible to do a non-interactive
 install of an .deb package.  The pages I have read talk only of a 'yes to
 all questions' option which is obviously useless if the package you are
 installing has questions other than yes/no and so on.

 The docs also speak of being able to set *arbitrary* options in the command
 line.  This seemed to be more related to the apt-get program rather than the
 packages.

 Two examples I want to do are Apache2 and PostgreSQL which require some
 additional prompting.  The purpose here is to create a set of steps which
 can quickly install a Debian system from scratch, limit down-time and remove
 some of the human element.

 Is there a way of doing this?  I'm at about a 3 bananas out of 5 on the
 howler monkey scale.

Try:
DEBCONF_FRONTEND=noninteractive your command here

This'll assume defaults on all debconf questions. I'm not sure how
it'll interact with conffile replacement prompts however.



Re: dependencies

2005-09-20 Thread Bryan Donlan
On 9/20/05, Alejandro Bonilla Beeche [EMAIL PROTECTED] wrote:
 Hi, can anyone help me with this dependencies? I can't freaking upgrade.
 
 This is Sid, just did apt-get update and need to update my system a bit.
 
 Any idea?
 
[snip]
 debian:~# apt-get -f install
 Reading package lists... Done
 Building dependency tree... Done
 Correcting dependencies... Done
 The following extra packages will be installed:
   libdjvulibre15 libpoppler0c2 libpoppler0c2-glib
 The following packages will be REMOVED:
   libpoppler0 libpoppler0-glib
 The following NEW packages will be installed:
   libdjvulibre15 libpoppler0c2 libpoppler0c2-glib
 0 upgraded, 3 newly installed, 2 to remove and 230 not upgraded.
 4 not fully installed or removed.
 Need to get 0B/1239kB of archives.
 After unpacking 2359kB of additional disk space will be used.
 Do you want to continue [Y/n]? y
 WARNING: The following packages cannot be authenticated!
   libdjvulibre15 libpoppler0c2 libpoppler0c2-glib
 Install these packages without verification [y/N]? y
 (Reading database ... 118083 files and directories currently installed.)
 Unpacking libdjvulibre15 (from .../libdjvulibre15_3.5.15-1_i386.deb) ...
 dpkg: error
 processing /var/cache/apt/archives/libdjvulibre15_3.5.15-1_i386.deb
 (--unpack):
  trying to overwrite `/usr/share/djvu/osi/de/libdjvu++.xml', which is
 also in package libdjvulibre1
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/libdjvulibre15_3.5.15-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 

Report a bug against libdjvulibre15, if there isn't one already, then do:
dpkg --force-overwrite --unpack
/var/cache/apt/archives/libdjvulibre15_3.5.15-1_i386.deb
apt-get -f install



Re: Memory Black Hole

2005-09-20 Thread Bryan Donlan
On 9/20/05, S3GFAULT [EMAIL PROTECTED] wrote:
 Hi all,
 The subject of this message could have been 'Memory Leak' but honestly
 that doesn't sound dramatic enough for my problem.
 
 Warning, this turned out to be a longish email, for the impatient,
 please skip to the section marked SUMMARY at the bottom.
[snip]
 *)
 I dumped /proc/mem into a file on a workstation and opened it up in a
 hex editor, to examine all 256 megs of data.  So, this is interesting.
  A very important clue it seems like that I am incapable of
 deciphering.  I am finding that some files from the root filesystem
 have been inserted into the memory.  A tarball from one users
 directory appears twice in main memory.  /etc/passwd appears 11 times
 in memory!

This is normal; freed blocks are not zeroed until they are requested.

 The root partition is reiserfs.  The boot partition, which is always
 mounted, is ext2.  There are no files from /boot in memory that I can
 find.
 
 ---
 SUMMARY:
 Files or chunks of files from the root (reiserfs) partition are being
 inserted into memory at the rate of 4-16k/5 secs (2.4.18) or 60k/5
 secs (2.6.8).  This memory is never freed.  This insertion is not
 being caused by any user space program.  If the only programs running
 are kernel processes, getty, bash, and top, it will still occur.
 Memory will be eaten up until about 5k is left, and then it
 stabilizes.  Swap space will not be used.  This behaviour occured
 under Debian Woody and Sarge.  Sarge was tested with kernels of
 version 2.4.18 and 2.6.8.
 
 Does anyone have any idea what could possibly be causing this?  Even
 advice to other references would be greatly appreciated.

Try getting a copy of /proc/meminfo /proc/slabinfo /proc/buddyinfo and
/proc/vmstat as it's going down, this may help diagnose the problem
better.



Re: Installing mplayer

2005-09-14 Thread Bryan Donlan
On 9/14/05, Ganeshram Iyer [EMAIL PROTECTED] wrote:
 On 9/14/05, John Talbut [EMAIL PROTECTED] wrote:
  Can anyone give me or point me to precise instructions as to how to do
  this?  I use Aptitude to get packages.
 
  Or should I give up with Christian Marillat's package and go with the
  precise instructions given at www.princessleia.com/MPlayer.html (though
  I am not on Etch)?
 I did install using Marillat's package and once having done that
 downloaded the codecs from mplayerhq.hu site and unzipped them to the
 appropriate folder as per:
 http://mplayerhq.hu/DOCS/HTML/en/install.html#id2835200
 
 I think that the mplayer packages were compiled and packaged with
 support for the win32 codecs and you just have to place the codecs in
 the right folder to get it to work. If I am mistaken, I apologize.
 ganesh

You can just apt-get install w32codecs


Re: X.Org Hits Testing

2005-09-07 Thread Bryan Donlan
On 9/7/05, Oliver Lupton [EMAIL PROTECTED] wrote:
 Jason Clinton wrote:
 
 Well its finally happened, and I'm so happy that it has. As of now, most of
 mirrors have X.Org packages in their testing/etch repository. Before I
 perform the upgrade, I'm starting this thread to catch any and all problems
 that might arrise. Please let us know if you have any trouble with the
 upgrade by replying here.
 
 *crosses fingers and runs 'aptitude upgrade'*
 
 
 Am I looking in the wrong place?
 
 http://packages.debian.org/cgi-bin/search_packages.pl?exact=0searchon=namesversion=allcase=insensitiverelease=allkeywords=xorgarch=any
 
 apt-get says it's lists are up to date, apt-cache search xorg returns
 nothing.

http://packages.qa.debian.org/x/xorg-x11.html

Scroll down a bit and you can see a testing version.



Re: I messed up bootmisc.sh - now can't log in!

2005-08-30 Thread Bryan Donlan
On 8/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Can anyone recommend a good disk recovery company?
 
 Thanks in advance,
 
 Dave Williams

You don't need one for this. Which bootloader are you using, LILO or
GRUB? You can pass init=/bin/sh using it.

For grub, select the boot menu option, press 'e', select the line
beginning with kernel, press 'e', go to the end of the line and add
'init=/bin/sh'. Then press enter, then 'b'.

For LILO, hold shift until you get a lilo prompt. Then type linux init=/bin/sh.

Either way will get you a command prompt. Then:
mount -t proc proc /proc
mount -o remount,rw /
[edit, fix bootmisc.sh]
mount -o remount,ro /
umount /proc
exec /sbin/init



Re: I messed up bootmisc.sh - now can't log in!

2005-08-30 Thread Bryan Donlan
On 8/30/05, David W. Williams [EMAIL PROTECTED] wrote:
 I should have mentioned, I'm the:
 
 
   Re: I messed up bootmisc.sh - now can't log in! guy
 
 from debian-user
 
 I just tried this with vi, and when I went to save, got this message:
 
E45:  'readonly' option is set (add ! to override)
 
 Is it possible to get vi to override the read-only of the file system so
 that I can remove the two offending lines of code from bootmisc.sh?
 
 Thank you very much for any help you can give.
 

Did you
mount -o remount,rw /
?

PS, please keep the list CC'd, for people who have the same trouble in
the future



Re: I messed up bootmisc.sh - now can't log in!

2005-08-30 Thread Bryan Donlan
On 8/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Bryan Donlan [EMAIL PROTECTED] wrote:
 
 On 8/30/05, David W. Williams [EMAIL PROTECTED] wrote:
  I should have mentioned, I'm the:
 
 
  Re: I messed up bootmisc.sh - now can't log in! guy
 
  from debian-user
 
  I just tried this with vi, and when I went to save, got this message:
 
  E45: 'readonly' option is set (add ! to override)
 
  Is it possible to get vi to override the read-only of the file system so
  that I can remove the two offending lines of code from bootmisc.sh?
 
  Thank you very much for any help you can give.
 
 
 Did you
 mount -o remount,rw /
 ?
 
 PS, please keep the list CC'd, for people who have the same trouble in
 the future
 
 
 Yes I did.  That's what did the trick on the not being able to write to the 
 file system!
 
 Can anyone suggest a tutorial on writing what I think are called init scripts?
 
 Thanks!

Take a look at the files in /etc/init.d, just use one of them as a
template, and symlink it in as /etc/rcrunlevel.d/S99yourservice



Re: rsync knoppix dvd download

2005-08-29 Thread Bryan Donlan
On 8/29/05, L.V.Gandhi [EMAIL PROTECTED] wrote:

 I have tried as follows.
 [EMAIL PROTECTED] ~]# export RSYNC_PROXY=150.1.35.36:3128
 [EMAIL PROTECTED] ~]# rsync download.linuxtag.org::
 bad response from proxy - HTTP/1.0 403 Forbidden
 rsync: failed to connect to 150.1.35.36: Success (0)
 rsync error: error in socket IO (code 10) at clientserver.c(94)
 [EMAIL PROTECTED] ~]#
 What to do?

Your proxy forbids the HTTP CONNECT method, it seems. Without that,
rsync cannot function. If rsync is vital to you, you will have to
speak with your proxy administrator and have them reconfigure it to
allow CONNECT to rsync ports. Otherwise, just use HTTP or FTP.



Re: About chroot

2005-08-26 Thread Bryan Donlan
On 8/25/05, Tong [EMAIL PROTECTED] wrote:
 Hi,
 
 Several questions about chroot.
 
 - I need to chroot into an alien system. I.e., I need to chroot into a 2.6
 kernel from my 2.4 kernel. Is that ok?

chroot cannot change kernels. It is, however, safe to chroot into the
root filesystem of a system which normally runs a different kernel
version.

 - I heard all the fuzz about un/mounting the /proc, but I can't find any
 documents on that. Can somebody explains me why it is so critical, or give
 me a link to refer to please?

/proc is a virtual filesystem which many programs expect and/or need
to be mounted. If you don't have it mounted, things like 'ps' will
fail. You can mount it by running in the chroot:
mount -t proc proc /proc
And to unmount just:
umount /proc

If you don't unmount /proc, you won't be able to unmount the
filesystem it's mounted under.

 - I need to apt-get from the chrooted system. but on my 1st attempt, I
 was not able to connect to outside, even ping. But all the documents I
 read (I'm remastering a live CD) didn't mention anything about the
 connection problem. Have I neglect something, or there is something to do
 before I can connect?

Try copying /etc/resolv.conf from your host system to the chroot's
etc/resolv.conf.



Re: How to compile in Debian?

2005-08-25 Thread Bryan Donlan
On 8/25/05, Teilhard Knight [EMAIL PROTECTED] wrote:
 Suppose you want to compile your drivers for your wireless adapter, which is
 what I actually want to do. If I am not mistaken, I need a build symbolic
 link in uname -r to the kernel-source, and I need a linux symbolic link
 from /usr/src where to the kernel source too, which also resides there.
 
 Now, uname -r is for me: 2.6.8-2-686-smp, and the kernel source for a 2.6.8
 in the distribution only is found with Debian version 16 (2.6.8-16). Are the
 kernel source and my kernel compatible?
 
 Well, I am a newbie in Debian, and I am translating the little I know about
 Mandrake. First think that called my attention was that after a fresh
 install of Debian, the directory /usr/src, was empty.
 
 I would appreciate any help you can give me to compile my drivers. And yes,
 I have Googled but without luck.

apt-get install module-assistant
m-a prepare

That'll install the right kernel headers for you.



Re: Switching to Debian (from Fedora)

2005-08-23 Thread Bryan Donlan
On 8/23/05, Kent West [EMAIL PROTECTED] wrote:
 Hendrik Boom wrote:
 
 On Tue, Aug 23, 2005 at 08:43:23AM -0500, Kent West wrote:
 
 
 I would recommend duplicating the Stable lines, rather than replacing
 them. Then replace the stable or sarge in the first (top) set with
 your release of choice.
 
 This way, the system can fall back to packages in Stable if it (or you)
 need(s) to.
 
 
 
 If you do this, it will pick the stable package is there is no testing
 package available.
 
 Yes, this is what I meant. If package 'foo' in unstable is dependent on
 'bar' which is not in unstable but is in stable, you may still be able
 to install 'foo' using stable's version of 'bar' as the dependency.
 
   But taking out the lines containing testing
 won't give you a downgrade if you decide you want to go back.
 Downgrading isn't so easy.
 
 
 This is not what I meant, but I'm glad you mentioned it since I failed
 to make myself clear.
 
 Also, don't change the security line; leave it at stable.
 
 
 testing doesn't get the so-called security upgrades, which are
 carefully chosen upgrades for stable to maintain security while
 changing as little as possible.  Testing gets lots and lots
 of updates instead.
 
 
 
 It's my understanding that because of their high-priority nature,
 security updates go into Stable even before they sometimes make it into
 Testing (or perhaps, Unstable?). So a Testing system with the stable
 security line is more likely to get patched more quickly than waiting
 for the normal influx of packages into Testing.
 
 My understanding may very well be amiss, however.

No. Say that stable has foobar version 1.0.4-1, and testing has foobar 1.0.5-1.

Now there's a security fix. Stable-security gets 1.0.4-1sarge1 or
similar, unstable gets 1.0.5-2. However, testing still has 1.0.5-1,
which is newer than 1.0.4-1sarge1. It will be at least two days until
the unstable fix gets into testing.



Re: hard related

2005-08-23 Thread Bryan Donlan
On 8/23/05, Rodney D. Myers [EMAIL PROTECTED] wrote:
 I had a lightening strike take out my other computer. Everything seems
 fine, and I have moved over to another box, same specs.
 
 Everything, except the cd's , work as advertised.
 
 When I plug both the cdrom, and dvd-writer into the ide bus, the
 computer will not get to the check memory check bios phase. Yet when
 I unplug either the cdrom or the dvd-writer the system boots, and
 functions as it should.
 
 I have both cd devices set to cable select.
 
 I've tried another IDE cable, same result.
 
 Any other things I may be missing

The IDE controller may be fried. Try with a known-good IDE drive
(hopefully one you're not too fond of, just in case), and if that
fails get a PCI card to replace it.



Re: Switching to Debian (from Fedora)

2005-08-23 Thread Bryan Donlan
On 8/23/05, Kent West [EMAIL PROTECTED] wrote:
 Bryan Donlan wrote:
 
 On 8/23/05, Kent West [EMAIL PROTECTED] wrote:
 
 
 It's my understanding that because of their high-priority nature,
 security updates go into Stable even before they sometimes make it into
 Testing (or perhaps, Unstable?). So a Testing system with the stable
 security line is more likely to get patched more quickly than waiting
 for the normal influx of packages into Testing.
 
 My understanding may very well be amiss, however.
 
 
 
 No.
 
 No to ...my understanding... or No to My understanding may very
 well be amiss...?
 
  Say that stable has foobar version 1.0.4-1, and testing has foobar 1.0.5-1.
 
 Now there's a security fix. Stable-security gets 1.0.4-1sarge1 or
 similar, unstable gets 1.0.5-2. However, testing still has 1.0.5-1,
 which is newer than 1.0.4-1sarge1. It will be at least two days until
 the unstable fix gets into testing.
 
 
 Say that stable has foobar version 1.0.4-1, and testing also still has
 foobar 1.0.4-1.
 
 Now there's a security fix. Stable-security gets 1.0.4-1sarge1 or
 similar, unstable gets 1.0.5-0. Testing still has 1.0.4-1, which is
 older than 1.0.4-1sarge1. It will be at least two days until the
 unstable fix gets into testing.
 
 In your case, if the 1.0.5-1 version in Testing does not have the
 security issue (which is doubtful), all is fine for those two days. I'm
 unclear if you're saying you've got two days of vulnerability, or if
 you're saying that Testing's newer version than Stable-security's
 mitigates those two days of vulnerability.

Testing's newer version means the security fix is considered an older
version, so it won't auto-upgrade. If the version in testing is
vulnerable, you either have to manually downgrade to stable-security,
or manually upgrade to unstable.

 I don't think leaving the Security line at stable hurts anything, and I
 think it makes sense to leave it there.

It doesn't hurt anything, no, but it won't help in many cases, except
perhaps at the start of a release cycle.



Re: Newbie: How do I defrag my drive?

2005-08-23 Thread Bryan Donlan
On 8/23/05, Paul Johnson [EMAIL PROTECTED] wrote:
 On Tuesday 23 August 2005 08:49 am, Tim Ruehsen wrote:
 
  I did the last thing (after using my system for ~2 years for ~10 hours a
  day, making updates every day) and my system booted about 30% faster. Now,
  after a year or so, it seems to be time to do it again (booting became
  slower and slower).
 
 That may have more to do with exhausting what you can do performance-wise to a
 serial init process like sysvinit.  I can't wait until someone packages
 init-ng already...

It's already in experimental.



Re: When should I consider installing suggested packages?

2005-08-21 Thread Bryan Donlan
On 8/21/05, Elmer E. Dow [EMAIL PROTECTED] wrote:
 Greetings:
 
 When should I consider installing suggested packages? During my limited
 experience using aptitude in Sarge I've always installed depends and
 recommended packages, never suggested. Do most users just ignore suggested
 packages, only installing them if something doesn't work?
 
 Please cc me since I'm not currently subscribed.

'Suggested' just means they'll enhance the functionality of the
package in some way; install them if you intend to use their
functionality.



Re: All kde menu entries gone

2005-08-21 Thread Bryan Donlan
On 8/20/05, Graham Smith [EMAIL PROTECTED] wrote:
 Hi,
 
 Sigh. I know that there are likely to be problems with with unstable,
 especially at the moment, but could anyone tell me how I could get back my
 kde menu entries. The whole application menu system in the kicker (I think
 thats what it's called - the equivalent of the start button on windows) has
 vanished. At the moment I have the logout, run command, lock and quick browse
 entries but nothing else.
 
 I really don't have a clue where to start on this one. KDE configuration seems
 to be a bit of a black art :o)

Downgrade kdelibs-data to the same version as your installed kdelibs,
and hold it.



Re: replacing failing system disk

2005-08-19 Thread Bryan Donlan
On 8/19/05, Alvin Oga [EMAIL PROTECTED] wrote:

 or as you say ( to do stuff and pray ):
 dd if=/dev/hda of=/dev/hdb count=1 bs=448
 
 power off ..
 
 than move hdb to where hda used to be and it should
 work as a replacement for hda

Note that this will break if the new hdd is smaller than the old, and
might break if it is a different size or has a different geometry.



Re: sda disapering

2005-08-15 Thread Bryan Donlan
On 8/15/05, Enrique Morfin [EMAIL PROTECTED] wrote:
 
 
 --- Bryan Donlan [EMAIL PROTECTED] wrote:
 
  On 8/12/05, Enrique Morfin [EMAIL PROTECTED]
  wrote:
   Hi!
  
   i'm using sid, kernel image 2.6.10:
  
   # uname -a
   Linux quetzalcoatl 2.6.10-1-686-smp #1 SMP Tue Jan
  18
   03:03:11 EST 2005 i686 GNU/Linux
  
   #uptime
17:08:44 up 160 days, 23:47,  1 user,  load
  average:
   0.27, 1.02, 1.77
  
   My usb memory was working flawlessly (all 160
  days),
   until today.
  
   Then i realize it is no the memory, anything i
  insert
   in usb (flash memory, mouse, hard drive, etc.).
  So,
   lets take the memory for example:
  
   When i inser it:
  
   #dmesg
   usb 4-1: new full speed USB device using uhci_hcd
  and
   address 46
   scsi50 : SCSI emulation for USB Mass Storage
  devices
   usb-storage: device found at 46
   usb-storage: waiting for device to settle before
   scanning
 Vendor:   Model:   Rev:
 Type:   Direct-Access  ANSI
  SCSI
   revision: 02
   SCSI device sda: 1024000 512-byte hdwr sectors
  (524
   MB)
   sda: assuming Write Enabled
   sda: assuming drive cache: write through
   SCSI device sda: 1024000 512-byte hdwr sectors
  (524
   MB)
   sda: assuming Write Enabled
   sda: assuming drive cache: write through
/dev/scsi/host50/bus0/target0/lun0: p1
   Attached scsi removable disk sda at scsi50,
  channel 0,
   id 0, lun 0
   usb-storage: device scan complete
  
   and:
  
   #ls -alh /dev/sda*
   brw-rw  1 root disk 8,  0 Aug 12 17:06
  /dev/sda
   brw-rw  1 root disk 8,  1 Aug 12 17:06
  /dev/sda1
   brw-rw  1 root disk 8, 10 Mar 14  2002
  /dev/sda10
   brw-rw  1 root disk 8, 11 Mar 14  2002
  /dev/sda11
   brw-rw  1 root disk 8, 12 Mar 14  2002
  /dev/sda12
   brw-rw  1 root disk 8, 13 Mar 14  2002
  /dev/sda13
   brw-rw  1 root disk 8, 14 Mar 14  2002
  /dev/sda14
   brw-rw  1 root disk 8, 15 Mar 14  2002
  /dev/sda15
   brw-rw  1 root disk 8,  2 Mar 14  2002
  /dev/sda2
   brw-rw  1 root disk 8,  3 Mar 14  2002
  /dev/sda3
   brw-rw  1 root disk 8,  4 Mar 14  2002
  /dev/sda4
   brw-rw  1 root disk 8,  5 Mar 14  2002
  /dev/sda5
   brw-rw  1 root disk 8,  6 Mar 14  2002
  /dev/sda6
   brw-rw  1 root disk 8,  7 Mar 14  2002
  /dev/sda7
   brw-rw  1 root disk 8,  8 Mar 14  2002
  /dev/sda8
   brw-rw  1 root disk 8,  9 Mar 14  2002
  /dev/sda9
  
   but, when i disconect it (umounting first):
   #ls -alh /dev/sda*
   brw-rw  1 root disk 8, 10 Mar 14  2002
  /dev/sda10
   brw-rw  1 root disk 8, 11 Mar 14  2002
  /dev/sda11
   brw-rw  1 root disk 8, 12 Mar 14  2002
  /dev/sda12
   brw-rw  1 root disk 8, 13 Mar 14  2002
  /dev/sda13
   brw-rw  1 root disk 8, 14 Mar 14  2002
  /dev/sda14
   brw-rw  1 root disk 8, 15 Mar 14  2002
  /dev/sda15
   brw-rw  1 root disk 8,  2 Mar 14  2002
  /dev/sda2
   brw-rw  1 root disk 8,  3 Mar 14  2002
  /dev/sda3
   brw-rw  1 root disk 8,  4 Mar 14  2002
  /dev/sda4
   brw-rw  1 root disk 8,  5 Mar 14  2002
  /dev/sda5
   brw-rw  1 root disk 8,  6 Mar 14  2002
  /dev/sda6
   brw-rw  1 root disk 8,  7 Mar 14  2002
  /dev/sda7
   brw-rw  1 root disk 8,  8 Mar 14  2002
  /dev/sda8
   brw-rw  1 root disk 8,  9 Mar 14  2002
  /dev/sda9
  
   sda and sda1 are gone!!
  
   i have to recreate them (whit mknod) each time i
   disconect someting (flash memory, external hd,
  etc.)
  
   Any ideas why is happening this? kernel bug?
  module
   bug? too much time running? hardware failing
  (intel
   865g)?
  
   Any ideas how to fix this? reboot? (like
  windogs?),
   remove the module and reload it? update kernel?
  buy a
   new motherboard?
 
  Looks like you're using udev. udev automatically
  deletes and creates
  /dev entries when the hardware is removed and
  attached - try
  reattaching the hardware, the /dev entries should
  reappear.
 
 It's not reappering!
 
 i tried to restarted it, but don't want to start
 (needs 2.6.12 kernel, and i'm running 2.6.10), so i'm
 not running it.
 
 Any other ideas?

You may have upgraded to the wrong version of udev. Newer versions of
udev require linux-image = 2.6.12, but there was a version at one
point which failed to properly check. If you're running that broken
version, you'll have problems until you upgrade your kernel.

You can try disabling udev with something like:
killall udevd; rm /dev/.udevdb -rf

Hopefully that'll stop it from running, so your dev entries will stick
around. Otherwise, try downgrading to latest testing udev, or
upgrading to 2.6.12 kernel.



Re: installing from somewhat broken 3.1

2005-08-12 Thread Bryan Donlan
On 8/12/05, Sam Rosenfeld [EMAIL PROTECTED] wrote:
 After installing Debian 3.1 I have found that a whole bunch of apps were
 not installed at all.  I would like to reinstall a fresh distro, but want
 to ensure that I don't have the same problem of missing apps (e.g., almost
 all the man pages).  I think that I must have misinterpreted the
 installation instructions during the install process.  Is there a baby
 version for those of us who are missing a marble or two from the old set?

The base installation of Debian has very few applications. Normally
one installs them later with apt-get, aptitude, or one of the other
apt frontends. For example, to install all of KDE, type as root:
apt-get install kde
or:
aptitude install kde

Aptitude is recommended, as it can remove unused packages later.
However, if you decide to use aptitude, start early, as otherwise it
can misclassify some packages as unused (just use aptitude install on
them to fix it)

You can also do apt-cache search keywords to find packages to
install, and apt-cache show package for details on it.



Re: dpkg query table ??? dhcp3-client dhcpcd ???

2005-08-12 Thread Bryan Donlan
On 12 Aug 2005 01:43:45 -0700, hakim [EMAIL PROTECTED] wrote:
 Hi,
 
 ns:~# dpkg -l '*dhcp*'
 Desired=Unknown/Install/Remove/Purge/Hold
 |
 Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
 uppercase=bad)
 ||/ Name  Version   Description
 +++-=-=-==
 un  dhcp-client   none(no description
 available)
 rc  dhcp3-client  3.0.1-2   DHCP Client
 ii  dhcp3-common  3.0.1-2   Common files
 used by all the dhcp3* packages
 ii  dhcpcd1.3.22pl4-21sarge1DHCP client for
 automatically configuring IPv4 networking.
 un  dhcpcd-sv none(no description
 available)
 ns:~#
 
 What does rc mean in the line of dhcp3-client?

Removed; configuration files remain. Use apt-get --purge remove
dhcp3-client to fully remove it.

 I have installed dhcpcd. Before that was dhcp3-client installed, but
 know I can't find the binarys and apt-cache remove dhcp3-client says
 that the package is not instaled. Is there somewhere a explanation for
 that query table. I haven't found anything in man...

It's at the top:
 Desired=Unknown/Install/Remove/Purge/Hold
 |
 Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
 uppercase=bad)
 ||/ Name  Version   Description

Desired=(R)emove, Status =(C)onfig-files



Re: sda disapering

2005-08-12 Thread Bryan Donlan
On 8/12/05, Enrique Morfin [EMAIL PROTECTED] wrote:
 Hi!
 
 i'm using sid, kernel image 2.6.10:
 
 # uname -a
 Linux quetzalcoatl 2.6.10-1-686-smp #1 SMP Tue Jan 18
 03:03:11 EST 2005 i686 GNU/Linux
 
 #uptime
  17:08:44 up 160 days, 23:47,  1 user,  load average:
 0.27, 1.02, 1.77
 
 My usb memory was working flawlessly (all 160 days),
 until today.
 
 Then i realize it is no the memory, anything i insert
 in usb (flash memory, mouse, hard drive, etc.). So,
 lets take the memory for example:
 
 When i inser it:
 
 #dmesg
 usb 4-1: new full speed USB device using uhci_hcd and
 address 46
 scsi50 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 46
 usb-storage: waiting for device to settle before
 scanning
   Vendor:   Model:   Rev:
   Type:   Direct-Access  ANSI SCSI
 revision: 02
 SCSI device sda: 1024000 512-byte hdwr sectors (524
 MB)
 sda: assuming Write Enabled
 sda: assuming drive cache: write through
 SCSI device sda: 1024000 512-byte hdwr sectors (524
 MB)
 sda: assuming Write Enabled
 sda: assuming drive cache: write through
  /dev/scsi/host50/bus0/target0/lun0: p1
 Attached scsi removable disk sda at scsi50, channel 0,
 id 0, lun 0
 usb-storage: device scan complete
 
 and:
 
 #ls -alh /dev/sda*
 brw-rw  1 root disk 8,  0 Aug 12 17:06 /dev/sda
 brw-rw  1 root disk 8,  1 Aug 12 17:06 /dev/sda1
 brw-rw  1 root disk 8, 10 Mar 14  2002 /dev/sda10
 brw-rw  1 root disk 8, 11 Mar 14  2002 /dev/sda11
 brw-rw  1 root disk 8, 12 Mar 14  2002 /dev/sda12
 brw-rw  1 root disk 8, 13 Mar 14  2002 /dev/sda13
 brw-rw  1 root disk 8, 14 Mar 14  2002 /dev/sda14
 brw-rw  1 root disk 8, 15 Mar 14  2002 /dev/sda15
 brw-rw  1 root disk 8,  2 Mar 14  2002 /dev/sda2
 brw-rw  1 root disk 8,  3 Mar 14  2002 /dev/sda3
 brw-rw  1 root disk 8,  4 Mar 14  2002 /dev/sda4
 brw-rw  1 root disk 8,  5 Mar 14  2002 /dev/sda5
 brw-rw  1 root disk 8,  6 Mar 14  2002 /dev/sda6
 brw-rw  1 root disk 8,  7 Mar 14  2002 /dev/sda7
 brw-rw  1 root disk 8,  8 Mar 14  2002 /dev/sda8
 brw-rw  1 root disk 8,  9 Mar 14  2002 /dev/sda9
 
 but, when i disconect it (umounting first):
 #ls -alh /dev/sda*
 brw-rw  1 root disk 8, 10 Mar 14  2002 /dev/sda10
 brw-rw  1 root disk 8, 11 Mar 14  2002 /dev/sda11
 brw-rw  1 root disk 8, 12 Mar 14  2002 /dev/sda12
 brw-rw  1 root disk 8, 13 Mar 14  2002 /dev/sda13
 brw-rw  1 root disk 8, 14 Mar 14  2002 /dev/sda14
 brw-rw  1 root disk 8, 15 Mar 14  2002 /dev/sda15
 brw-rw  1 root disk 8,  2 Mar 14  2002 /dev/sda2
 brw-rw  1 root disk 8,  3 Mar 14  2002 /dev/sda3
 brw-rw  1 root disk 8,  4 Mar 14  2002 /dev/sda4
 brw-rw  1 root disk 8,  5 Mar 14  2002 /dev/sda5
 brw-rw  1 root disk 8,  6 Mar 14  2002 /dev/sda6
 brw-rw  1 root disk 8,  7 Mar 14  2002 /dev/sda7
 brw-rw  1 root disk 8,  8 Mar 14  2002 /dev/sda8
 brw-rw  1 root disk 8,  9 Mar 14  2002 /dev/sda9
 
 sda and sda1 are gone!!
 
 i have to recreate them (whit mknod) each time i
 disconect someting (flash memory, external hd, etc.)
 
 Any ideas why is happening this? kernel bug? module
 bug? too much time running? hardware failing (intel
 865g)?
 
 Any ideas how to fix this? reboot? (like windogs?),
 remove the module and reload it? update kernel? buy a
 new motherboard?

Looks like you're using udev. udev automatically deletes and creates
/dev entries when the hardware is removed and attached - try
reattaching the hardware, the /dev entries should reappear.



Re: script copy files based upon content

2005-08-07 Thread Bryan Donlan
On 8/5/05, Michael Martinell [EMAIL PROTECTED] wrote:
 
 
 I am trying to figure out how to come up with a shell script that will cat
 or grep a file and if it contains the word SPAM it will then move it to
 another folder.
 
 I have been trying combinations of grep SPAM * | mv * ../spam however I
 don't know what to put in for * since the filenames are always changing.
 
 I am guessing that I need to create an array by doing something with ls,
 however I am having trouble puzzling this one out.
 
 This job would then run out of cron.

Try this:
find -exec grep -l SPAM {} + | xargs -I mv {} ../spam
If the filenames can have spaces in them:
find -exec grep -l SPAM {} + | tr   \0 | xargs -0 -I mv {} ../spam



Re: Personal Debian mirror

2005-08-04 Thread Bryan Donlan
On 8/4/05, Preston Boyington [EMAIL PROTECTED] wrote:
 I have come to the point of needing / wanting my own partial Debian mirror 
 (amd64 and i386).  I've been reading about debmirror but when I tried it my 
 mirror didn't look quite like what I thought it should.  All the packages 
 were dumped into folders under pool/ and folders it created such as 
 stable, unstable, and woody were essentially empty.  (Now I am trying 
 an rsync string to see what the difference will be.)

This is normal. Since distributions often share packages, they are
stored only once, in pool/, and the distribution directories refer to
the pool packages.

 I was wondering if other people could give me some feedback on how they did 
 their mirrors.  What commands did you use and where are there some good 
 howto's on doing it as efficiently as possible?
 
 Also, since I don't want to mirror the ISO files I was wondering how 
 difficult it would be to use something like jigdo to create the disks from my 
 own mirror?

If your mirror has all the packages it needs it should be easy - just
give jigdo-lite the address of your own mirror instead of one of the
main debian ones.



Re: sarge, kernel 2.6.12.3, and sound

2005-08-04 Thread Bryan Donlan
On 8/4/05, Steven Pasternak [EMAIL PROTECTED] wrote:
 Hi! I have sarge, with kernel 2.4.27-2-k7. I upgraded to a 2.6.12.3
 using sarge's 2.6.8 config, but now I don't have sound. /dev/{dsp,mixer}
 are gone. I have the use OSS API set under Device
 Drivers-Sound-Advanced Linux Sound Architecture Is that bad? I
 installed alsa-base and alsa-utils and ran '/etc/init.d/alsa start', but
 still no devices. What's up? Thanks!
 -Steven

I've heard something about sysfs format changes requiring a new udev -
perhaps you could try installing the udev in sid, if you've got an
older version installed? Note that this new udev will not work with
kernels older than 2.6.12, so if you downgrade the kernel you'll need
to downgrade udev as well.



Re: Installing a new kernel on Debian.

2005-08-04 Thread Bryan Donlan
On 8/4/05, Redefined Horizons [EMAIL PROTECTED] wrote:
 I'm currently running Debian Sarge with the 2.4.27 kernel. I would
 like to update to a 2.6 kernel. I don't have an internet connection to
 my Debian box yet, so I can't use apt-get.
 
 Is there a place I can download the debs for a 2.6 kernel on the i386
 architecture? What files do I need?
 
 I appreciate any assistance, as I'm new to Linux and this will be my
 first time performing a kernel upgrade.

The latest 2.6 kernel in stable can be found here:
http://packages.debian.org/stable/base/kernel-image-2.6.8-2-386

This version works for all x86 platforms - depending on your CPU,
there may be a faster version available.

Do make sure you have all the dependencies listed there, if you're not
using apt-get. You can check with dpkg:
$ dpkg -l coreutils initrd-tools module-init-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  coreutils  5.2.1-2The GNU core utilities
ii  initrd-tools   0.1.81.1   tools to create initrd image for prepackaged
ii  module-init-to 3.2-pre8-1 tools for managing Linux kernel modules

Also indirect dependencies (I've listed only the ones you might not
already have here):
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  cpio   2.5-1.2GNU cpio -- a program to manage archives of 
ii  cramfsprogs1.1-6  Tools for CramFs (Compressed ROM File System
ii  dash   0.5.2-6The Debian Almquist Shell


The version numbers might not be exactly the same as mine; I'm on
unstable. If one of these packages is missing, be sure to download it
as well, following the links from the kernel package page. You might
also want to install udev, but this is optional.

When you have all the packages, to install them manually, do:
dpkg -i /path/to/packages/*.deb

If dpkg reports a dependency error, you probably missed one of the
needed packages.

If you installed off a cdrom set, some or all of these packages might
be on them - try using apt-cdrom and apt-get to install them.



Re: openssl has 2gb limit ?

2005-08-03 Thread Bryan Donlan
On 8/3/05, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hello,
 
 today I tried to encrypt a 3.2Gb file with openssl:
 
 openssl enc -aes256 -e -salt -pass file:filename.pwd -in filename -out
 filename.openssl
 
 It aborted with the error:
 Die maximale Dateigröße ist überschritten = Maximum file size is
 exceeded
 
 filename.openssl is then exactly 2Gb big...
 
 I thought the 2gb limit is a relict ? Should I report a bug ?

If you can reproduce this with the version in unstable, it sounds like
it merits a wishlist bug, yes.



Re: ISO Images from fully installed hd?

2005-08-03 Thread Bryan Donlan
On 8/3/05, Fernando Cacciola [EMAIL PROTECTED] wrote:
 Dave Ewart wrote:
 
  I have Sarge successfully installed in a machine, using just the
  netinst CD.
  Now I want it on another machine... I can of course use the netinst CD
  once again and wait for all the packages to download, but I was
  wondering if I can somehow create a set of ISO images using the machine
  were debian is already installed.
 
 If you kept copies of the downloaded packages (in /var/cache/apt), then
 you should be able to use jigdo to build an ISO.
 
 Ok, I see about 864 items there, so I take that apt kept the downloaded
 packages.
 (They sum-up about 593Mb which fits 1 CD, and that's unexpected because the
 official distribution has lots of CDs)

Most of the CDs have rarely used packages, so it's no surprise you
don't have most of them installed.

 Anyway, how do I use jigdo to build an ISO? I've never used jidgo before so
 I've _scanned_ the jigsaw site, the faqs and the list archives but found
 nothing.

Install jigdo-file, then run:
jigdo-lite 
http://cdimage.debian.org/debian-cd/3.1_r0a/i386/jigdo-cd/debian-31r0a-i386-binary-1.jigdo

When it asks for a directory to scan, give it /var/cache/apt/packages

Note that this builds the whole first CD - I don't think jigdo is
available for the netinst images.



Re: an update to testing broke my nvidia driver (from nvidia-installer)

2005-08-03 Thread Bryan Donlan
On 8/3/05, Brice Méalier [EMAIL PROTECTED] wrote:
 Hi
 
 I upgraded today from sarge to testing and all went well!
 
 But I found afterwards my graphics a bit slow and then I decided to
 reinstall the last nvidia driver from the source as I do usually.
 It refused to build! telling that the kernel-headers package has not
 been found! So I must admit that I run my own kernel (2.6.12.3 compiled
 the debian way under sarge).
 
 Could the fact that this kernel has been build under sarge responsible
 for the impossibility of building the nvidia driver? or what can be the
 matter and how can I solve that issue??

I don't think the kernel build process has changed that much yet. Try this:
apt-get (or aptitude) install module-assistant nvidia-glx
m-a prepare
m-a a-i -k /usr/src/your-kernel-source nvidia-kernel



Re: ISO Images from fully installed hd?

2005-08-03 Thread Bryan Donlan
On 8/3/05, Fernando Cacciola [EMAIL PROTECTED] wrote:
 Bryan Donlan wrote:
  On 8/3/05, Fernando Cacciola [EMAIL PROTECTED] wrote:
  Dave Ewart wrote:
 
  I have Sarge successfully installed in a machine, using just the
  netinst CD.
  Now I want it on another machine... I can of course use the
  netinst CD
  once again and wait for all the packages to download, but I was
  wondering if I can somehow create a set of ISO images using the
  machine
  were debian is already installed.
 
  If you kept copies of the downloaded packages (in /var/cache/apt),
  then
  you should be able to use jigdo to build an ISO.
 
  Ok, I see about 864 items there, so I take that apt kept the
  downloaded
  packages.
  (They sum-up about 593Mb which fits 1 CD, and that's unexpected
  because the official distribution has lots of CDs)
 
  Most of the CDs have rarely used packages, so it's no surprise you
  don't have most of them installed.
 
  Anyway, how do I use jigdo to build an ISO? I've never used jidgo
  before so
  I've _scanned_ the jigsaw site, the faqs and the list archives but
  found
  nothing.
 
  Install jigdo-file, then run:
  jigdo-lite
  http://cdimage.debian.org/debian-cd/3.1_r0a/i386/jigdo-cd/debian-31r0a-i386-binary-1.jigdo
 
  When it asks for a directory to scan, give it /var/cache/apt/packages
 
  Note that this builds the whole first CD - I don't think jigdo is
  available for the netinst images.
 OK
 Great!
 I suppose I shall repeat that with binary-2 and so on for any CD that
 matches some of my local packages.

If you do that, any packages you don't already have will be downloaded as well.



Re: ISO Images from fully installed hd?

2005-08-03 Thread Bryan Donlan
On 8/3/05, Fernando Cacciola [EMAIL PROTECTED] wrote:
 Bryan Donlan wrote:
  On 8/3/05, Fernando Cacciola [EMAIL PROTECTED] wrote:
  Bryan Donlan wrote:
  On 8/3/05, Fernando Cacciola [EMAIL PROTECTED] wrote:
  Dave Ewart wrote:
 
  I have Sarge successfully installed in a machine, using just the
  netinst CD.
  Now I want it on another machine... I can of course use the
  netinst CD
  once again and wait for all the packages to download, but I was
  wondering if I can somehow create a set of ISO images using the
  machine
  were debian is already installed.
 
  If you kept copies of the downloaded packages (in /var/cache/apt),
  then
  you should be able to use jigdo to build an ISO.
 
  Ok, I see about 864 items there, so I take that apt kept the
  downloaded
  packages.
  (They sum-up about 593Mb which fits 1 CD, and that's unexpected
  because the official distribution has lots of CDs)
 
  Most of the CDs have rarely used packages, so it's no surprise you
  don't have most of them installed.
 
  Anyway, how do I use jigdo to build an ISO? I've never used jidgo
  before so
  I've _scanned_ the jigsaw site, the faqs and the list archives but
  found
  nothing.
 
  Install jigdo-file, then run:
  jigdo-lite
  http://cdimage.debian.org/debian-cd/3.1_r0a/i386/jigdo-cd/debian-31r0a-i386-binary-1.jigdo
 
  When it asks for a directory to scan, give it
  /var/cache/apt/packages
 
  Note that this builds the whole first CD - I don't think jigdo is
  available for the netinst images.
  OK
  Great!
  I suppose I shall repeat that with binary-2 and so on for any CD
  that
  matches some of my local packages.
 
  If you do that, any packages you don't already have will be
  downloaded as well.
 
 Ha Ok... I don't want that...
 I suppose that there will be packages in the 1st machine that won't make it
 to the other.
 But of course those will be installed from the internet IFF not on the CD I
 guess, which is OK since I do have a good internet connection and I just
 want to avoid a lenghtly download.. but if most of the packages come form
 the CD and the rest from the net that's OK with me.+

If you have a LAN you could configure apt-proxy, and load into it any
packages you've already downloaded.



Re: Aptitude erroneously thinks many packages are unused and wants to remove them.

2005-08-01 Thread Bryan Donlan
On 8/1/05, Clive Menzies [EMAIL PROTECTED] wrote:
 On (01/08/05 12:32), Adam Funk wrote:
  Inspired by the advice on this group and the -s option, I'm trying out
  aptitude.  But I'm surprised by this:
 
  $ aptitude -s upgrade
  Reading Package Lists... Done
  Building Dependency Tree
  Reading extended state information
  Initializing package states... Done
  Reading task descriptions... Done
  The following packages are unused and will be REMOVED:
 
  followed by a long list of packages, some of which I'm running right now.
  How does aptitude determine this list, and what's the best way to correct
  it?
 
 There've been a few posts on this over the last few days; have a look at
 the d-u list archive.
 
 Briefly, run aptitude in interactive mode - ie # aptitude
 If you press g (only once), the proposed actions will be displayed, you
 can then 'h' hold packages you don't want removed.

A better option is '+' - 'h' will disable updates.



Re: Aptitude erroneously thinks many packages are unused and wants to remove them.

2005-08-01 Thread Bryan Donlan
On 8/1/05, Bryan Donlan [EMAIL PROTECTED] wrote:
 On 8/1/05, Clive Menzies [EMAIL PROTECTED] wrote:
  On (01/08/05 12:32), Adam Funk wrote:
   Inspired by the advice on this group and the -s option, I'm trying out
   aptitude.  But I'm surprised by this:
  
   $ aptitude -s upgrade
   Reading Package Lists... Done
   Building Dependency Tree
   Reading extended state information
   Initializing package states... Done
   Reading task descriptions... Done
   The following packages are unused and will be REMOVED:
  
   followed by a long list of packages, some of which I'm running right now.
   How does aptitude determine this list, and what's the best way to correct
   it?
  
  There've been a few posts on this over the last few days; have a look at
  the d-u list archive.
 
  Briefly, run aptitude in interactive mode - ie # aptitude
  If you press g (only once), the proposed actions will be displayed, you
  can then 'h' hold packages you don't want removed.
 
 A better option is '+' - 'h' will disable updates.

Correction, '=' will disable updates, 'h' doesn't do anything afaik



Re: Aptitude erroneously thinks many packages are unused and wants to remove them.

2005-08-01 Thread Bryan Donlan
On 8/1/05, Christian Pernegger [EMAIL PROTECTED] wrote:
  Briefly, run aptitude in interactive mode - ie # aptitude
  If you press g (only once), the proposed actions will be displayed, you
  can then 'h' hold packages you don't want removed.
 
 Since this is basically the issue I brought up a day or so earlier...
 
 Why should users have to wade through a (potentially long) list of
 packages and tell aptitude to install [+] or hold [=] the packages
 they don't want removed? After all it's been told to install the
 package at some point, and without an order to the contrary shouldn't
 even consider removing it. Maybe an explicit upgrade order for a
 single package should have this effect, but not the standard bring me
 up to date sequence ([u], [U], [g], [g]).
 
 Again what's the advantage over the old don't auto-remove a package
 under any circumstances behaviour? Especially given that this could
 easily be adapted to don't auto-remove a package unless it is marked
 auto (A).

Aptitude shouldn't remove packages you've told it to install - but it
doesn't know whether packages installed through other means (apt-get,
dselect, dpkg -i, etc) were manually or automatically installed. Also,
if you're on sid, there are a lot of uninstallable packages due to the
C++ transition - the only good solution in that case is to temporarily
hold them as needed.



Re: Changing to British (or Canadian) English

2005-08-01 Thread Bryan Donlan
On 8/1/05, David R. Litwin [EMAIL PROTECTED] wrote:
 I've looked all over the place: KDE, I've googled it, the help files
 in KDE. Nothing seems to tell me how I can change my language in KDE
 to British (since they don't seem to have Canadian, not there there
 really is a difference).
 
 Could some one please point out how to do this?
 
 And, if possible, for Debian (and, in fact, every thing) in general.?
 
 It would be Much Appreciated.
 
 None the less, I thank you Kindly in Advance.

Try:
(as root)
dpkg-reconfigure locales
# enable the en_GB options
locale-gen
(as user)
echo 'export LANG=en_GB'  ~/.profile
chmod u+x ~/.profile
(re-login)




Re: Changing to British (or Canadian) English

2005-08-01 Thread Bryan Donlan
On 8/1/05, Bryan Donlan [EMAIL PROTECTED] wrote:
 On 8/1/05, David R. Litwin [EMAIL PROTECTED] wrote:
  I've looked all over the place: KDE, I've googled it, the help files
  in KDE. Nothing seems to tell me how I can change my language in KDE
  to British (since they don't seem to have Canadian, not there there
  really is a difference).
 
  Could some one please point out how to do this?
 
  And, if possible, for Debian (and, in fact, every thing) in general.?
 
  It would be Much Appreciated.
 
  None the less, I thank you Kindly in Advance.
 
 Try:
 (as root)
 dpkg-reconfigure locales
 # enable the en_GB options
 locale-gen
 (as user)
 echo 'export LANG=en_GB'  ~/.profile
 chmod u+x ~/.profile
 (re-login)
 

Actually, en_CA is for canada - you can use that instead of en_GB.



Re: Image for 2.6.12 kernel in Sid?

2005-07-31 Thread Bryan Donlan
On 7/31/05, Rick Friedman [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 [KS] wrote:
  Recently there was a thread(link below) about renaming of kernel package
  for debian as there are other projects having their own kernels e.g. Hurd.
  http://lists.debian.org/debian-user/2005/07/msg03660.html
 
 OK... got that. So, as yet, there is no prebuilt package for the linux
 kernel, correct?

Sure there is:

linux-image-2.6.12-1-k7:
  Installed: 2.6.12-1
  Candidate: 2.6.12-1
  Version table:
 *** 2.6.12-1 0
990 http://ftp.us.debian.org unstable/main Packages
990 http://ftp-mirror.internap.com unstable/main Packages
100 /var/lib/dpkg/status



Re: KDE 3.4 on Debian

2005-07-31 Thread Bryan Donlan
On 7/31/05, Michael Satterwhite [EMAIL PROTECTED] wrote:
 I know some people here are running KDE 3.4. What method did you use to
 install it.

http://pkg-kde.alioth.debian.org/docs/install.html



Re: How to report a broken package ?

2005-07-30 Thread Bryan Donlan
On 7/30/05, Thomas Lecomte [EMAIL PROTECTED] wrote:
 Hi,
 I'm new in the Debian community, and I'm running Debian Sid on my
 computer.
 I would like to know what should I do when I get a broken package. Report
 it to [EMAIL PROTECTED] ?
 The broken package is libaspell which disable me to install kdelibs4.
 Please, answer at my email address because I'm not on the mailing-list :-)
 Thanks.
 --Thomas

You would report a bug by running `reportbug packagename' - but this
brokenness is probably caused by the C++ transition in unstable right
now. I suggest waiting a while - things will be hectic until all the
C++ packages in unstable are rebuilt.

You can see more info on the status of the transition here:
http://people.debian.org/~mfurr/gxx/



Re: installation of a package requests removal of a lot of packages

2005-07-30 Thread Bryan Donlan
On 7/30/05, Kevin Mark [EMAIL PROTECTED] wrote:
 On Thu, Jul 28, 2005 at 11:55:43AM +0200, Gena Batyan wrote:
snip
  When trying to install a package using apt-get, it says among other
  things 'following packages will be REMOVED: ...' and this list is HUGE!
 
  I'll give an example. I'm trying to install gaim, which depends on the
  package libaspell15c2
 
  What in the name of god is going on here??? How can a package request
  deinstallation of almost a complete system, most of the packages
  scheduled for removal have NOTHING to do with the library.
 
  below I include what apt-get shows me when trying to install this library.
 
  Any suggestions are appreciated...
 
 snip
 1. Don't Panic!
 The choice is:
 a) do not 'apt-get update' for a while
 b) 'apt-get update' until it does not want to remove lots of stuff.
 option B can happen in days, weeks or longer (ask here for how long
 folks think it will take)
 cheers,
 Kev

Or hold packages (= in aptitude) at their current version and upgrade
what you can, checking periodically to see if the newer packages are
installable without much breakage.



Re: Need iso images of Woody, Debian 3.0r3

2005-07-30 Thread Bryan Donlan
On 7/30/05, Paul E Condon [EMAIL PROTECTED] wrote:
 I recently discovered that it is not trivial to reinstall Debian
 on a somewhat old box that I have. In order to be prepared for
 another disk failure, I would like to have, in my CD library,
 copies of the first two CDs of Debian 3.0r3, but I can't find
 the images on the web. I'm sure they are there, but where?

3.0r3 doesn't seem to be available, but r6 can be downloaded from
http://mirrors.kernel.org/debian-cd/3.0_r6/jigdo/i386/



Re: aptitude : how to merge the new packages directory

2005-07-29 Thread Bryan Donlan
On 7/29/05, Guillaume TESSIER [EMAIL PROTECTED] wrote:
 Hello.
 
 I have a question about aptitude.
 I use to run debian testing sarge and stick to sarge when it got stable.
 
 I usually manage packages with aptitude.
 Of course their was a new packages directory as new packages were
 introduced on a regular basis to the debian repository.
 
 But now, since sarge is frozen, i don't understand why this directory is
 still there.
 I was just looking for a gnome package and couldn't find it. I know
 alphabet, so i just went : where is this package?
 It was neither in the installed and uninstalled directores but in the
 new packages directory.
 
 The directory isn't usefull to me anymore. i'd to merge it.
 
 There is this option forget new packages...

New packages will remain in the new packages list until you select
forget new packages. So hit `f' and it'll merge them for you.



Re: any sleek way to downgrade sid to sarge?

2005-07-29 Thread Bryan Donlan
On 7/29/05, phyrster [EMAIL PROTECTED] wrote:
 Hi debianers,
 
 After upgrading to sid, I reget and thinking how to roll back to good old
 sarge. I searched related topics and found this guide:
 
 http://debianplanet.com/node.php?id=880 (How I Downgraded Testing to Stable)
 
 The procedure here is a bit complicated plus it's posted two years ago.
 There is also guide about pinning but the author says: downgrading is 
 complex and cumbersome.
 
 How do you guys downgrade? Are there sleek tools out there that can handle
 this job better?

Suffice it to say, downgrading is hard. Very hard, in some cases.
There are no automated tools; if you want to downgrade, it may be
possible, but you're mostly on your own.

Fortunately, sid and sarge are currently using the same C library, so
it's probably not as hard as sarge-woody. If you're not an expert in
how APT works, it'll probably be easier to just reinstall.



Re: new packages

2005-07-28 Thread Bryan Donlan
On 7/28/05, Nils-Erik Svangård [EMAIL PROTECTED] wrote:
 Heh.. I thought it was just my selection of packages. When I run apt-get
 update; apt-get upgrade, I usually get atleast 10 upgrades per day, but
 in recent days none of the packages I use has been updated. A first I
 thougt the mirror I used stopped updating, so I changed to the main
 archive, but there havent been any updates there either.
 /nisse

ftp-master.d.o was down until just recently. As it is the master
debian mirror, none of the other mirrors were updating during that
time. Package updates should resume soon, hopefully.



Re: C++ ABI change in sight?

2005-07-28 Thread Bryan Donlan
On 7/28/05, Steven Pasternak [EMAIL PROTECTED] wrote:
 Hi! I know that currently debian is undergoing the C++ ABI Change
 (libstdc++.so.5/gcc3.3-libstdc++.so.6/gcc4), which is why kde isn't
 being upgraded (is C++ code). I was just wondering if this will be
 finished anytime soon. KDE 3.4 is head and shoulders above 3.3. Thanks!
 -Steven

If you can't wait for KDE 3.4.1, add this to your sources.list:
deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

Please note that while these are made by the same people who do the
regular KDE packages, they are unsupported. Wait until they're in
unstable or experimental before complaining they broke.



Re: Debian Sarge to Etch

2005-07-27 Thread Bryan Donlan
On 7/27/05, Fred OGrady [EMAIL PROTECTED] wrote:
 Paul, 
   
 I have a small question, (as a newbe). 
   
 Just how Unstable is Unstable? 
   
 I enjoyed the (accidental) upgrade to Sarge. (I updated and, when I logged
 into the GUI, I was suprised to find everything changed.) 
   
 Even in Unstable,  I wouldn't expect my system to be crashing every day.
 Would I? 
   
 I would expect to see a gradual change in the capabilitys and features of my
 system.

I wouldn't exactly expect it to crash. However, right now there is a
major transition affecting all C++ programs. If you try to upgrade to
sid, expect lots of errors with missing dependencies, some broken
packages, etc. Be prepared to hold packages at a pre-sid version until
things shake out.

etch (testing) isn't so bad - dependencies are guarenteed to be sorted
out before packages reach it. But there can still be other kinds of
bugs in testing.

 I have been playing with Linux for a number of years now,  Caldera, Redhat,
 Lindows (now Linspire), and most recently, strait Debian.  I got sick of
 Technicians telling me they had to re-install the OS everytime some files
 got corrupt.  

 It seems that anyone running Unstable is actually on the cutting edge of
 Debian's capabilities (and limitations).  

 I hope these qustions are not to off topic.  I didn't want to risk Top
 Posting. 

*cough* you did, actually :) Top posting is replying before the quoted
text of the previous message.



Re: Packages not authenticated - why?

2005-07-27 Thread Bryan Donlan
On 7/27/05, Anthony Campbell [EMAIL PROTECTED] wrote:
 On my laptop, whenever I try to install/upgrade packages I get a message
 saying that the packages cannot be authenticated and asking if I want to
 continue. I say I do and things then proceed normally.
 
 This does not happen on my desktop.
 
 Any way to fix this?

Are you on unstable, by any chance?

Take a look at this: http://www.syntaxpolice.org/apt-secure/

If you just want to silence the errors, make sure gnupg's installed, then do:
apt-key add /usr/share/apt/debian-archive.gpg



Re: Unstable (sid) packages

2005-07-27 Thread Bryan Donlan
On 7/27/05, Song, Victor [EMAIL PROTECTED] wrote:
  
 Are the Unstable packages being updated? I've received several security
 updates but the packages doesn't seem to have been updated on
 http://ftp.debian.org. 
   
 For example, Webcalendar should be 0.9.45-6 according to the advisory but
 there is only 0.9.45.5 on the server.  Am I doing something wrong? 

The master mirror site server's down; mirrors might not update until
new hosting's been found.



Re: apt-get update problems

2005-07-27 Thread Bryan Donlan
On 7/26/05, Jan Schledermann [EMAIL PROTECTED] wrote:
 I am getting this sort of messages a lot the last month or two, while
 running apt-get update:
 
 Ign ftp://ftp.nl.debian.org sarge/main Packages
 99% [Packages bzip2 0] [Query]
 bzip2: Compressed file ends unexpectedly;
 perhaps it is corrupted?  *Possible* reason follows.
 bzip2: Inappropriate ioctl for device
 Input file = (stdin), output file = (stdout)
 
 It is possible that the compressed file(s) have become corrupted.
 You can use the -tvv option to test integrity of such files.
 
 You can use the `bzip2recover' program to attempt to recover
 data from undamaged sections of corrupted files.
 
 Err ftp://ftp.nl.debian.org sarge/contrib Packages
 Sub-process bzip2 returned an error code (2)
 
 The next day the update may work well or result in similar error messages.
 
 Am I the only one having such problems or what?

I've been having some problems with ftp.us.debian.org. I suspect some
mirrors weren't fully updated when ftp-master was shut down, resulting
in some of the systems that ftp.*.debian.org redirects to having a
corrupted or incomplete copy of the archive.



Re: Synaptic claims deb files not at debian

2005-07-26 Thread Bryan Donlan
On 7/26/05, Edward C. Jones [EMAIL PROTECTED] wrote:
 I use a PC with Debian unstable. synaptic has been giving me many
 messages like:
 
 W: Failed to fetch
 http://ftp.us.debian.org/debian/pool/main/x/xorg-x11/libice-dev_6.8.2.dfsg.1-4_i386.deb
 404 Not Found [IP: 216.37.55.114 80]
 
 My browser showed the file and wget downloaded it. What is the problem?

I've been having similar problems with aptitude. It may have something
to do with ftp-master being down - some of the mirrors might not have
been fully up-to-date when it shut down.



Re: Hyperthreading

2005-07-23 Thread Bryan Donlan
On 7/23/05, Andrew J. Fields [EMAIL PROTECTED] wrote:
 I am in the process of building a new computer, and was wondering if Debian
 3.1r0a is capable of running on a P4 3.2E Ghz processor with HT Technology.
 Also, if the OS doesn't support HT, could it still work anyway. Lastly, if
 this wont work, could you recommend any distributions of Linux that support
 HT?

Any SMP kernel on Debian or virtually any other Linux distribution
should work. On Debian, once you finish installing, you may need to
manually install a kernel-image or linux-image package with `smp' in
the name. I'm not sure whether the installer will do this for you -
check with uname -a after installing.



Re: gdb not able to display the contents of source code

2005-07-23 Thread Bryan Donlan
On 7/22/05, kamaraju kusumanchi [EMAIL PROTECTED] wrote:
 David E. Fox wrote:
 
 On Thu, 21 Jul 2005 13:00:18 -0400
 kamaraju kusumanchi [EMAIL PROTECTED] wrote:

 
 (gdb) list
 1   ../sysdeps/i386/elf/start.S: No such file or directory.
 in ../sysdeps/i386/elf/start.S
 (gdb)

 
 I get the same output you do on a different small test program but it
 seems that the error doesn't cause a problem. For instance I can do a
 'break main' and then step line by line and am able to view the source,
 check the status of variables and so on.
 

 Thanks. Now I at least know that it is reproducible. Just today morning,
 I reported it to the BTS.
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319520

list is probably breaking because the program's not running your code
yet - it's in the fortran library's initialization code, and hasn't
reached your code yet. Since you don't have a copy of the fortran
library sources available, it breaks.



Re: debian-31r0a-i386-netinst.iso

2005-07-23 Thread Bryan Donlan
On 7/23/05, Matthew Lenz [EMAIL PROTECTED] wrote:
 wasn't the original installer called debian-31r0-i386-netinst.iso? .. was
 the 'a' added recently? if so what changed?

The installer without the `a' doesn't add security.debian.org to
/etc/apt/sources.list