All /var/lib/dpkg/status* files corrupt, how to recover?

2001-02-20 Thread Brian Servis
Some how all my /var/lib/dpkg/status* files have become corrupt.  I have
tried using the status.yesterday.* files but most of them won't even
gunzip, or are corrupt.  How can I recover from this?  I searched the
archives but was not able to find a solution.  Any and all help will be
appreciated.

Typical errors and status file lines:

apt-get update error message:
Reading Package Lists... Error!
E: Malformed 2nd word in the Status line
E: Error occured while processing metamail (UsePackage3)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

Section of status file from 'less -N status'
  4175  Package: offix-clipboard
  4176  e ok not-installed
  4177  Priority: optional
  4178  le
  4179  
  4180  Package: metamail
  4181  Status: install okriorityled
  4182   ok not-installed
  4183  Priority: opti: optional
  4184  Section: mail

Failed gunzip:
% gunzip status.yesterday.5.gz

gunzip: status.yesterday.5.gz: invalid compressed data--crc error


I have also had to disable the dwww daily cron job as it for some reason
is dumping ~132M of binary garbage to STDOUT which ends up in my
mailbox. Most mail handlers don't take kindly to this!


Thanks,

Brian Servis
-- 
[EMAIL PROTECTED] 
 
Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes.



Re: Fourth button of Logitech MouseMan Wheel?

2000-01-12 Thread Brian Servis
*- On 11 Jan, Remco Blaakmeer wrote about Fourth button of Logitech MouseMan 
Wheel?
 Hi,
 
 I just bought a Logitech Cordless MouseMan Wheel. Previously, I had a
 Logitech Wheel Mouse. Using the same setup in X, I can use three buttons
 and the wheel just like with the Wheel Mouse. But how can I use the fourth
 (thumb) button on my new mouse? I have tried several things, but to no
 avail.
 
 Here's part of my current XF86Config:
 
 Section Pointer
 Protocol IMPS/2
 Device   /dev/psaux
 Buttons  6
 Resolution   400
 ZAxisMapping 4 5
 EndSection
 
 With this setup, I tried to run the xev program to see what the mouse
 does. The wheel generates events for buttons 4 and 5, but the thumb button
 generates no events at all.
 
 Can anybody please help?
 

You are in the same boat as I am.  I have a Logitech MouseMan+ the
corded version with the wheel and 4th thumb button.  Under X 3.3.2.a or
some such I was able to get the thumb to be recognized as button 6.  Not
all apps recognized it but it was nice to have available.  Once I
'upgraded' to X 3.3.3.1 it no longer worked.  When it was working I was
using the following:

Section Pointer
Protocol  MouseManPlusPS/2
Device/dev/psaux
SampleRate133
Resolution200
Buttons   6
ZAxisMapping  5 6
EndSection

And then using xmodmap to remap the z-axis buttons 5 and 6 to buttons 4
and 5 respectively and the thumb button from 4 to 6.  This was the only
way I could get it all to work.  If I mapped the zaxis to 4 and 5 I
could not get the thumb button to work.  But like I said once I
'upgraded' to X 3.3.3.1, and all versions since, it no longer works and
I now use the Pointer section below. If I don't change the zaxismapping
as below I can't get the wheel to work properly as buttons 4 and 5 as I
did before.


Section Pointer
Protocol  MouseManPlusPS/2
Device/dev/psaux
SampleRate133
Resolution200
Buttons   6
ZAxisMapping  4 5
EndSection

I haven't had time to debug or track it down.  So I am not providing a
solution here but just a long drawn out 'Me Too!'.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: What is this????

2000-01-10 Thread Brian Servis
*- On 10 Jan, Ron Rademaker wrote about What is this
 
 I found this file somewhere:
 
 
 c---r-   1 8224 10280 49, 117 Dec  1  2031 fonts
 
 Can anybody tell me what that c is all about???
 
 This 'thing' is the reason for some trouble with apt / dpkg (something to
 do with xlib6g-dev) perhaps this c has something to do with that.
 

Besides the fact that it has insane uid, gid and dates it is a character
device file.  Similiar to a serial port or the like.

# ls -l /dev/ttyS0
   0 crw-rw1 root dialout4,  64 Jun 10  1999 /dev/ttyS0

Acccording to the devices.txt file in the kernel Documentation a
character device with major number of 49 is reserved for a 'SDL RISCom
serial card'.  Where is this file?  You didn't list its path.  If it is
/usr/X11R6/include/X11/fonts then I would just delete it and try
re-installing xlib6g-dev.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: memories

2000-01-10 Thread Brian Servis
*- On 10 Jan, [EMAIL PROTECTED] wrote about memories
 
 I have a Debian box which has been rock-solid in the three years I've
 been using it. Currently it's slink with the 2.0.38 kernel
 (custom-compiled) and just a few extras in /usr/local. No other OS.
 
 Until recently it had just 32MB of RAM. I added 64 more on
 Saturday. Everything seemed fine to begin with---the 96MB was detected
 in BIOS and by the kernel; I had much less disk-thrashing in long
 Netscape sessions and so on. But 
 
 If I leave the machine up overnight (as has been my habit) with nobody
 logged on and only cron jobs running, when I log on again in the
 morning, `top' tells me that almost all of the memory is in use, and
 when I try to work, I get constant segmentation faults (especially in
 resource-heavy applications like emacs, TeX, X ...) and sometimes a
 kernel-panic. Rebooting `fixes' the problem.
 
 The hardware: Pentium 2 (233 with 512K cache), an Asus P2L97 AGP
 Motherboard, Quantum 4.3GB SCSI Hard Drive.
 
 Are there tools available that would help me diagnose the problem and
 hopefully solve it?
 
 Thanks in advance for any advice,
 

Which netscape are you using?  Netscape 4.7 is much tighter on its
memory leaks than previous versions.  I have also found that X seems to
have a memory leak somewhere.  My solution to this is to restart the
window manager, not logging out of X but just restarting the window
manager. It is amazing but I can reclaim 128M/256M of swap by doing this
sometimes. 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: where is the command line options for the X server located?

2000-01-09 Thread Brian Servis
*- On  8 Jan, Joseph de los Santos wrote about where is the command line 
options for the X server located?
 Hello!,
 
   I would like to know where the Xservers file for xdm is located so that I 
 may change the display resolution in dots per inch.
 

/etc/X11/xdm/Xservers

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: fetchmail and multiple users in one POP3 box

2000-01-09 Thread Brian Servis
*- On  9 Jan, hypnos wrote about Re: fetchmail and multiple users in one POP3 
box
 On Sun, 9 Jan 2000, Jeff Flowers wrote:
 
 Can this command be run everytime that I connect to the internet?
 
 Yep, put that stuff (that I snipped) into .fetchmailrc
 in your home directory, and add something like this
 to your /etc/ppp/ip-up
 
 fetchmail -f /home/jeff/.fetchmailrc
 
 That will run fetchmail once each time you connect,
 to have it keep checking mail while you're online,
 add '-d xxx' to the command above.  'xxx' is the
 interval (in seconds) between mail checks.  For
 example, -d 600 will call fetchmail once every 10
 minutes.  If you use the -d option, you will want
 to put fetchmail -q in your /etc/ppp/ip-down file.
 to stop it when you disconnect.
 

The Debian fetchmail maintainer has included two scripts, fetchmail-up
and fetchmail-down in the /usr/doc/fetchmail directory to place in the
appropriate directories of /etc/ppp/ip-up.d and /etc/ppp/ip-down.d. Just
remember that ppp runs all its scripts as root so be careful with
permissions and things that you do in your scripts. Some people prefer to
use su to change the user away from root for these tasks for security
reasons.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: cron reports re: suidregister

2000-01-08 Thread Brian Servis
*- On  7 Jan, Mark Wagnon wrote about Re: cron reports re: suidregister
 On 01/07/00 02:22PM, Brian Servis wrote:
 
 If you have emacs20 installed and movemail is not there then something
 is wrong.  Movemail is included in the emacs20 package and should be
 there, even if you don't use it.  If you have removed emacs20 from your
 system and it left the line in your suid.conf file then that is a bug in
 the emacs20 package.   The proper way to remove the line is to use the
 suidunregister program.  Commenting the line out shouldn't cause
 problems unless you have emacs20 installed and you your system by
 putting movemail back in place.  Then the mode of the file will not be
 checked for possible root exploits via the permisions.
 
 
 Thanks Brian
 
 It helps when I check the versions of stuff I'm running. I currently
 have emacs 20.5 installed, but the movemail error is from 20.3 There
 is a movemail in the emacs 20.5 subdirs.
 
 Since 20.3 is no longer installed, then I'll just look at the docs
 for suidregister and remove the line.
 
 Since this appears to be a bug, should it be reported even though a
 newer emacs package is available?
 

Since you have 20.5 installed I would definetely remove the line
pertaining to 20.3.  According to the changelog.Debian there were
several issues regarding suidregister that were taken care of between
the slink version and the potato version.  My bet is that it is already
fixed.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: fetchmail problem

2000-01-08 Thread Brian Servis
*- On  8 Jan, Timothy Bedding wrote about fetchmail problem
 Thanks for all the help, people.
 
 Your advice about how to fix the clock problem was spot
 on.
 
 
 Now, another query.
 
 If I do a fetchmail and it reports, say, 30 mails, sometimes
 these mails can be transfered to my spool file in batches.
 So, I get the first ten and then I have to wait a few minutes
 for the next ten.
 
 I guess that there must be an explicit delay somewhere.
 Does anyone know where this delay might be?
 

This is your MTA doing this.  Most MTA's don't like getting flooded with
requests to send packages since it can cause a spike in cpu load and
system resources.  So once a maximum limit has been reached it just
queues them up until the next run of the queue.  In exim, the default
MTA for Debian, you can set the option smt_accept_queue_per_connection
to 0 and it will process each mail as it comes in without waiting. The
default is 10. Read the exim spec file for more info on this and other
smtp_accept_* options.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: newbie fetchmail problem

2000-01-07 Thread Brian Servis
*- On  7 Jan, Johannes Tax wrote about newbie fetchmail problem
 hi,
 
 i'm very new to linux. recently i got my ppp-connection working, now i
 have a problem with fetchmail. whenever i start fetchmail i got this
 message:
 
 62 messages for johannes-tax at pop.styria.com (156274 octets).
 reading message 1 of 62 (1857 octets) .fetchmail: SMTP listener doesn't
 like recipient address '[EMAIL PROTECTED]'
 fetchmail: can't even send to postmaster!
 fetchmail: SMTP transaction error while fetching from pop.styria.com
 fetchmail: Query status=10
 
 first i tried fetchmailconf and it didn't work, then i configured my
 .fetchmailrc by hand. it looks like this:
 
 poll pop.styria.com proto pop3
 user johannes-tax pass mysecret is pox here
 
 what's wrong with it? i would be happy if anybody could help me.
 

This isn't a fetchmail problem.  It is your MTA that does not recognized
the machine name 'localhost' as actually being your local machine and is
thus refusing to deliver the mail that fetchmail is feeding it over the
SMTP port. For exim the option is local_domains and is a colon separated
list of machine names that considered local. My local machine is
called(fake name on localnet) brian.servis.snet so I have the following:

local_domains=localhost:servis.brian.snet:servis.snet:brian

This works for me, I don't know if it is all necessary but you do need
the localhost and actual machine name in there.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: umount - URGENT

2000-01-07 Thread Brian Servis
*- On  7 Jan, Carl Fink wrote about Re: umount - URGENT
 On Fri, Jan 07, 2000 at 01:52:15PM -0500, Michael Stenner wrote:
 while it's a good habit to demand successful umounts before removing
 media, remember that it IS a cdROM after all.  You're certainly not
 going to damage it by just pushing the button and taking the thing
 out.  Sure the os will complain, but you'll have the disk in your
 hand.
 
 I've hever been able to open a CD drive without unmounting the volume -- the
 drawer won't open.

Along the same linesthis is the one mechanism of mac/sun/other(?)
floppies that I would like to see somehow on x86 machines.  I would much
rather have a 'soft' eject button like on a cdrom or a software eject
like the mac/sun floppies rather than a mechanical eject like on the x86
floppies.

Does anybody know the fundemental reasons why the x86 platform has not
adopted such a setup?

Thanks,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: cron reports re: suidregister

2000-01-07 Thread Brian Servis
*- On  7 Jan, Mark Wagnon wrote about cron reports re: suidregister
 Hi all-
 
 I keep getting the following report:
 
   /etc/cron.daily/suidmanager:
   suidregister: /usr/lib/emacs/20.3/i386-debian-linux-gnu/movemail registered 
 but not installed
 
 I took a look at the man page for suidregister. Since I can't find
 movemail anywhere on my system (let alone in the expected location)
 I decided to edit the /etc/suid.conf file and comment the line
 referencing movemail. I made a note to remind me of this change¸ but
 I was just wondering if anyone knew if this could have some effect
 later on. I don't use emacs for mail, so I'm not too worried.
 
 TIA

If you have emacs20 installed and movemail is not there then something
is wrong.  Movemail is included in the emacs20 package and should be
there, even if you don't use it.  If you have removed emacs20 from your
system and it left the line in your suid.conf file then that is a bug in
the emacs20 package.   The proper way to remove the line is to use the
suidunregister program.  Commenting the line out shouldn't cause
problems unless you have emacs20 installed and you your system by
putting movemail back in place.  Then the mode of the file will not be
checked for possible root exploits via the permisions.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: kernel question

2000-01-06 Thread Brian Servis
*- On  6 Jan, Pollywog wrote about Re: kernel question
 
 Basically anything with a letter will be fine, something like
 pollywog.1.  Use dpkg to check it if you are not sure.
 
#dpkg --compare-versions 2.2.14-1 ge pollywog.1 ; echo $? 
 1
#dpkg --compare-versions 2.2.14-1 lt pollywog.1 ; echo $? 
 0
 
 I did not know about dpkg --compare-versions.  I am guessing the resulting 1
 and 0 are exit codes, the 0 indicating no error.
 

Yep.  After a command exits the shell stores the exit code in the $?
variable, and I am just echoing to see what it is.  An exit code of 0
means no problems and anything else indicates and error.  In the first
example above dpkg returned with an error because 2.2.14-1 is NOT
(g)reater-than-or-(e)qual-to pollywog.1. Since 2.2.14-1 is
(l)ess-(t)han pollywog.1 it returned without an error code in the
second example.  The --compare-versions I think was originally ment to
be used in package scripts but it can be handy for things like this.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: modem RX rate is considerable slower than RX rate

2000-01-06 Thread Brian Servis
*- On  6 Jan, Shao Zhang wrote about Re: modem RX rate is considerable slower 
than RX rate
 
   I think it is the modem's problem. I have a US Robotics V90
   modem, which I think the remote isp does not support it.
 
   In the chat script, if I use the initialise command ATZ, I am
   able to connect, but only at 33600.
 
   If I use the US Robotics V90's initialise command ATF, I am
   able to get the line speed 46600, but then failed to
   authentificate with the remote end.
 
   What does not make sense is that, the TX rate is so much slower
   than RX rate.
 

I have the same problems.  Try playing around with your mtu and mru
settings. I get better upload times with a mtu/mru of 552 as compared to
the default 1500.  The TX speeds are still not great though.  If you
have in internal network that uses the modem as its internet gateway
then make sure and set mtu of the network port to the same thing.
IPMasquerading and other protocols tend to choke if the mtu/mru's of the
different links in the chain are of different sizes.(no I don't know
why).


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Problem with ncurses since 01/02/2000 apt-get dist-upgrade

2000-01-06 Thread Brian Servis
*- On  5 Jan, [EMAIL PROTECTED] wrote about Re: Problem with ncurses since 
01/02/2000 apt-get dist-upgrade
 
 BTW, WTH does bash depend on the ncurses in `oldlibs'?
 

I suspect because the libncurses5 package was just added to the archive
and was made the 'default' ncurses thus moving libncurses4 to oldlibs.
The bash package probably hasn't been uploaded to reflect the change.  I
just filed a bug report on bash(#54165) for this issue.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Screen black

2000-01-06 Thread Brian Servis
*- On  6 Jan, Ron Rademaker wrote about Screen black
 
 Does anyone on this mailinglist happen to know how I can prevent my sc
 screen to go completely black after 10 minutes???
 

On the consoles:   seterm -blank 0

In X:   xset s noblank

See the man page for each for more options.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Screen black

2000-01-06 Thread Brian Servis
*- On  5 Jan, Brian Servis wrote about Re: Screen black
 *- On  6 Jan, Ron Rademaker wrote about Screen black
 
 Does anyone on this mailinglist happen to know how I can prevent my sc
 screen to go completely black after 10 minutes???
 
 
 On the consoles:   seterm -blank 0
 setterm -blank 0   
   ^^
   ^^
   oops
   
 
 In X: xset s noblank
 
 See the man page for each for more options.
 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Screen black

2000-01-06 Thread Brian Servis
*- On  6 Jan, Ron Rademaker wrote about Re: Screen black
 
 
 On Wed, 5 Jan 2000, Brian Servis wrote:
 
 *- On  6 Jan, Ron Rademaker wrote about Screen black
  
  Does anyone on this mailinglist happen to know how I can prevent my sc
  screen to go completely black after 10 minutes???
  
 
 On the consoles:   seterm -blank 0
 
 In X:xset s noblank
 
 In which package can I find seterm???
 

Sorry, it is setterm (with two t's).  It is in the util-linux package
which is a required package so should be on your system already.  It
lives in /usr/bin.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Potato Dates...

2000-01-06 Thread Brian Servis
*- On  6 Jan, Rob Hensley wrote about Potato Dates...
 Hi, sorry for this mail, but I was just wondering when potato was going to
 be stable. I know you've all talked about this before in Potato
 Timeline, but I can't remember the date. Please repond soon, Thanks.
 

The latest info from the Release Manager is in the following post to
debian-devel-announce.

http://www.debian.org/Lists-Archives/debian-devel-announce-9912/msg00010.html


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: URL of package's website

2000-01-06 Thread Brian Servis
*- On  6 Jan, Peter S Galbraith wrote about Re: URL of package's website 
 
 Bart Szyszka wrote:
 
 If there's a better place to suggest this, let me know, 
 
 debian-devel, or perhaps even debian-policy.
 but something I think
 the Debian package site is missing is a spot for each of the package's own
 websites.
 
 I agree this would be nice, as well as upstream author.
 
 What I do as a maintainer is put that info in the copyright file
 along with the `It was downloaded from ftp://' info; e.g the
 xtide package: http://cgi.debian.org/cgi-bin/get-copyright?package=xtide
 
 You can always try that since you can access the copyright file
 from the Debian web page for the package.  It it's not listed,
 sometimes you can guess the URL from the ftp download site.
 

If I am not mistaken, a thread of this topic was discussed not to long
ago on either debian-devel or debian-policy.  I think the thread was
discussing a uniform layout of the README.Debian file or the copyright
file to include this info.  I think it was even suggested to place the
info in the package control file. 

I agree that it would be nice to have a link on the Debian Packages page
to the upstream source to facilitate finding out more about the package
if desired.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Changing font size for xterm

2000-01-05 Thread Brian Servis
*- On  4 Jan, Brian Fuller wrote about Changing font size for xterm
 What is the best way to change the font size for xterm, emacs etc?
 
 

On the command line:

xterm -fn font
emacs -fn font

Dynamically:

xterm:  Ctrl+Btn3
(I use xemacs so don't know how emacs works on this)  

Resources:

XTerm*font: font
(I use xemacs so don't know how emacs works on this)


Read the man page for the respective application, it should say how do
to it.

To get a list of all available fonts run the command xlsfonts(in the
xbase-clients package).

To get an interactive selection of all available fonts runt he command
xfontsel(in the xcontrib package).

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Changing font size for xterm

2000-01-05 Thread Brian Servis
*- On  4 Jan, Pann McCuaig wrote about Re: Changing font size for xterm
 On Tue, Jan 04, 2000 at 19:41, Brian Servis wrote:
 
 To get a list of all available fonts run the command xlsfonts(in the
 xbase-clients package).
 
 To get an interactive selection of all available fonts runt he command
 xfontsel(in the xcontrib package).
 
 Wow. Thanks for the pointers.
 
 Had no idea there were so many fonts on my system. Now then, where to
 read about all the parameters one gets to choose in xfontsel? A general
 overview of font selection, description and use under X?
 

Start with 'man X'.  Primarily in the FONT NAMES section.  Also look in
the OPTIONS, RESOURCES, EXAMPLES and SEE ALSO sections. 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Changing font size for xterm

2000-01-05 Thread Brian Servis
*- On  4 Jan, Brian Fuller wrote about Re: Changing font size for xterm
 Thanks for the tips. I tried them out and they worked as expected. The
 next step is to be able to change the default fonts. Would that be don
 in a .conf file?
 
 

Xterm uses the 'fixed' font as the default.  The only other way to make
a default is with your X Resources.  If you want to change it for
everybody on your system edit /etc/X11/Xresources/xterm and add a line
of the form 

XTerm*font:   fontname

If you want to change it just for you then add the above line to the
file ~/.Xresources.

The same can be done for emacs or any other application.  For global
changes if there is no file in /etc/X11/Xresource for your app just
create a file(I think its name does not matter) and place in it any
Xresource that you want(see the man page for the app).  For local
changes just add them to your ~/.Xresources.

Some application have a file in /usr/lib/X11/app-defaults/ that lists
some of their default Xresources, or read the man page.  You can copy
bits and pieces out of there into the appropriate file from above and add
the class of the application to the beginning of the line(XTerm for
xterms, Emacs for emacs, again see the man pages).

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Changing font size for xterm

2000-01-05 Thread Brian Servis
*- On  5 Jan, David Wright wrote about Re: Changing font size for xterm
 Quoting Brian Servis ([EMAIL PROTECTED]):
 *- On  4 Jan, Brian Fuller wrote about Changing font size for xterm
  What is the best way to change the font size for xterm, emacs etc?
 
 On the command line:
 
 xterm -fn font
 emacs -fn font
 
 Dynamically:
 
 xterm:  Ctrl+Btn3
 (I use xemacs so don't know how emacs works on this)  
 
 Resources:
 
 XTerm*font:  font
 (I use xemacs so don't know how emacs works on this)
 
 I prefer to use (in my .Xresources)
 
 ! Make the default font bigger
 XTerm*VT100*Font:   9x15
 ! and make the last two sizes much bigger
 XTerm*VT100*Font5:  10x20
 XTerm*VT100*Font6:  12x24
 
 as you can then use the VT Fonts menu to switch sizes.
 
 I seem to remember struggling for a while to find the resource
 names that worked, i.e. the * / VT100 / letter case.
 

If you haven't yet, take a look in /usr/lib/X11/app-defaults/XTerm.  In
that file are most of the default Xresources for XTerm.  If you want to
change them copy the individual resources you want to change into your
Xresources file(or the global) and prepend to them the XTerm class name.
Don't copy the whole file.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: kernel question

2000-01-05 Thread Brian Servis
*- On  5 Jan, Pollywog wrote about kernel question
 I just found out that Linux kernel 2.2.14 is out and it is stable.
 Debian does not yet have a kernel-source-2.2.14-deb out.  Can I just use a
 regular kernel source tarball to make a custom kernel image the Debian way?
 I have done this before but I suspect there were some additional steps I had
 to perform.
 
 Should I just wait for the Debian source package?
 

Just do it!  Just use make-kpkg with a revision name that will be
greater than 2.2.14-1(this will be the version number of the
kernel-image once it is released) and you will be fine. 

make-kpkg --revision=pollywog.1 kernel_image

Basically anything with a letter will be fine, something like
pollywog.1.  Use dpkg to check it if you are not sure.

#dpkg --compare-versions 2.2.14-1 ge pollywog.1 ; echo $? 
1
#dpkg --compare-versions 2.2.14-1 lt pollywog.1 ; echo $? 
0

So the first one failed and the second one was successful, i.e. the
version number of 'pollywog.1' will be considered as newer than a
version number of 2.2.14-1 by dpkg.  Since the Debian kernel packages
always have the version number the same as the kernel version number
then you will be fine.  



Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Removing ttyS

2000-01-04 Thread Brian Servis
*- On  4 Jan, Larry Shields WD9ESU wrote about Removing ttyS
 If one makes a device say ttyS6, using 'mknod -m 666 /dev/ttyS6 c 4 70', and
 after it is created, then decides it is not needed, what would be the
 command  to use to remove it...???
 

rm /dev/ttyS6

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


pointer trails in X?

2000-01-03 Thread Brian Servis

Is it possible via some configuration to get the mouse to have a trail
in X?  It makes it nice to spot the cursor after your eyes have lost
focus of it.

Thanks,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Wrong timestamp on modules.dep

2000-01-03 Thread Brian Servis
*- On  2 Jan, John Dalbec wrote about Re: Wrong timestamp on modules.dep
*- On  2 Jan, John Dalbec wrote about Wrong timestamp on modules.dep
 My Hardware Clock is set to local time to keep another OS happy.
 /etc/rcS.d has
 S20modutils
 S50hwclock.sh
 (among others)
 so modules.dep is timestamped as though the Hardware Clock were set to GMT.
 I have kernel 2.2.13 and RTC stores time in GMT set to no under APM.
 Did I forget to set thip crinkle and spoit to no? :)


Nope, it is a bug in the Debian package setup.  If you wait to reboot
longer than your GMT offset then you won't get the warning, =).
See the bug report at http://www.debian.org/Bugs/db/53/53247.html.

 Thanks for the tip.  I tried renaming S50hwclock.sh to S20hwclock.sh
 and that seemed to work.  Is this safe?

 I don't see why not.  hwclock lives in the /sbin directory so it will
be on the root partition along with /lib, so it should be able to run
before the rest of the filesystem is mounted in the S35mountall.sh
script.  

But for some reason I feel like I am missing something as to why it is
setup the way it is.  Anybody else care to add a comment on this?

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: alien not y2k compliant?

2000-01-02 Thread Brian Servis
*- On  1 Jan, Robert L. Harris wrote about alien not y2k compliant?
 
 Ok...
   I'm trying to scan myself and build a nice little security tool.  This
 is the first thing I've run into but still
 
 
 
 
 {0}:wally:/usr/src/Util-System/nmapalien -d nmap-2.3BETA12*rpm
 -- Examining nmap-2.3BETA12-1.i386.rpm
 -- Unpacking nmap-2.3BETA12-1.i386.rpm
 1222 blocks
 -- Automatic package debianization
 alien: 822-date did not return a valid result.
 

A quick look through the changelog for the versions between slink and
potato didn't show and y2k fixes but I did find the following:

alien (6.26) unstable; urgency=low

  * If 822-date fails, the error now suggests installing dpkg-dev. This is
way up there in the alien faw(sic, faq) and I'm tired of answering it.


Since you did not get a suggestion about dpkg-dev I assume you are using
a version prior to 6.26.  Just to make sure, do you have dpkg-dev
installed?  In slink dpkg-dev was only a Recommends dependency for
alien, in potato it is a Depends dependency.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: 2 questions on apt-get

2000-01-02 Thread Brian Servis
*- On  2 Jan, Oliver Elphick wrote about Re: 2 questions on apt-get 
 Ulrich Hansmair wrote:
   2.apt-get upgrade gives the following message:
   
   ...
   The following packages have been kept back:
   dpkg-dev kernel-package perl perl-base
   ...
   
   I wanna this packages be included in the normal upgrade-procedure. What is 
 t
   he
   appropriate action?
 
 They are kept back because of dependencies on some other packages; these
 dependencies cannot be satisfied if they are upgraded. 
 
 You must either remove packages that are causing the problem, or wait for
 new versions of the problem packages to become available, or (if you
 know what you are doing) force the installation of the packages you
 want upgraded.
 

Read the apt-get man page.  You probably want to run 'apt-get
dist-upgrade' and not 'apt-get upgrade'.  The upgrade option will not
remove or change other packages status(i.e. packages will be held back).
Or start dselect, select [U]pdate, select [S]elect, hit space, hit
return(probably a few times as it sorts out depenencies/conflicts),
select [I]nstall.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Wrong timestamp on modules.dep

2000-01-02 Thread Brian Servis
*- On  2 Jan, John Dalbec wrote about Wrong timestamp on modules.dep
 My Hardware Clock is set to local time to keep another OS happy.
 /etc/rcS.d has
 S20modutils
 S50hwclock.sh
 (among others)
 so modules.dep is timestamped as though the Hardware Clock were set to GMT.
 I have kernel 2.2.13 and RTC stores time in GMT set to no under APM.
 Did I forget to set thip crinkle and spoit to no? :)


Nope, it is a bug in the Debian package setup.  If you wait to reboot
longer than your GMT offset then you won't get the warning, =).
See the bug report at http://www.debian.org/Bugs/db/53/53247.html.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Segmentation Fault

2000-01-02 Thread Brian Servis
*- On  2 Jan, Rik Burt wrote about Segmentation Fault
 I have the slink version of debian installed an a second hard drive and it
 was working quite well.  At the start of December I recompiled the kernel as
 I had added a SCSI device to my system and as the kernel was compiling I got
 an error Segmentation Fault.  These messages are becoming increasingly
 more common.  Last night I was looking at going to potato but apt-get update
 kept breaking and saying Segmentation Fault.  This is making my Linux
 experience miserable.  I have been reading everything I have but can not
 determine if this is a Software or Hardware problem.  Any one else ever had
 this.
 

Sounds like a hardware problem, most likely bad memory.  Take a look at
the Sig11 page and see if the info on there helps you find the problem.
http://www.bitwizard.nl/sig11/


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: /bin/sh and ash, bash

2000-01-02 Thread Brian Servis
*- On  2 Jan, Ben Collins wrote about Re: /bin/sh and ash, bash
 On Sun, Jan 02, 2000 at 03:34:51PM -0600, matt garman wrote:
 
 I noticed that Debian makes /bin/sh a symlink to /bin/bash by default.
 I'd rather have /bin/sh link to /bin/ash.  I tried this quite a while
 ago, and it seems as though some Debian-specific scripts rely on /bin/sh
 actually being bash.  In other words, last time I linked /bin/sh to
 /bin/ash, a few things got broken.
 
 I was just curious if anyone knew whether or not it's safe to link
 /bin/sh to /bin/ash?
 
 That is the goal. If anything breaks when using a posix compliant shell
 for /bin/sh, then a bug should be filed for the package woning them to the
 affect that it needs to have #!/bin/bash for the interpreter.
 

Except that the bash package now has the /bin/sh symlink in the package
and not as part of the postinst script.  So if you change the link then
the next time you upgrade bash it will reset the /bin/sh link back to
bash.

But there is a solution to in the /usr/{share/}doc/bash/README.Debian
file for bash.

A kind of FAQ for bash on Debian/GNU\ {Linux,Hurd}
--

1. How can I make /bin/sh point to something else?

   Type

dpkg-divert --add /bin/sh

   and then point it to whatever you want. Upgrades to bash  won't upgrade
   the /bin/sh symlink. To put /bin/sh under dpkg control again, type

dpkg-divert --remove /bin/sh

HTH,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Y2K problem with slrn?

2000-01-02 Thread Brian Servis
*- On  2 Jan, Colin Watson wrote about Re: Y2K problem with slrn?
 Pann McCuaig [EMAIL PROTECTED] wrote:
Here is my $HOME/.jnewsrc.time:

NEWGROUPS 1000102 173956 GMT

Looks like there's a 100 where a 2000 ought to be.
 
 See:
 
   http://cgi.debian.org/cgi-bin/bugreport.cgi?bug=53811
 
 I imagine there'll be a new release of slrn out soon that solves this
 problem.
 

Actually the one in potato contains the fix but apparently this wasn't
caught for the y2k slink release(2.1r4).  The current pilot-manager
package has the same type of bug in it as well.  You could always build
the potato source package on your slink system.

The bug by the way is the result of sloppy programming.  There is a c
library call that returns the year as the number of years from 1900,
also used in perl's Time::Local.  Authors were using that as the two
digit year or just appending it to 19, so you are either seeing years of
100 or years of 19100. 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: where is /dev/mouse???

2000-01-01 Thread Brian Servis
*- On  1 Jan, Kris Prieb wrote about where is /dev/mouse???
 Here is my problem.  I have just finished installing Debian/GNU Linux 2.1 on 
 my Pentium II machine and have begun to install and configure X.  When I try 
 to execute 'startx' I get the error output listed below.  It appears that 
 'startx' requires the device file '/dev/mouse'  I think this file was 
 supposed to have been created during my Debian installation but somehow it  
 wasn't.  Anyone know where I slipped up during the installation and whether 
 or not I can correct the problem without reinstalling?  Any help would be 
 greatly appreciated.
[ick, your mailer doesn't wrap your lines]

/dev/mouse is not a real device file.  It should just be a symbolic link
to your real mouse device.  Since you are telling it you have a ps/2
mouse you can either make the link from /dev/mouse to /dev/psaux or just
tell it to use /dev/psaux and forget about the /dev/mouse link.  If you
want to use the /dev/mouse link then do the following as root.

cd /dev
rm mouse
ln -s psaux mouse

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: correct apt sources.list line for non-us?

1999-12-31 Thread Brian Servis
*- On 30 Dec, matt garman wrote about correct apt sources.list line for 
non-us?
 
 What is the correct line to use in /etc/apt/sources.list for the
 unstable non-us files?
 
 I tried the following:
 
 deb http://non-us.debian.org/debian-non-US unstable non-US
 
 but I always get a 404 not found error.
 
 What I am I doing wrong?
 

The format of the archive was changed for non-us between slink and
potato to include main, contrib and non-free sections.  This is not very
well documented, hopefully it will be in the release notes once potato
is released.

deb http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: apt manpage missing

1999-12-31 Thread Brian Servis
*- On 31 Dec, David Karlin wrote about apt manpage missing
 Hello,
 The manpage for apt seems to be missing, although the manpage for
 apt-get is present, on my (slink) system.
 
 I'd thought that a program's manpage is installed with the package
 itself, but it doesn't seem to have happened in this case.
 
 How can I get this manpage installed on my system?  Do I need to
 reinstall apt?
 
 Thanks and happy new year.
 

I have apt v0.3.15 installed on potato and you are not missing much.
Below is the entire man page for apt(8).

NAME
   apt - Advanced Package Tool

SYNOPSIS
   apt

DESCRIPTION
   APT  is  a management system for software packages.  It is
   still under development; the snazzy front ends are not yet
   available.  In the meantime, please see apt-get(8).

OPTIONS
   None.

FILES
   None.

SEE ALSO
   apt-cache(8), apt-get(8), sources.list(5)

DIAGNOSTICS
   apt  returns  zero  on  normal  operation,  decimal 100 on
   error.

BUGS
   This manpage isn't even started.

   See http://www.debian.org/Bugs/db/pa/lapt.html.  If  you
   wishtoreporta   bug   in   apt,   please   see
   /usr/doc/debian/bug-reporting.txt or the bug(1) command.

AUTHOR
   apt was written by the APT team [EMAIL PROTECTED].



Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Kernel Upgrade: Slink to Potato

1999-12-31 Thread Brian Servis
*- On 31 Dec, Patrick Dahiroc wrote about RE: Kernel Upgrade: Slink to Potato
  thanks for the info on Potato.  if i do decide to go to Potato is there
 something i should be wary of.  it appears from the other distro that the
 2.2 kernel is working fine.  does Potato have any specific issues with the
 2.2 kernel i.e is something horribly broken that makes Potato very unstable
 under kernel 2.2?
 

Not at all.  Potato is 'kernel 2.2 certified', meaning it is designed to
work without any problems with 2.2 kernels.  Thi biggest issue for
potato right now is that the package freeze is approaching and I suspect
that there might be a rapid influx of updated or new packages just
before the freeze.  I have been running potato with a 2.2 kernel for
several months now and haven't had any major problems.  If you are
cautious just watch debian-user and debian-devel for problem packages
before you do an update once you have potato installed.  If you don't
have a pressing need to upgrade and are nervous about it then don't and
wait for the release to happen in late Feb.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Proposal: Source file package format

1999-12-31 Thread Brian Servis
*- On 31 Dec, Fish Smith wrote about Re: Proposal: Source file package format 
Big problem is getting guys like LSB to buy the .deb
format. I haven't
researched it, but even guys on the Red Hat list say
it's better.
 
There are two really horrible things about Debian,
though. 1) The
dselect
package handler. I'm speaking from Debian 2.1 here.
It has a very
primitive interface and is incredibly tedious. Maybe
they're doing
something different in potato.
 
 I don't use dselect.  I manually download all the
 packages and install and remove them with dpkg from
 the command line.  Works fine for me, although it is a
 bit of a pain for packages with lots of dependencies
 to look up and grab all of them individually.  Still,
 the interface I've found far easier than dselect.
 

I love dselect.  It just takes some getting used to.  
Have you tried apt-get yet(In the apt package)?  It will save you the
trouble of having to track down all the dependencies.  Just 'apt-get
install package' and it will download the package and all it's
dependencies for you.

Example for gnome-apt(I don't have any of the gnome stuff installed)

# apt-get install gnome-apt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  esound gdk-imlib1 gnome-bin gnome-libs-data libart2 libgnome32
  libgnomesupport0 libgnomeui32 libgnorba27 libgnorbagtk0 libzvt2 
The following NEW packages will be installed:
  esound gdk-imlib1 gnome-apt gnome-bin gnome-libs-data libart2 libgnome32
  libgnomesupport0 libgnomeui32 libgnorba27 libgnorbagtk0 libzvt2 
0 packages upgraded, 12 newly installed, 0 to remove and 14 not upgraded.
Need to get 1289kB of archives. After unpacking 4247kB will be used.
Do you want to continue? [Y/n] 

That would have taken a full day to track down all those dependencies!

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Upgrading slinkr1 -- r4

1999-12-30 Thread Brian Servis
*- On 30 Dec, Konrad Mierendorff wrote about Upgrading slinkr1 -- r4
 Hi,
 
 I'd really like to upgrade but not with apt-get and my 33.6-Modem.
 Therefore I downloaded all packages mentioned in
 ftp://ftp.debian.org/debian/dists/stable/ChangeLog; at the local
 Universitiy. (I simply grepped all lines starting with dists --
 please tell me if this is not enough!)
 Now I have all the packages on my disk but when I put the tree into
 /etc/apt/sources.list and do an apt-get update it complains about
 missing Packages.gz files.
 I tried to put these files together but wasn't very succesfull as there
 doesn't seem to be much documentation on this. (My approach was to put
 the output of dpkg --info executed in a for loop over all packages in
 one file, but that didn't work :-( )
 Please help me if there is an easy to build Packages.gz files or give me
 a pointer to some usable information.
 

Make sure you have the dpkg-dev package installed.

cd to parent directory of all your debs.

dpkg-scanpackages dir of debs /dev/null  dir of debs/Packages

Then add the following to your sources.list,

deb file:path to parent of Debs/ dir of debs/

Example:

All my locally compiled debs are in /usr/local/Debian-Src/Debs

cd /usr/local/Debian-Src
dpkg-scanpackages Debs /dev/null  Debs/Packages
echo deb file:/usr/local/Debian-Src/ Debs/  /etc/apt/sources.list
apt-get update

This works for me, there may be other ways to do it.
 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: debian-user mangles mails

1999-12-30 Thread Brian Servis
No, some mail to news gateway is broken and is bouncing ALL debian-devel
mails back to debian-user.  Notice the Sender and
X-Authentication-Warning headers.  I have notified
[EMAIL PROTECTED] and
root/postmaster/[EMAIL PROTECTED]  But it is still doing it.

I think the solution for now is to make a filter to /dev/null for all
mail from webforce.com.hk.


*- On 30 Dec, Kai Henningsen wrote about debian-user mangles mails
 Here's an example:
 
 Return-path: [EMAIL PROTECTED]
 Envelope-to: [EMAIL PROTECTED]
 Delivery-date: Wed, 29 Dec 1999 16:42:37 +0100
 Received: from uucp by khms.westfalen.de with local-bsmtp (Exim 3.11 #1)
  id 123LFF-CG-01 (Debian); Wed, 29 Dec 1999 16:42:37 +0100
 Received: from murphy.debian.org ([209.41.108.199])
  by muenster.westfalen.de with smtp (Exim 2.05 #1)
  id 123KeC-0004xK-00
  for [EMAIL PROTECTED]; Wed, 29 Dec 1999 16:04:22 +0100
 Received: (qmail 5231 invoked by uid 38); 29 Dec 1999 15:02:51 -
 Resent-Date: 29 Dec 1999 15:02:50 -
 Resent-Cc: recipient list not shown: ;
 X-Envelope-Sender: [EMAIL PROTECTED]
 X-Authentication-Warning: niet.webforce.com.hk: news set sender to
 [EMAIL PROTECTED] using -f To: debian-user@lists.debian.org
^^^

 Date: 29 Dec 1999 23:00:43 +0800
 From: [EMAIL PROTECTED] (Marek Habersack)
 Message-ID: [EMAIL PROTECTED]
 Organization: I just...
 Content-Type: multipart/signed; micalg=pgp-md5;
 Sender: [EMAIL PROTECTED]


 Reply-To: [EMAIL PROTECTED]
 Subject: su, sudo and resource limits
 Resent-Message-ID: [EMAIL PROTECTED]
 Resent-From: debian-user@lists.debian.org
 X-Mailing-List: debian-user@lists.debian.org archive/latest/76902
 X-Loop: debian-user@lists.debian.org
 Precedence: list
 Resent-Sender: [EMAIL PROTECTED]
 
 Note that Content-Type: line?
 
 Here's the same header from debian-devel:
 
 Return-Path: [EMAIL PROTECTED]
 Envelope-To: [EMAIL PROTECTED]
 Delivery-Date: Wed, 29 Dec 1999 16:42:37 +0100
 Received: from uucp by khms.westfalen.de with local-bsmtp (Exim 3.11 #1)
  id 123LFE-CG-0A (Debian); Wed, 29 Dec 1999 16:42:36 +0100
 Received: from murphy.debian.org ([209.41.108.199])
  by muenster.westfalen.de with smtp (Exim 2.05 #1)
  id 123Kbi-0004lA-00
  for [EMAIL PROTECTED]; Wed, 29 Dec 1999 16:01:47 +0100
 Received: (qmail 323 invoked by uid 38); 29 Dec 1999 14:58:20 -
 Resent-Date: 29 Dec 1999 14:58:20 -
 Resent-CC: recipient list not shown: ;
 X-Envelope-Sender: [EMAIL PROTECTED]
 Date: Wed, 29 Dec 1999 15:57:25 +0100
 From: Marek Habersack [EMAIL PROTECTED]
 To: debian-devel@lists.debian.org
 Subject: su, sudo and resource limits
 Message-Id: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Mime-Version: 1.0
 Content-Type: multipart/signed; micalg=pgp-md5;
  protocol=application/pgp-signature; boundary=zYM0uCDKw75PZbzx
 User-Agent: Mutt/1.0i
 Organization: I just...
 Resent-Message-Id: [EMAIL PROTECTED]
 Resent-From: debian-devel@lists.debian.org
 X-Mailing-List: debian-devel@lists.debian.org archive/latest/51714
 X-Loop: debian-devel@lists.debian.org
 Precedence: list
 Resent-Sender: [EMAIL PROTECTED]
 
 Note the second line. I assume something processing debian-user mails  
 mishandles (that is, drops) continuation lines. Probably the same stuff  
 that rearranges them (something that also should not happen).
 
 MfG Kai
 
 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Possible hosts.allow problem

1999-12-30 Thread Brian Servis
*- On 29 Dec, Carl Fink wrote about Possible hosts.allow problem
 In order to use IP-Masq I had to edit hosts.allow to accept
 connections from my own other PC.  The only uncommented line there now
 reads:
 
 ALL: LOCAL 198.168.1.*
 

Shouldn't it be:

ALL: LOCAL, 192.168.1.

or for your network

ALL: LOCAL, 192.168.0.

Notice there is no * in there.  Read the man page for hosts_access(5). 

   ·  A  string  that  ends  with a `.´ character. A host
  address is matched  if  its  first  numeric  fields
  match  the  given string.  For example, the pattern
  `131.155.´ matches the address  of  (almost)  every
  hoston   the   Eindhoven   University   network
  (131.155.x.x).

Although I don't know what effect the * has on the rules.


 Since my laptop is 198.168.0.2, this *shouldn't even work*.  (I
 originally typoed the IP address and just noticed it while typing this
 message!)  However, since adding that line to hosts.allow, suddenly my
 box is open *from any host anywhere*.  I've just confirmed this by
 telnetting to my ISP's host and playing:  my ftp, telnet, and SMTP
 ports are all open.
 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Kernel Upgrade: Slink to Potato

1999-12-30 Thread Brian Servis
*- On 30 Dec, Patrick Dahiroc wrote about Kernel Upgrade: Slink to Potato
 hi
 
 i'm thinking of upgrading to Potato - from what i've read is that Potato is
 pretty safe to use - i realize that i need to upgrade my kernel to do this.

potato should run just fine on a 2.0.x kernel.  I would only do one
upgrad potato/kernel at a time.

 If is give the commands
   root apt-get update
   root apt-get dist-upgrade
 with the sources.list pointing to unstable.  will this automatically get the

Point it at the release name of potato and not unstable.  When potato
finally goes stable you don't want a suprise the next time you update
apt-get and you have upgraded to the next unstable(woody) release.

 2.2.? kernel and go through the configuration process.  or do i have to get
 the latest kernel first configure it and then run the apt-get commands.
 

No, the kernel will not automatically upgrade.  This topic has been
hashed out before on this list, check the archives.  You will need to
grab the kernel source package and build you own kernel.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Upgrade to potato left Perl 5.004 behind??

1999-12-29 Thread Brian Servis
*- On 28 Dec, William Burrow wrote about Upgrade to potato left Perl 5.004 
behind??
 I upgraded to potato, hoping to get access to all the fine stuff in the
 distro, but find I am stuck with Perl 5.004.  Packages I want to install
 want 5.005.  I want Perl 5.005.  Why is it that apt left 5.004 behind?
 Is the reason logged somewhere?  Is there something I missed that might
 do the upgrade?  Do I have to ditch some packages that depend on 5.004?
 Why would dist-upgrade miss this?  
 
 Thanks for info!
 

Perl 5.005 and Perl 5.004 are significantly different in their
compatibility that it was decided to make two independent packages of
the two that can coexist on the system.  You can install the perl-5.005
package and dselect should pull in the other needed packages.  After
that is installed try removing the perl-5.004 packages and see if
anything depends on them.  They both provide perl5-base so perl-5.005
should satisfy the needs of packages that perl-5.004 was satisfying. I
no longer have any perl-5.004 packages on my potato system and don't
have any problems.

Search the debian-perl, debian-devel and debian-policy archives from
earlier this year(May onward) for all the discussion.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: slink -- potatoe?

1999-12-29 Thread Brian Servis
*- On 29 Dec, Robert L. Harris wrote about slink -- potatoe?
 
 Ok,
   I have a box on a 33.6K modem I want to up grade to potatoe, either before
 or after it goes final.  Is therre an apt-get command I can run before I
 go to bed that will do it cleanly for me?
 

Edit /etc/apt/sources.list to point to potato (no e unless you are Dan
Quayle, =) ).

apt-get update
apt-get -d dist-upgrade  (notice the -d option)

Then when all has downloaded over you modem and the above command
completes without any error messages,

apt-get dist-upgrade  (without the -d option)  

The -d option tells apt-get to only download and not install the
packages.  With a modem it is possible that you will loose the
connection and some files not get completely downloaded.  Once all the
files are downloaded then run apt-get without the -d option so that it
will install and configure the packages.  Note you will need ALOT of
space in /var/cache/apt to hold all the packages so make sure you have
space available.  Before apt-get starts the download it will tell you
how much it is going to download so use that as your guide.

HTH,
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: slink -- potatoe?

1999-12-29 Thread Brian Servis
*- On 29 Dec, William Burrow wrote about Re: slink -- potatoe?
 On Wed, Dec 29, 1999 at 11:40:16AM -0500, Brian Servis wrote:
 *- On 29 Dec, Robert L. Harris wrote about slink -- potatoe?
  
  Ok,
I have a box on a 33.6K modem I want to up grade to potatoe, either 
  before
  or after it goes final.  Is therre an apt-get command I can run before I
  go to bed that will do it cleanly for me?
  
 
 Edit /etc/apt/sources.list to point to potato (no e unless you are Dan
 Quayle, =) ).
 
 apt-get update
 apt-get -d dist-upgrade  (notice the -d option)
 ...
 The -d option tells apt-get to only download and not install the
 packages.  With a modem it is possible that you will loose the
 connection and some files not get completely downloaded.  Once all the
 
 The -d option does not seem to be required.  apt-get will automatically
 detect that it has not downloaded all the packages and asks you if you
 want to continue downloading when you restart it.  With my 28k8 modem,
 it took nearly 24 hours to download 195MB of updates.  This depends on
 how chock-a-block you made your system.  I have most of the development
 stuff installed, because that is an interest area for me.
 

But if by some miracle it makes it through in one shot it won't start
the actually upgrade while you are away from the computer.  I always
prefer to sit and watch what is happening as the upgrade is taking
place.

 apt-get dist-upgrade  (without the -d option)  
 
 You have to sit by during this process and hand-hold apt-get through the
 process because it stops to ask you questions.  This is somewhat
 annoying.  Also, there are two or three changes to config files you must
 make manually, depending on the packages you have installed (modules,
 svgatext and one other I've forgotten to update, obviously).
 

Yes, this is an issue.  Actually it is dpkg that is asking the
questions, apt-get is just ording things and telling dpkg what to
install. The new debconf package in potato is aiming at making this less
of a hassle. I would recommend installing it. Although it won't help for
the first round of the upgrade.  Other things to look out for are the
split up of several packages like netstd.  Although I think they have
been mostly fixed in terms of upgrading and not leaving you without
services, but I may be wrong.  

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Packages referenced but missing from the archive

1999-12-29 Thread Brian Servis
*- On 30 Dec, Bart Warmerdam wrote about Re: Packages referenced but missing 
from the archive
 On Wed, Dec 29, 1999 at 02:55:19AM +0100, Ingo Saitz wrote:
 MoiN
 
 On Mon, Dec 27, 1999 at 12:09:09AM +1100, Martijn van Oosterhout wrote:
  I went and grabbed all the Packages files for all the distributions
  I know of (main, contrib, non-free, non-us/main, non-us/contrib, 
  non-us/non-free), and went and checked wether all the dependencies
  can be satisfied. As it turns out, there are many packages referencing
  other non-existant packages.
 
 You mean you did apt-cache unmet?
 
 I get 94 Packages with unmet dependencies (please try apt-cache unmet
 to see why):
 
 Mmmm... What this tell me??
 
 emperor:~# apt-cache unmet | grep -n ^Package | tail -1
 425:Package cxterm-jis version 5.1p1-3 has an unmet dep:
 
 Only 425 packages with unmet dependencies... Nice!
 

Try 'wc -l' and not 'tail -1', the line number from grep is counting all
the output lines and not just the matching Package lines.

# apt-cache unmet | grep -n ^Package | tail -1
321:Package karchiveur version 0.52-1 has an unmet dep:
# apt-cache unmet | wc -l
322
# apt-cache unmet | grep -n ^Package | wc -l
148


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: debian-user mangles mails

1999-12-29 Thread Brian Servis
No, some mail to news gateway is broken and is bouncing ALL debian-devel
mails back to debian-user.  Notice the Sender and
X-Authentication-Warning headers.  I have notified
[EMAIL PROTECTED] and
root/postmaster/[EMAIL PROTECTED]  But it is still doing it.

I think the solution for now is to make a filter to /dev/null for all
mail from webforce.com.hk.


*- On 30 Dec, Kai Henningsen wrote about debian-user mangles mails
 Here's an example:
 
 Return-path: [EMAIL PROTECTED]
 Envelope-to: [EMAIL PROTECTED]
 Delivery-date: Wed, 29 Dec 1999 16:42:37 +0100
 Received: from uucp by khms.westfalen.de with local-bsmtp (Exim 3.11 #1)
  id 123LFF-CG-01 (Debian); Wed, 29 Dec 1999 16:42:37 +0100
 Received: from murphy.debian.org ([209.41.108.199])
  by muenster.westfalen.de with smtp (Exim 2.05 #1)
  id 123KeC-0004xK-00
  for [EMAIL PROTECTED]; Wed, 29 Dec 1999 16:04:22 +0100
 Received: (qmail 5231 invoked by uid 38); 29 Dec 1999 15:02:51 -
 Resent-Date: 29 Dec 1999 15:02:50 -
 Resent-Cc: recipient list not shown: ;
 X-Envelope-Sender: [EMAIL PROTECTED]
 X-Authentication-Warning: niet.webforce.com.hk: news set sender to
 [EMAIL PROTECTED] using -f To: debian-user@lists.debian.org
^^^

 Date: 29 Dec 1999 23:00:43 +0800
 From: [EMAIL PROTECTED] (Marek Habersack)
 Message-ID: [EMAIL PROTECTED]
 Organization: I just...
 Content-Type: multipart/signed; micalg=pgp-md5;
 Sender: [EMAIL PROTECTED]


 Reply-To: [EMAIL PROTECTED]
 Subject: su, sudo and resource limits
 Resent-Message-ID: [EMAIL PROTECTED]
 Resent-From: debian-user@lists.debian.org
 X-Mailing-List: debian-user@lists.debian.org archive/latest/76902
 X-Loop: debian-user@lists.debian.org
 Precedence: list
 Resent-Sender: [EMAIL PROTECTED]
 
 Note that Content-Type: line?
 
 Here's the same header from debian-devel:
 
 Return-Path: [EMAIL PROTECTED]
 Envelope-To: [EMAIL PROTECTED]
 Delivery-Date: Wed, 29 Dec 1999 16:42:37 +0100
 Received: from uucp by khms.westfalen.de with local-bsmtp (Exim 3.11 #1)
  id 123LFE-CG-0A (Debian); Wed, 29 Dec 1999 16:42:36 +0100
 Received: from murphy.debian.org ([209.41.108.199])
  by muenster.westfalen.de with smtp (Exim 2.05 #1)
  id 123Kbi-0004lA-00
  for [EMAIL PROTECTED]; Wed, 29 Dec 1999 16:01:47 +0100
 Received: (qmail 323 invoked by uid 38); 29 Dec 1999 14:58:20 -
 Resent-Date: 29 Dec 1999 14:58:20 -
 Resent-CC: recipient list not shown: ;
 X-Envelope-Sender: [EMAIL PROTECTED]
 Date: Wed, 29 Dec 1999 15:57:25 +0100
 From: Marek Habersack [EMAIL PROTECTED]
 To: debian-devel@lists.debian.org
 Subject: su, sudo and resource limits
 Message-Id: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Mime-Version: 1.0
 Content-Type: multipart/signed; micalg=pgp-md5;
  protocol=application/pgp-signature; boundary=zYM0uCDKw75PZbzx
 User-Agent: Mutt/1.0i
 Organization: I just...
 Resent-Message-Id: [EMAIL PROTECTED]
 Resent-From: debian-devel@lists.debian.org
 X-Mailing-List: debian-devel@lists.debian.org archive/latest/51714
 X-Loop: debian-devel@lists.debian.org
 Precedence: list
 Resent-Sender: [EMAIL PROTECTED]
 
 Note the second line. I assume something processing debian-user mails  
 mishandles (that is, drops) continuation lines. Probably the same stuff  
 that rearranges them (something that also should not happen).
 
 MfG Kai
 
 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: using swap files - where do I activate at boot?

1999-12-28 Thread Brian Servis
*- On 28 Dec, [EMAIL PROTECTED] wrote about using swap files - where do I 
activate at boot?
 I inherited a Debian system running potato.  The system occassionaly was
 running out of memory so I thought I should increase my virtual memory. 
 Rather than repartitioning the hard drive to add another swap partition, I
 thought it would be best to just use a swap file.  So, I've created the
 file with dd, made it a swap file with mkswap, and activated it with
 swapon, and it's working fine.  My question is, what is the best way to
 activate the swap file at boot time?
 

Just add it to your /etc/fstab.

/path/to/swapfile   none   sw  

It will get added to the swap at boot with the rest of the swap space. I
would recommend giving your swap partitions/files different priorities
in this case so that the faster partitions are higher priority and the
swap files are lower priority.  See swapon(2) for more details.

/dev/of/swap/partition   none   sw,pri=1
/path/to/swapfilenone   sw,pri=0


HTH,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: DEB files

1999-12-26 Thread Brian Servis
*- On 26 Dec, Tux wrote about DEB files
 Hello,
 
   How to create .deb files?

http://www.debian.org/doc/maint-guide/
http://www.debian.org/doc/packaging-manuals/packaging.html/

   How to convert .rpm files do .deb files?
 

Install the alien package and read the man page and then try,

alien file.rpm


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: DEB files

1999-12-26 Thread Brian Servis
*- On 26 Dec, Shaul Karl wrote about Re: DEB files 
 *- On 26 Dec, Tux wrote about DEB files
  Hello,
  
How to create .deb files?
 
 http://www.debian.org/doc/maint-guide/
 
 1) Is there a postscript version of this doc somewhere?

Check your local Debian mirror in the doc/package-developer/ directory:

ftp://ftp.debian.org/debian/doc/package-developer/

 2) On my system, a bug with html2ps does not seems to get
 solved. What are the alternatives?  
 

Don't know. 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Download Whole Directories from Apache?

1999-12-24 Thread Brian Servis
*- On 23 Dec, Art Lemasters wrote about Download Whole Directories from 
Apache?
  I run an Apache Web server.  How can I allow someone else to
 download a whole directory of HTML files from my site with just
 one command line?  Is there a module, existing command, configuration
 or other Debian Linux program that will facilitate this?  I am
 running Potato here, with kernel 2.2.13.
 

Have you looked at wget?  It has mechanisms for mirroring web sites and
sucking in all the appropriate links, etc.  This would be used by the
user on their end.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Charset nls_iso8859_1 not found

1999-12-24 Thread Brian Servis
*- On 24 Dec, Georg Colle wrote about Charset nls_iso8859_1 not found
 Hi,
 
 mount -t vfat /dev/fd0 /floppy throws following message: unable to load NLS
 charset iso8859-1 (nls_iso8859_1). What can I do that mount finds this
 charset?
 I'm running the Atari version of Debian m68k kernel-image-2.0.36 on a Falcon
 030.
 

You need to recompile the kernel to include support for this character
set.  You can have it as a module as well which works well.  The exact
option name is CONFIG_NLS_ISO8859_1.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: I thought KDE wasn't included because of QT?!?

1999-12-23 Thread Brian Servis
*- On 23 Dec, Bart Szyszka wrote about I thought KDE wasn't included because 
of QT?!?
 Hi,
 
 I just thought of something. I thought the whole reason why KDE wasn't
 included in the Debian download trees because of the licensing issues
 with QT. If that's the case, then why is QT included in the download tree?!?
 If QT is OK to put in there then what's the point of saying KDE can't be
 there?
 

QT v1 is included in the non-free section.  The problem is that KDE is
supposed to be under the GPL but is violating the GPL by linking to QT
which is non-free.  So Debian and others decided not to include KDE
until they either fixed the licensing issues or QT became free.  QT v2
is under less restrictive license and thus once KDE is built with the
new QT then it will go in main.  This is all just my rough
interpetation. See
http://www.debian.org/News/1998/19981008 for all the details.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: I thought KDE wasn't included because of QT?!?

1999-12-23 Thread Brian Servis
*- On 23 Dec, Bart Szyszka wrote about Re: I thought KDE wasn't included 
because of QT?!?
 QT v1 is included in the non-free section.  The problem is that KDE is
 supposed to be under the GPL but is violating the GPL by linking to QT
 which is non-free.  So Debian and others decided not to include KDE
 until they either fixed the licensing issues or QT became free.  QT v2
 is under less restrictive license and thus once KDE is built with the
 new QT then it will go in main.  This is all just my rough
 interpetation. 
 
 See this I don't understand. If they're not including KDE because it has a
 non-free program as a dependency, then what about Licq? In the stable
 tree, it depends on qt1g:
 http://www.debian.org/Packages/stable/net/licq.html
 http://www.debian.org/Packages/stable/libs/qt1g.html
 

Licq is in the contrib tree since itself is free but depends on a
non-free package.  The licq authors have written an exception into their
license for use with Qt. This type of exception is allowed under the
GPL.  The KDE folks had/have no exception and thus were/are violating
the GPL. This is one of the solutions that was mentioned in the Debian
page in regards to the KDE issues.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Quake1 included now that GPLed?

1999-12-23 Thread Brian Servis
*- On 23 Dec, Harlan Crystal wrote about Quake1 included now that GPLed?
 Hello.
 
 
 Quake1 was recently GPLed.
 
 Does that make it a candidate to become a debian package
 for the games section?  It would be a great addition to the 
 games section.
 

First, it will have to be in the contrib section because you still need
the non-free .pak files to actually play the game.  Just the engine of
the game was released.

Second, Quake, Doom, and other games are illegal in several countries
like Brazil and Germany.  So if Debian includes them on any CD then
those CD's can not be sold at all in those countries.

Third, there are Debian developers working on it, be patient.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: libc6-dev versus libncurses4-dev

1999-12-23 Thread Brian Servis
*- On  4 Nov, Ulrich Hansmair wrote about libc6-dev versus libncurses4-dev
 hi debian-freaks,
 
 currently I installed potato with downloaded install-disks. Then I got me a
 few tiny things like less,  with apt-get. I´ m not very experienced with
 linux, but it worked fine.
 
 Now I wanna compile me a kernel. So I got me all the needed packages 
 (gcc,...).
 As I wanna use make menuconfig I tried to install the package 
 libncurses4-dev
 (with dpkg -i). This resulted in a dependency error with package libc6-dev.
 This dependency problem exists also the other way round.
 
 What I m doing wrong? Even the --force-depends option of dpkg brought no
 solution. Can anybody give me a hint?
 

Well libncurses4-dev does depend on libc6-dev:

Package: libncurses4-dev
Status: install ok installed
Priority: standard
Section: devel
Installed-Size: 1127
Maintainer: Galen Hazelwood [EMAIL PROTECTED]
Source: ncurses
Version: 4.2-3.4
Replaces: ncurses-developer
Provides: ncurses-dev, ncurses-developer, libncurses-dev
Depends: libncurses4, libc6-dev
^
Conflicts: ncurses, ncurses-developer, ncurses21-dev, ncurses-dev, 
libncurses-dev
Description: Developer's libraries and docs for ncurses
 This package contains the header files, static, and profiling
 libraries and symbolic links that developers using ncurses will need.


But libc6-dev does NOT depend on libncurses4-dev.  It does conflict with
an earlier version though.


Package: libc6-dev
Status: install ok installed
Priority: standard
Section: devel
Installed-Size: 7762
Maintainer: Joel Klecker debian-glibc@lists.debian.org
Source: glibc
Version: 2.1.2-10
Replaces: ldso ( 1.9.0-0), man-db (= 2.3.10-41), gettext\
 (= 0.10.26-1), ppp (= 2.2.0f-24), libgdbmg1-dev (= 1.7.3-24)
Provides: libc-dev
Depends: libc6 (= 2.1.2-10)
^^^
Recommends: c-compiler
Suggests: glibc-doc
Conflicts: libc-dev, libstdc++2.9-dev, libdl1-dev, libdb1-dev, \
libgdbm1-dev, libpthread0-dev, gcc (= 2.7.2.3-1), \
libncurses4-dev ( 4.2-3.1), libreadlineg2-dev ( 2.1-13.1)
^
Description: GNU C Library: Development libraries and header files.
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.


I would just use apt-get to install libncurses4-dev and it will pull in
libc6-dev and whatever else it needs:

apt-get install libncurses4-dev


HTH,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Quake1 included now that GPLed?

1999-12-23 Thread Brian Servis
*- On 23 Dec, Harlan Crystal wrote about RE: Quake1 included now that GPLed?
 
 There have been several quake packages on there. xquake, squake,
 quake2. xquake works very well for me.
 
 they dont include the maps do they?  I was under the 
 impression that the maps were GPLed as well.
 

Nope, the maps are not GPLed.  See the discussion on Slashdot with posts
from John Carmack himself on the issue,
http://slashdot.org/article.pl?sid=99/12/21/2210251.



Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: TERM=xterm-debian

1999-12-22 Thread Brian Servis
*- On 23 Dec, Andrew J.F. Clark wrote about TERM=xterm-debian
 Whenever I use ssh (I'm not sure about telnet) to connect to the
 slakware boxes at work through an xterm or rxvt and try to use pine and
 pico etc, I get an error about unknown terminal xterm-debian (or rxvt). 
 I can solve this by export TERM=xterm, but I'm just wondering if there
 is any particular reason debians xterm set TERM to this and if there
 isn't, how do I change it so that it doesn't anymore.
 

FAQ: Read /usr/{share/}doc/xterm/README.Debian

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: CyberPower (was APC UPS (Back-UPS Pro 650)

1999-12-22 Thread Brian Servis
*- On 22 Dec, Pann McCuaig wrote about CyberPower (was APC UPS (Back-UPS Pro 
650)
 On Tue, Dec 21, 1999 at 22:17, Peter S Galbraith wrote:
 
 Then buy a CyberPower instead.  Much cheaper.  I picked up a 1500 VA
 CyberPower for US$99.  It runs my computer for an hour!
 
 Vendor, anyone?
 

http://www.outpost.com  has several of them with free overnight
shipping(I assume US only on the shipping though).

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Building customized packages

1999-12-22 Thread Brian Servis

*- On 22 Dec, [EMAIL PROTECTED] wrote about Building customized packages
 I'd like to install the stock apcupsd module but have found some
 shortcomings in the pre-packaged version. Namely that I have /usr on
 it's own partition and when a shutdown is performed, because of a
 power failure, apcupsd won't power off the UPS because /usr isn't
 mounted at the point in the halt script from which apcupsd is called
 to power off the UPS.
 

This sounds like a general problem with the package.  I would suggest
filling a bug report to Debian about it.  You can't be the only one with
this problem since many people put /usr on a separate partition.


 What I need to do is link apcupsd statically and install all the
 binaries on the / partition, eg., /sbin. I downloaded the source
 package and I figured out how to statically link apcupsd, but I'm not
 sure how to get the utilities to install in /sbin instead of
 /usr/sbin. Also, suppose I modify the package and use
 dpkg-buildpackage to make an apcupsd_3.6.2-1_i386.deb file. How do I
 keep that from being superceeded by a new version from.
 
 I guess my basic question is how do I take a debian source package,
 customize it to my needs, build a *.deb file, install it and keep it
 from being removed in favor of a new version when one comes down the
 pipe from the Debian developers? Is there a procedure for this kind of
 thing?
 

You need to edit the debian/rules file in the Debian source package.
That is just a make file and it should contain all the installation
locations in some form or another.  During the build process it first
gets placed under the debian/tmp directory in the layout that it would
be under / once it is installed.  So you need to find the location
information that is placing in under debian/tmp and modify that.  Then
just run 'debian/rules binary' and it should build the new package.  You
might want to add a entry to debian/changelog to note your changes. Once
your new package is built and installed you can use dselect to place it
on hold so that newer Debian packages don't install over the top of it.

HTH,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Troubles with moving /var

1999-12-21 Thread Brian Servis
*- On 20 Dec, Ethan Benson wrote about Re: Troubles with moving /var
 On 20/12/99 aphro wrote:
 

cp -a doesn't work on more obscure platforms like irix..there is a tar
command..that acts like cp -a i saw it posted in a magazine(Maximum
Linux) but i forgot what it was, if its linux its safe to use cp -a
 
 probably something like (cd / ; tar -cvpf - var) | (cd /home ; tar -xvpf -)
 
 quite a bit more obnoxious then cp -a for sure, but iirc it seemed to 
 deal with symlinks a bit better.  there is a cpio way too but i'll 
 leave that to someone else.
 
 the key is when using tar use the -p switch !!  :-)
 
 

cd /var; find . -mount | cpio -dumpv /home/var

has done the trick for me several times.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: MTA

1999-12-21 Thread Brian Servis
*- On 21 Dec, Steve Lamb wrote about Re: MTA
 Tuesday, December 21, 1999, 9:14:31 AM, Joe wrote:
 I never liked smail or exim, and sendmail seems like overkill for a
 small site.
 
 Count me in as another vote for postfix.  I used to run qmail back when
 I still ran RedHat, but switched to postfix a few months before I
 switched to Debian.
 
 postfix is a lot easier to configure and has the advantage of being
 designed from the beginning for security.
 
 Personally I think any MTA is too much of an overkill for off-line
 reading/replying of email.  Personally I think the MUA should have an option
 to defer the mail and then have a command-line option to have it deliver to a
 configured SMTP server, supplied by the ISP, who then performs delivery from
 there.  But, hey, what do I know.
 

The MUA Tkrat does this.  It is tcl/tk based and does allow you to defer
all messages and then send them out(via a menu selection) whenever you
want to a smtp host.  I personally don't use this feature but it is
there. Version 1.2 is currently packaged for Debian and 2.0 beta5 is
available from http://www.dtek.chalmers.se/~maf/ratatosk/.

There are also several MTA's designed for dial-up accounts that don't
have all the advanced features of sendmail, smail, exim, qmail, etc.
Masqmail being one that I am curious about which is packaged for potato.
Haven't tried it as I don't have time to deal with a change in MTA
config right now.  But it does look interesting as it is meant to work
with ppp and the ip-up scripts.



Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Startup-scripts

1999-12-21 Thread Brian Servis
*- On 21 Dec, [EMAIL PROTECTED] wrote about Startup-scripts
 *please CC all replies to me, as I am not subscribed to this list. thanks*
 
 Hello all,
 
 I am using Debian GNU/Linux potato i386. I have written a ipchains
 firewall script that I would like to be executed automatically during
 startup.
 
 Where would I put this (shell) script? I know that Debian has rules
 
 Where would I put this (shell) script? I know that Debian has rules
 about the proper way to do certain system config things - what is
 the proper way to do this?
 

Put your script in /etc/init.d.  Try and make it accept 'start' and
'stop' arguments if appropriate.  See /etc/init.d/README and
/etc/init.d/skeleton for an example and pointers to more documentation.

Then run the command:

update-rc.d ipmasq start 41 S .

This will place the appropriate links in the /etc/rcS.d and other
directories, you need to at least start it after the network is
setup(S40).

If you want, install the ipmasq package and look at its startup script
for an example that is probably more in line with what you want(it does
not use the start-stop-daemon program).


Brian Servis
-- 

Mechanical Engineering  | Never criticize anybody until you  
Purdue University   | have walked a mile in thei shoes,
[EMAIL PROTECTED]   | because by that time you will be a
http://www.ecn.purdue.edu/~servis   | mile away and have their shoes.



Re: how to clone a system?

1999-12-20 Thread Brian Servis
*- On 20 Dec, rogalsky wrote about how to clone a system?
 I have to clone a system without copying it. In other words: How can I
 make a new instalation of a system using the same packages as an already
 installed system?
 
 Olaf Rogalsky

On old system issue the command:

 dpkg --get-selections  /tmp/selections

On new system do a new install until it asks you for the
'configuration' of the machine(server, workstation, etc.) and don't
select any or select the custom selection (I can't remember exactly).
Exit and copy the above selections file to the new machine. Then on the
new machine issue the comand:

  dpkg --set-selections  selections

Then run the Update and then Install part of dselect after having set up
your Access method. Or for using apt-get I think you should be able to
do:

  apt-get update
  apt-get dist-upgrade

You will of course have to configure all the packages that are
installed.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: cannot open '/dev/lp0' - 'No such device'

1999-12-20 Thread Brian Servis
*- On 20 Dec, David Densmore wrote about Re: cannot open '/dev/lp0' - 'No such 
device'
 [EMAIL PROTECTED] wrote:
 
always the best way to test a printer first, is to bypass any/all
spoolers and print direct to the port, it works on most printers
.. just echo test blah blah /dev/lp0 or cat filename /dev/lp0
(you probably have to be root to do this)
 
 I get this:
 
 bash: /dev/lp0: No such device
 
 also:
 
 bash: /dev/lp1: No such device
 bash: /dev/lp2: No such device
 bash: /dev/lp3: No such device
 
 This is a kernel I compiled myself.  I would like to recompile it
 if I knew what options to select.
 

This isn't a kernel issue.  For some reason you do not have the lp
devices in your /dev directory.  Do the following to create them. If you
compiled your kernel with parallel and pc hardware support you should be
fine.

cd /dev
./MAKEDEV lp


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: how much memory is too much... for X?

1999-12-18 Thread Brian Servis
I see this type of behavior after lots of window open and closes with 
large memory consuming windows(MATLAB plots with lots of points).  After
a while X starts sucking up all my memory and swap.  I simply restart
the window manager, not restart X, and the memory is freed.  So it may
be a X or window-manager issue or both.  But not having to restart X is
nice.

*- On 17 Dec, Nathan York wrote about Re: how much memory is too much... for 
X?
 i get the same problem as this, i have to restart X every-so-often, i
 don't think it is window-manager specific, as i have had the problem in
 windowmaker and afterstepit also isn't distribution specific, same
 prob in redhat/debian/stormix.  i can't seem to find it either, by the way
 this is x-server 3.3.5
 
 
 On Fri, 17 Dec 1999, Aaron Solochek wrote:
 
 according to top, X is taking up 60megs right now.  Yesterday I think
 it was even more.  This is Accelerated X 5.0.3, looks like a big memory
 leak to me, anyone have any experience with this?
 

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: How hpdj setup for HP DeskJet 660C

1999-12-18 Thread Brian Servis
*- On 19 Dec, Bart Szyszka wrote about How hpdj setup for HP DeskJet 660C
 Hi,
 
 According to a database of printers that I found, my older HP DeskJet
 660C printer (knew it would come in handy some day!) is supported
 by hpdj perfectly. What I'm wondering about is how anyone who got
 that printer working perfectly got it setup. I tried apsfilter
 (apsfilterconfig), but it didn't have anything specific to a 660C. I've also
 tried magicfilterconfig (or something like that), but all it had was a driver
 for a laserjet. Can I update/add hpdj in any of these two programs as is?
 I.e. after I apt-get apsfilter, can I update it's hpdj? I'm on Debian potato.
 
 BTW, here are the hpdj options that I have available:
 HP DeskJet 500, 500C, 510, 520, 540, 550C, 560C, 850C, 855C   
 
 Could it be that rather than needing a 660C in there, I just have to select
 one of those? If so, which ones did you guys get the printer working
 *perfectly* with? The most important part for me is to get it working in
 Netscape (which doesn't let me choose the number of pages to print?!?).
 

I use magicfilter and the gs-alladin(which includes the hpdj patch, see
'man gs-hpdj') for my HP 660C.  The hpdj patch does not include 660C
support directly as you mentioned but using the 560C or the 'unspec'
model works for all my needs.  I have put some of my files print setup
files up at http://widget.ecn.purdue.edu/~servis/hpdj-printing/.

In order to select the pages to print you will have to use the psselect,
in the psutils package, in a pipe with the print command dialog box in
netscapes print dialog.

Something like:

Print Command:  psselect -q -p1-4 | lpr -Plp

I usually use psnup to print 2-up or 4-up from netscape as in:

Print Command:  psnup -q -pletter -n4 | lpr -Plp

HTH,
-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: 2 computers, 2 modems, 2 O/S's

1999-12-15 Thread Brian Servis
*- On 14 Dec, Cormac McGuinness wrote about 2 computers, 2 modems, 2 O/S's
 Hi
 At home my wife and I have two computers (win95 and Debian) and until
 recently had one modem. Connectng to the internet was simple, it all
 went through the Debian (potato) box. 
 
 However, I have acquired at no cost another faster modem, unfortunately
 it is a WinModem (A US Robotics 56k Voice Win)
 
 What I was wondering is there anyone out there that can point me to a
 piece of Windows (Yes! I know this is the debian mailing list) software 
 that can forward all my outgoing IP connections through the Winmodem 
 (in the Windows machine) in as transparent a manner as possible.
 
 I got the winmodem for free, I would like to benefit from having it.
 (especially when I need to download the latest and greatest .debs!)
 

There is also a package called Wingate.  It is shareware.  I used it for
a while but it has been a few years.  Try winfiles.com, they should have
it.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Digital cameras and Linux

1999-12-13 Thread Brian Servis
*- On 12 Dec, Mike Werner wrote about Re: Digital cameras and Linux
 (Ted Harding) wrote:
 It is worth considering a camera that can record the JPEG file directly
 to a floppy disk -- either natively (the Sony Mavica was probably the
 earliest to do it this way) or using a bit of clip-on kit which you
 snip
 (The floppies used are in all cases -- as far as I know -- standard
 DOS-formatted floppies straight out of the box).
 
 FWIW I have grabbed pics from a Mavica floppy with a Linux system.  I
 mounted the floppy as a regular DOS type floppy and just grabbed the
 .jpg's like any other.  The Mavica also creates a second file for every
 pic it makes - I don't remember the extension but that file has no use
 I've been able to figure out (probably something the camera uses
 internally).
 
 And the floppy that I had fed into the Mavica was a brand new never-used
 one straight out of the box.

They are the index files that it uses to display on the on-camera
screen.  The Mavica's also create an html file that lists the files so
that someone can open the list up in a web browser and view the
pictures.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: apt-get dist-upgrade replacing self-built archives

1999-12-12 Thread Brian Servis
*- On 12 Dec, peter karlsson wrote about apt-get dist-upgrade replacing 
self-built archives
 Hi!
 
 How come that apt-get dist-upgrade upgrades packages that I have
 compiled myself (from the sources), although the version in the Debian
 archive is the same as the one I have compiled myself?
 

Because the md5sum does not match that of the 'real' version.  You
should either put the package on hold in dselect(does dist-upgrade
respect holds?).  Or add an entry to the debian/changelog and increase
the version number before you build the package.  Not sure what is the
best versioning scheme, maybe follow the NMU rules of adding a .X
version to the last version.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: vmware

1999-12-11 Thread Brian Servis
*- On 11 Dec, Jianbo Wang wrote about vmware
 Hi, 
 
 Does anybody know where I can find demo license for vmware? Thanks!
 

http://www5.vmware.com/forms/Download.cfm

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Finding left-over libraries

1999-12-08 Thread Brian Servis
*- On  7 Dec, peter karlsson wrote about Finding left-over libraries
 Is there any way in Debian to find out what packages no other packages
 depend on?
 
 When I install a couple of packages, all the libraries they depend on are
 installed as well, which is quite nice, but the reverse doesn't hold - when
 I remove packages, unnecessary libraries are not removed. Because of this, I
 would like to get a list of packages that no packages depend on (restricted,
 for instance, to packages starting with lib).
 

Unforunately there is no way to do this cleanly now.  There has been/is
active discussion on this very subject on the the -devel list.  One of
the issues to be concerned with is on a machine used for development
where nothing directly depends on a lib*-dev package except at build
time when you need to link to the headers. 

There is a Debian package called cruft that can do some system searching
and can give you a very rough idea of file usage. 
 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Is Corel Off Topic ?

1999-12-07 Thread Brian Servis
*- On  7 Dec, Joe Block wrote about Re: Is Corel Off Topic ?
 I don't think so.  It is based on debian, after all.
 
 A friend and I were having trouble getting a working X setup on his
 Latitude laptop with a regular slink install, but the Corel installer
 detected his Neomagic chipset and set it up perfectly.

Slink uses X 3.3.2a which does not have support for the Neomagic
chipsets which are popular in laptops.  Corel upgraded X to 3.3.5 which
does have support for the Neomagic chipsets.  You can get the X
3.3.5 debs for slink under http://www.debian.org/~vincent.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Modifing a debian package

1999-12-07 Thread Brian Servis
*- On  7 Dec, Matt Kopishke wrote about Modifing a debian package
 Hi, I need to recompile PHP3 with an extra value in the INCLUDE
 (-I/path/to/include) line. I would like to keed PHP3 in a .deb, how would
 I go about doing this using the srcdir/debian/rules method.
 Thanks,
 

If you already have the sources extracted just modify the rules file at
the appropriate place, it is just a make file.  Then execute
'debian/rules binary' from the srcdir.  If all goes well you will end
up with the updated PHP3 debs in the parent directory of srcdir.  If
you use the current version number then you will need to put the package
on 'hold' in dselect so that the official version does not re-install
over your copy.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: bootpd

1999-12-06 Thread Brian Servis
*- On  6 Dec, Marcin Kurc wrote about bootpd
 Is there bootpd in debian distribution?
 

Sure.  In Debian 2.1(slink) it is in the netstd package. In Debian
unstable(potato) it is has been split out into the bootp package.

You can use the Search the Contents of the Latest Release search
engine at http://www.debian.org/distrib/packages.html for this kind of
search.  That is how I just got this info.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: X install

1999-12-06 Thread Brian Servis
*- On  6 Dec, Attila Csosz wrote about X install
 I've had got a working X window system with some window manager like icewm.
 I got a new card(Asus v3800 riva tnt2). I've the X source 3.3.5 . 
 I succesfully maked the X source( 'make World' ) . My question is: when I
 'make install' does something wrong? Which new programs will be installed?
 Then can I remove any previous package? ( like Xserver-svga )
 

I assume you are using Debian 2.1(slink). Save yourself the trouble and
grab the X 3.3.5 debian packages found under
http://www.debian.org/~vincent.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: XFree86 3.3.5 for slink? (was: Corel to Slink upgrade)

1999-12-05 Thread Brian Servis
*- On  5 Dec, Arcady Genkin wrote about XFree86 3.3.5 for slink? (was: Corel 
to Slink upgrade)
 Randy Edwards [EMAIL PROTECTED] writes:
 
 Joe Block wrote:
  
  When I did the install on my friend's laptop, the first thing I did
  after corel's install was done was add my local mirror of slink,
  security.debian.org, the y2k updates  the XFree86 3.3.5 to its
  sources.list and update  upgrade.
 
 Is there a source for X 3.3.5 for slink? If yes, could anyone give the
 URI?
 

Check the debian-user archives first.  This is 3rd or 4th time this week
this question has come up.  None the less her is the URI:

deb http://www.debian.org/~vincent/ xfree-update main

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Outlook and HTML

1999-12-04 Thread Brian Servis
*- On  3 Dec, Eric Gillespie, Jr. wrote about Re: Outlook and HTML
 On Fri, Dec 03, 1999 at 01:28:57AM -0500,
 Arcady Genkin [EMAIL PROTECTED] wrote:
 1. Standard signature separator is -- with a blank following it.
  ^^

 
 Actually, it's -- . Notice the trailing space. Mutt, slrn, and
 Netscape all do this correctly. I'm sure most other software does as
 well.
 

To me the phrase '-- with a blank following it' is the same as -- .

 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Outlook and HTML

1999-12-04 Thread Brian Servis
*- On  3 Dec, Steve Lamb wrote about Re: Outlook and HTML
 Friday, December 03, 1999, 4:34:01 PM, Brian wrote:
 *- On  3 Dec, Eric Gillespie, Jr. wrote about Re: Outlook and HTML
 On Fri, Dec 03, 1999 at 01:28:57AM -0500,
 Arcady Genkin [EMAIL PROTECTED] wrote:
 1. Standard signature separator is -- with a blank following it.
 
 Actually, it's -- . Notice the trailing space. Mutt, slrn, and
 Netscape all do this correctly. I'm sure most other software does as
 well.
 
 To me the phrase '-- with a blank following it' is the same as -- .
 
 Well, to be a total technical nitpicky prick, no, it doesn't.  The
 complete sig delimiter is -- \n or dash dash space newline.  Why do I
 point this out?  Because DOS loves to have CR/NL and MAC CR.  IIRC neither of
 those work as reliably as -- \n.  :P
 

Well, to be a total nitpicky prick, I wasn't talking about the *correct*
delimiter.  I was talking about the equivalence of the two phrases. The
'--  notice the space' phrase makes not reference to the line
termination.  The '-- with a blank following it' phrase makes no
reference to the line termination.  Thus *IMO* the two are the same.

I do agree that the *correct* delimiter is dash dash space newline.

Enough nitpicking for me, 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: trapped in an xdm loop?

1999-12-04 Thread Brian Servis
*- On  4 Dec, Nancy this-address-is-valid McGough wrote about trapped in an 
xdm loop?
 I'm in the process of setting up an old 486 with Debian Linux
 (slink) and I seemed to be trapped in X Windows. When I type
 Ctrl+Alt+Backspace it just restarts xdm with the login and
 Password prompt. Typing a login and password doesn't help because
 I get a blank blue screen and the mouse doesn't work. Pressing
 Ctrl+Alt+Backspace at this point also throws me back into the xdm
 login/Password prompt. I tried restarting the system and it boots
 into this login/Password prompt. I tried typing Ctrl+C while it
 was listing all the things it was doing and could not stop it
 from running xdm. I tried booting from the boot floppy I made and
 it said boot failed. I can boot off the Rescue floppy but I
 don't know what to type at the prompt to get to a point where I
 can edit my config files so it won't start xdm at boot. FYI, this
 happened when I was trying to get my mouse to work and I saw an
 archived message from this list that said try xdm stop so I
 tried that and now I'm in this loop.
 

Ctr+Alt+F1 will take you to the first virtual console.  Login as root
and issue the command '/etc/init.d/xdm stop'.  This will stop xdm until
you reboot or restart it.  If you don't ever want xdm to start just
remove it, 'dpkg --remove xdm'. 

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: effect of having stable and unstable listed in sources.list

1999-12-04 Thread Brian Servis
No, it will install the newest version of whatever it finds.  The order
of the listings in sources.list only is important if it finds two
sources for the *exact* same file.  The file then will get installed
from the first URI.  This is useful if you have a local mirror that may
not be up to date with a web mirror.  If the local copy is listed first
and it contains a file that is the same on the net mirror then the local
copy will be installed.  

I would not recomend mixing slink and potato sources.  Early in the
potato development this was possible as slink and potato were not too
different and only a few files were updated.  But now most files depend
in some way on libc6 v2.1 or perl5.005 and will cause major problems if
they are installed and you are not willing to upgrade yet.



*- On  4 Dec, Bryan Scaringe wrote about RE: effect of having stable and 
unstable listed in sources.list
 Opps,
 When in doubt, I should read the man pages.
 Looks like apt will go through sources.list, and will install the package from
 the first source it finds.  if I am reading man sources.list correctly :)
 
 Bryan
 
 
 On 04-Dec-1999 Pollywog wrote:
 
 On 04-Dec-1999 Bryan Scaringe wrote:
 I have seen many examples on this list of people putting entries in
 sources.list
 for both stable and unstable trees at the same time.  How does apt/dselect
 handle this?  Would an apt-get upgrade always pull from stable or
 unstable?
 
 Thanks in advance.
 Bryan
 
 I was just thinking about this last night, and it seems to me that to avoid
 downgrading my system, it is better to explicitly have potato or slink or
 whatever in my sources.list.  After all, slink is always slink, but
 unstable
 can mean different things at different times.
 
 --
 Andrew
 
 

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.



Re: Supported video chip-sets

1999-12-03 Thread Brian Servis
*- On  3 Dec, Egbert Bouwman wrote about Supported video chip-sets
 Hello,
 I am going to buy a new computer, but which video adapter/chip-set ?
 Many powerful new computers come with things like
 Matrox G400 or NVidia Riva TNT2.
 I am still using Slink with XFree 3.3.2, where these chips are not
 supported. However they are supported in potatoe with XFree86 3.3.5.
 
 Does this mean that I _have _ to upgrade in order to use them,
 or  can i use them in Slink without their extra functionality ?
 For upgrading I prefer to wait for a stable potatoe, 
 or at least for potato-cdroms.
 

A developer has compiled 3.3.5 for slink. See
http://www.debian.org/~vincent.

So you are not forced to upgrade to potato, although it is really quite
stable now.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: What video card do I use?

1999-12-03 Thread Brian Servis
*- On  3 Dec, Rick Dunnivan wrote about What video card do I use?
 I just laoded Debian for the first time.  When I run
 XF86Setup, I dont see my video card listed and am not
 sure how to go about using the advanced options.  I
 have a 16MB nVidia RIVA TNT AGP.  Can anyone help me?
 

Slink comes with XFree86 3.3.2, you need to upgrade to XFree86 3.3.5
which can be found at http://www.debian.org/~vincent.
 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: How to block access from specific sites.

1999-12-02 Thread Brian Servis
*- On  2 Dec, Martin Fluch wrote about Re: How to block access from specific 
sites.
 -BEGIN PGP SIGNED MESSAGE-
 
 
 On Wed, 1 Dec 1999, Ethan Benson wrote:
 
 ALL: *.microsoft.com
 sshd: *.apple.com
 in.ftpd: 192.168.0.5
 
 are some examples, you should get a pretty decent man page with man 5 
 hosts.deny if not then your man pages are broken :)
 
 (btw I don't remember for sure if the * is needed or not it probably 
 isn't but i don't think it matters)
 
 It's done without a '*' (AFAIK) ... Martin
 

No wildcard is needed according to 'man 5 hosts_access'.

   ·  A  string  that begins with a `.´ character. A host
  name is matched if the last components of its  name
  match the specified pattern.  For example, the pat­
  tern`.tue.nl´matchesthehostname
  `wzv.win.tue.nl´.

   ·  A  string  that  ends  with a `.´ character. A host
  address is matched  if  its  first  numeric  fields
  match  the  given string.  For example, the pattern
  `131.155.´ matches the address  of  (almost)  every
  hoston   the   Eindhoven   University   network
  (131.155.x.x).

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Missing libs.

1999-12-02 Thread Brian Servis
*- On  1 Dec, Robert L. Harris wrote about Missing libs.
 
 
 It appears I need libXext.so.6 for my X now.  Can anyone tell me what 
 package supplies this library?
 

The best way to find out which packages contain the files you need is to
use the Search the Contents of the Latest Release search engine at
http://www.debian.org/distrib/packages.html.  In this case for the stable
release it returns:

FILE PACKAGE
-
usr/X11R6/lib/libXext.so.6  x11/xlib6g
usr/X11R6/lib/libXext.so.6.3x11/xlib6g
usr/lib/libc5-compat/libXext.so.6   oldlibs/xlib6
usr/lib/libc5-compat/libXext.so.6.3 oldlibs/xlib6

HTH,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re:

1999-12-02 Thread Brian Servis
*- On  1 Dec, Jason Winters wrote about 
 What do I use to open a gz file?

gunzip file.gz is the simplist solution but this also depends on what
the actual file is.  If it is a tar.gz or tgz file then this is a
gzipped tar file which tar can handle natively with 'tar zxf
file.tar.gz'.  There are other methods of 'opening' a gz file so if
you provide an example of the filename and location then others can
point you in the best direction.


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: slink and xfree86 3.3.5 questions

1999-11-30 Thread Brian Servis
*- On 30 Nov, [EMAIL PROTECTED] wrote about slink and xfree86 3.3.5 questions
 Ok, I installed debian on my system a few weeks ago with a slink 
 cdrom. There has been some indication that some misbehavior by my 
 Number Nine card might be because I'm not using XFree86 3.3.5
 To put that on my system would I be leaving slink territory and 
 heading into potato territory? Would it be best for now (if I'm not 
 interested in totally upgrading to potato at this time) to maybe just 
 swap the Number Nine out for the ET4000 I've got kicking around 
 somewhere?


Try the Xfree86 3.3.5 for slink packages at
http://www.debian.org/~vincent/.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: problems with potato and X11

1999-11-29 Thread Brian Servis
*- On 29 Nov, [EMAIL PROTECTED] wrote about problems with potato and X11
 
 
 Hi,
 
 I upgraded my system last night from slink to potato and now X11 will not 
 start.
 First off it was complaining that the 75dpi fonts was missing a fonts.dir 
 file.
 Which I manageged to fix.
 However it is now complaining that it can't open the default font fixed.
 Where do I find this font? or where do I change the default.
 

When I upgraded from 3.3.4 for slink to 3.3.5-1 for potato I had
similiar problems with 'fixed'.  All I had to do was restart the font
servers and then restart X.  Try running '/etc/init.d/xfs restart'.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: offline apt-get update?

1999-11-22 Thread Brian Servis
Sorry, no experience but this topic is covered in 

/usr/doc/apt/offline.txt.gz

Abstract


 This document describes how to use APT in a non-networked environment,
 specificaly a 'sneaker-net' approach for performing upgrades.




*- On 22 Nov, Vincent Murphy wrote about offline apt-get update?
  i have a potato machine which doesn't have access to the outside world
 except through a windows machine on the same ethernet segment.  moving the
 outside-world-access to the potato machine and proxying for the windows
 machine is not an option, and installing wingate on the windows machine
 would be a serious dent in my pride.  ;)
 
  i would like to know how i can manually perform an `apt-get update' on my
 machine.  i presume that i need to:
 
  - download a Packages.gz file for each line in sources.list;
  - `add' said file to apt.
 
  has anybody done this before?  ideally i would like to get a list of
 absolute URLs for the Package.gz files which i can give to wget.  i can do
 this for a `apt-get upgrade' by doing
 
   apt-get -yy --print-uris upgrade | awk '{print $1}'
 
  any suggestions would be gratefully appreciate.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: sshd from /etc/rc5.d

1999-11-22 Thread Brian Servis
*- On 22 Nov, Jason Taylor wrote about sshd from /etc/rc5.d
 I recently installed openssh onto a debian box and the documentation
 says that it is normally run from /etc/rc, it seems that /etc/rc5.d is the
 comparable place in Debian to run it from. However, I created the sym link
 to the sshd file located elsewhere in the /etc/rc5.d directory. I cannot get
 sshd to start, I end up having to do it from the command line. Below is what
 the sym link looks like.
 
 lrwxrwxrwx   1 root root   32 Nov 22 09:48 S99sshd -
 /usr/local/openssh-1.2pre13/sshd
 
 Also, I can run the sym link as root manually and it starts up okay.
 
 TIA..
 
 -Jason
 
 

Debian's default run level is 2.  So if you are just booting up it will
not touch the links in rc5.d.  Also make sure and read up on how the
rc#.d scripts are called(/etc/init.d/README).  They are called with the
argument of 'start' if they are an S link and 'stop' if they are a K
link.  So your sshd should be a wrapper to start and stop the daemon
dependent on the command line option given.  Use /etc/init.d/skeleton as
an example.  Openssh is a potato package so if you are running slink you
could download the debian source, diff and dsc files and build a debian
package on your slink box(search these list archives for the details).


-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


anybody try tkrat 2.0b5 on a Debian potato system?

1999-11-22 Thread Brian Servis

I have been having problems getting the 2.0 beta versions of tkrat to
run on my potato system.  It compiles fine but has problems with the
c-client library blt_busy that is included int the source tree. Whenever
this function is called it Segfaults and dies.  If I comment the calls
to blt_busy out of the start.tcl and print.tcl functions from the tkrat
tree then it runs fine.  I am asking on this list because no one else on
the tkrat list seems to be having a problem which leads me to believe
that it might be an issue with Debian potato.

I am current in potato with gcc 2.95, tk/tcl 8.2.  I have also tried the
gcc272 compiler but that did not change anything.

If any C  tcl masters wants to try and debug it you can get the code at 
ftp://ftp.md.chalmers.se/pub/tkrat/tkrat-2.0b5.tar.gz.  

The specific code that seems to have problems is
tkrat-2.0b5/util/blt_busy.c in the source tree.  And from what I can
tell trying to poke around in gdb(I don't speak C or tcl) is that the
line #407 'busyPtr = (Busy *)calloc(1, sizeof(Busy));' seems to cause
the SIGSEGV.

Thanks,
-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: updating the dpkg versions

1999-11-21 Thread Brian Servis
*- On 21 Nov, Michael Kevin O'Brien wrote about updating the dpkg versions
 Hola~
 
 I build some debian packages instead of trying to build the dpkg and install
 that, I've just been running the normal make, make install.
 
 This way, I can keep some things up to the latest versions. For example, I
 build vim and gcc as soon as they are available.
 
 For vim it's not really an issue, but for gcc it's a bit of a problem. Is
 there a way to update the dpkg version info so it thinks it has the correct
 version of gcc, g++, run-time lib, etc???
 
 MO
 

Use the equivs package with care.  Below is the info for the Potato
version.  I think it has changed alot since the slink version.  I don't
use it but others can speak up on that.

Package: equivs
Version: 1.999.12
Priority: extra
Section: admin
Maintainer: Martin Bialasinski [EMAIL PROTECTED]
Depends: perl|perl5, debhelper, dpkg-dev, devscripts, make, fakeroot
Architecture: all
Filename: dists/unstable/main/binary-i386/admin/equivs_1.999.12.deb
Size: 17148
MD5sum: 9f49ddbd0f39a503c8226d037ef9627e
Description: Circumventing Debian package dependencies
 This is a dummy package which can be used to create Debian
 packages, which only contain dependency information.
 .
 This way, you can make the Debian package management
 system believe that equivalents to packages on which other
 packages do depend on are actually installed.
 .
 Another possibility is creation of a meta package. When this
 package contains a dependency as Depends: a, b, c, then
 installing this package will also select packages a, b and c.
 Instead of Depends, you can also use Recommends: or
 Suggests: for less demanding dependency.
 .
 Please note that this is a crude hack and if thoughtlessly used
 might possibly do damage to your packaging system. And please
 note as well that using it is not the recommended way of dealing
 with broken dependencies. Better file a bug report instead.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Freezing a package on Debian installation

1999-11-20 Thread Brian Servis
*- On 20 Nov, Bart Szyszka wrote about Freezing a package on Debian 
installation
 Hello,
 
 I'm having trouble finding a command that would allow me to
 specify to not allow Debian to upgrade a specific package or
 to install it if it doesn't exist. I thought it might be at apt-get
 -h or dpkg -h, but I didn't find anything there. Debian gets messed
 up on my end before I get a chance to install the packages for
 the man command (why isn't it included in the base installation
 of Debian?!?) so I don't have that yet.
 

The only interactive way to hold back a package is in dselect with the
'=' key.  You can also edit /var/lib/dpkg/status and change the Status:
line of the package you want to hold back from:

Status: install ok installed

to 

Status: hold ok installed


The man-db package is not installed because it is too big to include on
the base system.  This topic has been discussed before on many of the
debian-* lists, check the archives.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Can't make menuconfig

1999-11-20 Thread Brian Servis
*- On 20 Nov, Kent West wrote about Can't make menuconfig
 I can make config and make xconfig but I can not make menuconfig.
 When I try, I get the following:
 
 westk03:/usr/src/linux# make menuconfig
 rm -f include/asm
 ( cd include ; ln -sf asm-i386 asm)
 make -C scripts/lxdialog all
 make[1]: Entering directory
 `/usr/src/kernel-source-2.2.1/scripts/lxdialog'
 gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE 
 -DCURSES_LOC=curses.h   -c lxdialog.c -o lxdialog.o
 In file included from lxdialog.c:22:
 dialog.h:29: curses.h: No such file or directory
^^^

 make[1]: *** [lxdialog.o] Error 1
 make[1]: Leaving directory
 `/usr/src/kernel-source-2.2.1/scripts/lxdialog'
 make: *** [menuconfig] Error 2
 westk03:/usr/src/linux# exit
 exit
 
 
 Can anyone suggest a fix? Thanks!
 
 

apt-get install libncurses4-dev


Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: xemacs text-mode and gpm mouse issues

1999-11-20 Thread Brian Servis
*- On 19 Nov, Salman Ahmed wrote about Re: xemacs text-mode and gpm mouse 
issues
 IZ == Ian Zimmerman [EMAIL PROTECTED] writes:
 IZ Ian, who was upstream gpm maintainer for a while.
 
 Can someone explain to me what/who upstream and downstream maintainers
 are ? I've never quite figured out upstream/downstream relative to
 who or what!!
 

Upstream are the actual authors of the code.  As an example Eric
Raymond is the upstream maintainer of fetchmail.  The downstream
or Debian maintainer is the Debian developer who packages it up and
makes sure that it works well with the Debian distribution, in this case
for fetchmail that is Paul Haggart.  The downstream maintainer is the
first line of contact for the user.  The downstream maintainer evaluates
the bug reports that are sent to the Debian bug tracking system and
tries to find a fix for it.  If they can fix it and it is a local Debian
problem then they fix it with the next package release.  If they can fix
it and it is an upstream problem then they forward the fix upstream to
the software author for possible inclusion in the main source tree.
Each distribution generally works like this.  Thus there are many
downstream maintainers all sending filtered bug reports back to the
upstream maintainer.  This saves the upstream author from having to
deal with large numbers of bugs reports that may not be directly
related tot the actual sorce code.

My $.02, 

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: xconsole problem

1999-11-20 Thread Brian Servis
*- On 20 Nov, Chia-Sheng Chang wrote about xconsole problem
 Hi, all,
   I run xdm on my computer but every time I login, xconsole always
 responses can not open console. How to solve this?? 
 

% ls -l /dev/xconsole 
   0 prw-r-1 root adm 0 Nov 20 08:30 /dev/xconsole|

I fixed it by adding my user to the adm group. I don't know the
reasononing behind having xconsole as group adm though.  It is the
only device in /dev with that group ownership.  Remember that passwords
and other private info can be put on the logs so don't make it world
readable.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: apsfilter vs. magikfilter and hp printer

1999-11-20 Thread Brian Servis
*- On 20 Nov, Carl Greco wrote about Re: apsfilter vs. magikfilter and hp 
printer
 
 I have a Deskjet 660c and have been very happy with magicfilter and
 gs-aladdin.(which includes the hpdj patch)(see the man page for gs-hpdj
 when you install gs-aladdin.)  The hpdj driver doesn't support your
 printer specifically but you should be able to get almost all of the
 features since the printer uses PCL-3. Don't know about 2-sided printing
 though.  More info on the hpdj driver can be found at
 ftp://ftp.sbs.de/pub/graphics/ghostscript/pcl3/pcl3.html.
 
 Where did you find the magicfilter for hpdj?  I am using magicfilter
 (1.2-28) on slink, but this version of magicfilter does not include a
 pre-defined filter for hpdj.  Are you using a later version of
 magicfilter with a pre-defined filter (or filters) for hpdj or did
 you created your own?  If you developed your own hpdj filter(s) can
 we get a copy?
 
 

I had to modify the setup for one of the other Deskjet drivers that is
built into the Magicfilter setup.  Others have expressed interest in my
personal setup so I have put my files at
http://widget.ecn.purdue.edu/~servis/hpdj-printing/. You will of course
have to modify them to fit your needs.  Hope this helps.


-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: Xfree-changing default

1999-11-19 Thread Brian Servis
*- On 19 Nov, Antonio Rodriguez wrote about Xfree-changing default
 How do I change my default starting of Xserver to 32 from 8 or so? I
 have several modes avalable, but if I try from the command prompt:
 startx -- -bpp 32 it says: Xserver already running. Can't, or something
 similar.
 So, what should I do to swithch to 32?
 Thanx
 
 

First you need to stop the currently running X server.  Do you have xdm
installed?  By default it starts on boot up in Debian.  To stop xdm you
can run '/etc/init.d/xdm stop'.

If you have xdm installed you can edit /etc/X11/xdm/Xservers and add
the -bpp 32 to the line at the end of the file.  There should be
examples in the file. Something like:

:0 local /usr/X11R6/bin/X vt7 -bpp 32



-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: A Question about Deb. 2.2

1999-11-19 Thread Brian Servis
*- On 19 Nov, Antti Halkoaho wrote about A Question about Deb. 2.2
 I know that you don't tell release date of Debian 2.2, but I'd like to
 know is it coming in next too months? I don't want to download ver. 2.1 and 
 findout after a week that ver. 2.2 has been released.
 

The current plan is not until Feburary 2000.  See the latest posting
from the release manager on the issue at:
http://www.debian.org/Lists-Archives/debian-devel-announce-9911/msg6.html

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: My ppp connection is (stalling)

1999-11-18 Thread Brian Servis
*- On 17 Nov, David J. Kanter wrote about My ppp connection is (stalling)
 This is driving me nuts. My PPP connection seems to be stalling all the
 time. I'm often seeing (stalled) in Netscape, and trying to do some updates
 to Potato has become painful (multiple mirror sites); it'll download a bit,
 then stop, download a bit, then stall...you get the picture.
 
 I remember reading something about PPP and the 2.2.X kernels. Could that be
 what's going on? I've got my pon configured to use all the compressions I can.
 
 Thanks.

I had similiar problems as well.  What worked for me was to reduce the
default mtu/mru settings by about half.  If you do this and have an
internal network make sure and set the mtu of the network to the same
value as your ppp link.  Different mtu settings seems to cause problems
with ip masqurading.  Other pppd options that I played with and had
varying degrees of success are bsdcomp, deflate and vj-max-slots.  A
lot of the ppp stalling problems tend to be compression negotiation
between you and the isp.  And since each isp may use different software
the correct combination will be different in each case.

HTH,

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


  1   2   3   4   5   6   7   >