Linux-Misc Digest #986, Volume #25                Mon, 9 Oct 00 05:13:04 EDT

Contents:
  Re: what is the most convenient and effective way to backup? (jeff)
  Re: How to install the C compiler? (Rob Ristroph)
  Re: Linux contra Microsoft (Vegard Engen)
  Q: Get rid of XDM n Debian ("Jonathan Gift")
  Q: Text copy Debian package installed list? ("Jonathan Gift")
  MS archive extraction tool (fred smith)
  Re: Linux contra Microsoft (Martin de Koning)
  Re: Q: Get rid of XDM n Debian ([EMAIL PROTECTED])
  Re: Q: Text copy Debian package installed list? ([EMAIL PROTECTED])
  Re: How to uninstall stuff ([EMAIL PROTECTED])
  Portable Unix utility scripts (Richard Anderson)
  How to copy a file to a floppy? (mpulliam)
  HELP: RPM database updating on a package? (McManus Leo Root DSP Consultant)
  NFS setup problems. Please help. ([EMAIL PROTECTED])
  Re: binutils: ./configure: libtool problem? (Martin Herrman)
  Re: Making my own single floppy distribution: HOWTO?? (Martin Herrman)
  Re: How to copy a file to a floppy? (Robert Kiesling)
  Re: NFS setup problems. Please help. (Robert Kiesling)
  Re: another sad tale ("hans eric")
  Re: another sad tale ("hans eric")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (jeff)
Crossposted-To: comp.os.linux.admin
Subject: Re: what is the most convenient and effective way to backup?
Date: 9 Oct 2000 06:19:48 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 09 Oct 2000 04:39:59 GMT, Jeffrey J. Potoff <[EMAIL PROTECTED]> wrote:
> 
> 
> Lucas Tsoi wrote:
> > 
> > As title.
> > Thanks very much.
> 
> I like 4mm or 8mm tape.  I wrote a few simple shell scripts that run tar
> or dump automatically.  For a complex system, you might want to check
> out AMANDA.
> 
> Jeff

Harddisks are getting so cheap that I install a spare (using a removable
tray, but that's optional) and just use dd to clone my entire system.  20GB
takes about three hours (on PIII 550), so I do it overnight.

yaj (yet another jeff)

------------------------------

From: [EMAIL PROTECTED] (Rob Ristroph)
Crossposted-To: comp.os.linux.setup
Subject: Re: How to install the C compiler?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Oct 2000 06:24:26 GMT


"make" is not part of the C compiler packages, it has its own package
(at least on the older RedHats, haven't inspected 7.0 yet).

So you can find the make rpm on your cds or on the web and install
it.  If the compiler isn't there, it will be the "gcc" executable that
is missing.

--Rob

>>>>> "Arctic Storm" == Arctic Storm <[EMAIL PROTECTED]> 
>writes:
Arctic Storm> 
Arctic Storm> I have RedHat Linux 7.0.
Arctic Storm> I get an error when I type "make".  It says that "make" command cannot
Arctic Storm> be found because the C compiler may not have been installed.
Arctic Storm> Originally, I chose the custome installation, and it's possible that
Arctic Storm> I did not install the compiler.  How can I install the C compiler after
Arctic Storm> installation of the operating system?
Arctic Storm> Thanks.
Arctic Storm> 
Arctic Storm> 
Arctic Storm> ----------
Arctic Storm> 

------------------------------

From: [EMAIL PROTECTED] (Vegard Engen)
Subject: Re: Linux contra Microsoft
Date: 9 Oct 2000 05:24:49 GMT
Reply-To: [EMAIL PROTECTED]

On 09 Oct 2000 00:03:59 -0400, David_C <[EMAIL PROTECTED]> wrote:
[snip]
>Installing from the tar.gz is a little bit more involved, but only if
>you're unfamiliar with these kinds of installations.  Since I had UNIX
>experience prior to my installing Linux, I already knew how to manage
>all this:
>
>       - Create a /usr/local/package directory
>       - Create /usr/local/{bin|doc|etc|include|info|lib|man|sbin|sbin|src}
>         as needed, if they don't exist.
>       - Make sure /usr/local/bin is on every user's default path.
>         Make sure /usr/local/sbin is on root's default path
>         Make sure /usr/local/man is on every user's MANPATH
>         Make sure /usr/local/lib is on every user's LD_LIBRARY_PATH
>         etc...
>
>Once this is done, installing software is easy:
>
>       - Create /usr/local/package/<appname> for the application
>       - Copy all the program's files there.  Making separate bin, lib,
>         etc. subdirectories as needed may be convenient.  For apps
>         that require a particular directory structure (like Netscape),
>         use that structure under the app's directory.
>       - Create symlinks from the app's files to
>         /usr/local/{bin|lib|...} as needed
>         
>         

There's a little package manager called "stow" that does *exactly* this.

With GNU stow, you install every package under /path/to/stow-tree/, and then
you just run stow on the package, and it installs symleaks neatly from the
/usr/local-tree into the package tree.

- Vegard

------------------------------

From: "Jonathan Gift" <[EMAIL PROTECTED]>
Subject: Q: Get rid of XDM n Debian
Date: Mon, 9 Oct 2000 07:58:18 +0200

Hi,

I popped Debian 2.2 in and the installation was flawlss except when it asked
me if I wanted xdm and I replied no. I got it anyway and can't figure out
how to turn it off. In the init files? The run level is the standrad 2.

Any help appreciated.

Please email a copy.

Thanks,

Jonathan



------------------------------

From: "Jonathan Gift" <[EMAIL PROTECTED]>
Subject: Q: Text copy Debian package installed list?
Date: Mon, 9 Oct 2000 08:00:05 +0200

Hi,

How can I get a list that I can shoot to a text file contining the installed
deb package list? Like rpm -qa in RedHat and mandrake?

Thanks.

Please email a copy.

Jonathan



------------------------------

From: fred smith <[EMAIL PROTECTED]>
Subject: MS archive extraction tool
Date: Sun, 8 Oct 2000 19:59:37 GMT

Hi!

i'm wondering can anyone point me to a Linux tool that can extract files
from these .EXE self-extracting windoze programs MS distributes their 
software in. I've downloaded some free fonts from the MS web site and
of course they encode them in that form. They are not zip or lharc files.

I vaguely recall seeing a reference to such a program a year or more
ago but now cannot find it.

Thanks!

Fred

-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
                     all ages, now and forevermore! Amen."
============================= Jude 1:24,25 (niv) =============================

------------------------------

From: Martin de Koning <[EMAIL PROTECTED]>
Subject: Re: Linux contra Microsoft
Date: Mon, 09 Oct 2000 16:50:58 +0930

I think the biggest problem is convincing Windows users that the command
line is not outdated. its the reason a lot of my friends, with some computer
knowledge, have no interest in using Linux.

I would like to some1 to show me a GUI with the power of shell environments.

Rafael wrote:

> To help, we have to make Microsoft people (people using Microsoft
> products), know the true.
> Many of them are new Windows users who do not know anything or very
> little about computers. I work as a System administrator and I have met
> many people who do not know whats Linux, Unix etc. They think that
> computer must be with MS Windows, they did not heard about other
> alternative. And I think that we have to do something otherwise the
> beatle with Microsoft will last for long time.
> Every year I have contacts with 100 new computers user and I do good job
> informing them about it. But still only 10 % understand what I am
> talking about.
>
> Rodger


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Q: Get rid of XDM n Debian
Date: Mon, 9 Oct 2000 00:49:21 -0700

On or about Mon, 9 Oct 2000 07:58:18 +0200, Jonathan Gift <[EMAIL PROTECTED]> scrivened:
> Hi,

> I popped Debian 2.2 in and the installation was flawlss except when it asked
> me if I wanted xdm and I replied no. I got it anyway and can't figure out
> how to turn it off. In the init files? The run level is the standrad 2.

To disable temporarily (until next reboot or initlevel change):

    $ /etc/init.d/xdm stop

To remove the package:

    $ apt-get remove xdm

-- 
Karsten M. Self <[EMAIL PROTECTED]>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Q: Text copy Debian package installed list?
Date: Mon, 9 Oct 2000 00:48:09 -0700

On or about Mon, 9 Oct 2000 08:00:05 +0200, Jonathan Gift <[EMAIL PROTECTED]> scrivened:
> Hi,

> How can I get a list that I can shoot to a text file contining the installed
> deb package list? Like rpm -qa in RedHat and mandrake?

    $ dpkg --list-selections

-- 
Karsten M. Self <[EMAIL PROTECTED]>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: How to uninstall stuff
Date: Mon, 9 Oct 2000 00:50:51 -0700

On or about Mon, 09 Oct 2000 05:11:12 GMT, Arctic Storm 
<[EMAIL PROTECTED]> scrivened:
> I have RedHat Linux 7.0.
> Installing stuff is easy; rpm -Uvh filename,...
> What about uninstalling?
> How do you do that?

    $ rpm -e packagename

-- 
Karsten M. Self <[EMAIL PROTECTED]>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

------------------------------

From: [EMAIL PROTECTED]  (Richard Anderson)
Date: Mon, 9 Oct 2000 01:11:05 -0500
Subject: Portable Unix utility scripts

Korn shell scripts for text processing, file and directory processing,
customizing your login environment, disk space management, performance 
analysis, system monitoring and system security.  It includes generalized 
login environment files for the Korn shell, bash and the C shell.

Some of the functions of Typhon:

* Substitute one text string for another in all files in a directory tree,
  skipping non-text files. The substitution strings can be regular expressions 
  or plain text. 

* Display all subdirectories as a visual directory tree.

* Copy a file to multiple remote hosts, with disk backup of the target file on
  each host. 

* List all subdirectories in one or more directories, including symbolic links
  to directories. 

Part of Typhon is distributed as freeware, part as a commercial product.  You
can download the freeware or purchase the product at www.unixscripts.com.

Richard Anderson, Ph.D.
Chief Technology Officer, Raycosoft

------------------------------

From: [EMAIL PROTECTED] (mpulliam)
Subject: How to copy a file to a floppy?
Date: 9 Oct 2000 08:14:00 GMT

I asked for help on this previously, and tried
all the suggestions people offered. Nothing 
works. I set it aside for a month to see if
the good Linux Fairy would magically solve my
problem. Now I am back at it again: I'm trying
to copy a file, say /etc/foo, to a floppy disk.

Here are my results following help from
this group, from reading man pages, and
from reference books:

I am using a floppy I formatted previously,
though I can't figure out any more how I 
accomplished that as the old directions no
longer seem to work. (read on) Anyway, I go:

# mount -t ext2 /dev/fd0 /mnt/floppy
it replies: VFS: can't find an ext2 filesystem
on dev fd (0,2)
mount: wrong fs type, bad option, bad superblock
on /dev/fd0, or too many mounted filesystems

(I don't have any other filesystems mounted except
the hd)

I decide to make an ext2 filesystem on this
floppy, so I try:
# /sbin/mkfs -v-t ext2 /dev/fd0
it replies:mkfs.ext2: bad blocks count - /dev/fd0

(I try several different formatted floppies
to be sure I just don't have one bad one, but
no change)

To be sure I really formatted the floppy, I try:
# fdformat /dev/fd0H1440
it replies: Formatting ... (note: this part 
lasts about one second, not long enough to really
format a floppy). Then, it says:
ioctl (FDFMTBEG): Read-only file system


(what is it talking about?)

I look at /etc/fstab to see if something is weird
with how the floppy is set up.

relevant line is:
/dev/fd0        /mnt/floppy     ext2    noauto, owner  0 0

Looks reasonable to me, as far as I can make out.

I try an unformatted floppy with the above formatting
command to see if I can format a clean one, and
get the exact same replies. 

Then I figure I might as well just try copying the file
to /mnt/floppy and see what happens. So, with a formatted
floppy in the drive, and after having done all the above, 
I just go:

# cp /etc/foo /mnt/floppy

It actually seems to try doing something, though the floppy
drive light just goes on about one second. After searching,
I discover it's written /etc/foo over to /mnt/floppy on
the hard drive, not on the floppy disk. I remove /etc/foo
from there, that's no good. Obviously the floppy is indeed
not mounted, right?

Then I go back to this:
# mount -t ext2 /dev/fd0 /mnt/floppy

This time something different happens, and it seems
to be trying a lot of locations on the floppy with
no luck. (light on floppy drive is on) 
It exits with the following:

command_status=-1

floppy0: floppy timeout called
end_request: I/O error, dev 02:00 (floppy), sector 2
EXT2-fs: unable to read superblock
mount: wrong fs type, bad option, bad superblock on /dev/fd0,
       or too many mounted file systems

If I go umount /mnt/floppy, it says: not mounted.

But it won't let me take the floppy out of the slot,
so maybe it IS mounted but doesn't know it? huh?


So: I can't mount the floppy drive, can't
make an ext2 filesystem on a floppy, can't remove
the floppy disk, and can't do a
low-level format on one any more either.  What is
a bad superblock? Why is this so complicated ????

Thanks to all the kind people who helped last
time, but what am I missing here?

MP

------------------------------

From: McManus Leo Root DSP Consultant <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: HELP: RPM database updating on a package?
Date: Mon, 09 Oct 2000 10:10:01 +0200
Reply-To: [EMAIL PROTECTED]

I removed my Netscape 4.72 RMP package and installed 4.73 from a .tar
file. Now I cannot install my PLUGGER.RPM file as it cannot see the
Netscape 4.73 in the RPM database. Is there anything I can do about
this?

Thanks

Leo




------------------------------

From: [EMAIL PROTECTED]
Subject: NFS setup problems. Please help.
Date: Mon, 09 Oct 2000 08:16:51 GMT

Hi Everyone:
I can mount /tmp from a remote client through NFS, and I can write to
it fine. Yet when I have mount my /tmp with one of my hardrive
partitions. I have also exported /tmp for NFS purpose. I can't write to
it. Does anyone know why?
Jack Xie


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Martin Herrman)
Subject: Re: binutils: ./configure: libtool problem?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Oct 2000 10:28:38 +0200

On Sun, 08 Oct 2000 18:11:42 +0500, Noble Pepper
<[EMAIL PROTECTED]> wrote:
> If the package compiles, I would forge blindly ahead. Usually though
> Gerald mentions any unusual messages. Of course you should recheck the
> steps before especially the one where you compiled file.
> 
> Definitely make a note of this in case it causes problems later.
> 
> You may want to check out the www.linuxfromscratch.com site and the
> mailing list archive.

Thanks for you reply! I already saw this warning earlier while compiling
xmps, but no problems then. Now, because i'm not building a user app,
I wanted to know more. But I will continue and search the archives,

thanks!

Martin

-- 
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.17  Toshiba P233 MHz, 32 Mb RAM
10:20am up 1 day, 6:45, 3 users, load average: 0.04, 0.18, 0.17
Western Civilization, that would be a good idea!

------------------------------

From: [EMAIL PROTECTED] (Martin Herrman)
Subject: Re: Making my own single floppy distribution: HOWTO??
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Oct 2000 10:30:22 +0200

On 9 Oct 2000 01:54:28 GMT, mpulliam <[EMAIL PROTECTED]> wrote:
> 
> take a look at
> 
> http://www.linuxdoc.org/HOWTO/Bootdisk-HOWTO/index.html
> 
> for answers to just a few of your questions
> 
> MP

Thanks!

-- 
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.17  Toshiba P233 MHz, 32 Mb RAM
10:30am up 1 day, 6:55, 3 users, load average: 0.09, 0.11, 0.12
Western Civilization, that would be a good idea!

------------------------------

From: [EMAIL PROTECTED] (Robert Kiesling)
Subject: Re: How to copy a file to a floppy?
Reply-To: [EMAIL PROTECTED]
Date: 9 Oct 2000 04:28:36 -0400

In article <[EMAIL PROTECTED]>,
mpulliam <[EMAIL PROTECTED]> wrote:
>I asked for help on this previously, and tried
>all the suggestions people offered. Nothing 
>works. I set it aside for a month to see if
>the good Linux Fairy would magically solve my
>problem. Now I am back at it again: I'm trying
>to copy a file, say /etc/foo, to a floppy disk.

[text deleted]

>Thanks to all the kind people who helped last
>time, but what am I missing here?

Hi.  If you haven't made an Ext2 file system on the floppy, then Linux
can't read it as such.  Either "mkfs /dev/fd0/" before mounting, or
use the arguments "-t mdos," "-t fat," or "-t umsdos" for the "mount"
command.  The Linux and Microstuff file systems are not compatible,
btw, but Linux systems can load modules into the kernel to read the
MS-Loss systems.  In this case, the manual pages for mount, mkfs, and
fsck are your friends.




-- 
Robert Kiesling
Linux FAQ Maintainer 
[EMAIL PROTECTED]
http://www.mainmatter.com/linux-faq/toc.html  http://www.mainmatter.com/



------------------------------

From: [EMAIL PROTECTED] (Robert Kiesling)
Subject: Re: NFS setup problems. Please help.
Reply-To: [EMAIL PROTECTED]
Date: 9 Oct 2000 04:39:33 -0400

In article <8rrutg$g5c$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>Hi Everyone:
>I can mount /tmp from a remote client through NFS, and I can write to
>it fine. Yet when I have mount my /tmp with one of my hardrive
>partitions. I have also exported /tmp for NFS purpose. I can't write to
>it. Does anyone know why?

Most likely the uid/gid numbers of the two systems don't match.   
I think the mapping options (which go in /etc/fstab) are explained
in the rpc.mountd and/or rpc.statd manual pages.  Further, if one of the
systems supports NFS3 (Linux supports NFS2), for example Solaris or
HPUX I think, then you'll need to upgrade the NFS on the Linux system,
the options for which are described in the FAQ at the URL below.

-- 
Robert Kiesling
Linux FAQ Maintainer 
[EMAIL PROTECTED]
http://www.mainmatter.com/linux-faq/toc.html  http://www.mainmatter.com/



------------------------------

From: "hans eric" <[EMAIL PROTECTED]>
Subject: Re: another sad tale
Date: Mon, 9 Oct 2000 10:44:09 +0100

Try to boot with the rescue disk and at the when it comes to "boot:"

Write something like: linux root=/dev/hda1
Change the /dev/hda1 to wre your root partition is.

You might  get some failed kernel messages but don't bother.
When the system is up you can log in and run /sbin/lilo.

Hope it works



------------------------------

From: "hans eric" <[EMAIL PROTECTED]>
Subject: Re: another sad tale
Date: Mon, 9 Oct 2000 10:50:30 +0100

Try to boot with the rescue disk and at the when it comes to "boot:"

Write something like: linux root=/dev/hda1
Change the /dev/hda1 to wre your root partition is.

You might  get some failed kernel messages but don't bother.
When the system is up you can log in and run /sbin/lilo.

Hope it works



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to