FIXED: Re: Apache::AutoIndex patch

2000-06-25 Thread Mike Brownlow
w trillich wrote:
> speaking of autoindex issues-- i can't get apache to
> display the HEADER or README files (above and
> below the tabular file listing), and when i posted
> my most recent question, someone else piped up and
> said they've got the same snag.
> 
> is there a configuration that turns off the inclusion
> of plain text header/footer? it seems to be site-wide
> for us...

Add something like this for the  sections you want
to have display the header and footer:


ForceType text/plain


Apparantly the DefaultType setting isn't being honored for this
case. Sorry if this was already answered, but I didn't see it
come up.

-- 
( Mike Brownlow | http://wsmake.org/~mike/ | http://wsmake.org/ )
( "A scorner seeketh wisdom, and findeth it not: but knowledge  )
( is easy unto him that understandeth." Proverbs 14:6   )



rman (PolyglotMan) + TkMan are now under the Artistic License.

2000-06-25 Thread Shaul Karl
Based on http://{polyglotman, tkman}.sourceforge.net:

As of 22 June 2000 - PolyglotMan (rman) 3.0.9, and TkMan 2.1 are released. 
They are at long last Open Source, under the Artistic License.

rman (3.0.8) is currently in non-free. TkMan has no official deb maintainer.
Unofficial deb for TkMan 2.1b4 [Depends: tk8.3 (>= 8.3.0-1), rman (>= 
3.0.8-1)] can be found on ftp.linux.org.il/pub/local-dev/shaulk.
I intend to upload there a deb for TkMan 2.1 shortly after there will be an 
official deb in woody for the new rman.


-- 

--  Shaul Karl <[EMAIL PROTECTED]>




Re: ssh deb not installing correctly

2000-06-25 Thread Jay Kelly
On Mon, Jun 26, 2000 at 12:46:47PM +0930, John Pearson wrote:
> On Mon, Jun 26, 2000 at 11:42:03AM +1200, Daniel Free wrote
> > I Just reinstalled my machine at home with debian 2.2 (potato) and started
> > apt-get installing all the things i likeon my system, but when i got to ssh
> > it returned the error below.
> > 
> >  Begin Console Dump 
> > 
> > 1 packages not fully installed or removed.
> > Need to get 0B of archives. After unpacking 0B will be used.
> > Setting up ssh (1.2.3-5) ...
> > dpkg: error processing ssh (--configure):
> >  subprocess post-installation script returned error exit status 10
> > Errors were encountered while processing:
> >  ssh
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> >  End Console Dump 
> > 
> > the program itself has installed correctly and works however whenever i use
> > apt-get it finishes with the above error.
> > 
> > any suggestions ??
> > 
> 
> There is a (?) bug in this version of ssh.
> 
> Look in /var/lib/dpkg/info/ssh.templates, for a line
> (about line 90 of 100) that reads
> Template: ssh/run_sshd
> 
> There should be a blank line in front of this line, to separate
> it from the previous Template: section.
> 
> Insert that new line, and then run
> # dpkg --pending --configure
> 
> That should fix it.
> 
> 
> John P.
> -- 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.mdt.net.au/~john Debian Linux admin & support:technical services
> 
>

I am having the same problem here. I looked at ssh.temlates and didnt
find any errors as you stated in your previous post. Where else can I
look to fix this. I am getting the exact same error message.
Thanks
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 



Re: safe to use woody packages in potato?

2000-06-25 Thread John Anthony Kazos Jr.
I was under the impression, due to the numberous and strong warnings
around woody files on the web site, that there were fundamental
differences between releases of debian (slink/potato/woody/...). For
example, I wouldn't want a package upgrade to wipe out lilo.conf or
fstab, or for other such unpleasantness to occur because I was
downloading just the packages and not doing a fresh install or a
special upgrade procedure. Is it the case that simply adding a line
in sources.list and allowing all of the packages to upgrade will not
destroy my installation, mess around with files like fstab and
/etc/skel, and such? Or is there a special procedure I should go
through to upgrade?

On Sun, 25 Jun 2000, Ian Zimmerman wrote:

> > "John" == John Anthony Kazos <[EMAIL PROTECTED]> writes:
> 
> John> I'm running potato. Is it safe (read, won't screw up the
> John> installation) to change the lines in sources.list to refer to
> John> woody as well as potato, so that I use a newer version if it's
> John> in woody and an older one if it's only in potato? I'm not
> John> significantly concerned about problems with the packages
> John> themselves (I'm running 2.4.0-test2, why not unstable Debian); I
> John> just wanted to make sure that the differences between potato and
> John> woody are just package differences and don't require a special
> John> process to use the newer packages. Are there any caveats with
> John> doing this? (It's difficult for me to recover from an unbootable
> John> Linux on this box.)
> 
> What will that do that simply switching to woody wouldn't?
> 
> 



Re: package versions in dselect, and Release file

2000-06-25 Thread Ian Zimmerman
> "Jason" == Jason Gunthorpe <[EMAIL PROTECTED]> writes:

Jason> On 25 Jun 2000, Ian Zimmerman wrote:
 
>> deb file:/usr/local/src/debs localdebs main non-free
>> 
>> Then "apt-get update" looks for
>> 
>> /usr/local/src/debs/dists/localdebs/{main,non-free}/binary-i386/Packages
>> 
>> but "apt-get install pysol" looks for
>> 
>> /usr/local/src/debs/main/binary-i386/games/pysol_*.deb.

Jason> Which is /usr/local/src/debs+[whatever is in Packages for the
Jason> Filename field]

Jason> Call dpkg-scanpackages correctly and this will go away.

You're quite right, ... except that "man dpkg-scanpackages" says

   dpkg-scanpackages  binarydir  overridefile  [pathprefix] >
   Packages

   binarydir is the name of the binary tree to  process  (for
   example,  contrib/binary-i386).   It  is best to make this
   relative to the root of the Debian archive, because  every
   Filename  field  in  the new Packages file will start with
   this string.


At the very least, this needs a little clarification.  What is the
"root of the Debian archive"?  I assumed it was
foobar/dists/{frozen,stable,whatever}, and it was a natural assumption
because it corresponded to the example given.  Now we know I was
wrong, foobar is the "root".  But I would never know just from the
manpage.

Thanks for the help,

-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.



Trouble with internal network

2000-06-25 Thread Mostly Harmless
I'm trying to get an internal network working so that I can set up IP
masquerading for a few Windows boxen (side question: anyone know what
IPs to block to prevent @home from probing for home networks?).

I've decided to use IP aliasing after struggling with my secondary NIC
(an eepro). My main NIC is a 3c905, which is working great for the
external network (using dhcpcd to get network info). I've added every
network option to the kernel that seemed like it could help and yet
nothing seems to help -- I can't ping any of the Windows clients from
the Linux server nor vice-versa.

Here's the output of /sbin/ifconfig -a:
cc492523-a:/usr/doc/alsa-base$ /sbin/ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:10:4B:79:B5:4A  
  inet addr:24.3.147.215  Bcast:24.3.147.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:32157 errors:0 dropped:0 overruns:0 frame:0
  TX packets:22053 errors:0 dropped:0 overruns:0 carrier:0
  collisions:521 txqueuelen:100 
  Interrupt:5 Base address:0xe000 

eth0:0Link encap:Ethernet  HWaddr 00:10:4B:79:B5:4A  
  inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.0.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Interrupt:5 Base address:0xe000 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:3924  Metric:1
  RX packets:75 errors:0 dropped:0 overruns:0 frame:0
  TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 

And route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
24.3.147.0  0.0.0.0 255.255.255.0   U 0  00 eth0
192.168.0.0 0.0.0.0 255.255.0.0 U 0  00 eth0
0.0.0.0 24.3.147.1  0.0.0.0 UG0  00 eth0

If anyone is able to help me out I'd appreciate it immensely.

Thanks.

-- 
jeremy

... and never, ever play leapfrog with a unicorn.



Re: squid errors

2000-06-25 Thread John Pearson
On Mon, Jun 26, 2000 at 12:55:43PM +1200, [EMAIL PROTECTED] wrote
> Hi
> 
> In my syslog I am getting the following message which seems to appear every
> minute.  Hence i am worried that it may be slowing down my squid server :
> 
> Jun 26 12:34:53 server squid[13325]: urlParse: URI has whitespace:
> {http://chann
> els.real.com/getlatest.glh?PV=6.0.6.99&OS=WIN&L=en-US, en,
> *&LID=1033&ch=120+54+
> 0+0+0&ch=72+39+0+0+0&ch=44+287+0+0+0&ch=52+505+0+0+0&ch=33+393+0+0+0&ch=73+
> 19+0+
> 0+0&ch=98+27+0+0+0&ch=94+244+0+0+0&ch=16+478+0+0+0&ch=113+46+0+0+0&ch=51+11
> 6+0+0
> +0&ch=97+108+0+0+0}
> 
> 
> if anyone has any clue as to what this is telling me, it would be much
> appreciated.
> 

Squid is complaining that the URL contains whitespace, which isn't
allowed (but often happens).  If you're worried about the load
from logging these messages (at one per minute, I wouldn't be)
you can turn them off by using debug_options in /etc/squid.conf;
for instance, I have
debug_options ALL,1
debug_options url_parse,0
which gives me a little debug infoprmation about some things, but
none at all about this kind of thing.

Also have a look at the section for the uri_whitespace option,
which allows you to specify what action squid should take when
such a URI is requested.



John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Re: DPKG ERROR

2000-06-25 Thread John Pearson
On Sun, Jun 25, 2000 at 06:32:27PM -0700, Jay Kelly wrote
> Hello Group,
> I was trying to install ssh and would get an error
>  "E:  Sub-Process /usr/bin/dpkg returned an error code (1).
> So I thought to upgrade DPKG (oh yeah I was running slink
> and upgraded to potato when this started to happen). Well
> after trying tp upgrade dpkg I got the same error message.
> No matter what I try to install with apt-get install I get
> the same error message. How can I fix this? I have posted
> some of the error message befare but I will resend some of 
> them.
> thanks group 
> 

This is because ssh depends on debconf.

The following should get you one step closer:
# apt-get install debconf
# dpkg --pending --configure

Then, you will encounter another problem with this
ssh package.

Look in /var/lib/dpkg/info/ssh.templates, for a line
(about line 90 of 100) that reads
Template: ssh/run_sshd

There should be a blank line in front of this line, to separate
it from the previous Template: section.

Insert that new line, and then run
# dpkg --pending --configure

That should fix it.


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Re: package versions in dselect, and Release file

2000-06-25 Thread Jason Gunthorpe

On 25 Jun 2000, Ian Zimmerman wrote:

> It is not this simple; in fact, I think there's an out-and-out bug.
> I'll report it when I have some time to waste.

It is a bug with whoever typed dpkg-scanpackages because they did it
wrong.
 
> deb file:/usr/local/src/debs localdebs main non-free
> 
> Then "apt-get update" looks for
> 
> /usr/local/src/debs/dists/localdebs/{main,non-free}/binary-i386/Packages 
> 
> but "apt-get install pysol" looks for
> 
> /usr/local/src/debs/main/binary-i386/games/pysol_*.deb.

Which is /usr/local/src/debs+[whatever is in Packages for the
Filename field]

Call dpkg-scanpackages correctly and this will go away.

> This is related to the thread earlier this week about the semantics of
> a trailing slash on the deb URL.  Apparently the thorough explanation
> given still haven't exhausted the topic :-(

A trailing slash modifies the selection of the Package file, nothing more.
Filename: fields are always relative to the URL.

Jason




Re: package versions in dselect, and Release file

2000-06-25 Thread Ian Zimmerman
> "Olaf" == Olaf Meeuwissen <[EMAIL PROTECTED]> writes:

itz> I have a potato system, but I downloaded a couple of upgraded
itz> packages from woody and placed them in a local mirror directory.
itz> I generated the Packages files with dpkg-scanpackages.  That went
itz> fine, so I added a "deb file:" line for the local mirror to
itz> sources.list and run dselect.  In the Select phase I could see
itz> the newer versions as available.  I selected them.  But the
itz> Install phase ignored my local mirror, tried to download the
itz> updates from the potato archive, and failed.

Olaf> Make sure your local archive is mentioned before the rest.  I
Olaf> maintain a local mirror but it is usually lagging a bit behind
Olaf> (especially with unstable).  If your sources.list says something
Olaf> like:

Olaf> deb file:/pub/debian unstable main deb
Olaf> http://ftp.debian.org/debian unstable main

It is not this simple; in fact, I think there's an out-and-out bug.
I'll report it when I have some time to waste.

The problem is that "apt-get update" and "apt-get install" (also
upgrade, etc.) make mutually inconsistent assumptions about the
structure of the mirror directory.  Suppose the entry in sources.list
reads

deb file:/usr/local/src/debs localdebs main non-free

Then "apt-get update" looks for

/usr/local/src/debs/dists/localdebs/{main,non-free}/binary-i386/Packages 

but "apt-get install pysol" looks for

/usr/local/src/debs/main/binary-i386/games/pysol_*.deb.

I was only able to work around this by setting up the mirror as
follows.

/usr/local/src/debs---main
^   |
|   --non-free
|   |
|   --dists---localdebs--
||
-

This is related to the thread earlier this week about the semantics of
a trailing slash on the deb URL.  Apparently the thorough explanation
given still haven't exhausted the topic :-(

-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.



RE: Capturing terminal contents

2000-06-25 Thread Bill Barnes
>
>Don't.
>

OK

>Images suck, are *way* bandwidth and storage intensive, and will piss
>off most of us, resulting in zero help at best and killfiling at worst.
>

And it was too hard, anyway.

>Console (xterm) output is plain old ASCII.  Cut and paste the text.  You
>can do so by highlighting (left mouse button) and dumping it (middle
>mouse button, use both left & right simultaneously on 2-button mice, may
>require modifications to /etc/X11/XF86Config).
>
>
>For a long sequence of commands and output, use "script".
>
>$ script # output saved to named file or "typescript" by default
>$ some-command
>$ some-other-command
>$ different-command
>$ ^D # Use:  -D to end script file.
>
>For short commands and such, redirect or tee output:
>
>$ some-funky-command > logfile
>$ some-funky-command | tee logfile
>
>For more info:
>
>$ man script
>$ man tee
>

Appreciate the help.  Life will be a lot simpler.

Bill Barnes

>--
>Karsten M. Self  http://www.netcom.com/~kmself
>  Evangelist, Opensales, Inc.   http://www.opensales.org
>   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
> http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
>GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0
>
>--uJrvpPjGB3z5kYrA
>Content-Type: application/pgp-signature
>Content-Disposition: inline
>
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v1.0.1 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE5Va6uOEeIn1XyubARAsySAJ9dTJTDaNhlcm9esbo5JLHiqw9vxgCcC3xd
>VR1uzTiQSmuh1yN4jq+m0Y8=Q288
>-END PGP SIGNATURE-
>
>--uJrvpPjGB3z5kYrA--
>
>
>--
>Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < 
/dev/null


This e-mail has been sent to  you  courtesy of OperaMail,  a
free  web-based  service  from  Opera  Software,  makers  of
the award-winning Web Browser - http://www.operasoftware.com




Re: ssh deb not installing correctly

2000-06-25 Thread John Pearson
On Mon, Jun 26, 2000 at 11:42:03AM +1200, Daniel Free wrote
> I Just reinstalled my machine at home with debian 2.2 (potato) and started
> apt-get installing all the things i likeon my system, but when i got to ssh
> it returned the error below.
> 
>  Begin Console Dump 
> 
> 1 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up ssh (1.2.3-5) ...
> dpkg: error processing ssh (--configure):
>  subprocess post-installation script returned error exit status 10
> Errors were encountered while processing:
>  ssh
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
>  End Console Dump 
> 
> the program itself has installed correctly and works however whenever i use
> apt-get it finishes with the above error.
> 
> any suggestions ??
> 

There is a (?) bug in this version of ssh.

Look in /var/lib/dpkg/info/ssh.templates, for a line
(about line 90 of 100) that reads
Template: ssh/run_sshd

There should be a blank line in front of this line, to separate
it from the previous Template: section.

Insert that new line, and then run
# dpkg --pending --configure

That should fix it.


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Re: GDM and gdmchooser

2000-06-25 Thread Damon Muller
Hi Scott,

Quoth Scott Graves, 
> How do I invoke the gdmchooser in order to choose which host I wish to login
> to? I can't seem to get this feature to work.

Last time I tried to do this myself (a few months ago, admittedly), I
discovered that the chooser functionality didn't work and had been
removed.

I have no idea if it has been re-implemented.

OTOH, plain XDM works great as a chooser, it's just *really* ugly.

cheers,

damon

-- 
Damon Muller ([EMAIL PROTECTED]) /  It's not a sense of humor.
* Criminologist /  It's a sense of irony
* Webmeister   /  disguised as one.
* Linux Geek  / - Bruce Sterling 

- Running Debian GNU/Linux: Doing my bit for World Domination (tm) -


pgpkqLhaLRHZA.pgp
Description: PGP signature


RE: Mouse in deep doo-doo; Debian 2.2 from Libranet

2000-06-25 Thread Bill Barnes
Responding to my own post FWIW to the list.
Here is a reply from Libranet support.  Certainly like their style.

  Yes, it sounds like the ps2 port may be the problem (as per your latter
  email)

  To change the Linux settings:

  Because of the freeze when you boot up you will need to boot into
  'single user mode'
  To reboot in single user mode:

  Reboot your system, and at the 'LILO' prompt press 'CAPS LOCK'
  Now at the 'LILO boot:' prompt type in:

  Linux single

  and press enter.

  Now in single user mode:

  Switch to the console CTRL-ALT F1
  login as root and run

  gpmconfig

  Do you want to change anything (Y/n)? Y
  Do you want to run gpm's mouse-test program (Y/n)? n

  Where is your mouse [/dev/mouse]?
  enter /dev/ttyS0 as the device if your mouse is on COM1
  or /dev/ttyS1 if the mouse is on COM2

  What type is your mouse (or help) [ps2]?
  ms

  Set the responsiveness (normally not needed) []?
  press enter

  Repeat protocol (enter 'none' to turn repeating off) []?
  none

  Do you want to add any additional arguments etc.
  press enter

  Reboot the machine.

  Again switch to the console as above and login as root, then run
  'adminmenu'
  choose 'reconfigure X'
  do NOT accept the existing file as defaults
  The mouse should be working, do not change anything in the mouse
  section.
  Setup your video card as you did before. See the install guide.

  I hope that solves your problem.

  Regards,
  Tal


  -- ___
  Linux by Libranet - The TOP Desktop
  http://www.libranet.com





















>= Original Message From Bill Barnes <[EMAIL PROTECTED]> =
>Hello the list:
>Installed with mouse at /dev/psaux, ran for many days, installed several
>packagesl including a lng run of helixcode.
>
>Mouse began dying and maybe cursor would reappear someplace and maybe move
>when moving the mouse to and fro.
>
>Switched to Win95 and got the same erratic mouse behavior.  Cleaned it up to
>no avail and finally switched the mouse to com1.  Works fine in W95.
>
>Libranet installs a login screen.  Edited the mouse config to /dev/ttyS0.
>
>The login screen does not respond to the mouse or the keyboard with the mouse
>plugged into the serial port.  I have to reset the machine to get out of 
this.
>
>Moving the mouse back to the ps/2 port allows a login but, of course, the
>mouse is still not usable.
>
>Can boot to maintenance mode with 'Linux single'.
>Default runlevel is set to 2 in inittab.  Changed it to 5, trying to kill the
>login screen.
>
>Is this a Libranet or a Debian problem?  Is there an out or do I just have to
>re-install and get on with it?
>
>Thanks,
>Bill Barnes
>
>
>This e-mail has been sent to  you  courtesy of OperaMail,  a
>free  web-based  service  from  Opera  Software,  makers  of
>the award-winning Web Browser - http://www.operasoftware.com
>
>
>
>--
>Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < 
/dev/null


This e-mail has been sent to  you  courtesy of OperaMail,  a
free  web-based  service  from  Opera  Software,  makers  of
the award-winning Web Browser - http://www.operasoftware.com




looking for fittings

2000-06-25 Thread Li Bang
Dear Sir or Madam,

   We are Kitchen electrical utensils manfacturer offering high-quality 
products 
at 

competitive price.

   Now we looking for some fittings for our product:

  1.Halogen emission tube, 650W

  2.High temperature resistance microlite glass

  3.Porcelain inner for slow cooker

  If this meets your interest, please do not hesitate to contact us.

  I am looking forward to your favorable reply. 

 Best regards,

 Pen. Ding

---

LiBang Electronic Co., Ltd

Huanzhen Rd, 
Yanbu Town, Nanhai City,
Guangdong Province 538247
China
Tel: +86-757-6239 656
Fax: +86-757-6336 141
E-mail: [EMAIL PROTECTED]
Http://[EMAIL PROTECTED]
Contact Person: Pen . Ding





DPKG ERROR

2000-06-25 Thread Jay Kelly
Hello Group,
I was trying to install ssh and would get an error
 "E:  Sub-Process /usr/bin/dpkg returned an error code (1).
So I thought to upgrade DPKG (oh yeah I was running slink
and upgraded to potato when this started to happen). Well
after trying tp upgrade dpkg I got the same error message.
No matter what I try to install with apt-get install I get
the same error message. How can I fix this? I have posted
some of the error message befare but I will resend some of 
them.
thanks group 

-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 Script started on Mon Jun 26 15:46:31 2000
mojo:/home/neutec# apt-get upgrade debconf

Reading Package Lists... 0%

Reading Package Lists... 0%

Reading Package Lists... 16%

Reading Package Lists... Done

Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... Done
The following packages have been kept back
  acct eterm kbd libhtml-parser-perl libmime-base64-perl mon perl-tk phalanx
  wmmail 
0 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y


Setting up ssh (1.2.3-5) ...
Starting OpenBSD Secure Shell server: sshd.
/var/lib/dpkg/info/ssh.postinst: db_stop: command not found
dpkg: error processing ssh (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
mojo:/home/neutec# 
Script done on Mon Jun 26 15:47:10 2000


Re: ssh deb not installing correctly

2000-06-25 Thread Matthew Sayler
I remember back in '00 when Daniel Free wrote:
> I Just reinstalled my machine at home with debian 2.2 (potato) and started
> apt-get installing all the things i likeon my system, but when i got to ssh
> it returned the error below.
> 
>  Begin Console Dump 
> 
> 1 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up ssh (1.2.3-5) ...
> dpkg: error processing ssh (--configure):
>  subprocess post-installation script returned error exit status 10
> Errors were encountered while processing:
>  ssh
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
>  End Console Dump 
> 
> the program itself has installed correctly and works however whenever i use
> apt-get it finishes with the above error.
> 
> any suggestions ??

I had the same problem installing ssh on one of my stripped down machines
that hadn't been updated for a few months.  There are a couple of problems
that my unexpert eyes found in the /var/lib/dpkg/info/ssh.postinst
script...

1) Apparently it tries to grab values from debconf that aren't defined
and this results in your error 10 being propgated up in the script

2) at the end there is db_stop command that just doesn't seem exist.
In another thread someone mentioned that this needs to be wrapped in
some sort of test..  I just hacked the script around to get it to stop
complaining. 

I attached the script that at least allowed me to get past the annoying
error.  As far as I can tell what I did is make ssh emulate the behavior
when debconf isn't installed.  It may format your drive or send a copy
of all your emails to fbi.gov for all I know..

Hope this helps?

Matt

-- 
/* Matt Sayler || [EMAIL PROTECTED] || http://www.thewalrus.org
   "RFC 882 put the dot in .com" -- Christian Bauernfeind */
#!/bin/sh -e

action="$1"
oldversion="$2"

if [ "$action" = configure ]
then
  if [ -f /etc/ssh/ssh_host_key ]
  then
#check for old host_key files using IDEA, which openssh does not support
ssh-keygen -p -N '' -f /etc/ssh/ssh_host_key 2>&1 | \
  grep -q 'unknown cipher' && {
  mv /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.old
  mv /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_key.pub.old
}
  fi

  [ -f /etc/ssh/ssh_host_key ] || (
umask 022
ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ''  >/dev/null
  )

  # get rid of mistaken rsh diversion (circa 1.2.27-1)
  if test -L /usr/bin/rsh &&
 dpkg-divert --list '/usr/bin/rsh.real/rsh' | grep -q ' ssh$'
  then
test -L /usr/bin/rlogin && rm /usr/bin/rlogin
dpkg-divert --package ssh --remove --rename \
--divert /usr/bin/rsh.real/rlogin /usr/bin/rlogin
test -L /usr/bin/rsh && rm /usr/bin/rsh
dpkg-divert --package ssh --remove --rename \
--divert /usr/bin/rsh.real/rsh /usr/bin/rsh
test -L /usr/bin/rcp && rm /usr/bin/rcp
dpkg-divert --package ssh --remove --rename \
--divert /usr/bin/rsh.real/rcp /usr/bin/rcp
test -L /usr/man/man1/rlogin.1.gz && rm /usr/man/man1/rlogin.1.gz
dpkg-divert --package ssh --remove --rename \
--divert  /usr/man/man1/rlogin.real.1.gz /usr/man/man1/rlogin.1.gz
test -L /usr/man/man1/rsh.1.gz && rm /usr/man/man1/rsh.1.gz
dpkg-divert --package ssh --remove --rename \
--divert /usr/man/man1/rsh.real.1.gz /usr/man/man1/rsh.1.gz
test -L /usr/man/man1/rcp.1.gz && rm /usr/man/man1/rcp.1.gz
dpkg-divert --package ssh --remove --rename \
--divert /usr/man/man1/rcp.real.1.gz /usr/man/man1/rcp.1.gz
rmdir /usr/bin/rsh.real
  fi
fi

# sort out whether we're installing ssh suid
RET=false
# mps comment to get around debconf bug??
#test -e /usr/share/debconf/confmodule && {
  #. /usr/share/debconf/confmodule
  #db_version 2.0
  #db_get ssh/SUID_client
#}
if [ "$RET" = "true" ]; then
  ssh_mod=04755
else
  ssh_mod=0755
fi

RET=true
#test -e /usr/share/debconf/confmodule && {
  #db_get ssh/run_sshd
#}
if [ "$RET" = "true" ]; then
  test -f /etc/ssh/sshd_not_to_be_run && rm -f /etc/ssh/sshd_not_to_be_run
else
  touch /etc/ssh/sshd_not_to_be_run
fi

if command -v suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
suidregister -s ssh /usr/bin/ssh root root $ssh_mod
elif [ -e /usr/bin/ssh ]; then
chown root.root /usr/bin/ssh
chmod $ssh_mod /usr/bin/ssh
fi

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a ! -e /usr/doc/ssh -a -d /usr/share/doc/ssh ]; then
ln -sf ../share/doc/ssh /usr/doc/ssh
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d ssh defaults >/dev/null
/etc/init.d/ssh start
# End automatically added section


#db_stop



Re: Keyboard rate

2000-06-25 Thread Patrick Draper

--- kmself@ix.netcom.com wrote:
> On Fri, Jun 23, 2000 at 09:20:20AM -0700, Patrick Draper wrote:
> > Hi,
> > 
> > I can't set my keyboard rate. I've read every web page out there on
> > setting keyboard rates, and I still haven't figured it out yet.
> 
> man kbdrate -- though it appears you're onto this.

I have kbdrate installed properly, and I can invoke it properly.
 
> How about telling us:
> 
>  - What user you're running as.

I'm running as root. I have verified this.

>  - The text of the command you're running.

kbdrate -r 30.0

>  - The text of the output.

helium:~# whoami
root
helium:~# kbdrate -r 30.0
Typematic Rate set to 30.0 cps (delay = 250 ms)
helium:~# 

 

For fun, I also set the keyboard rate to 2, 3, and 4. I get no apparent
change in the rate. It seems that I'm always getting about 10
characters per second, approximately.


 
> > This problem only happens with Debian. When I run Suse, RedHat, or
> > FreeBSD I can change the keyboard rate at will.
> 
> On the same hardware?

Yes, exactly the same hardware.

I have the keyboard rate problem on two separate systems. One is a
P-133 and the other is a Celery-300. Both are running Debian - one is
running 2.1 and the other is running 2.2 (upgraded a few days ago
without problems).

I can adjust the keyboard rate at will when I boot Suse or other OS. I
can also adjust the keyboard rate when I'm running Suse with VMWare
under Debian Linux. Debian never changes it's keyboard rate, but the OS
running under VMWare will.

The problem is rather baffling. I may try to find the source code to
kbdrate and figure out what it is doing.



=
Patrick Draper| Don't  |[EMAIL PROTECTED]
Austin, Texas | Fear   |Father Order runs at a
http://pdrap.home.texas.net   | The|good pace, but old Mother
Be Microsoft Free - Use Linux |Penguin |Chaos is winning the race.

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



Re: squid errors

2000-06-25 Thread Robert L. Harris


Reading the error message, it looks like the url you're hitting
has spaces or tabs in it and the server doesn't like that.

Robert

Thus spake [EMAIL PROTECTED] ([EMAIL PROTECTED]):

> Hi
> 
> In my syslog I am getting the following message which seems to appear every
> minute.  Hence i am worried that it may be slowing down my squid server :
> 
> Jun 26 12:34:53 server squid[13325]: urlParse: URI has whitespace:
> {http://chann
> els.real.com/getlatest.glh?PV=6.0.6.99&OS=WIN&L=en-US, en,
> *&LID=1033&ch=120+54+
> 0+0+0&ch=72+39+0+0+0&ch=44+287+0+0+0&ch=52+505+0+0+0&ch=33+393+0+0+0&ch=73+
> 19+0+
> 0+0&ch=98+27+0+0+0&ch=94+244+0+0+0&ch=16+478+0+0+0&ch=113+46+0+0+0&ch=51+11
> 6+0+0
> +0&ch=97+108+0+0+0}
> 
> 
> if anyone has any clue as to what this is telling me, it would be much
> appreciated.
> 
> thanx
> 
> Zane
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



:wq!
---
Robert L. Harris|  Micros~1 :  
Senior System Engineer  |For when quality, reliability 
  at RnD Consulting |  and security just aren't
\_   that important!
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'



squid errors

2000-06-25 Thread zdrysdal
Hi

In my syslog I am getting the following message which seems to appear every
minute.  Hence i am worried that it may be slowing down my squid server :

Jun 26 12:34:53 server squid[13325]: urlParse: URI has whitespace:
{http://chann
els.real.com/getlatest.glh?PV=6.0.6.99&OS=WIN&L=en-US, en,
*&LID=1033&ch=120+54+
0+0+0&ch=72+39+0+0+0&ch=44+287+0+0+0&ch=52+505+0+0+0&ch=33+393+0+0+0&ch=73+
19+0+
0+0&ch=98+27+0+0+0&ch=94+244+0+0+0&ch=16+478+0+0+0&ch=113+46+0+0+0&ch=51+11
6+0+0
+0&ch=97+108+0+0+0}


if anyone has any clue as to what this is telling me, it would be much
appreciated.

thanx

Zane




Re: How to rebuild from .deb sources (exim)

2000-06-25 Thread Ross Boylan
I got open ldap and a bunch of other packages and was able to rebuild 
(except I kept getting complaints about PGP keys at the end; I tried the 
options to turn off signing, but they didn't seem to take).


Crunch time comes when I try to use the perl I put in.  Was there any 
particular gotcha that caused you to leave it out, or was it just the 
desire to avoid extra junk?  I recall I had to fiddle a little to get it to 
hook up with perl--specifically it wanted to include all the dbm library 
variants and I didn't have them all.  I imagine that might be a little 
tricky to automate, since the line is auto-generated in the middle of the 
build process.


At 05:25 AM 6/25/2000, Mark Baker wrote:

On Sun, Jun 18, 2000 at 07:01:43PM +0100, Colin Watson wrote:

> Building lookups.a does depend on LDAP (see
> build-Linux-i386/lookups/Makefile), so I'd guess that installing
> libopenldap-dev will fix your problem.

Yes, that is indeed the solution here.

> >P.S. Can anyone tell me what the story is with /etc/email-address,
> >which I just noticed while poking around the source?  I didn't notice
> >any mention of it in the docs.  Does it work?  Does it affect only
> >mail heading to remote systesm?
>
> It works fine, and yes. It's a Debian addition, and fairly simple, so I
> guess the main documentation won't mention it.

No, the main documentation wouldn't mention it, because it's not part of
exim itself, but implemented as a rewrite rule in the configuration file:
the main documentation would allow you to work out what the rewrite rule did
if you looked at the config file. I guess I should mention it in the
README.debian file.




Re: safe to use woody packages in potato?

2000-06-25 Thread Ian Zimmerman
> "John" == John Anthony Kazos <[EMAIL PROTECTED]> writes:

John> I'm running potato. Is it safe (read, won't screw up the
John> installation) to change the lines in sources.list to refer to
John> woody as well as potato, so that I use a newer version if it's
John> in woody and an older one if it's only in potato? I'm not
John> significantly concerned about problems with the packages
John> themselves (I'm running 2.4.0-test2, why not unstable Debian); I
John> just wanted to make sure that the differences between potato and
John> woody are just package differences and don't require a special
John> process to use the newer packages. Are there any caveats with
John> doing this? (It's difficult for me to recover from an unbootable
John> Linux on this box.)

What will that do that simply switching to woody wouldn't?

-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.



Some apt-get problems

2000-06-25 Thread p . b . burton
I am trying this again with a decent subject line.  Sorry
about that.

Phil


> 
> I am having troubles trying to upgrade to potato using
> apt-get.  I enter 'apt-get update' and get the following:
> 
> Fetched 445kB in 2m16s (3269B/s)  
> Reading Package Lists... Error!
> E: Dynamic MMap ran out of room
> E: Dynamic MMap ran out of room
> E: Error occured while processing lwm (NewVersion1)
> E: Problem with MergeList
> /var/state/apt/lists/http.us.debian.org_debian_dists_frozen_main_binary-i386_Packages
> E: The package lists or status file could not be parsed or
> opened.
> 
> I have already done this several times before now and even
> have a /var/cache/apt/packages full of 191 megabytes of
> uninstalled packages.  The 'apt-get dist-upgrade' earlier
> gave up after not being able to download a package I never
> requested.  All attempts to force install the rest have been
> unsuccessful.  The packages that won't download are libpam
> runtime and modules.  So how do I force install the other
> stuff?
> 
> Phil B.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 



ssh deb not installing correctly

2000-06-25 Thread Daniel Free
I Just reinstalled my machine at home with debian 2.2 (potato) and started
apt-get installing all the things i likeon my system, but when i got to ssh
it returned the error below.

 Begin Console Dump 

1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up ssh (1.2.3-5) ...
dpkg: error processing ssh (--configure):
 subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
 ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)

 End Console Dump 

the program itself has installed correctly and works however whenever i use
apt-get it finishes with the above error.

any suggestions ??



Re: package versions in dselect, and Release file

2000-06-25 Thread Olaf Meeuwissen
Ian Zimmerman <[EMAIL PROTECTED]> writes:

> What are the packaging frontends (dselect in particular) supposed to
> do when 2 sources from sources.list provide different version numbers
> of the same package?

Don't know for sure, but based on experience I'd say they use the
latest (and greates?) version.

> I have a potato system, but I downloaded a couple of upgraded packages from
> woody and placed them in a local mirror directory.  I generated the
> Packages files with dpkg-scanpackages.  That went fine, so I added a
> "deb file:" line for the local mirror to sources.list and run
> dselect.  In the Select phase I could see the newer versions as
> available.  I selected them.  But the Install phase ignored my local
> mirror, tried to download the updates from the potato archive, and
> failed. 

Make sure your local archive is mentioned before the rest.  I maintain
a local mirror but it is usually lagging a bit behind (especially with
unstable).  If your sources.list says something like:

  deb file:/pub/debian unstable main
  deb http://ftp.debian.org/debian unstable main

your packaging frontends should use the latest version and apt-get
will look in the local mirror first and only contact the official
archive if it can't find the version the frontend is looking for.

> I noted while dselect was hitting the sources it said something like
> 
> deb file:/foo/bar Release Ignored
> 
> Of course, I don't have a Release file in the mirror directory.  Is
> that necessary for it to be recognized as a worthy source?  If so, how
> do I generate one; dpkg-scanpackages doesn't.  Or is there something
> else wrong with what I'm trying?

You don't need a Release file in your mirror, but if you want to shut
up apt a bit just look in /var/state/apt/lists/ and copy the relevant
Release file to your local mirror.

-- 
Olaf Meeuwissen   Epson Kowa Corporation, Research and Development



Re: package versions in dselect, and Release file

2000-06-25 Thread Olaf Meeuwissen

-- 
Byns Zrrhjvffra   Rcfba Xbjn Pbecbengvba, Erfrnepu naq Qrirybczrag



Re: Setting up read-write access for local CVS

2000-06-25 Thread Olaf Meeuwissen
Preben Randhol <[EMAIL PROTECTED]> writes:

> I have installed cvs on my machine and want to use it so that I as a
> user can check in and out files. 
> 
> When I as a user ran:
> cvs import -m "Created directory structure" Ada95/Touch obliord start
> 
> I got:
> 
> cvs import: Sorry, you don't have read/write access to the history file
> cvs [import aborted]: /var/cvs/CVSROOT/history: Ikke tilgang
> 
> (Ikke tilgang = No access)
> 
> This was of course not surprisingly. My question is how do one setup cvs
> so that one gets read write access?
> 
> Should one:
> 
> 1. Create a cvs group and give this group ownership with r/w to the
>repository and add users to this group?
> 2. Use the setuid bit on cvs?
> 3. Other solution (which?)

I'd say 3.  The history file needs to be world writeable for even such
a simple thing as checking out files of the repository (basically just
read access of the repository).  If you don't want history logging you
can just remove the file (as root).

I don't know what your set up is like, but if you are only interested
in a personal repository, that is you are the only user, you could put
the repository in $HOME and be done with any an all permission hassle.

In our group I've set things up so that every CVS module is owned by a
(different) group and folks that need to commit code are made members
of that group.  The history file is world writeable, for now.

Just for reference a little bit of our /pub/cvs:

  drwxrwxr-x4 root cvsadmin 4096 Jun  9 14:31 CVSROOT
  drwxrwsr-x4 root calendar 4096 Jun 15 08:30 calendar
  drwxrwsr-x2 root r-and-d  4096 May 31 08:50 cvs-sample

Hope this helps,
-- 
Olaf Meeuwissen   Epson Kowa Corporation, Research and Development



Unidentified subject!

2000-06-25 Thread p . b . burton

I am having troubles trying to upgrade to potato using
apt-get.  I enter 'apt-get update' and get the following:

Fetched 445kB in 2m16s (3269B/s)  
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Error occured while processing lwm (NewVersion1)
E: Problem with MergeList
/var/state/apt/lists/http.us.debian.org_debian_dists_frozen_main_binary-i386_Packages
E: The package lists or status file could not be parsed or
opened.

I have already done this several times before now and even
have a /var/cache/apt/packages full of 191 megabytes of
uninstalled packages.  The 'apt-get dist-upgrade' earlier
gave up after not being able to download a package I never
requested.  All attempts to force install the rest have been
unsuccessful.  The packages that won't download are libpam
runtime and modules.  So how do I force install the other
stuff?

Phil B.



safe to use woody packages in potato?

2000-06-25 Thread John Anthony Kazos Jr.
I'm running potato. Is it safe (read, won't screw up the installation) to change
the lines in sources.list to refer to woody as well as potato, so that I use a
newer version if it's in woody and an older one if it's only in potato? I'm not
significantly concerned about problems with the packages themselves (I'm running
2.4.0-test2, why not unstable Debian); I just wanted to make sure that the
differences between potato and woody are just package differences and don't
require a special process to use the newer packages. Are there any caveats with
doing this? (It's difficult for me to recover from an unbootable Linux on this
box.)



gpm and X incompatible? (potato)

2000-06-25 Thread John Anthony Kazos Jr.
I'm using X 3.3.6-8 with xserver-svga 3.3.6-8 and tdfx-dri 4.0.00-2 (through
alien) and gpm 1.17.8-16.1 with a 3dfx framebuffer at 1024x768-60 on a 3dfx
Voodoo3 2000 with a PS/2 mouse on /dev/psaux. After X is started, and I switch
back to tty1, no textual output occurs (by typing, by program output, and by
switching amongst tty[0-9]+) and lines one pixel tall and about an inch wide
of random colors are drawn going from left to right and from top to bottom
starting from about the middle of the screen, and the mouse does not work in X.
Killing gpm (through "gpm -k" and "/etc/init.d/gpm stop") makes the mouse work
in X and fixes the display problems in the framebuffer. Does anyone have any
ideas about what could be causing this?



Mouse in deep doo-doo; Debian 2.2 from Libranet

2000-06-25 Thread Bill Barnes
Hello the list:
Installed with mouse at /dev/psaux, ran for many days, installed several 
packagesl including a lng run of helixcode.

Mouse began dying and maybe cursor would reappear someplace and maybe move 
when moving the mouse to and fro.

Switched to Win95 and got the same erratic mouse behavior.  Cleaned it up to 
no avail and finally switched the mouse to com1.  Works fine in W95.

Libranet installs a login screen.  Edited the mouse config to /dev/ttyS0.

The login screen does not respond to the mouse or the keyboard with the mouse 
plugged into the serial port.  I have to reset the machine to get out of this.

Moving the mouse back to the ps/2 port allows a login but, of course, the 
mouse is still not usable.

Can boot to maintenance mode with 'Linux single'.  
Default runlevel is set to 2 in inittab.  Changed it to 5, trying to kill the 
login screen.

Is this a Libranet or a Debian problem?  Is there an out or do I just have to 
re-install and get on with it?

Thanks,
Bill Barnes


This e-mail has been sent to  you  courtesy of OperaMail,  a
free  web-based  service  from  Opera  Software,  makers  of
the award-winning Web Browser - http://www.operasoftware.com




Ctrl-C and normal kill doesn't work.

2000-06-25 Thread Harald Thingelstad
This frustrating little problem...

When having a running process, ctrl-c or kill doesn't work on my system.
You have to use kill -9.

A simple example:
ping 127.0.0.1
this process is meant to run as long as you want, then you ctrl-c it to
get your statistics.
However, ctrl-c doesn't work. No reaction whatsoever, the program just
keeps on running.
So I have to ctlr-z it to reclaim my command line, then kill -9.
Normal "kill" is likewise. No reaction, no error messages, the process
just keeps on running.
It affects all programs as far as I can see.
I'm using debian 2.1 (slink. Long story and a slow connection.) with the
latest updates, gnome-icewm and bash.
Sure gnome is marked experimental here, but..
Where could the problem be?
Kernel? It's a customized debian-source-2.0.38 kernel, but the most
exceptional thing about *that* is ip-masquerading support.

I'm numbskulled here, so any support appreciated.

--
Philosophy, law, medicine and even theology, alas! I studied everything with 
an ardent will and here I am, poor fool, just as far behind as ever. 
No more advanced than before.
Goethe - Faust



Re: muttzilla -- bus error -- help building libc5 MZ from sources?

2000-06-25 Thread Colin Watson
kmself@ix.netcom.com wrote:
>I just installed muttzilla, and am finding Netscape terminates with a
>bus error.  The muttzilla docs include a README.Debian which says:
>
>This package is compiled against libc6. This has the effect that it
>only works with a libc6 version of Netscape.  The author has this
>to say:
>
>-- snip -- 
>Apr 11: I finally found out what is up with Debian. They ship a libc5
>Netscape, but glibc2 devel tools.

Mm, have you tried installing the libc6 Netscape packages instead? As of
a couple of months ago, there are separate (e.g.)
communicator-473-smotif and communicator-473-smotif-libc5 packages. Try
the libc6 one of these and see if it works any better for you.

-- 
Colin Watson [EMAIL PROTECTED]



Re: sources.list & woody source packages

2000-06-25 Thread Sven Burgener
On Sun, Jun 25, 2000 at 09:43:17PM +0200, Jonas Birme´ wrote:

> Try:
> deb-src http://non-us.debian.org/debian-non-US woody non-US/main 
> non-US/contrib non-US/non-free

Thanks, that did the trick. :)

-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-25 Thread Colin Watson
kmself@ix.netcom.com wrote:
>The key difference is that $( command list ) is nestable without
>quoting, backticks are not.

[snip]

>The functionality is common in a number of shells other than bash,
>though I'm not quite sure which.  I believe the Unix posix-compliant
>(bastardized korn) and possibly korn shells support it.

Looking through the shells I have installed, ash and zsh support it too.
As I remember, it only appeared in bash as of version 2.

-- 
Colin Watson [EMAIL PROTECTED]



Re: Installing ssh

2000-06-25 Thread Colin Watson
Bob Bernstein <[EMAIL PROTECTED]> wrote:
>On Mon, Jun 26, 2000 at 03:00:34PM -0700, Jay Kelly wrote:
>> /var/lib/dpkg/info/ssh.postinst: db_stop: command not found
>
>Weird. iirc that's a debconf function. Not sure why it can't be found. Mebbe
>upgrade debconf?

One of the bugs against ssh comments that ssh.postinst doesn't end with
a newline, which may be the problem.

However, ssh only Suggests: debconf, rather than depending on it; as a
result, 'db_stop' needs to be protected with 'test -e
/usr/share/debconf/confmodule' in the same way as all the other debconf
calls in ssh.postinst are. I've pointed this out as a follow-up to one
of the bug reports on this issue.

-- 
Colin Watson [EMAIL PROTECTED]



Re: sources.list & woody source packages

2000-06-25 Thread Jonas Birme´
Sven Burgener wrote:
> 
> Hi all
> 
> I want to have my sources.list set up so that I can get source packages for
> woody. I am running potato here and my currents sources.list looks as follows:
> 
> --- sources.list ---
> #deb cdrom:[Debian GNU/Linux 2.2 _Potato_ - Unofficial i386 Binary-1 
> (2609)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free 
> non-free
> deb http://http.us.debian.org/debian potato main contrib non-free
> deb http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free
> deb http://security.debian.org potato/updates main contrib non-free
> 
> # Uncomment if you want the apt-get source function to work
> deb-src http://http.us.debian.org/debian woody main contrib non-free
> deb-src http://non-us.debian.org/debian-non-US woody non-US
> --- sources.list ---
> 
> The last two lines - for the woody deb-src packages - seem incorrect, as I
> get errors when doing an update. How should they be instead?
Try:
deb-src http://non-us.debian.org/debian-non-US woody non-US/main non-US/contrib
non-US/non-free

/Jonas
-- 
Jonas Birme, [EMAIL PROTECTED], -o)  | QOTD:  "My ambition is to marry a rich 
ICQ: 12030785,/\  | woman who's too proud to let  her  
http://www.birme.home.dhs.org/   _\_v | husband work." 
Linux, the choice of a GNU generation |



Re: question on sysvinit

2000-06-25 Thread Brad
On Sun, Jun 25, 2000 at 09:15:01PM +0200, Sven Burgener wrote:
> 
> In their manual, SuSE document that upon changing from say runlevel 
> 2 to 3, first all links matching /sbin/init.d/rc2.d/K* get executed 
> and then the links matching /sbin/init.d/rc3.d/S*. (Funnily they have 
> init.d under /sbin and not /etc)

From the Debian Policy Manual version 3.1.1.1, section 3.3.1:
|   For example, if we are changing from runlevel 2 to runlevel 3, init
|   will first execute all of the `K' prefixed scripts it finds in
|   `/etc/rc3.d', and then all of the `S' prefixed scripts.  The links
|   starting with `K' will cause the referred-to file to be executed
|   with an argument of `stop', and the `S' links with an argument of
|   `start'.

If you have the debian-policy package from potato/woody installed, you
should find the document in /usr/share/doc/debian-policy. It should also
be available on the website.

i don't know why SuSE would do it the way that quote claims. Perhaps
someone who has more SusE experience can shed some light on this.


-- 
  finger for GPG public key.


pgp9TLIEwWCTg.pgp
Description: PGP signature


Re: question on sysvinit

2000-06-25 Thread Ian Zimmerman
> "Sven" == Sven Burgener <[EMAIL PROTECTED]> writes:

itz> Why is it this way?  Well, there's really no way to tell init to
itz> execute programs upon _exiting_ a runlevel, or upon a transition
itz> from one level to another; the /etc/inittab that defines
itz> runlevels is one-dimensional.  So the transition must be defined
itz> independently of the old level.

Sven> In their manual, SuSE document that upon changing from say
Sven> runlevel 2 to 3, first all links matching /sbin/init.d/rc2.d/K*
Sven> get executed and then the links matching
Sven> /sbin/init.d/rc3.d/S*. (Funnily they have init.d under /sbin and
Sven> not /etc)

Maybe that's how SuSE does it, but not Debian.

Sven> "specification" for this? Or does it simply not matter? :)

AFAIK there's no written standard for this yet, but soon there will be
(the Linux Standard Base).  You can check their drafts.

The original System V init did it the Debian way, I believe.

-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.



Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-25 Thread kmself
On Fri, Jun 23, 2000 at 08:51:44PM -0400, Peter Kovacs wrote:
> On Sat, 24 Jun 2000, Mark Phillips wrote:

> > for f in $(cd
> 
> From man 1 bash:
>Command Substitution
>Command substitution allows the output  of  a  command  to
>replace the command name.  There are two forms:
> 
>   $(command)
>or
>   `command`
> 
> That's why I had the backticks in there.  I've never seen the
> $() construct either.  

The key difference is that $( command list ) is nestable without
quoting, backticks are not.

If you've ever written:

   $ foo `bar \`baz qux\` ` 

...nested to several levels, you'll appreciate:

   $ foo $( bar $( baz qux ) )
   
...it becomes trivial to build complex expressions interatively on the
command line with command-line editing, without having to worry about
quoting backticks and such. 

The functionality is common in a number of shells other than bash,
though I'm not quite sure which.  I believe the Unix posix-compliant
(bastardized korn) and possibly korn shells support it.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpjLcEuXwtaX.pgp
Description: PGP signature


muttzilla -- bus error -- help building libc5 MZ from sources?

2000-06-25 Thread kmself
I just installed muttzilla, and am finding Netscape terminates with a
bus error.  The muttzilla docs include a README.Debian which says:

This package is compiled against libc6. This has the effect that it
only works with a libc6 version of Netscape.  The author has this
to say:

-- snip -- 
Apr 11: I finally found out what is up with Debian. They ship a libc5
Netscape, but glibc2 devel tools. To get muttzilla to work on Debian
you either need to build a libc5 based muttzilla or install a glibc2
based Netscape. I'll try to put up some more thorough documentation
RSN, but if you want more details e-mail me and I'll forward you
the message I received which explains this.
-- snip --

The next version of this package will include a libc5 package and a
libc6 version - unfortunately the dependencies cannot be done accurately
so it will be up to _you_ to install the correct one.


Anyone got a step-by-step on building a libc5 muttzilla from sources?
TIA.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgp4xVy1WsNRT.pgp
Description: PGP signature


Re: question on sysvinit

2000-06-25 Thread Sven Burgener
On Sat, Jun 24, 2000 at 10:19:10AM -0700, Ian Zimmerman wrote:

> level).  Then the S scripts start everything that is needed, again
> potentially restarting things that were already active on the old
> level (although Debian avoids that as a matter of optimization).

See.

> Why is it this way?  Well, there's really no way to tell init to
> execute programs upon _exiting_ a runlevel, or upon a transition from
> one level to another; the /etc/inittab that defines runlevels is
> one-dimensional.  So the transition must be defined independently of
> the old level.

In their manual, SuSE document that upon changing from say runlevel 
2 to 3, first all links matching /sbin/init.d/rc2.d/K* get executed 
and then the links matching /sbin/init.d/rc3.d/S*. (Funnily they have 
init.d under /sbin and not /etc)

But which is the "proper" way of dealing with this? Is there no 
"specification" for this? Or does it simply not matter? :)

Some ideas / thoughts anyone?

Cheers
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: make menuconfig burp

2000-06-25 Thread John Galt

you missed the package ncurses5-dev.  

On Fri, 23 Jun 2000, Dave Bateman wrote:

> I'm trying to build a kernel and "make menuconfig" gives the following
> error:
> 
> debian:/usr/src/kernel-source-2.2.15# 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.15/scripts/lxdialog'
> find: /usr/local/lib/: No such file or directory
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE
> -DCURSES_LOC=""   -c -o lxdialog.o lxdialog.c
> 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.15/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> 
> do I need to make /usr/local/lib manually ? or did I miss something
> else?
> 
> TIA
> Dave
> 
> 
> 

-- 
Sacred cows make the best burgers

Who is John Galt?  [EMAIL PROTECTED], that's who!!!



getting .deb files after removed from incoming

2000-06-25 Thread Per Marker Mortensen


Hello

Newly uploaded files to debian are located at
http://incoming.debian.org/. When the files are accepted they are
moved to the main-archive.

How often does ftp.debian.org sync with this main-archive?

I want to install the newly uploaded kernel-image-2.2.17 files, but
they have been accepted into the main-archive but they are not yet
available at ftp.debian.org. 

Are there any way of accessing them until they "reach" ftp.debian.org?

Per



Re: Installing ssh

2000-06-25 Thread Jay Kelly
Ok I just tried upgrade debconf and received what looks like the same error.
I have attached the error.
Thanks Bob for your help.

On Sun, Jun 25, 2000 at 02:35:13PM -0400, Bob Bernstein wrote:
> On Mon, Jun 26, 2000 at 03:00:34PM -0700, Jay Kelly wrote:
> 
> > /var/lib/dpkg/info/ssh.postinst: db_stop: command not found
> 
> Weird. iirc that's a debconf function. Not sure why it can't be found. Mebbe
> upgrade debconf?
> 
> 
> -- 
> Bob Bernstein
> at  http://www.ruptured-duck.com
> Esmond, R.I., USA
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 Script started on Mon Jun 26 15:46:31 2000
mojo:/home/neutec# apt-get upgrade debconf

Reading Package Lists... 0%

Reading Package Lists... 0%

Reading Package Lists... 16%

Reading Package Lists... Done

Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... Done
The following packages have been kept back
  acct eterm kbd libhtml-parser-perl libmime-base64-perl mon perl-tk phalanx
  wmmail 
0 packages upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y


Setting up ssh (1.2.3-5) ...
Starting OpenBSD Secure Shell server: sshd.
/var/lib/dpkg/info/ssh.postinst: db_stop: command not found
dpkg: error processing ssh (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
mojo:/home/neutec# 
Script done on Mon Jun 26 15:47:10 2000


Re: Installing ssh

2000-06-25 Thread Bob Bernstein
On Mon, Jun 26, 2000 at 03:00:34PM -0700, Jay Kelly wrote:

> /var/lib/dpkg/info/ssh.postinst: db_stop: command not found

Weird. iirc that's a debconf function. Not sure why it can't be found. Mebbe
upgrade debconf?


-- 
Bob Bernstein
at  http://www.ruptured-duck.com
Esmond, R.I., USA



Installing ssh

2000-06-25 Thread Jay Kelly
Hello Group,
Sorry for the last post. I was unable to attach the file so I will try
again. Anyways Im trying to install ssh and I receive an error( see
attached). Any help would be greatly appreciated.
Thanks Jay

-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 Script started on Mon Jun 26 13:37:09 2000
mojo:/etc/apt# apt-get install ssh

Reading Package Lists... 0%

Reading Package Lists... 0%

Reading Package Lists... 16%

Reading Package Lists... Done

Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... 89%

Building Dependency Tree... Done
Sorry, ssh is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.


Setting up ssh (1.2.3-5) ...
Starting OpenBSD Secure Shell server: sshd.
/var/lib/dpkg/info/ssh.postinst: db_stop: command not found
dpkg: error processing ssh (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
mojo:/etc/apt# exit

Script done on Mon Jun 26 13:37:34 2000


Installation of ssh

2000-06-25 Thread Jay Kelly
Hello All,
I am working on installing ssh. Im running potato with kernel 2.2.15.
I receive an error after using atp-get install ssh. I have attached
the error.(Thanks for the help on typescript) Thanks for your help.
Jay
-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 Script started on Mon Jun 26 13:37:09 2000
mojo:/etc/apt# apt-get install ssh

Reading Package Lists... 0%

Reading Package Lists... 0%

Reading Package Lists... 16%

Reading Package Lists... Done

Building Dependency Tree... 0%

Building Dependency Tree... 0%

Building Dependency Tree... 50%

Building Dependency Tree... 50%

Building Dependency Tree... 89%

Building Dependency Tree... Done
Sorry, ssh is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.


Setting up ssh (1.2.3-5) ...
Starting OpenBSD Secure Shell server: sshd.
/var/lib/dpkg/info/ssh.postinst: db_stop: command not found
dpkg: error processing ssh (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
mojo:/etc/apt# exit

Script done on Mon Jun 26 13:37:34 2000


Re: PROBLEMS WITH INTEL ETHEREXPRESS PRO/100 SERVER ADAPTER BASED IN i960 PROCESSOR

2000-06-25 Thread Bob Bernstein
On Sun, Jun 25, 2000 at 02:18:57PM -0700, Javier Framit San Miguel wrote:

> I have problems installing the INTEL ETHEREXPRESS PRO/100 SERVER ADAPTER
> based in i960 PROCESSOR.

eepro100 ?

-- 
Bob Bernstein
at  http://www.ruptured-duck.com
Esmond, R.I., USA



Re: Use of typescript

2000-06-25 Thread Mike Werner
Jay Kelly wrote:
> Hello all
> I want to post some error messages I am having with ssh and am
> trying to use script command but I cant get it to work with 
> email. Here is what Im doing. I first creat the email,
> save it, then cat typescript >>/tmp/mutt-348-8.
> when I look at the email nothing has changed, but when I look 
> at /tmp/mutt-348-4 the output of script has been moved there.
> How do I copy the information from script to  an email?

What editor are you using with mutt?  Check that editor for a command to
include another file.  Under emacs, it's Ctrl-x then i  Other editors
probably have something similar.

Alternatively, you could try doing a copy and paste with the mouse.  Left
button to highlight, middle button (or left and right simultaneously with a
2 button mouse) to paste.

Or you could simply attach the script output file to the email.  After
editing your message, when you get the mutt screen where you would press y
to send the message press a instead.  You'll be prompted for the filename to
attach.  As usual, hit ? for the directory browser.
-- 
Mike Werner  KA8YSD   |  "Where do you want to go today?"
  |  "As far from Redmond as possible!"
'91 GS500E|
Morgantown WV |  Only dead fish go with the flow.



Use of typescript

2000-06-25 Thread Jay Kelly
Hello all
I want to post some error messages I am having with ssh and am
trying to use script command but I cant get it to work with 
email. Here is what Im doing. I first creat the email,
save it, then cat typescript >>/tmp/mutt-348-8.
when I look at the email nothing has changed, but when I look 
at /tmp/mutt-348-4 the output of script has been moved there.
How do I copy the information from script to  an email?
Thanks again..
-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 



Re: Xupgrade hoses it?

2000-06-25 Thread Robert L. Harris


Perfect.  Thanks.

Thus spake Henrique M Holschuh ([EMAIL PROTECTED]):

> Hi Robert!
> 
> On Sun, 25 Jun 2000, Robert L. Harris wrote:
> > X:  server socket directory has suspiciou ownership, aborting.
> 
> Stop the x server.
> remove /tmp/.X*
> start the x server.
> 
> -- 
>   "One disk to rule them all, One disk to find them. One disk to bring
>   them all and in the darkness grind them. In the Land of Redmond
>   where the shadows lie." -- The Silicon Valley Tarot
>   Henrique Holschuh



:wq!
---
Robert L. Harris|  Micros~1 :  
Senior System Engineer  |For when quality, reliability 
  at RnD Consulting |  and security just aren't
\_   that important!
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'



Re: x not starting. suspicious permissions

2000-06-25 Thread Pat Mahoney
On Sun, Jun 25, 2000 at 10:57:04AM -0500, Pat Mahoney wrote:
> When I try to start X, I get the following message:
> 
>   X: server socket directory has suspicious ownership, aborting.
> 
> and nothing else until I stop it with ctrl-c.
> 
> What exactly is the server socket directory?
> 
> I recently upgraded X to the latest version in unstable from the
> unstabel version from a week ago.
> 
> Thanks in advance.
> 

Replying to myself... nevermind, it just got answered in another
thread here.

removed /tmp/.X*

-- 
Pat Mahoney  <[EMAIL PROTECTED]>


We are using Linux daily to UP our productivity - so UP yours!
(Adapted from Pat Paulsen by Joe Sloan)



Re: Xupgrade hoses it?

2000-06-25 Thread Henrique M Holschuh
Hi Robert!

On Sun, 25 Jun 2000, Robert L. Harris wrote:
> X:  server socket directory has suspiciou ownership, aborting.

Stop the x server.
remove /tmp/.X*
start the x server.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



x not starting. suspicious permissions

2000-06-25 Thread Pat Mahoney
When I try to start X, I get the following message:

  X: server socket directory has suspicious ownership, aborting.

and nothing else until I stop it with ctrl-c.

What exactly is the server socket directory?

I recently upgraded X to the latest version in unstable from the
unstabel version from a week ago.

Thanks in advance.

-- 
Pat Mahoney  <[EMAIL PROTECTED]>


I cannot overemphasize the importance of good grammar.
.
What a crock.  I could easily overemphasize the importance of good
grammar.  For example, I could say: "Bad grammar is the leading cause
of slow, painful death in North America," or "Without good grammar, the
United States would have lost World War II."
-- Dave Barry, "An Utterly Absurd Look at Grammar"



Xupgrade hoses it?

2000-06-25 Thread Robert L. Harris


I just did a "dist-upgrade" on my potato box.  It appears to have upgraded
my XF86 3.3.6 and now when I start X, I get this:

bob:/home/nomad>startx


X:  server socket directory has suspiciou ownership, aborting.
_X11TransSocketUNIXConnect: Can't connect: errno = 111
giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.



I tried to remove and re-install X11...   no go. 

Help?

Robert




:wq!
---
Robert L. Harris|  Micros~1 :  
Senior System Engineer  |For when quality, reliability 
  at RnD Consulting |  and security just aren't
\_   that important!
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'



dictd cannot access localhost

2000-06-25 Thread Valdemir Melechco Carvalho
Hi all!
After a system upgrade, my dictd does not work any more. It can connect
dict.org but it fail with localhost. The only information I got was:
>Trying localhost (127.0.0.1) Can't connect to localhost.2628
I think /etc/dict.conf and dictd.conf are ok.
Does anybody have some suggestion?
Thanks in advance.



Re: Env Variables

2000-06-25 Thread Petr \[Dingo\] Dvorak
On Sun, 25 Jun 2000, Patrick Dahiroc wrote:

PD> i set the environmental variable below to dynamically change my xterm
PD> window to title to the current working directory.
PD> 
PD> export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"'
PD> 
PD> this works really well when i login in X, but when i login from the
PD> console my system beeps every time since \007 is the bell character.
PD> is the a variable i can check that would tell me whether i'm running
PD> from X or from the console, so i can conditionally set the
PD> PROMPT_COMMAND variable?

You could check the TERM variable and if it has something like 'xterm-16color'
then you set your prompt, if it has 'linux' in it, then you are in console, you
can check this in .bashrc or .cshrc or whatever is your favourite shell's
startup script.

Dingo.


  ).|.(
'.`___'.`
   ' `(>~<)' `
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-
  Petr [Dingo] Dvorak   [EMAIL PROTECTED]
  Coder - Purple Dragon MUD pdragon.inetsolve.com port 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-
  Just because you paranoid, it doesn't mean, they're not after you
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Re: Package Information

2000-06-25 Thread ktb
Jay Kelly wrote:
> 
> Hello Group,
> I have been playing with debian for about a month now and would like
> to get more information on the packages available. Where can I
> get information on the available packages and a description of what
> they do?
> thanks
> --

Take a look at --

http://www.debian.org/distrib/packages
hth,
kent



Re: [Q] Search for documentation on how to make .deb files

2000-06-25 Thread ktb
Preben Randhol wrote:
> 
> As there is no search utility on the Debian web pages (I hope there soon
> will be one), I wonder if somebody can point me in the direction of
> documentation on how to make .deb files.

Take a look at --
http://www.debian.org/Lists-Archives/
hth,
kent



PROBLEMS WITH INTEL ETHEREXPRESS PRO/100 SERVER ADAPTER BASED IN i960 PROCESSOR

2000-06-25 Thread Javier Framit San Miguel
I have problems installing the INTEL ETHEREXPRESS PRO/100 SERVER ADAPTER
based in i960 PROCESSOR.

Intel don´t have the drivers for this adapter  and I don´t know where can I
find it.

PLEASE HELP

JAVIER FRAMIT
SPAIN.

Please answer via EMAIL   thanks.




Setting up read-write access for local CVS

2000-06-25 Thread Preben Randhol
I have installed cvs on my machine and want to use it so that I as a
user can check in and out files. 

I put the repository at /var/cvs and as root I ran cvs init.

When I as a user ran:
cvs import -m "Created directory structure" Ada95/Touch obliord start

I got:

cvs import: Sorry, you don't have read/write access to the history file
cvs [import aborted]: /var/cvs/CVSROOT/history: Ikke tilgang

(Ikke tilgang = No access)

This was of course not surprisingly. My question is how do one setup cvs
so that one gets read write access?

Should one:

1. Create a cvs group and give this group ownership with r/w to the
   repository and add users to this group?
2. Use the setuid bit on cvs?
3. Other solution (which?)

Thanks in advance.

-- 
Preben Randhol -- [EMAIL PROTECTED] -- 
+---+ "It is assumed that the reader is reasonably  familiar with the
| ? |  dpkg System Administrators' manual. Unfortunately  this manual
+---+  does not yet exist."-- Debian Packaging Manual



Re: [Q] Search for documentation on how to make .deb files

2000-06-25 Thread Preben Randhol
Peter Palfrader <[EMAIL PROTECTED]> wrote on 25/06/2000 (15:15) :
> Check out the devel section of the website. There you find among other 
> stuff:
> 
> http://www.debian.org/doc/maint-guide/

Ah thanks! I installed the maint-guide package now and found a
postscript file which I coud print, very nice.

-- 
Preben Randhol -- [EMAIL PROTECTED] -- 
+---+ "It is assumed that the reader is reasonably  familiar with the
| ? |  dpkg System Administrators' manual. Unfortunately  this manual
+---+  does not yet exist."-- Debian Packaging Manual



sources.list & woody source packages

2000-06-25 Thread Sven Burgener
Hi all

I want to have my sources.list set up so that I can get source packages for
woody. I am running potato here and my currents sources.list looks as follows:

--- sources.list ---
#deb cdrom:[Debian GNU/Linux 2.2 _Potato_ - Unofficial i386 Binary-1 
(2609)]/ unstable contrib main non-US/contrib non-US/main non-US/non-free 
non-free
deb http://http.us.debian.org/debian potato main contrib non-free
deb http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free
deb http://security.debian.org potato/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
deb-src http://http.us.debian.org/debian woody main contrib non-free
deb-src http://non-us.debian.org/debian-non-US woody non-US
--- sources.list ---

The last two lines - for the woody deb-src packages - seem incorrect, as I 
get errors when doing an update. How should they be instead?
Also, is there a place that I can find a good description for the way they
are structured, particularly as I want to use a mirror soon.

TIA
-- 
S. Burgener
Powered by Debian GNU/Linux 2.2



Re: [Q] Search for documentation on how to make .deb files

2000-06-25 Thread Peter Palfrader
Hi Preben!

On Sun, 25 Jun 2000, Preben Randhol wrote:

> As there is no search utility on the Debian web pages (I hope there soon
> will be one), I wonder if somebody can point me in the direction of
> documentation on how to make .deb files. 

Check out the devel section of the website. There you find among other 
stuff:

http://www.debian.org/doc/maint-guide/

yours,
peter
-- 
http://www.cosy.sbg.ac.at/~ppalfrad
[ not signed since this is an untrusted box ]



Re: annoucement: auto-login patch for xdm

2000-06-25 Thread Oswald Buddenhagen
> > I agree, we could start xdm in rnlevel 3 and "su someuser startx" in 
> > runlevel
> > 4.
> > 
> Great,I'll keep an eye and try it as soon as it's done.Thanks.
> 
why do you want to wait? ;-)

i attached my auto-login script again. now it has the auto-relogin problem
nicely solved. if the server crashes, then the session will be restarted
immediately. if you exit cleanly, then you have to press enter to log in
again (it is done by a read command. so you could even use this input to
perform a command, eg, you could make it accept "halt", if you want).

put the script in /etc/init.d
then run:
update-rc.d -f xdm remove
update-rc.d -f xdm start 99 3 . stop 01 0 1 2 4 5 6 .
update-rc.d -f autologon start 99 4 . stop 01 0 1 2 3 5 6 .

this way you get the following runlevels:
1: normal single-user
2: multi-user without x login
3: multi-user with xdm login
4: multi-user with x auto-login
5: ?


and here is, how to make it with my xdm patch
(http://www.inf.tu-dresden.de/~ob6/unix/xautolog.html):
cd /etc/X11/xdm
cp xdm-config xdm-config-al
edit xdm-config-al
 -> add the auto-login options (see home page)
cd /etc/init.d
cp xdm xdm-al
edit xdm-al:
 -> change
start-stop-daemon --start --quiet --pid $PIDFILE --exec $DAEMON || echo -n 
" already running"
  to
start-stop-daemon --start --quiet --pid $PIDFILE --exec $DAEMON -- -config 
/etc/X11/xdm/xdm-config-al || echo -n " already running"
the following hack is necessary, because we must give xdm enough time to
exit before it is started again (with the different config):
edit rc:
 -> add "sleep 1" before the line 
"# Now run the START scripts for this runlevel." 
(line 72 on my system)
update-rc.d -f xdm remove
update-rc.d -f xdm start 99 3 . stop 01 0 1 2 4 5 6 .
update-rc.d -f xdm-al start 99 4 . stop 01 0 1 2 3 5 6 .


have fun! :-)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!
#!/bin/sh
# /etc/init.d/autologon
#
#   log on the first regular user in the passwd file automatically

PATH=/bin:/usr/bin:/sbin:/usr/sbin
PIDFILE=/var/run/autologon.pid

case "$1" in
  start)
echo -n "Starting auto-login daemon: "
if test -f $PIDFILE; then
  PID=$(<$PIDFILE)
  kill -CONT $PID 2>/dev/null && { echo "already running."; exit 1; } ||
{ echo -n "(warning: stale PID file found) "; }
fi
{ test -d /etc/X11/kdm && DISPMAN=kdm; } ||
  { test -d /etc/X11/gdm && DISPMAN=gdm; } ||
  { test -d /etc/X11/xdm && DISPMAN=xdm; } ||
  { echo no display manager configuration found; exit 1; }
eval `awk '
/^DisplayManager._0.startup/ {print "XSTRTUP=" $2 ";"}
/^DisplayManager._0.reset/ {print "XRSET=" $2 ";"}
/^DisplayManager\*userPath/ {print "export PATH=" $2 ";"}
' /etc/X11/$DISPMAN/$DISPMAN-config`
export DISPLAY=:0
. /etc/adduser.conf
eval `awk -F: '$3=='$FIRST_UID' {print "export USER=" $1 ";export HOME=" 
$6}' /etc/passwd`
(
  while :; do
$XSTRTUP
su - $USER -c 'exec startx $(<$HOME/.wmrc) >$HOME/.X.err 2>&1'
$XRSET
grep -q '^xinit:  connection to X server lost.' $HOME/.X.err || 
  { chvt 10; read -p "Press  to restart X session: " 
<>/dev/tty10 >&0 2>&1; }
  done
) &
echo $! >$PIDFILE
echo "done."
;;
  stop)
echo -n "stopping auto-login daemon: "
test -f $PIDFILE || { echo "not running."; exit 1; }
PID=$(<$PIDFILE); rm -f $PIDFILE
kill $PID 2>/dev/null || { echo "stale PID file found."; exit 1; }
echo "done."
;;
  *)
echo "Usage: /etc/init.d/autologon {start|stop}"
exit 1
;;
esac

exit 0


[Q] Search for documentation on how to make .deb files

2000-06-25 Thread Preben Randhol
As there is no search utility on the Debian web pages (I hope there soon
will be one), I wonder if somebody can point me in the direction of
documentation on how to make .deb files. 

-- 
Preben Randhol -- [EMAIL PROTECTED] -- 
"Potato is good for you." 
 Debian GNU/Linux 2.2 - http://www.debian.org



Printing very slow

2000-06-25 Thread Johann Spies
For about a week now, printing has been an unpleasant experience.  It
sometimes take about 5 or more minutes for 1 page to be printed from
the spool.  I had no problems earlier.

My setup: Printer HP5L - lpr - mixed slink/potato.

Where do I look for a fix?


-- 
J.H. Spies, Hugenotestraat 29, Posbus 80, Franschhoek, 7690, South Africa
Tel/Faks 021-876-2337 Sel/Cell 082 898 1528(Johann) 082 255 2388(Hester)
 "Honor thy father and mother; which is the first  
  commandment with promise; That it may be well with 
  thee, and thou mayest live long on the earth."
  Ephesians 6:2,3 



Re: Package Information

2000-06-25 Thread Ron Rademaker
You can find this in dselect (of course) or you can get the files Packages
or Packages.gz (gzipped version) from the a mirror. In these files are all
descriptions and what the packages depend on, suggest, recommend etc.

Ron Rademaker

PS. You can also use dpkg -s  for info on 

On Mon, 26 Jun 2000, Jay Kelly wrote:

> Hello Group,
> I have been playing with debian for about a month now and would like
> to get more information on the packages available. Where can I
> get information on the available packages and a description of what
> they do?
> thanks
> -- 
> 
> If Windows is the answer, then I want the problems back!  
> 
> Powered by Debian GNU/Linux. 
> http://www.debian.org
>  
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 



Package Information

2000-06-25 Thread Jay Kelly
Hello Group,
I have been playing with debian for about a month now and would like
to get more information on the packages available. Where can I
get information on the available packages and a description of what
they do?
thanks
-- 

If Windows is the answer, then I want the problems back!  

Powered by Debian GNU/Linux. 
http://www.debian.org
 



package versions in dselect, and Release file

2000-06-25 Thread Ian Zimmerman
What are the packaging frontends (dselect in particular) supposed to
do when 2 sources from sources.list provide different version numbers
of the same package?

I have a potato system, but I downloaded a couple of upgraded packages from
woody and placed them in a local mirror directory.  I generated the
Packages files with dpkg-scanpackages.  That went fine, so I added a
"deb file:" line for the local mirror to sources.list and run
dselect.  In the Select phase I could see the newer versions as
available.  I selected them.  But the Install phase ignored my local
mirror, tried to download the updates from the potato archive, and
failed. 

I noted while dselect was hitting the sources it said something like

deb file:/foo/bar Release Ignored

Of course, I don't have a Release file in the mirror directory.  Is
that necessary for it to be recognized as a worthy source?  If so, how
do I generate one; dpkg-scanpackages doesn't.  Or is there something
else wrong with what I'm trying?

-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.



gap (maths package) versions

2000-06-25 Thread Ian Zimmerman
The Debian version for the GAP (Groups/Algorithms/Proofs) package is
3.4.4, and yet there are two documentation packages which document
GAP4.  This situation persists even in woody, which even seems to
contain library add-ons for GAP4, but the base GAP package is still at
3.4.4.

What's going on?  I've installed GAP4 in /usr/local, but I'd prefer a
deb ..

-- 
Ian Zimmerman, Oakland, California, U.S.A.
In his own soul a man bears the source
from which he draws all his sorrows and his joys.
Sophocles.



Re: Capturing terminal contents

2000-06-25 Thread kmself
On Sat, Jun 24, 2000 at 03:15:23AM -0400, Bill Barnes wrote:
> Hello the list:
> 
> The simple objective is to, for the most part, copy error messages from x 
> terminals for submission to the mailing lists.
> Examined archives and duly noted references to import, xv, imagemagick,
> xgrab, etc and reviewed the man pages.
> These procedures seem to work, more or less, but i have not been
> successful in getting an image that i can copy to my email.

Don't.  

Images suck, are *way* bandwidth and storage intensive, and will piss
off most of us, resulting in zero help at best and killfiling at worst.

Console (xterm) output is plain old ASCII.  Cut and paste the text.  You
can do so by highlighting (left mouse button) and dumping it (middle
mouse button, use both left & right simultaneously on 2-button mice, may
require modifications to /etc/X11/XF86Config).


For a long sequence of commands and output, use "script".

$ script # output saved to named file or "typescript" by default
$ some-command
$ some-other-command
$ different-command
$ ^D # Use:  -D to end script file.

For short commands and such, redirect or tee output:

$ some-funky-command > logfile
$ some-funky-command | tee logfile

For more info:

$ man script
$ man tee

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpuLxWkCE5EV.pgp
Description: PGP signature


Re: Unusualproblem with LILO.

2000-06-25 Thread kmself
On Sun, Jun 25, 2000 at 01:08:44AM +0200, G0DModE wrote:
> Hi!
> 
> My friend has problem with can`t manage.
> He says that when he start comp. and lilo prompt appears, he can`t do
> anything, because system is writing on the screen this string:
> 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
> 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
> 01 01
> and never stopes. The strange think is that when he boot up the system
> from the floppy disk and then reboot, lilo is working normaly.
> What is wrong with the lilo?
> Configuration:
> Riva128zx 8mb AGP
> Celeron 333
> 32MB RAM
> hda1 - msdos 2,5 GB
> hdb1 - Linux native
> hdb5 - Linux swap

Repost with the following:

- /etc/lilo.conf
- output of "fdisk -l /dev/hda"
- output of "lilo"


-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpQykVVqg1D2.pgp
Description: PGP signature


Re: Env Variables

2000-06-25 Thread kmself
On Sun, Jun 25, 2000 at 01:47:52AM -0400, Patrick Dahiroc wrote:
> hi
> 
> i set the environmental variable below to dynamically change my xterm
> window to title to the current working directory.
> 
> export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"'
> 
> this works really well when i login in X, but when i login from the
> console my system beeps every time since \007 is the bell character.
> is the a variable i can check that would tell me whether i'm running
> from X or from the console, so i can conditionally set the
> PROMPT_COMMAND variable?

You can test whether DISPLAY is set:

if [ -z $DISPLAY ]
then
echo "DISPLAY not set"
else
echo "DISPLAY is set"
fi


-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpWkljxD7Ieo.pgp
Description: PGP signature


Re: kernel panic

2000-06-25 Thread kmself
On Fri, Jun 23, 2000 at 02:30:33PM -0700, cls--colo spgs wrote:
> debs,
> 
> successfully, i've done a compile of source kernel

[...]

> in case the compile is at issue, here's what i did from
> "bt:/usr/src/linux#":
> 
> make menuconfig
> make dep
> make install
> make modules
> make modules_install

Re-reading the above, I note you don't mention running 'lilo', which
will be an issue.  You also are doing a raw Linux kernel compile an
install rather than using the debian makekpkg utility.  It's a bit
nonstandard (for Linux), but makes the process of building and updating
the kernel more Debian-like.

If you do use makekpgk, you get to install the kernel you create just
like any other Debian package.  This automajikaly does Good Things (tm)
like run lilo, move packages, and put kernel modules where they should
be.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpMRS9cvNIQY.pgp
Description: PGP signature


Re: kernel panic

2000-06-25 Thread kmself
On Fri, Jun 23, 2000 at 02:30:33PM -0700, cls--colo spgs wrote:
> debs,
> 
> successfully, i've done a compile of source kernel
> 2.2.16 for my potato deskbox; but trying to do the same
> thing (approximately 5 times) on my slink lapbox leads
> to the infamous "kernel panic."  the first re-boot (via
> floppy) after the compile is fine.  it's the next
> re-boot after that, that things get weird.

Second reboot is from floppy or hard drive?  What did you change?

> ...the last line before hanging:
> 
> kernel panic: vfs: unable to mount fs on 03:01
> 
> 
> here's my partition scheme:
> 
> / on hda1 (1.5gb)
> swap on hda5 (66mb)
> hda3 (500mb) (for storing large files (e.g. kernel
> sources, netscape, wordperfect...) that i don't want to
> re-download after i re-install slink).

Why don't you post your partition table:

   $ fdisk -l /dev/hda

> before the compile, slink was using kernel 2.0.36
> (/boot/vmlinuz-2.0.36).  (after the compile, i moved
> the old kernel to /boot/oldvmlinuz-2.0.36, as i
> thought, perhaps needlessly, that the new kernel
> (/boot/vmlinuz-2.2.16)) needed its own "vmlinuz"
> "identity."

Did you re-run lilo, manually?

> in case the compile is at issue, here's what i did from
> "bt:/usr/src/linux#":
> 
> make menuconfig
> make dep
> make install
> make modules
> make modules_install
> 
> 
> there isn't, nor will there be, another os on the
> lapbox, just "dlinux."
> 
> the rescue disk won't even let me "backdoor" the
> system:  "mount failed: invalid argument" (when i tried
> to mount hda1).

Give commands and output.

> anyway, ...suggestions/options?
> 
> ia, t.  
> 
> bentley taylor.

Suggest you try a boot disk such as Tom's Root Boot, mount the HD,
chroot to the root FS, and re-run lilo, or indicate what commands and
what errors result in attempting to do so.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpvIutx9z3sC.pgp
Description: PGP signature


Env Variables

2000-06-25 Thread Patrick Dahiroc
hi

i set the environmental variable below to dynamically change my xterm
window to title to the current working directory.

export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"'

this works really well when i login in X, but when i login from the
console my system beeps every time since \007 is the bell character.
is the a variable i can check that would tell me whether i'm running
from X or from the console, so i can conditionally set the
PROMPT_COMMAND variable?

thanks



Re: Modem disconnect me.

2000-06-25 Thread kmself
On Fri, Jun 23, 2000 at 06:55:46PM +0200, G0DModE wrote:
> Hi!
> 
> I can`t connect to my ISP using pon.
> /var/log/ppp.log:
> 
> - CUT -
> 
> Jun 23 18:34:44 g0dmode pppd[249]: Serial connection established.
> Jun 23 18:34:45 g0dmode pppd[249]: Using interface ppp0
> Jun 23 18:34:45 g0dmode pppd[249]: Connect: ppp0 <--> /dev/modem
> Jun 23 18:34:59 g0dmode pppd[249]: Hangup (SIGHUP)
> Jun 23 18:34:59 g0dmode pppd[249]: Modem hangup
> Jun 23 18:34:59 g0dmode pppd[249]: Connection terminated.
> Jun 23 18:35:03 g0dmode pppd[249]: Terminating on signal 15.
> Jun 23 18:35:03 g0dmode pppd[249]: Exit.
> 
> - CUT -
> 
> I now that my modem hangup, but I don`t now why and how to "fix" it.

Run "pppconfig" and add the "verbose" option to chat.  You may have an
incorrectly configured chat script.  Occasionally, an ISP may be
experiencing problems with a particular POP number (dialup Point Of
Presence), which can also cause connection attempts to fail.  This
usually goes away after a time.  Suggest you contact your ISP if you
suspect this issue.

> I remember that some time ago when I was using minicom to connect I had
> the same problem.
> The solution was in configuration; the time when modem hangups was set
> to 60 sec.
> I don`t need to tell what happend after 60 seconds ;) . Can anybody help
> me finding option that
> hangups my modem?
> 
> Big thanks, G0DModE .
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpVqaLg9sQk0.pgp
Description: PGP signature


Re: Keyboard rate

2000-06-25 Thread kmself
On Fri, Jun 23, 2000 at 09:20:20AM -0700, Patrick Draper wrote:
> Hi,
> 
> I can't set my keyboard rate. I've read every web page out there on
> setting keyboard rates, and I still haven't figured it out yet.

man kbdrate -- though it appears you're onto this.

> They kbdrate program gives me the standard message that it changed the
> rate, but it doesn't actually change anything. The same goes for the
> xset program.

How about telling us:

 - What user you're running as.
 - The text of the command you're running.
 - The text of the output.

Hint -- you need to run as root.

> This problem only happens with Debian. When I run Suse, RedHat, or
> FreeBSD I can change the keyboard rate at will.

On the same hardware?

> I want the key repeat to be 30 characters a second. Debian 2.1 and 2.2
> seem to both set it to 10 CPS at bootup and won't let me change it.
> 
> Thanks in advance for your help.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.   http://www.opensales.org
   What part of "Gestalt" don't you understand?  Debian GNU/Linux rocks!
 http://gestalt-system.sourceforge.net/  K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0


pgpzdjJtPW9ig.pgp
Description: PGP signature