Re: good book to learn perl
can anyone reccomend a good book so i can start the task of learning perl ? :) Go with the O'Reilly Camel books - you can't go wrong with them. try: http://www.perl.com and: http://www.oreilly.com -Dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Can't make menuconfig
On Sat, 20 Nov 1999, Kent West wrote: I can make config and make xconfig but I can not make menuconfig. When I try, I get the following: I'm going to make the connection and presume you're trying to compile the kernel. It'd normally help if you say which kernel you're compiling since that could possibly make a difference; also which version of debian you're using ... [snip] dialog.h:29: curses.h: No such file or directory this is the key to the error you're getting. you need to install the curses development package. On my potato I find this file in the libncurses4-dev package. normally I've fire up console-apt (or dselect/whatever) and search through for everything with 'curses' in the name to see if anything comes up that I think I need as well. if not, then: apt-get install libncurses4 libncurses4-dev it's possible that the first one will report as already being installed. -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Potato, X and backspace/delete
This should be an easy one but I've spent a few weeks on and off digging about in the archives and haven't run across the answer. When I upgrade slink-potato my keyboard mapping broke so that now Delete acts the same as Backspace (deletes to the left). I can fix this manually for xemacs with a post I found in the debian archives, but I'm sure there is something I've overlooked that's either not allowing a system default to take effect or has perhaps broken the default. Can anyone give me a nudge in the right direction here? thanks, -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: find -exec
What i wanna do ..is 2 things find all files in a directory tree and chmod them 644 find . -exec chmod u+wx {} -type f try this: find . -type f -exec echo {} \; I've replaced the chmod with a painless payload so you can test it out first. the \; is required to mark the end of the exec string which (I believe) should come at the end of the argument list dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: DON'T FORGET TO RESTART EXIM ?
On Fri, 12 Nov 1999, Shaul Karl wrote: DON'T FORGET TO RESTART EXIM. Does exim run as a daemon on a desktop machines ? Let me rephrase my statement. Don't forget to restart exim if you're running it as a daemon. I'll leave the discussion of daemon vs inetd to someone else. -Dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: mysql root password
Sometime, when i installed mysql ( don't know why exatcly ) the configure script advised me to set a root password. I yelled for the ghosts ( is it correct? ) and set one with myswladm password XXX ok, so far so good. Every time when some apt script touches the database, it tries it without a password and exits. How can i remove this nasty password or How can i tell the scripts to use my password I can answer the first, but haven't found out how to do the second. I had this problem just recently so had to dig in and find what was up. # mysqladmin password '' -p this will now prompt for the OLD password and change it to '' (blank) DONT FORGET TO SET IT BACK AGAIN ONCE APT IS DONE UPGRADING If anyone knows the answer to the second q (how to have apt use the correct password) I'd appreciate a cc: of the answer :-) -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Wvdial and non-root access
Only root is able to use wvdial, even though I thought wvdial has been set up for use by non-root users. was wvdial set up for this by yourself, or by the wvdial install program? When I, as user david, type wvdial, I get an error that david cannot have access to /dev/ttyS1. That's better than before, when david couldn't access the wvdial.conf file. My solution to this is to restrict the access to the wvdial executable and make it suid. This isn't technically the safest way of doing it but I'd rather have a simple solution I can keep track of, rather than a complicated solution that I can't. I also have a suid wrapper to 'kill pidofwvdial' available so that any user in the appropriate groups can take the modem offline no matter who put it online. I'm running a very restricted access computer, so it's a problem if one person dials up and walks away ... dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: apt-get not updating
On Thu, 28 Oct 1999, Paul McHale wrote: Looking at the debian security page, I see the cron utility has been upgrade to fix a security problem. This was in august. When I run apt-get update it appears to run correctly. When I run apt-get dist-upgrade, nothing happens. Here is the /etc/apt/sources.list file: deb http://http.us.debian.org/debian stable main contrib non-free deb http://non-us.debian.org/debian-non-US stable non-US Should I have other paths? deb http://http.us.debian.org/debian dists/proposed-updates/ -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
unexpected file /1
Browsing my fairly recently updated potato system I find a file named '1' in the root directory. It contains the following lines repeated many times over. Elements moved to a different document Elements moved to a different document Elements moved to a different document Elements moved to a different document Elements moved to a different document I expect this was caused by a buggy update script but since I have no idea which of the many files I updated on that day could have caused it I can't pinpoint what it was. Does anyone else have this? Anyone know better which package might have left it behind? -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: restart exim
On Wed, 27 Oct 1999, Richard Weil wrote: How do you restart exim after changing exim.conf? The manual says to send the daemon process a SIGHUP signal, but I can't find the daemon process pid. I use: # /etc/init.d/exim restart Alternatively, you can try: # kill -HUP `pidof exim` or even # killall -HUP exim -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Sun goes fully open source!
On Tue, 26 Oct 1999, Oki DZ wrote: Ben Collins wrote: Not being able to distribute your changes, is not free speech. It's crap and they are only hoping to capitalize on the hardwork of others without giving them anything truly worthwhile in return. Hi, what about a free office suite? It's somekind of a return, isn't it? (http://www.sun.com/staroffice/). Unless they changed the license recently, this (stareoffice) is only free in the monetary sense, not the freedom sense. I'd rather use Vim. -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Does exim work with fetchmail?
On Wed, 20 Oct 1999, Anthony Campbell wrote: I currently use smail which works well with fetchmail. I thought I'd try exim since this is becoming standard in potato, but although local mail works I can't get any mail via pop3 and fetchmail. There's a fetchmail error message saying something like: Can't even send to ac [my username}. It seems to be an SMTP problem. I imagine there's something I should change in /etc/exim.conf but the things I've tried haven't worked. Is anyone successfully using exim with fetchmail? you possibly haven't enabled relaying for the local host. I use exim and fetchmail with no trouble at all. try looking in /etc/exim.conf and checking 'local_domains = ' to see if it includes 'localhost' -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Lynx and ATP with http proxy
On Thu, 21 Oct 1999, Richard Clarke wrote: Hi, Could somebody please suggest to me how I can use APT and lynx when I have to use a http proxy with my university. set environment variables http_proxy and (if needed) ftp_proxy that'll do it for lynx -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: slink and potato
On Sun, 17 Oct 1999, Todd Suess wrote: I was brave, I just did apt-get dist-upgrade and waiting about 10 hours for it to download everything and upgrade. Have had very little trouble with it. -Todd ps. for this to work, you of course have to have apt installed and a entry in sources.list pointing to an unstable archive. Having just spent some of the weekend fighting with this, I wonder if I can throw out a few Qs. 1) did you have gnome installed? I had to uninstall practically all of gnome by hand before apt-get would continue due to dependencies. 2) did you have emacs installed? same deal as above. Also some conflicts with bind and dnsutils stepping on each other during the upgrade (had to uninstall manually, then reinstall after it was done). 3) when you add unstable sources in sources.list, do you first remove the stable ones? I wonder if this could have caused some of my probs. 4) at what point does your kernel get upgraded to 2.2.x (or 2.3.x)? Mine is sitting at 2.0.36 still and I'm in the process of using kernel-package to go to 2.2.12 - I had expected this to be done through the dist-upgrade but it didn't ... 5) I had to restart the apt-get dist-upgrade five or six times (or more) because it kept being killed by packages that didn't install correctly. My debian install was a fairly fresh 2.1r2 with gnome and kde updates through apt. Since I had a pretty awful time fighting through it, perhaps it can be of use to help the old stable - new stable upgrade process go smoother for everyone else ... -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: What is the status of GNOME for slink.
Recently, the GNOME project stopped mirroring the debianized packages of GNOME because GNOME has been included in the main Debian distribution. This is fine for potato users. However, I have Gnumeric 0.25 installed on my slink machine. I would like to use 0.38 because of many improvements. Compiling the GNOME packages myself is not a realistic option. Are there any updated GNOME packages available for slink? If so, where do I point my apt sources.list? I use the following (combine to form one line) for slink deb http://www.debian.org/~jim/debian-gtk-gnome/gnome-stage-slink slink main -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Creating/Moving a partition
On Fri, 15 Oct 1999, Andrew Hately wrote: David J. Kanter wrote: I'd like to make a new partition for /var because I don't have enough drive space where /var is currently mounted (/) to run apt-get dist-upgrade. What's the best way of doing this? I can create a new /var partition because I've got plenty of available drive space, but what set-up files will I have to modify to make sure things go smoothly? I assume I'll have to change fstab. But then do I have to move all contents of the current /var to the new /var? Could I create the new partition using a temporary name, move all the /var stuff to it, then rename it to /var? Thats what I would suggest. Stop everything you can, copy the contents and do the final swapover in one line, just in case # mv /var /old_var ; mv /new_var /var I'd like to expand on that last paragraph. 1) stop everything you can - go into single user mode close all user programs (i.e. tidy up) then as root: telinit 1 2) copy the contents - if you use the 'cp' command you're likely to mess with file ownership and permissions. The command I use is this: cd /mnt -- where the new /var partition is currently mounted (cd /var; tar cfp - [list of directories]) | tar xfp - 3) once you're done, go back to normal runlevel as root: telinit 2 (change the number depending on what runlevel you usually live in - you can find this on the initdefault line of /etc/inittab) dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Copying to a floppy
On Sun, 10 Oct 1999, dyer wrote: Antonio Rodriguez wrote: Silly-Newbie questions: 1. How do I read what is in a floppy - Cdrom? I have tried ls -F /dev/fd0 but shows nothing? You must first mount the device--either floppy or cdrom. read the mount man pages. Man pages are our friend. ... or use the mtools package and use 'mcopy', 'mdir' etc. often this is easier for the beginner since you don't have to worry about unmounting the device afterwards. Hands up everyone who has copied a file to floppy, and then ejected it and walked away without unmounting it first? -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: Netscape installation...
On Sun, 10 Oct 1999, Greg Heather Vence wrote: Hi all, I'm looking to install Communicator 4.5 today. I installed the two packages but don't see where or how to run them. What do I need to type at the command prompt? What do I still need to install? TIA -- Greg. Hi Greg, You didn't mention WHICH two packages you installed. There are more than two with the word 'netscape' in them. This worked for me: # apt-get install communicator-smotif-45 If that doesn't work you'll need to add lines to your /etc/apt/sources.list so apt can find the packages if needs be. Don't forget that netscape 4.7 was released a while ago so perhaps 4.5 isn't the version you want to be installing. To run it, just type 'netscape' at the command prompt while in X. -Dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: crontab reports: ....
/etc/cron.daily/suidmanager: /usr/sbin/sendmail PERMISSION MISMATCH: was root.root 777 changed to root.root 4755 this may sound stupid... but was does this error message means? This means that suidmanager found a problem with the sendmail executable and fixed it. Having permissions of 777 means that ANYONE can read/write/execute the program. The problem is in the WRITE portion - anyone with access to your host can replace (or perhaps already has?) sendmail with their own version. Having permissions of 4755 means that group/other only have read and execute permissions - the leading 4 indicates that the suid bit is set (program runs under the uid of the owner of the program). With an error like this popping up in the log file, I'd start checking the system to see if the security has been compromised -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
KDE 1.1.2 : kdesupport - debian packages missing giflib?
I've been trying to get KDevelop installed for a few days now. The kdevelop.org homepage seems to be offline, and previously when I was able to connect the .deb file I found did not download correctly. Installing from tarball, ./configure complains about not finding giflib30 which should be part of the kdesupport package. Neither kdesupport0g or kdesupport0g-dev seem to contain the library, although -dev does have documents regarding it. Is this a bug in the kdesupport0g-dev package in that it does not contain all the right files, or am I simply not looking in the right places??? Please copy me directly on any replies since I have been known in the past to miss replies due to the volume on this list. Thanks, -Dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: wvdial hangs?
is wvdial hanging when the cursor gets a blank line after: - - starting pppd @ (date/time) 1999? or am i supposed to do something? shouldn't i get some sort of prompt? wvdial stays in the foreground after connecting. either run it witha on the end if you want to do something else with that window, else open a new window/terminal to run your commands in. at first it seems counter-intuitive but it makes sense once you're used to it. I have a script 'netup' that I use to run it in the background with my normal options. -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Re: LiLO and Multi distributions
Hello all, I have isntalled two distributions of Linux (Reh Hat 6 and Debian 2.1) on two hard disks, just like the following: hda1: Win98 hda3: Debian hdc5: Red Hat I have the joined lilo.conf file, and when I run lilo I get the message /boot/bzImage-2.0.37 not found. Like this I can not boot Debian at the moment. Any one has an Idea how can I put the two Linux distribuitios working? It looks like you've copied the portion of your redhat lilo.conf onto debian or vice versa. This won't work (in this instance) because the one instance of lilo cannot locate both kernels. The way I would fix this (is there a better way?) is to make sure to only update lilo from one of your distributions and keep a copy of the kernel on that partitions root. Thus, under debian /boot contains both the debian and the redhat kernel you wish to use. Now when you run lilo it can find both and will boot correctly to either location. dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.
Debian homepage and apt: releases/stable
The debian homepage: http://www.debian.org/releases/stable talks about the new version of apt being available from netgot.net's home page. Clicking the link gives a 404 and searching through the site doesn't show it anywhere. Does anyone know where this can now be downloaded from? Also, does anyone have a mini-howto on how to get gnome-apt running on a pretty fresh slink install? Havoc's page assumed too much background knowledge for a redhat escapee like myself. thanks, -dave -- | oOOooO / --|oOobodoO/ [EMAIL PROTECTED] --| ooOoOo / | II / The wise man tells you where you have fallen | II / and where you may fall - Invaluable secrets.