How in the world did you lose rpmrc?  A copy from the ECE department RH
system is attached.

-Mark

On Mon, 4 Dec 2000 [EMAIL PROTECTED] wrote:

> you would get a much better reply from the group.
> 
> 180 minds work better than 1, so i'm forwarding this to the vox-tech.
> besides, then i would have to ask you for a lert donation.   ;)
> 
> 
> if i were in your shoes...
> 
> i'd find someone with the same operating system, ask them to tar up the
> relevant directory and send it to me, and hope for the best.
> 
> _if_ /usr/lib/rpm doesn't contain specific information about your system
> (ie, which rpms are on your particular machine), then i don't see why this
> wouldn't work.   however, if it does contain specific information about your
> system, then you're in very serious trouble.   i don't remember where rpm
> keeps its system info.
> 
> have you tried the --force option with rpm to install rpm.rpm?
> 
> another course of action would be to use rpm2cpio, convert the rpm to a cpio
> archive.  then unarchive the cpio file.  i have to figure this damned
> command every time i use it.   i keep wanting to use
> 
>       cpio -i mycpio.cpio --no-absolute-filenames
> 
> but that doesn't work.  it wants some other option which i can never
> remember.  usually takes me 15-30 minutes everytime i do this.   anyway,
> once you turn the rpm -> cpio -> a bunch of files, you can move the files
> where they belong.  so for instance, ./usr/lib/rpm should be moved to
> /usr/lib/rpm.  or whatever is missing...
> 
> these are some ideas.  maybe someone will come up with a better one, but at
> least it gives you a starting point.
> 
> pete
> 
> 
> 
> > -- Forwarded message from "Robert G. Scofield" <[EMAIL PROTECTED]> -----
> > 
> > Date: Mon, 04 Dec 2000 12:52:41 -0800
> > From: "Robert G. Scofield" <[EMAIL PROTECTED]>
> > X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.12-20 i686)
> > Subject: Help Please
> > 
> > Pete,
> >
> > I've really messed up.  I've got a big problem on my hands.  I
> > downloaded a new update for rpm.  rpm has apparently changed, and so
> > there's an update for it.  When I tried to install the rpm for the rpm
> > update I got an error message saying that an rpm directory could not be
> > removed because it was not empty.  I responded to this by rm -r for the
> > relevant directory.  That was a big mistake, because now when I try to
> > install the new rpm for the rpm update I get this message:  "unable to
> > open /usr/lib/rpm/rpmrc no such file or directory."
> > 
> > I then got out my Red Hat cd and and tried to re-install the rpm for the
> > original version of rpm.  Of course that won't work either because I get
> > the same error message.  The bottom line is that I cannot now install
> > any rpms.  What can I do?  Do I try to find someone else who's running
> > Red Hat 6.1 and ask for a copy of /usr/lib/rpm/rpmrc?
> > 
> > Do I upgrade to Red Hat 6.2?  If so, will it upgrade a file that is not
> > there, such as /usr/lib/rpm/rpmrc?
> > 
> > Thanks.
> > 
> > Bob
> > 
> > --
> > Robert G. Scofield
> > [EMAIL PROTECTED]
> 

---
Mark K. Kim
http://www.cbreak.org/mark/
PGP key available upon request.
# $Id: rpmrc.in,v 2.18.2.6 2000/06/23 13:30:18 jbj Exp $

#############################################################

# Please send new entries to [EMAIL PROTECTED]

#############################################################
# Values for RPM_OPT_FLAGS for various platforms

optflags: i386 -O2 -m486 -fno-strength-reduce
optflags: i486 -O2 -march=i486
optflags: i586 -O2 -march=i586
optflags: i686 -O2 -march=i686
optflags: athlon -O2 -march=athlon
optflags: ia64 -O2

# XXX Please note that -mieee has been added in rpm-3.0.5.
optflags: alpha -O2 -mieee

optflags: sparc -O2 -m32 -mtune=ultrasparc
optflags: sparcv9 -O2 -m32 -mcpu=ultrasparc
optflags: sparc64 -O2 -m64 -mcpu=ultrasparc
optflags: m68k -O2 -fomit-frame-pointer
optflags: ppc -O2 -fsigned-char
optflags: parisc -O2 -mpa-risc-1-0
optflags: hppa1.0 -O2 -mpa-risc-1-0
optflags: hppa1.1 -O2 -mpa-risc-1-0
optflags: hppa1.2 -O2 -mpa-risc-1-0
optflags: hppa2.0 -O2 -mpa-risc-1-0
optflags: mipseb -O2
optflags: mipsel -O2
optflags: armv4b -O2 -fsigned-char -fomit-frame-pointer
optflags: armv4l -O2 -fsigned-char -fomit-frame-pointer
optflags: atarist -O2 -fomit-frame-pointer
optflags: atariste -O2 -fomit-frame-pointer
optflags: ataritt -O2 -fomit-frame-pointer
optflags: falcon -O2 -fomit-frame-pointer
optflags: atariclone -O2 -fomit-frame-pointer
optflags: milan -O2 -fomit-frame-pointer
optflags: hades -O2 -fomit-frame-pointer

#############################################################
# Canonical arch names and numbers

arch_canon:     athlon: athlon  1
arch_canon:     i686:   i686    1
arch_canon:     i586:   i586    1
arch_canon:     i486:   i486    1
arch_canon:     i386:   i386    1
arch_canon:     alpha:  alpha   2
arch_canon:     sparc:  sparc   3
arch_canon:     sun4:   sparc   3
arch_canon:     sun4m:  sparc   3
arch_canon:     sun4c:  sparc   3
arch_canon:     sun4d:  sparc   3
arch_canon:   sparcv9: sparcv9  3
# This is really a place holder for MIPS.
arch_canon:     mipseb: mipseb  4
arch_canon:     ppc:    ppc     5
arch_canon:     m68k:   m68k    6
arch_canon:     IP:     sgi     7
arch_canon:     rs6000: rs6000  8
arch_canon:     ia64:   ia64    9

arch_canon:     sparc64:sparc64 10
arch_canon:     sun4u:  sparc64 10
arch_canon:     mipsel: mipsel  11

arch_canon:     armv4b: armv4b  12
arch_canon:     armv4l: armv4l  12

arch_canon:     m68kmint: m68kmint      13
arch_canon:     atarist: m68kmint       13
arch_canon:     atariste: m68kmint      13
arch_canon:     ataritt: m68kmint       13
arch_canon:     falcon: m68kmint        13
arch_canon:     atariclone: m68kmint    13
arch_canon:     milan: m68kmint         13
arch_canon:     hades: m68kmint         13
arch_canon:     s390: s390      14
arch_canon:     i370: i370      14

#############################################################
# Canonical OS names and numbers

os_canon:       Linux:  Linux   1
os_canon:       IRIX:   Irix    2
# This is wrong
os_canon:       SunOS5: solaris 3
os_canon:       SunOS4: SunOS   4

os_canon:      AmigaOS: AmigaOS 5
os_canon:          AIX: AIX     5
os_canon:        HP-UX: hpux10  6
os_canon:         OSF1: osf1    7
os_canon:       osf4.0: osf1    7
os_canon:       osf3.2: osf1    7
os_canon:      FreeBSD: FreeBSD 8
os_canon:       SCO_SV: SCO_SV3.2v5.0.2  9
os_canon:       IRIX64: Irix64  10
os_canon:     NEXTSTEP: NextStep 11
os_canon:       BSD/OS: BSD_OS 12
os_canon:      machten: machten 13
os_canon:  CYGWIN32_NT: cygwin32 14
os_canon:  CYGWIN32_95: cygwin32 15
os_canon:      UNIX_SV: MP_RAS: 16
os_canon:         MiNT: FreeMiNT 17
os_canon:       OS/390: OS/390  18
os_canon:       VM/ESA: VM/ESA  19
os_canon:    Linux/390: OS/390  20
os_canon:    Linux/ESA: VM/ESA  20

#############################################################
# For a given uname().machine, the default build arch

buildarchtranslate: osfmach3_i686: i386
buildarchtranslate: osfmach3_i586: i386
buildarchtranslate: osfmach3_i486: i386
buildarchtranslate: osfmach3_i386: i386

buildarchtranslate: ia64: ia64

buildarchtranslate: athlon: i386
buildarchtranslate: i686: i386
buildarchtranslate: i586: i386
buildarchtranslate: i486: i386
buildarchtranslate: i386: i386

buildarchtranslate: osfmach3_ppc: ppc
buildarchtranslate: powerpc: ppc
buildarchtranslate: powerppc: ppc

buildarchtranslate: sun4c: sparc
buildarchtranslate: sun4d: sparc
buildarchtranslate: sun4m: sparc
buildarchtranslate: sparcv9: sparc
buildarchtranslate: sun4u: sparc64

buildarchtranslate: atarist: m68kmint
buildarchtranslate: atariste: m68kmint
buildarchtranslate: ataritt: m68kmint
buildarchtranslate: falcon: m68kmint
buildarchtranslate: atariclone: m68kmint
buildarchtranslate: milan: m68kmint
buildarchtranslate: hades: m68kmint     

#############################################################
# Architecture compatibility

arch_compat: alpha: axp noarch

arch_compat: ia64: noarch

arch_compat: athlon: i686
arch_compat: i686: i586
arch_compat: i586: i486
arch_compat: i486: i386
arch_compat: i386: noarch

arch_compat: osfmach3_i686: i686 osfmach3_i586
arch_compat: osfmach3_i586: i586 osfmach3_i486
arch_compat: osfmach3_i486: i486 osfmach3_i386
arch_compat: osfmach3_i386: i486

arch_compat: osfmach3_ppc: ppc
arch_compat: powerpc: ppc
arch_compat: powerppc: ppc

arch_compat: sun4c: sparc
arch_compat: sun4d: sparc
arch_compat: sun4m: sparc
arch_compat: sun4u: sparc64
arch_compat: sparc64: sparcv9
arch_compat: sparcv9: sparc
arch_compat: sparc: noarch

arch_compat: ppc: rs6000
arch_compat: rs6000: noarch
arch_compat: mipseb: noarch
arch_compat: mipsel: noarch

arch_compat: hppa2.0: hppa1.2
arch_compat: hppa1.2: hppa1.1
arch_compat: hppa1.1: hppa1.0
arch_compat: hppa1.0: parisc
arch_compat: parisc: noarch

arch_compat: armv4b: noarch
arch_compat: armv4l: noarch

arch_compat: atarist: m68kmint noarch
arch_compat: atariste: m68kmint noarch
arch_compat: ataritt: m68kmint noarch
arch_compat: falcon: m68kmint noarch
arch_compat: atariclone: m68kmint noarch
arch_compat: milan: m68kmint noarch
arch_compat: hades: m68kmint noarch

arch_compat: s390: i370
arch_compat: i370: noarch

arch_compat: ia64: noarch

os_compat:   IRIX64: IRIX
os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
os_compat: solaris2.5: solaris2.3 solaris2.4
os_compat: solaris2.4: solaris2.3

os_compat: hpux11.00: hpux10.30
os_compat: hpux10.30: hpux10.20
os_compat: hpux10.20: hpux10.10
os_compat: hpux10.10: hpux10.01
os_compat: hpux10.01: hpux10.00
os_compat: hpux10.00: hpux9.07
os_compat: hpux9.07: hpux9.05
os_compat: hpux9.05: hpux9.04

os_compat: osf4.0: osf3.2 osf1

os_compat: ncr-sysv4.3: ncr-sysv4.2

os_compat: FreeMiNT: mint MiNT TOS
os_compat: MiNT: FreeMiNT mint TOS
os_compat: mint: FreeMiNT MiNT TOS
os_compat: TOS: FreeMiNT MiNT mint

buildarch_compat: ia64: noarch

buildarch_compat: athlon: i686
buildarch_compat: i686: i586
buildarch_compat: i586: i486
buildarch_compat: i486: i386
buildarch_compat: i386: noarch

buildarch_compat: sun4c: noarch
buildarch_compat: sun4d: noarch
buildarch_compat: sun4m: noarch
buildarch_compat: sun4u: noarch
buildarch_compat: sparc64: noarch
buildarch_compat: sparcv9: sparc
buildarch_compat: sparc: noarch
buildarch_compat: alpha: noarch
buildarch_compat: m68k: noarch
buildarch_compat: ppc: noarch
buildarch_compat: mipsel: noarch
buildarch_compat: mipseb: noarch
buildarch_compat: armv4b: noarch
buildarch_compat: armv4l: noarch
buildarch_compat: parisc: noarch

buildarch_compat: atarist: m68kmint noarch
buildarch_compat: atariste: m68kmint noarch
buildarch_compat: ataritt: m68kmint noarch
buildarch_compat: falcon: m68kmint noarch
buildarch_compat: atariclone: m68kmint noarch
buildarch_compat: milan: m68kmint noarch
buildarch_compat: hades: m68kmint noarch

buildarch_compat: ia64: noarch
buildarch_compat: s390: noarch

macrofiles:     
/usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros.specspo:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros


Reply via email to