Linux-Misc Digest #122, Volume #28 Sat, 16 Jun 01 14:13:02 EDT
Contents:
Q: ReiserFS or hardware error? ("Tony G.")
Re: How do I get the module files for a new kernel build? (Dave Uhring)
Re: copiling tared software (Dave Uhring)
Re: How do I get the module files for a new kernel build? (Robert Heller)
Re: Porting from FreeBSD to Linux (David Efflandt)
Re: recommendation on external ZIP disk? (David Efflandt)
Re: What to use to write my thesis? (Stefano Ghirlanda)
Re: Setserial Irq 5 ???? (David Efflandt)
Re: Two identical HDUs, but Linux disaggrees (David Efflandt)
netfilter ("Helge Hoel")
kernel panic (mike)
Re: 4DOS-like cd in a linux shell (florian schmidt)
YPBIND_DOMAIN (Dan)
netcfg problems ("Tom Edelbrok")
DSN and aliases expansion ([EMAIL PROTECTED])
Re: How to regenerate RPM database? ("Matt Ng")
Re: 4DOS-like cd in a linux shell (William Burrow)
Re: How to regenerate RPM database? (Michael Heiming)
Splitting large OGG or WAV files (quasimoto)
Re: How to regenerate RPM database? (Dave Uhring)
Upgrade using rpm (Bob)
----------------------------------------------------------------------------
From: "Tony G." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Q: ReiserFS or hardware error?
Date: Sat, 16 Jun 2001 15:19:58 GMT
Greetings! I woke up this morning to a console full of errors. I've
got about 275 lines of these errors. Does anyone know if these are
specifically ReiserFS or hard drive/hardware errors.
I've also noticed that the errors occur when 'tar' tries to stat()
certain files. i.e. the errors appear on the console in tandem with
the tar command:
tar: /dev/rd/c2d26p2: Cannot stat: Permission denied
tar: /dev/rd/c2d26p3: Cannot stat: Permission denied
tar: /dev/rd/c2d26p4: Cannot stat: Permission denied
tar: /dev/rd/c2d26p5: Cannot stat: Permission denied
tar: /dev/rd/c2d26p6: Cannot stat: Permission denied
tar: /dev/rd/c2d26p7: Cannot stat: Permission denied
Can anything be done to repair/correct these? I've got backups, do I
need to go back to ext2? I've been running ReiserFS for 4 months with
no problems until now. Any advise would be great! Thanks!
Tony G.
System Specs:
===========================================================
Linux 2.4.5 #1 i586
ReiserFS version 3.6.25
233Mhz Pentium MMX
64MB RAM
HDA: Seagate - ST38410A (8.03 GB )
===========================================================
Errors:
===========================================================
Jun 16 04:02:00 zorak anacron[6308]: Updated timestamp for job
`cron.daily' to 2001-06-16
Jun 16 04:02:23 zorak kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 16 04:02:23 zorak kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=227066, sector=66416
Jun 16 04:02:23 zorak kernel: end_request: I/O error, dev 03:02 (hda),
sector 66416
Jun 16 04:02:23 zorak kernel: vs-13070: reiserfs_read_inode2: i/o
failure occurred trying to find stat data of [2027 2724 0x0 SD]
Jun 16 04:02:23 zorak kernel: vs-13048: reiserfs_iget: bad_inode. Stat
data of (2027 2724) not found
Jun 16 04:02:28 zorak kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 16 04:02:28 zorak kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=227066, sector=66416
Jun 16 04:02:28 zorak kernel: end_request: I/O error, dev 03:02 (hda),
sector 66416
Jun 16 04:02:28 zorak kernel: vs-13070: reiserfs_read_inode2: i/o
failure occurred trying to find stat data of [2027 2685 0x0 SD]
Jun 16 04:02:28 zorak kernel: vs-13048: reiserfs_iget: bad_inode. Stat
data of (2027 2685) not found
Jun 16 04:02:31 zorak kernel: hda: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 16 04:02:31 zorak kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=227066, sector=66416
Jun 16 04:02:31 zorak kernel: end_request: I/O error, dev 03:02 (hda),
sector 66416
Jun 16 04:02:31 zorak kernel: vs-13070: reiserfs_read_inode2: i/o
failure occurred trying to find stat data of [2027 2693 0x0 SD]
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: How do I get the module files for a new kernel build?
Date: Sat, 16 Jun 2001 15:21:49 -0500
wb0gaz wrote:
> I'm trying to move from kernel 2.2.14 to 2.2.18 on a redhat 6.2
> system (necessary to get the combination of peripherals I want and
> the version of Xfree I require all to work together.)
>
> I downloaded the 2.2.18 kernel .gz and modutils 2.2.x from ftp.kernel.org
> and was able to compile and generate a kernel that ran, however,
> PCMCIA (and other stuff) does not start because there are no
> corresponding module files in the directory (specific to the
> kernel) that contain the modules files and modules.dep file.
> The 2.2.14 version module files do not work with 2.2.18 (I would
> certainly expect this). I answered the configuration questions
> posed by "make config" as best I could but there were many
> questions and perhaps I did something wrong that prevented the
> module files from appearing in the required directory...
>
> As I've never tried this (kernel change) before I'm a bit stuck,
> and a pointer (to more detailed help) or advice would sure help.
>
> Tnx,
>
> Dave [EMAIL PROTECTED]
>
After building the kernel with
# make bzImage
then
# make modules
# make modules_install
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: copiling tared software
Date: Sat, 16 Jun 2001 15:23:32 -0500
John Thompson wrote:
> gabriel wrote:
>
>> when i use the commmand "./configure" i get an error "no no valid cc
>> avalible in path, or something likethat.. first it checks for cc with
>> the return of no and then gcc with the same return.
>
> Do you have the gcc compiler installed? Try typing "gcc
> --version" at a shell prompt. If it tells you gcc can't be
> found, then install it. If it tells you "permission denied"
> check the permissions on the gcc package.
>
What is the result of
# echo $PATH
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: How do I get the module files for a new kernel build?
Date: 16 Jun 2001 15:47:49 GMT
[EMAIL PROTECTED] (wb0gaz),
In a message on 16 Jun 2001 07:54:01 -0700, wrote :
w> I'm trying to move from kernel 2.2.14 to 2.2.18 on a redhat 6.2
w> system (necessary to get the combination of peripherals I want and
w> the version of Xfree I require all to work together.)
w>
w> I downloaded the 2.2.18 kernel .gz and modutils 2.2.x from ftp.kernel.org
w> and was able to compile and generate a kernel that ran, however,
w> PCMCIA (and other stuff) does not start because there are no
w> corresponding module files in the directory (specific to the
w> kernel) that contain the modules files and modules.dep file.
w> The 2.2.14 version module files do not work with 2.2.18 (I would
w> certainly expect this). I answered the configuration questions
w> posed by "make config" as best I could but there were many
w> questions and perhaps I did something wrong that prevented the
w> module files from appearing in the required directory...
You need the 2.2.18 PCMCIA files, which should be in the same place as
the 2.2.18 kernel .gz and modutils 2.2.x -- there should be a
kernel-PCMCIA-2.2.18.tar.gz file (or something like that). The PCMCIA
modules and support stuff is separate from the base kernel.
It might also be possible (and *easier*) to grab a set of 2.2.18 RPMs
from a redhat mirror site.
w>
w> As I've never tried this (kernel change) before I'm a bit stuck,
w> and a pointer (to more detailed help) or advice would sure help.
w>
w> Tnx,
w>
w> Dave [EMAIL PROTECTED]
w>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Porting from FreeBSD to Linux
Date: Sat, 16 Jun 2001 15:30:37 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 15 Jun 2001 11:07:08 -0700, Richard <[EMAIL PROTECTED]> wrote:
> Can anyone provide me some links to websites which might provide me
> general help in porting from FreeBSD (3.4) to Linux.
Maybe you should clarify what you are trying to do. Are you writing
sources to compile transparently in either, trying to run a FreeBSD binary
in Linux (maybe under iBCS2), or trying to run a whole FreeBSD system
alongside or under Linux (maybe vmware)?
Other than possibly some compiler options, most publically available Unix
sources should compile fine in either and could be used as an example.
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.portable
Subject: Re: recommendation on external ZIP disk?
Date: Sat, 16 Jun 2001 15:35:49 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 16 Jun 2001 11:49:11 +0100, Ray <[EMAIL PROTECTED]> wrote:
> hi
>
> i'm currently thinking of getting an external Iomega zip drive (USB or
> parallel) for use with my toshiba sat pro laptop which has a Intel
> 82371AB PIIX4 USB controller (as reported by lspci) and running
> linux-2.4.
>
> has anyone got any recommendations or hints or pitfalls or kernel
> configureations tips when choosing/using specific Iomega zip drives?
>
> thanks for any pointers
> ray
>
> ps - could ppl CC to me in replies; my news server seems never to like
> giving me recent posts :)
Start with http://www.linux-usb.org/ especially the "Working devices list"
link to see what is working and how.
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.apps.word-proc,comp.text.tex
Subject: Re: What to use to write my thesis?
Date: 16 Jun 2001 17:45:38 +0200
John Thompson <[EMAIL PROTECTED]> writes:
> Another one to try is "TeXmacs" which gives an emacs-like front-end
> to TeX.
Note that TeXmacs does not use TeX as underlying typesetting
engine. You can convert to TeX, though. This menas that you will not
learn about TeX using TeXmacs (if that matters to you). See the
TeXmacs FAQ at www.texmacs.org.
> It seems pretty comparable to lyx's equation editing facilities, but
> (IMHO) does a better job of typesetting text (ie, uses ligatures
> when appropriate, etc.).
I have to object that TeXmacs does a better job at *typesetting* than
LyX. LyX is not a typesetter, TeX is. TeXmacs may do a better job than
LyX at showing stuff on screen, but I am pretty sure it is not as good
a typesetter as TeX is (even judgning only from the Known Bugs section
on the TeXmacs site).
--
Stefano - Hodie decimo sexto Kalendas Iulias MMI est
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Setserial Irq 5 ????
Date: Sat, 16 Jun 2001 15:43:40 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 15 Jun 2001 21:17:37 -0400, Albert <[EMAIL PROTECTED]> wrote:
> Have Linux Mandrake 7:1, KDE, Pent,111.
> Works fine, BUT.
> My modem is set Com 4, Irq 5, Which is where I need it.
> I use Setserial /dev/ttyS3 irq 5 to activate Dialer, (via Console). Need
> to know how to set this so I do not need to use the
> Terminal each time I reboot.
Many systems used to automatically run /etc/rc.d/rc.serial script if it
existed (with write and execute permission), except Slackware which
required uncommenting a line somewhere to run it.
If you have trouble figuring out how the /etc/rc.d/init.d/ scripts and
/etc/rc.d/rc#.d/ symlinks work (per another reply), you could simply put
the setserial line into /etc/rc.d/rc.local (unless you are starting demand
pppd from init scripts).
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Two identical HDUs, but Linux disaggrees
Date: Sat, 16 Jun 2001 16:06:10 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 15 Jun 2001 04:05:59 -0700, Mea Culpa <[EMAIL PROTECTED]> wrote:
> I have the following problem: I have the following IDE-setup:
>
> ALI15X3: IDE controller on PCI bus 00 dev 78
> ALI15X3: chipset revision 193
> ALI15X3: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
> hda: WDC AC26400R, ATA DISK drive
> hdb: IBM-DHEA-36480, ATA DISK drive
> hdc: IBM-DHEA-36480, ATA DISK drive
> hdd: CD-ROM 40X/AKU, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 12594960 sectors (6449 MB) w/512KiB Cache, CHS=784/255/63, (U)DMA
> hdb: 12692736 sectors (6499 MB) w/476KiB Cache, CHS=790/255/63,
> UDMA(33)
> hdc: 12692736 sectors (6499 MB) w/476KiB Cache, CHS=12592/16/63,
> UDMA(33)
> hdd: ATAPI 40X CD-ROM drive, 128kB Cache, DMA
>
> For some reason, although /dev/hdb and /dev/hdc are identical HDUs,
> their specs differ. However, @ my BIOS, I specified them both to LBA,
> which resulted in the same CHS-setup. Because I want to do striping
> (RAID), I will run into trouble with this.
>
> Questions: Why is Linux doin' this? How can I make them identical from
> Linux-point-of-view?
>
> I'm using kernel 2.4.4.
What does fdisk -l show for /dev/hdb and /dev/hdc? If that is the same,
then you should be OK. If not, fix it by removing partitions, use expert
mode of fdisk to set cylinders and heads, then recreate partition(s).
Linux doesn't usually display tranlated geometry beyond hda and hdb when
it identifies drives. For example:
hdc: WDC AC22100H, 2014MB w/128kB Cache, CHS=4092/16/63
But farther down in Partition check:
hdc: [PTBL] [1023/64/63] hdc1 hdc2 hdc3 hdc4
and likewise fdisk -l /dev/hdc shows:
Disk /dev/hdc: 64 heads, 63 sectors, 1023 cylinders
Units = cylinders of 4032 * 512 bytes
--
David Efflandt (Reply-To is valid) http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: "Helge Hoel" <[EMAIL PROTECTED]>
Subject: netfilter
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Jun 2001 18:25:01 +0200
In my firewall, the INPUT table in iptables, contains some IP's to
reject. Example, when a host portscans me, the attackers IP is
automatically inserted in this table, (and I get an sms message on my
celluar phone with the attackers IP ;-)). This works great for me, but
there's something I would like to change. Even if my firewall blocks one
host's IP, I would like it to pass through packets from that IP, as long
as I started the communication session. Example, the IP get's blocked,
and all packets from the host is dropped in my packet-filter. But if I
ping, ftp, ssh etc.. to that host, I would like the returning packages to
slip through. Is there a way of doing this?
--
Best regards
Helge �yvind Hoel
http://home.exn.no/~wizard/
http://www.name-less.net
------------------------------
From: [EMAIL PROTECTED] (mike)
Crossposted-To:
comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup,comp.os.linux.redhat
Subject: kernel panic
Date: 16 Jun 2001 09:28:22 -0700
I tried to install kernel 2.4.2 It went fine till I rebooted. The at
the lilo prompt I pressed tab and typed in the name of my new kernel,
then I got this error "Root fs not mounted
cannot open root device "301" or 03:01
Please append a correct "root=" boot option
Kernel panic vfs: unable to mount root file system on 03:01
First of all what is a kernel panic and second how do I fix this.
When I edited lilo I assumed that the root partition would be the same
one as my other kernel. Thanks Mikey
------------------------------
From: [EMAIL PROTECTED] (florian schmidt)
Subject: Re: 4DOS-like cd in a linux shell
Date: Sat, 16 Jun 2001 16:33:38 GMT
On 15 Jun 2001 02:28:47 -0700, [EMAIL PROTECTED] (Sune Trudslev)
wrote:
>Hello there,
>
>
>I am new to linux and I have been using DOS since the beginning of
>time with 4DOS as a shell.
>
>So I am very used to being able to change directory by typing the
>directory name and end with a backslash, and the the shell will change
>to that directory.
>
>
>I was wondering if anybody knew of a shell under linux that can do
>this. I can use filename completion to actually get the directory name
>under bash, but it just complains that it's a directory.
i haven't heard of any shell (but i don't know many. none of them
really) that can do that. in unix shells one has to put a "cd" in
front of the directory u want to change to..
--
florian schmidt
------------------------------
From: Dan <[EMAIL PROTECTED]>
Subject: YPBIND_DOMAIN
Date: Sat, 16 Jun 2001 16:30:04 -0000
every time I enter my root password for superuser, the computer comes back
with the message YPBIND_DOMAIN: domain not bound. What is causing this?
Something wrong with NIS?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: netcfg problems
Date: Sat, 16 Jun 2001 16:41:55 GMT
I still cannot get netcfg to work after upgrading from kernel 2.2.5-15 to
2.2.14 and then upgrading various RPM's from the Redhat 6.2 CD
"/RedHat/RPMS" folder.
First I was getting this error when I type "netcfg":
TclError: no display name and no $DISPLAY environment variable.
So I put this into /etc/bashrc:
DISPLAY=blade:0.0 ; export DISPLAY
Now when I type "netcfg" I get this error:
TclError: couldn't connect to display "blade:0.0"
Any ideas?
Thanks, Tom
------------------------------
From: [EMAIL PROTECTED]
Subject: DSN and aliases expansion
Date: Sat, 16 Jun 2001 16:55:51 GMT
How do i configure sendmail or any parts of the system, so that when
people send mails to my system and request DSN, sendmail won't expand
/etc/aliases to show the real recipients? thanks.
------------------------------
From: "Matt Ng" <[EMAIL PROTECTED]>
Subject: Re: How to regenerate RPM database?
Date: Sat, 16 Jun 2001 12:38:40 -0400
> I get a list of the stuff in the new release (e.g,
> kernel-2.2.18pre11-va2.0 ), but if I do uname -r, I get
> 2.2.14-VA.2.1smp. If I look in /boot, I see (among other things):
Sorry for beating a dead horse, but when you do a rpm -qi kernel, do you
only get kernel-2.2.18... or do you also get the other kernels? How
exactly did you upgrade and downgrade? i.e upgrade using -Uvh or -Fvh,
and downgrade using -Uvh --oldpackage?
I'm just seeing if there's a reason why the database would think you have
the new packages, i.e. they weren't inunstalled using rpm or something.
------------------------------
From: [EMAIL PROTECTED] (William Burrow)
Subject: Re: 4DOS-like cd in a linux shell
Date: Sat, 16 Jun 2001 17:20:40 -0000
Reply-To: [EMAIL PROTECTED]
On Sat, 16 Jun 2001 16:33:38 GMT in comp.os.linux.misc,
florian schmidt <[EMAIL PROTECTED]> wrote:
>On 15 Jun 2001 02:28:47 -0700, [EMAIL PROTECTED] (Sune Trudslev)
>wrote:
>>So I am very used to being able to change directory by typing the
>>directory name and end with a backslash, and the the shell will change
>>to that directory.
>>
>>I was wondering if anybody knew of a shell under linux that can do
>>this. I can use filename completion to actually get the directory name
>>under bash, but it just complains that it's a directory.
>
>i haven't heard of any shell (but i don't know many. none of them
>really) that can do that. in unix shells one has to put a "cd" in
>front of the directory u want to change to..
Probably all that it would take is locating the routine that complains
that it's a directory (grep for the message) and massage it to actually
do a cd operation instead. Depending on how internal functions are
implemented in the shell you are using, should be no more than a couple
of hours work.
--
William Burrow -- New Brunswick, Canada o
Copyright 2001 William Burrow ~ /\
I'd rather listen to Isaac Newton, also. ~ ()>()
------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: How to regenerate RPM database?
Date: Sat, 16 Jun 2001 19:29:06 +0200
Jean-David Beyer wrote:
>
> Dave Uhring wrote:
> >
> > Jean-David Beyer wrote:
> >
> > > Dave Uhring wrote:
> > >>
> > >> Jean-David Beyer wrote:
> > >>
> > >> > I tried to upgrade my Linux distribution from one release to the next.
> > >> > It was so difficult to do the configuration of the new release that I
> > >> > just restored everything back to the previous release. Or so I
> > >> > thought. In any case, the RPM database is no good: it thinks I have
> > >> > the new release installed, when I do not.
> > >> >
> > >> > I tried
> > >> >
> > >> > rpm --rebuilddb
> > >> >
> > >> > and it rummages around for a little while, but the database still
> > >> > thinks I have the new release in there and I can tell that I do not.
> > >> >
> > >> > What must be done for it to REALLY rebuild the database; i.e., look at
> > >> > everything on the machine and use the right RPMs in there? Or is this
> > >> > impossible?
> > >> >
> > >>
> > >> rpm(8)
> > >>
> > >> rpm -i --rebuilddb
> > >
> > > I told you I had already done that (actually, I did it correctly).
> > > When I do it your way, I get:
> > >
> > > valinux:root[/home/jdbeyer]# rpm -i --rebuilddb
> > > rpm: only one major mode may be specified
> > > valinux:root[/home/jdbeyer]#
> > >
> > > It is not enough to copy the manual page; you must understand it.
> > >
> > > In any case, this does not work.
> > >
> >
> > Since I am using the newest version of rpm, perhaps the manpage does not
> > apply in your case.
>
> The man page I have says the same as yours, though, so I would think
> it applies:
>
> REBUILD DATABASE OPTIONS
> The general form of an rpm rebuild database command is
>
> rpm --rebuilddb
>
> To rebuild a new database, do:
>
> rpm --initdb
>
> The only options for these modes are --dbpath and --root.
>
> I took the default for --dbpath and --root. I infer that it thought it
> was working because I tried again yesterday and the files now say:
>
> valinux:jdbeyer[/var/lib/rpm]$ ls -l
> total 11038
> 16384 Jun 15 15:25 conflictsindex.rpm
> 2605056 Jun 15 15:25 fileindex.rpm
> 16384 Jun 15 15:25 groupindex.rpm
> 28672 Jun 15 15:25 nameindex.rpm
> 8960072 Jun 15 15:25 packages.rpm
> 45056 Jun 15 15:25 providesindex.rpm
> 90112 Jun 15 15:25 requiredby.rpm
> 16384 Jun 15 15:25 triggerindex.rpm
> valinux:jdbeyer[/var/lib/rpm]$
>
> > Perhaps you can execute the command
> >
> > # rpm --rebuild (options)
> >
> > where (options) are --dbpath and --root as explained in "Linux in a
> > Nutshell" from O'Reilly.
>
> I do not have that O'Reilly book. I am running:
>
> valinux:jdbeyer[/boot]$ rpm --version
> RPM version 3.0.6
> valinux:jdbeyer[/boot]$
>
> If I examine the documented options for rpm --rebuild, I see only:
>
> rpm --rebuild <source_package_file>+
>
> When invoked this way, rpm installs the named source pack-
> age, and does a prep, compile and install. In addition,
> --rebuild builds a new binary package. When the build has
> completed, the build directory is removed (as in --clean)
> and the the sources and spec file for the package are
> removed.
>
> I hesitate to try it with the --dbpath and --root options, since I do
> not know what they would do.
>
> --
> .~. Jean-David Beyer Registered Linux User 85642.
> /V\ Registered Machine 73926.
> /( )\ Shrewsbury, New Jersey http://counter.li.org
> ^^-^^ 8:20am up 8 days, 21:15, 4 users, load average: 3.01, 3.05, 2.92
Hello Jean-David,
I'm not sure, my man page (RPM version 3.0.4 - SuSE 7.0) mentions this:
REBUILD DATABASE OPTIONS
The general form of an rpm rebuild database command is
rpm --rebuilddb
To rebuild a new database, do:
rpm --initdb
The only options for these modes are --dbpath and --root.
[...]
But it isn't explained what actually the difference between those
two options are, but backing up /var/lib/rpm/* and trying, shouldn't
be a big risk...:-)
Good luck
Michael Heiming
------------------------------
From: quasimoto <[EMAIL PROTECTED]>
Subject: Splitting large OGG or WAV files
Date: Sat, 16 Jun 2001 10:34:25 -0700
I've got an audio file in WAV format that is 1.1 GB in size--too big for a
CD. The original file was in OGG format (22 MB) which I needed to convert
to WAV in order to distribute to friends who use Windows exclusively.
Initially, the converted file is <only> 547 MB but I can't burn it to CD
using cdrecord, because cdrecord will only accept stereo WAV and the file
is mono. When I use sox to create a stereo (2-channel) WAV the file
balloons to 1.1 GB.
Is there a way to split an OGG or a WAV file so that it can be burned to
two CDs? If not, is there any other way around this problem? (I don't
have a DVD.)
--
I use GNU/Linux and support the Free Software Foundation. This message was
composed and transmitted using Free software, licensed under the General
Public License.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: How to regenerate RPM database?
Date: Sat, 16 Jun 2001 12:41:22 -0500
Jean-David Beyer wrote:
>
> I do not have that O'Reilly book. I am running:
>
> valinux:jdbeyer[/boot]$ rpm --version
> RPM version 3.0.6
> valinux:jdbeyer[/boot]$
>
> If I examine the documented options for rpm --rebuild, I see only:
>
> rpm --rebuild <source_package_file>+
>
> When invoked this way, rpm installs the named source pack-
> age, and does a prep, compile and install. In addition,
> --rebuild builds a new binary package. When the build has
> completed, the build directory is removed (as in --clean)
> and the the sources and spec file for the package are
> removed.
>
> I hesitate to try it with the --dbpath and --root options, since I do
> not know what they would do.
>
Go a bit farther into the manpage and you find
--dbpath <path> where <path> is the location of the RPM database.
Just to check this out, I copied the /var/lib/rpm directory to
/root/lib/rpm and executed:
# rpm --rebuilddb --dbpath /root/lib/rpm
and it appears to have rebuilt a new database there.
Now, I guess that when I rm -rf that directory I'll have to rebuild the
database again ;-)
------------------------------
From: Bob <[EMAIL PROTECTED]>
Subject: Upgrade using rpm
Date: Sat, 16 Jun 2001 14:04:31 -0400
In trying to upgrade an application in redhat 7.0, I needed to also
upgrade a library package. Running rpm would not allow it, claiming that
other applications required the files in the earlier package. I couldn't
do it even using the --force option. Some of the other applications were
samba and python, so I would be surprised if they could not use the
upgraded files equally well. How does one deal with this situation?
Thanks for any suggestions.
--
Bob Parnes
[EMAIL PROTECTED]
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************