linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* R5 Install (Mostly) Successful on PBG3
@ 1999-02-11 20:39 root
  1999-02-11 22:51 ` Jeff Rugen
  0 siblings, 1 reply; 3+ messages in thread
From: root @ 1999-02-11 20:39 UTC (permalink / raw)
  To: linuxppc-user, linuxppc-dev


I am able to install pre-R5 on my G3 Series laptop again, using the
latest RPMS from mirror.  I used Martin Costabel's "big" ramdisk image
and a 2.1.125 kernel.

There were a few failures during intstall.  The main problem I have is
that RPM doesn't work; any attempt to use it returns an error
"//var/lib/rpm/nameindex.rpm: Invalid argument"

Is it the double slash at the beginning of that line?  Where is it
getting that path?  Using --dbpath doesn't seem to help...

Hugh

--
Hugh Caley, System Administrator
Babcock & Brown, Inc., San Francisco
1+512+1515x694 | hughc@babcockbrown.com




[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: R5 Install (Mostly) Successful on PBG3
  1999-02-11 20:39 R5 Install (Mostly) Successful on PBG3 root
@ 1999-02-11 22:51 ` Jeff Rugen
  1999-02-11 23:07   ` root
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Rugen @ 1999-02-11 22:51 UTC (permalink / raw)
  To: root; +Cc: linuxppc-user, linuxppc-dev


On Thu, 11 Feb 1999, root wrote:

> There were a few failures during intstall.  The main problem I have is
> that RPM doesn't work; any attempt to use it returns an error
> "//var/lib/rpm/nameindex.rpm: Invalid argument"

The problem seems to be the R4 RPM database and the pre-R5 RPM database are
incompatible with each other.  I manually removed all the /var/lib/rmp/*
files (well, i copied them off) and reinstalled -- it created a new RPM
database that works.  However, I was left with a ton of files from R4 rpms,
that were no longer needed and I had to remove manually.

I did write a script that would return 0 if the file passed in as a name was
listed in the RPM database, and -1 otherwise, then used the script in a find
command to list all the non-RPM files.  I ran it overnight -- ended up with
thousands of files, and manually deleted large chunks of them. 

Be _very_ careful doing this.  Sometimes you'll get RPMs that don't indicate
that a directory is part of the distribution, so you'll see directory names
you think you can delete.  You don't want to do that. :-)

----------------------------------------------------------------------------
Jeff Rugen                      jrugen@primenet.com

...Had this been an actual emergency, we would have fled in terror, and you 
would not have been informed.


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: R5 Install (Mostly) Successful on PBG3
  1999-02-11 22:51 ` Jeff Rugen
@ 1999-02-11 23:07   ` root
  0 siblings, 0 replies; 3+ messages in thread
From: root @ 1999-02-11 23:07 UTC (permalink / raw)
  To: Jeff Rugen; +Cc: linuxppc-user, linuxppc-dev


This was a new install, no R4 stuff involved.

It turns out that running rpm --rebuilddb fixed it.  I haven't had any problems
installing the stuff I missed after that.

Do the LinuxPPC guys want to hear about problems with the install and
operation?

Hugh

Jeff Rugen wrote:

> On Thu, 11 Feb 1999, root wrote:
>
> > There were a few failures during intstall.  The main problem I have is
> > that RPM doesn't work; any attempt to use it returns an error
> > "//var/lib/rpm/nameindex.rpm: Invalid argument"
>
> The problem seems to be the R4 RPM database and the pre-R5 RPM database are
> incompatible with each other.  I manually removed all the /var/lib/rmp/*
> files (well, i copied them off) and reinstalled -- it created a new RPM
> database that works.  However, I was left with a ton of files from R4 rpms,
> that were no longer needed and I had to remove manually.
>
> I did write a script that would return 0 if the file passed in as a name was
> listed in the RPM database, and -1 otherwise, then used the script in a find
> command to list all the non-RPM files.  I ran it overnight -- ended up with
> thousands of files, and manually deleted large chunks of them.
>
> Be _very_ careful doing this.  Sometimes you'll get RPMs that don't indicate
> that a directory is part of the distribution, so you'll see directory names
> you think you can delete.  You don't want to do that. :-)
>
> ----------------------------------------------------------------------------
> Jeff Rugen                      jrugen@primenet.com
>
> ...Had this been an actual emergency, we would have fled in terror, and you
> would not have been informed.

--
Hugh Caley, System Administrator
Babcock & Brown, Inc., San Francisco
1+512+1515x694 | hughc@babcockbrown.com




[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-02-11 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-11 20:39 R5 Install (Mostly) Successful on PBG3 root
1999-02-11 22:51 ` Jeff Rugen
1999-02-11 23:07   ` root

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).