Re: Can't rescue, read-only filesystem

2001-03-20 Thread Morgan Fletcher
Oliver Elphick olly@lfix.co.uk writes:
 Once you have got that far, switch to /dev/tty2 (Alt + F2) and do this
 
 # cd /target(or maybe /mnt  --  i can't check that at the moment)
 
 # ls should show you the contents of your root partition on the hard disk
 
 # sbin/lilo -r /target

Oliver, I really appreciate your help!

Unfortunately:

# sbin/lilo -r /target
sbin/lilo: /sbin/lilo.real: not found
# sbin/lilo.real -r /target
sbin/lilo.real: error in loading shared libraries: sbin/lilo.real: symbol 
fstatfs, version GLIBC_2.0 not defined in file libc.so.6 with link time 
reference

Today at work I will get new rescue/root disks. Is there a
woody/testing set, or should I use the stable set?

It's been a while, and I can't remember if this kernel/modules came
from packages or whether I built them.

Thanks again,

morgan



Can't rescue, read-only filesystem

2001-03-19 Thread Morgan Fletcher
I am running testing, my system is up-to-date, except that I haven't
let apt-get remove the 102 packages it recently wants to remove.

I believe I saw lilo get updated this weekend, during 'apt-get update
 apt-get upgrade'. This morning I rebooted and got LI. (Lilo
normally let's me boot into win2k or debian testing.)

I pulled out an old potato-era rescue disk, entered rescue
root=/dev/hda3 at the rescue: prompt and everything went okay until
it got stuck in an endless loop, repeating the same messages over and
over:

  insmod: /lib/modules/2.2.17/misc/unix.o: insmod net-pf-1 failed
  insmod: /lib/modules/2.2.17/misc/unix.o: cannot create 
/var/log/ksymoops/200010319 Read-only file system

I don't know what's going on. Advice?

morgan



Can't rescue, read-only filesystem

2001-03-19 Thread Morgan Fletcher
I am running testing, my system is up-to-date, except that I haven't
let apt-get remove the 102 packages it recently wants to remove.

I believe I saw lilo get updated this weekend, during 'apt-get update
 apt-get upgrade'. This morning I rebooted and got LI. (Lilo
normally let's me boot into win2k or debian testing.)

I pulled out an old potato-era rescue disk, entered rescue
root=/dev/hda3 at the rescue: prompt and everything went okay until
it got stuck in an endless loop, repeating the same messages over and
over:

  insmod: /lib/modules/2.2.17/misc/unix.o: insmod net-pf-1 failed
  insmod: /lib/modules/2.2.17/misc/unix.o: cannot create 
/var/log/ksymoops/200010319 Read-only file system

I don't know what's going on. Advice?

morgan



Re: Can't rescue, read-only filesystem

2001-03-19 Thread Morgan Fletcher
kmself@ix.netcom.com writes:
 Boot a standalone floppy or CDR GNU/Linux system and examine your HD.
 I'd recommend Tom's Root Boot if you're running a 2.1.x kernel (TRB
 doesn't handle some instances of 2.2.x ext2 filesystems), or the
 LinuxCare Bootable Business Card (BBC), which uses a 2.2.x kernel.
 
 I suspect HD damage, which may prevent you from accessing your HD and/or
 a Linux kernel located on it.

Wouldn't HD damage affect execution before the reboot? System has been
up all through the weekend, and I had rebooted and gone through LILO
four days ago. 

I think it has something to do with the way the rescue disk is
starting the system. Not sure, however.

The boot sequence goes quite a way, until it gets to loading this
module. I'm inclined to think the disk is OK.

morgan



Re: Can't rescue, read-only filesystem

2001-03-19 Thread Morgan Fletcher
Oliver Elphick olly@lfix.co.uk writes:
 The root partition is mounted read-only to start with.  You need to
 load a kernel module to finish booting, but it looks as though the
 rescue kernel doesn't match the modules on your hard disk.
 
 It looks as if you may have overwritten your kernel-image package.  The
 LI message means that lilo couldn't find the kernel where it is configured
 to look for it.
 
 If that is correct, the simplest way to deal with it is:
 
 Boot from the floppy:
 
   boot: rescue root=/dev/hda3 init=/bin/sh
 
 This will put you straight into a shell, with no other utilities running.

Unfortunately, the same thing happens. It is as if the init=/bin/sh
argument is ignored. The rescue disk is from potato. My wife's laptop
doesn't have a floppy drive, so I can't even create a new one! Worse
still, I can't even use windows 2000's CD to rescue the MB, so I am
stuck with LI and can't boot either OS on the machine.

Argh.

I used the rescue-root disks from 2.2 to mount my partitions. I tried
using ae to uncomment the alias net-pf-1 off line, then touch
modules.dep to be newer than modules.conf, but I still can't get past
the basic problem of an endlessly-cycling error message on boot, right
when init is launched it looks like:

modprobe: modprobe: cannot create /var/log/ksymoops/20010320.log Read-only file 
system

Over and over.

The disk is fine, as I can mount its partitions from the instllation
screen, traverse its structure, manipulate files. I just can't get
linux (or LILO) to boot. I don't know what to do next. Any advice?

morgan



GID conflict, local vs. NIS

1999-09-20 Thread Morgan Fletcher
I feed off a solaris NIS server for users/groups, except root. There's
a GID=100 conflict, where NIS server says it's 'devel' and
(linux):/etc/group says it's 'users'. Can I safely groupdel users?

I'm running current potato x86 debian. 

TIA!

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


IDE CD-R drive via ide-scsi

1999-09-10 Thread Morgan Fletcher
I'm trying to utilize my IDE CD-R drive (HP CD-Writer 8100) via scsi
emulation to burn discs with cdrecord. I've been reading
http://www.guug.de/~winni/linux/cdr/html/CD-Writing.html#toc1 for the
last couple of days, and have done a few things listed there, but now
I'm stuck.

Here's my setup:

  x86
  adaptec 2940 
  scsi cd-rom
  scsi hard disk
  ide cd-burner (HP CD-Writer 8100)
  debian potato linux
  custom 2.2.10 kernel

I've built a custom kernel with this (abridged) configuration:

   BLOCK  Enhanced IDE/MFM/RLL...M 
   BLOCK  IDE/ATAPI CDROM ide-cd M 
   BLOCK  SCSI hostadaptor emulation  ide-scsi   M 
   BLOCK  Loopback device loop   M 
   SCSI   SCSI supportscsi_mod   Y
   SCSI   SCSI CD-ROM support sr_mod M
   SCSI Enable vendor-specific   Y 
   SCSI   SCSI generic supportsg M
   SCSI   (select a low-level driver) aic7xxxY 
   FS ISO 9660 CDROM filesystem   iso9660Y 
   FS Microsoft Joliet cdrom...   joliet Y

I've also added 'append=hda=ide-scsi' to my /etc/lilo.conf, and also
'alias scsi_hostadapter ide-scsi' to /etc/modutils/aliases and
'options ide-cd ignore=hda' to /etc/modutils/modconf, and run
update-modules of course. I've tried variations, for instance with
IDE=Y, etc.

What device should I use to access the device now that I'm
theoretically using scsi emulation?

Running 'cdrecord -scanbus' gets me:

  Cdrecord release 1.8a25 Copyright (C) 1995-1999 Jörg Schilling
  scsibus0:
  0) 'SEAGATE ' 'ST34371N' '0338' Disk
  1) 'MATSHITA' 'CD-ROM CR-506   ' '8S05' Removable CD-ROM
  2) *
  3) *
  4) *
  5) *
  6) *
  7) *

I have no idea what do next! I have no /dev/sr* devices, and can't
seem to make them with /dev/MAKEDEV. What device should I use to
access the HP? How can I load up a module so as to make it show up in
the output of 'cdrecord -scanbus'?

morgan


Re: Request for help, IDE CD-R

1999-09-10 Thread Morgan Fletcher
Winfried Truemper [EMAIL PROTECTED] writes:
 Quick first answer:
   (1) What happens when you load the ide-scsi module?
 
   modprobe ide-scsi
 
   (2) If the above works, cdrecord -scanbus would
   show scsibus1 in addition to your real scsibus.

That was embarassingly easy. Thank you!

  anchor:/etc/modutils# modprobe ide-scsi
  anchor:/etc/modutils# cdrecord -scanbus
  Cdrecord release 1.8a25 Copyright (C) 1995-1999 Jörg Schilling
  scsibus0:
0) 'SEAGATE ' 'ST34371N' '0338' Disk
1) 'MATSHITA' 'CD-ROM CR-506   ' '8S05' Removable CD-ROM
2) *
3) *
4) *
5) *
6) *
7) *
  scsibus1:
  100) 'HP  ' 'CD-Writer+ 8100 ' '1.0g' Removable CD-ROM
  101) *
  102) *
  103) *
  104) *
  105) *
  106) *
  107) *

Looks like it's /dev/scd1. I just need to get ide-scsi to autoload at
the right time. Thanks again!

morgan


Re: IDE CD-R drive via ide-scsi

1999-09-10 Thread Morgan Fletcher
David Blackman [EMAIL PROTECTED] writes:
 Okay, listen here's the deal: you need to take OUT ide-cd support

Done.

 leave in scsi-emulation, scsi-generic, scsi-cdrom..
 now ./MAKDEV sg

Done. I now have /dev/sg[0-16].

 I'm pretty sure that the /dev/scd* come pre-made
 the important thing is to see if you get messages like this on bootup:
 scsi0 : AdvanSys SCSI 3.1E: PCI 20 CDB: IO E400/F, IRQ 9
 scsi1 : SCSI host adapter emulation for IDE ATAPI devices
 scsi : 2 hosts.
   Vendor: HPModel: C5110ARev: 3638
   Type:   Processor  ANSI SCSI revision: 02
 Detected scsi generic sga at scsi0, channel 0, id 1, lun 0
   Vendor: IOMEGAModel: ZIP 100   Rev: 13.A
   Type:   Direct-Access  ANSI SCSI revision: 00
 Detected scsi removable disk sda at scsi1, channel 0, id 0, lun 0
   Vendor: E-IDE Model: CD-ROM 45X/A  Rev: 30
   Type:   CD-ROM ANSI SCSI revision: 02
 Detected scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0
   Vendor: PHILIPS   Model: CDD3610 CD-R/RW   Rev: 3.08
   Type:   CD-ROM ANSI SCSI revision: 02
 Detected scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0
 scsi : detected 2 SCSI cdroms 1 SCSI disk total.
 sr0: scsi3-mmc drive: 0x/20x xa/form2 cdda tray
 Uniform CDROM driver Revision: 2.55
 sr1: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
 SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]

I don't. Rather, I see:

(scsi0) Adaptec AHA-294X SCSI host adapter found at PCI 14/0
(scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Warning - detected auto-termination
(scsi0) Please verify driver detected settings are correct.
(scsi0) If not, then please properly set the device termination
(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi0) during machine bootup.
(scsi0) Cables present (Int-50 YES, Ext-50 NO)
(scsi0) Downloading sequencer code... 406 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.17/3.2.4
   Adaptec AHA-294X SCSI host adapter
scsi : 1 host.
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 15.
  Vendor: SEAGATE   Model: ST34371N  Rev: 0338
  Type:   Direct-Access  ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15.
  Vendor: MATSHITA  Model: CD-ROM CR-506 Rev: 8S05
  Type:   CD-ROM ANSI SCSI revision: 02
scsi : detected 1 SCSI disk total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8496960 [4148 MB] [4.1 GB]

I guess I need to put something that's currently a module back in the
kernel, maybe ide-scsi? Is it built into your kernel? Would you mind
sending me your kernel .config? And what kernel rev are you running?

Thanks for the reply.

 this means  for cdrecord I do dev=1,2,0

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Re: IDE CD-R drive via ide-scsi

1999-09-10 Thread Morgan Fletcher
David Blackman [EMAIL PROTECTED] writes:
 Do you have scsi cd support?

Yes, as a module. I have a scsi adapter (aha2940), scsi cd, scsi hd
and one ide cd-r. So the scsi cd devices were already there and scd0
has been working. Please look at the kernel config snipped I posted.

 Make those, keep out ide-cdrom support, keep in ide-scsi emultaion,
 keep in scsi cd, scsi generic.
 
 try it and LMK

What I'm asking is, do you have ide-scsi compiled as a module or into
the kernel? 

 You DON'T have scsi emulation in there.

But I do. Thanks for your concern. I know it works, because doing
'modprobe ide-scsi ; mount -t iso9660 /dev/scd1 /cdrom ; ls /cdrom'
works.

 make sure you installed the kernel

For sure.

morgan


Slow rsh performance linux-solaris

1999-07-10 Thread Morgan Fletcher
I posted previously about slow rdump times from linux to solaris. I
later tried dumping a local partition to another partition on the same
linux box, and it was blazing fast with no errors. So then I just
tried sending packets from linux to (a pipe to rsh to) solaris and
timing it. In this environment, linux is butt-slow when compared to
other unices. All machines are on the same 10base-t network. Check it
out:

  linux-solaris
  time dd if=/dev/zero count=16384 ibs=1k | rsh ale dd of=/dev/null obs=1k
  16384+0 records in
  32768+0 records out
  24459+10016 records in
  16384+0 records out

  real1m27.993s
  user0m0.290s
  sys 0m0.790s

  solaris-solaris (two different boxes):
  time dd if=/dev/zero count=16384 ibs=1k | rsh ale dd of=/dev/null obs=1k
  16384+0 records in
  32768+0 records out
  32768+0 records in
  16384+0 records out

  real0m17.389s
  user0m1.814s
  sys 0m6.696s

  aix-solaris
  # time dd if=/dev/zero count=16384 bs=1k | ( rsh ale 'dd of=/dev/null bs=1k' 
)  
  16384+0 records in.
  16384+0 records out.
  11491+11492 records in
  11491+11492 records out

  real0m15.27s
  user0m0.12s
  sys 0m1.27s

Any ideas as to why rsh/rdump are so slow? If I rcp files from this
linux box to that solaris box it's quite fast, same with ftp. 

morgan
P.S. Would have tried the same thing with hpux, but no /dev/zero.
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Re: Slow rsh performance linux-solaris

1999-07-10 Thread Morgan Fletcher
George Bonser [EMAIL PROTECTED] writes:
 so my guess is that whatever the problem is, it is fixed in a newer
 version of one of the following:
 
 linux kernel
 netstd package

One thing I forgot to mention is that the machine is running slink 
2.0.36. I was considering an upgrade to potato, and now I'm sure I'll
do it.

I'll double-check the networking issues on Monday, when I'm back in
the office.

Thanks!

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Backup via rdump linux-solaris slow

1999-07-08 Thread Morgan Fletcher
My worksite has a backup system where a central solaris 2.5.1 server
rsh-es into various other UNIX boxes (Solaris, HPUX and AIX) and does
an rdump similar to this:

  /sbin/rdump -0 -u -b 32 -s 100 -f ale:/dev/rmt/1hn /scm

I recently added a linux box to the network (debian 2.1, kernel
2.0.36), and the sysadmin tried adding two of it's ext2 partitions
(taking up most of a 2GB SCSI disk) to the backup routine. Rdump is
much slower on the linux box, to the point of being unusable. We found
storage speeds in the range of 80k/sec across a 10base-t connection. I
can ftp files between the two machines at ~900k/sec, and another
solaris box rdumps at ~690k/sec, so it's not the network. We've tried
playing with the blocksize figure, but we see only minor
changes. We've also seen errors like this in the backup report:

  short read error from /dev/sda1: [block -2012730776]: count=1024, got=0
  bread: lseek2 fails!

Any idea for a fix or at least a diagnosis? This is enough of a hiccup
that I will have to abandon linux as a platform for the task I have in
mind if I can't solve it. I'm not looking for suggestions of alternate
backup methods - for linux to work it has to fit within the current
backup paradigm.

Thanks in advance!

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: slink install and libc6

1999-02-10 Thread Morgan Fletcher
[EMAIL PROTECTED] writes:
 Hey guys, I really need some help solving this..  Should I back out
 libc6.2.0.7.19981211-2 and reinstall libc6.2.0.7t-1?  Or is there a way
 to use the new version of libc6 but get rid of the errors?  I have
 several packages on hold pending resolution of this.

I had the same problem. The /etc/apt/sources.list file as installed in
slink points at stable (aka hamm). This gets you the wrong versions of
files, like libc6. Change it to point at frozen (aka slink) and apt/dselect
will do the right thing. Consider doing an `apt-get update ; apt-get -f
dist-upgrade`.

morgan (aka jethro)
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: slink install and libc6

1999-02-10 Thread Morgan Fletcher
[EMAIL PROTECTED] writes:
 Thanks a bunch for the reply - but not sure if I understood you.  I
 downloaded the libc6 package from slink - it gave me version
 2.0.7.981211-2.  The version in hamm is 2.0.7t.  Are you saying I should
 use the hamm version instead of the slink version?

First off, let me apologize if I misunderstood you. I'm in digest mode, and
so I can't see mail threads. I didn't see the posts that started this
thread. Your message sounded like you were experiencing the same problem I
did. The big question is, are you are installing or upgrading to slink?
That's the assumption I made. Because I installed slink, and subsequently
had the same libc6/libc6-dev conflicts you write about. The root of the
problem was that the file /etc/apt/sources.list points at stable, which
currently means hamm. Of course when slink leaves frozen it will be stable,
and so the circuit will be shorted. 

If you change /etc/apt/sources.list to point at frozen (or slink) and
then do an `apt-get update ; apt-get -f dist-upgrade`, you should be fine.

If you've got all hamm packages, then I don't know what's going on.

Good luck, and tell me/us what it was when you figure it out!

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: X based developer

1999-02-09 Thread Morgan Fletcher
Brant Wells [EMAIL PROTECTED] writes:
 Is there an X-based programming environment like Visual Basic, or Visual 
 C++???  Any help woule be appreciated.

Dunno if it's true, but I heard that Metrowerks is planning on porting
their IDE to linux/X11.

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: How to find files by text/subdirectories

1999-02-07 Thread Morgan Fletcher
Lance Hoffmeyer [EMAIL PROTECTED] writes:
 What is the easiest way to locates files (say HTML) by text in their
 documents?  

find ~/somedir -iname *\.htm* -exec grep -i some text {} \; -print

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: dual boot?

1999-02-02 Thread Morgan Fletcher
Joo Hwan Jang [EMAIL PROTECTED] writes:
 I am interest in Linux, but I don't decide yet if I choose it or not.  So
 I'd like to install Linux and Windows NT 4.0 together.  That means I want
 to make my computer dual bootable.  Is it possible? If so, how?  Please
 let me know.  After considering that, I intend to order one.

It works fine. I use the lilo bootloader to launch linux and NT. My
/etc/lilo.conf looks like this:

  boot=/dev/sda
  map=/boot/map
  install=/boot/boot.b
  prompt
  timeout=50
  vga=ask
  image=/vmlinuz
  label=debian
  root=/dev/sdb1
  read-only
  other=/dev/sda1
  label=winnt
  table=/dev/sda

For more information on lilo, see
http://www.linuxhq.com/HOWTO/mini/LILO.html.

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: dual boot?

1999-02-02 Thread Morgan Fletcher
Andrew Ivanov [EMAIL PROTECTED] writes:
 Just those disks you have are scsi disks, more generalized form of
 lilo.conf would be with IDE ones. sd? should just be replaced with hd?

Yeh. Also, dropping the vga=ask part and the prompt part would
make it even more generic.

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Re: install script

1999-01-21 Thread Morgan Fletcher
Brian Morgan [EMAIL PROTECTED] writes:
 I know this is going to sound cheesy to all you hardcore guys out
 there, but is there a way to bring back the install script that
 comes with slink at the beginning of the install process?

I believe booting from the rescue disk you installed with will get you
into that installer again, and (I think) it's safe to modify bits of
your system via that script without resetting it to a previous state.

I recently did this to configure networking. One caveat - I think you
need to mount your partitions via the installer before making changes,
but it might just mount them for you.

Good luck,

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Re: No ldd?

1999-01-21 Thread Morgan Fletcher
Remco van de Meent [EMAIL PROTECTED] writes:
 I'd say reinstall the package, maybe went wrong during installation ? This
 is really strange..

Debian doesn't let you uninstall base packages like libc6 or ldso, and
I don't see a way to force a re-installation of an installed
package. I wonder if the postinst script can somehow be re-run.

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


No ldd?

1999-01-20 Thread Morgan Fletcher
I have no ldd executable.

I installed slink onto a tabula rasa i386 PC a few days ago, using
3.5 floppies for the base system. Once I'd installed the base, I did
an `apt-get update ; apt-get upgrade`. What I didn't realize, or think
to look for, is that the slink base install included an
/etc/apt/sources.list file that pointed at stable. (!!!)

So I updated it to point at slink and did an `apt-get update ; apt-get
-f dist-upgrade`. That seemed to work fine, but there were a few
packages missing files, for instance telnet was installed, but there
was no telnet executable. The command `apt-get check` showed no
discrepancies, so instead I did `dpkg --purge telnet ; apt-get install
telnet`. That worked.

So yesterday I tried to run ldd, and it's not there. As near as I can
tell it should be in ldso or libc6 (based on info from dpkg, the
#debian irc bot):

   !search ldd
  dpkg potstickr: behold, ldd is in this package: base/libc6,base/ldso
  +(/usr/bin/ldd)

But neither of those packages, as installed on my system, contain ldd:

  $ dpkg -L ldso libc6 | grep -i ldd
  /usr/lib/lddstub
  /usr/man/man1/ldd.1.gz

All packages on the system are current. Debian won't let you uninstall
either libc6 or ldso - for good reason. So what do I do? Can I somehow
re-run the postinst script for one of them and fix the problem, or
will that dork things?

Thanks in advance for your help,

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Re: No ldd?

1999-01-20 Thread Morgan Fletcher
Remco van de Meent [EMAIL PROTECTED] writes:
 That's kinda strange. I assume, you mean with `current' the current slink
 distribution.

Yeah.

  astroman:/etc# cat /etc/debian_version 
  2.1
  astroman:/etc# (apt-get update ; apt-get upgrade) 21 | grep upgrade
  0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 $ dpkg -c dists/slink/main/binary-i386/base/ldso_1.9.10-1.deb | grep ldd
 -rwxr-xr-x root/root100520 1999-01-14 04:23 usr/bin/ldd
 -rwxr-xr-x root/root  1776 1999-01-14 04:23 usr/lib/lddstub
 -rw-r--r-- root/root   786 1999-01-14 04:23 usr/man/man1/ldd.1.gz
 
 Do you have ldso version 1.9.10-1 installed on your system ?

Yep.

  astroman:/etc# dpkg -l ldso | grep ldso
  ii  ldso1.9.10-1   The Linux dynamic linker, library and 

Thanks for the quick response. I appreciate your help!

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Re: Reduce scope to one distribution?

1999-01-08 Thread Morgan Fletcher
Ed Cogburn [EMAIL PROTECTED] writes:
 Not sure what you are asking here.  

The question: If a debian system records package information about a
down-rev (later) distribution in its package database, is it possible
to exclude packages existing solely in that down-rev distribution from
the package database, should the system revert to a previous
distribution revision.

What happened: I had a system pointing at unstable, then I realized
that unstable is not slink, but rather potato. I didn't want a
bleeding-edge distribution, so I pointed the system at slink
(frozen). Now when I run dselect, there are potato-era packages listed
that aren't really available to me, like kernel-source-2.0.36. Since
apt can only see packages in slink, I'd rather my package database
reflected that. How can I restrict the package database and/or dselect
to just encompass slink packages?

 You can put both hamm and slink in sources.list at the same time.
 apt will get the packages files for both of them and then merge the
 two together.  This is what I'm doing (slink+potato).

I'm not interested in mixing distributions right yet. I'd like to
stick with slink for now. But I am curious, if your source.list points
at revision n and revision n+1, doesn't `apt-get upgrade` get update
all your installed packages - hence your system - to revision n+1?
You're really running potato, if both are in your sources.list, right?

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] 


Reduce scope to one distribution?

1999-01-07 Thread Morgan Fletcher
I installed debian from stable hamm, via CD-ROM. Then I upgraded to
unstable. I grabbed apt, and pointed /etc/apt/sources.list at
unstable. Then I figured out the diff between slink/potato
(frozen/unstable) and pointed /etc/apt/sources.list at slink.

So now dselect shows a bunch of packages that aren't available in slink,
e.g. linux-source-2.0.36.

Is there a way to reduce the scope of apt's and dpkg's database to just the
slink (and I guess legacy hamm) packages?

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


Re: What tools are useful for script debugging?

1999-01-02 Thread Morgan Fletcher
[EMAIL PROTECTED] writes:
   The subject says it all.

Try the -x flag to bash - it's quite useful. Strace is also good, if you
don't mind sifting through a lot of information.

  $ bash -x myscript.sh
[...]
  $ strace myscript.sh | less
[...]

The above advice is based on the assumption you mean the sh/csh/tcsh/bash
shells. My personal choice is to use perl. If perl scripts need debugging,
the perl debugger (built into the perl interpreter) works great. Of course,
if all your stars are aligned and you're blessed with both perl  emacs on
your system, the emacs interface to the perl debugger is the best possible
solution.

Amen.

morgan
-- 
VVV
 M o r g a n   F l e t c h e rhttp://www.hahaha.org/morgan 
 Tibi gratias agimus quod nihil fumas.   [EMAIL PROTECTED] 


unstable == potato?

1998-12-01 Thread Morgan Fletcher
OK, I think I missed something. I installed 2.0 from CD after it was
released. I watched the progress of slink and then decided to upgrade to
it, but I think I went past it. I had already gotten some unstable stuff
from the debian web site, including apt. (The #debian crowd is cutting
edge, and I followed their advice. :) 

I set my /etc/apt/sources.list to point at unstable and did an 
`apt-get update ; apt-get dist-upgrade`. Then I sorted out the libstdc++
business. Now everything's good, but... did I miss slink? Is 2.1 called
frozen or something? Is this right?

  hamm == 2.0
  slink == 2.1
  potato == 2.2

If I did go past it, what should I set sources.list to point at, and is it
safe to downgrade (from 2.2 to 2.1). If so, how to do it? Dselect+apt shows
a lot of the stuff I downloaded  installed as obsolete and local.

Thanks,

morgan
-- 
V
 M o r g a n   F l e t c h e r http://www.hahaha.org 
 Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED]