mach on RH 8.0

John Dalbec jpdalbec at ysu.edu
Fri Feb 27 19:30:44 UTC 2004


> Date: Thu, 26 Feb 2004 20:47:31 +0100
> From: Michael Schwendt <ms-nospam-0306 at arcor.de>
> To: fedora-legacy-list at redhat.com
> Subject: Re: mach on RH 8.0
> Reply-To: fedora-legacy-list at redhat.com
> 
> On Thu, 26 Feb 2004 14:31:44 -0500, John Dalbec wrote:
> 
> 
>>I got Thomas' key from pgp.mit.edu with gpg --recv-keys 55f3aa6f.  I ran gpg 
>>--list-keys and it showed the fingerprint as 55F3AA6F.  I exported it from GPG 
>>and tried to import it to RPM.  It showed up as gpg-pubkey-54a2acf1-3e3098f3. 
> 
> 
> 54a2acf1 is Warren Togami's key. If that was really the result of rpm
> importing Thomas' key, you probably have run into rh bug #90952.  As a
> work-around, try to get Thomas' key from him directly or a different
> keyserver, not any modified/signed version from pgp.mit.edu.
> 

Thanks.  I dug around on his website and eventually located the key.
Back to my problem:
I tried mach -r rh72u setup base and that failed.
I tried mach -r rh72ufr setup base and that failed.
I tried mach -r rh73 setup base and that worked.

I can recover a consistent package set by invoking mach-helper directly and 
removing pam and whatever depends on it.  I tried installing apt and ran into 
the same problem (almost; s/grent/pwent/).  I backed out pam and tried 
installing rpm by itself, same problem.  I have an strace of the rpm install 
attempt at http://cc.ysu.edu/~jpdalbec/install.strace.bz2 if that helps.

I can see that libc.so.6 is opened first, then chroot() is called, then 
libnss_files is opened.  So the program is mixing Red Hat 8.0's libc.so.6 with 
Red Hat 7.2's libnss_files.  Do I need to install some kind of backward 
compatibility glibc package in Red Hat 8.0?  Is there such a beast?

John

[mach at testing07 mach]$ mach -r rh72u setup base
Preparing root
Updating apt sources .....
Installing package set 'minimal' ........
Installing package set 'base' ........!
error: /usr/sbin/mach-helper apt-get -c 
/var/lib/mach/states/redhat-72-i386-updates/apt.conf install -y fileutils 
findutils openssh-server net-tools file failed.
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
    SysVinit (2.78-19)
    chkconfig (1.2.24-1)
    cracklib (2.7-12)
    cracklib-dicts (2.7-12)
    db3 (3.2.9-4)
    diffutils (2.7.2-2)
    e2fsprogs (1.26-1.72)
    gawk (3.1.0-3)
    glib (1.2.10-5)
    grep (2.4.2-7)
    info (4.0b-3)
    initscripts (6.43-1)
    iproute (2.4.7-7.72.1)
    iputils (20001110-6)
    logrotate (3.5.9-1)
    mingetty (0.9.4-18)
    modutils (2.4.18-3.7x)
    mount (2.11g-5)
    ncurses (5.2-12)
    openssh (3.1p1-14)
    openssl (0.9.6b-35.7)
    pam (0.75-46.7.2)
    popt (1.6.4-7x)
    procps (2.0.7-11)
    psmisc (20.1-2)
    pwdb (0.61.1-3)
    sed (3.02-10)
    sh-utils (2.0.11-5)
    shadow-utils (20000902-9.7)
    sysklogd (1.4.1-4)
    textutils (2.0.14-2)
    util-linux (2.11f-17.7.2)
    which (2.12-3)
    words (2-17)
    zlib (1.1.4-8.7x)
The following NEW packages will be installed:
    SysVinit (2.78-19)
    chkconfig (1.2.24-1)
    cracklib (2.7-12)
    cracklib-dicts (2.7-12)
    db3 (3.2.9-4)
    diffutils (2.7.2-2)
    e2fsprogs (1.26-1.72)
    file (3.39-8.7x)
    fileutils (4.1-10.4)
    findutils (4.1.7-1)
    gawk (3.1.0-3)
    glib (1.2.10-5)
    grep (2.4.2-7)
    info (4.0b-3)
    initscripts (6.43-1)
    iproute (2.4.7-7.72.1)
    iputils (20001110-6)
    logrotate (3.5.9-1)
    mingetty (0.9.4-18)
    modutils (2.4.18-3.7x)
    mount (2.11g-5)
    ncurses (5.2-12)
    net-tools (1.60-3)
    openssh (3.1p1-14)
    openssh-server (3.1p1-14)
    openssl (0.9.6b-35.7)
    pam (0.75-46.7.2)
    popt (1.6.4-7x)
    procps (2.0.7-11)
    psmisc (20.1-2)
    pwdb (0.61.1-3)
    sed (3.02-10)
    sh-utils (2.0.11-5)
    shadow-utils (20000902-9.7)
    sysklogd (1.4.1-4)
    textutils (2.0.14-2)
    util-linux (2.11f-17.7.2)
    which (2.12-3)
    words (2-17)
    zlib (1.1.4-8.7x)
0 upgraded, 40 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/11.8MB of archives.
After unpacking 29.0MB of additional disk space will be used.
Committing changes...
Preparing...                ########################################### [100%]
    1:zlib                   ########################################### [  3%]
    2:chkconfig              ########################################### [  5%]
    3:ncurses                ########################################### [  8%]
    4:info                   ########################################### [ 10%]
    5:fileutils              ########################################### [ 13%]
    6:gawk                   ########################################### [ 15%]
    7:sed                    ########################################### [ 18%]
    8:grep                   ########################################### [ 20%]
    9:openssl                ########################################### [ 23%]
   10:textutils              ########################################### [ 25%]
   11:cracklib               ########################################### [ 28%]
   12:procps                 ########################################### [ 30%]
   13:diffutils              ########################################### [ 33%]
   14:mount                  ########################################### [ 35%]
   15:psmisc                 ########################################### [ 38%]
   16:db3                    ########################################### [ 40%]
   17:pwdb                   ########################################### [ 43%]
   18:shadow-utils           ########################################### [ 45%]
   19:net-tools              ########################################### [ 48%]
   20:iputils                ########################################### [ 50%]
   21:iproute                ########################################### [ 52%]
   22:which                  ########################################### [ 55%]
   23:popt                   ########################################### [ 58%]
   24:logrotate              ########################################### [ 60%]
   25:e2fsprogs              ########################################### [ 63%]
   26:mingetty               ########################################### [ 65%]
   27:glib                   ########################################### [ 68%]
   28:words                  ########################################### [ 70%]
   29:cracklib-dicts         ########################################### [ 73%]
   30:pam                    ########################################### [ 75%]
   31:sh-utils               ########################################### [ 78%]
   32:modutils               ########################################### [ 80%]
apt-get: relocation error: /lib/libnss_files.so.2: symbol 
_nss_files_parse_grent, version GLIBC_2.0 not defined in file libc.so.6 with 
link time reference

Retrying installing package set 'base' ...!
error: /usr/sbin/mach-helper apt-get -c 
/var/lib/mach/states/redhat-72-i386-updates/apt.conf install -y fileutils 
findutils openssh-server net-tools file failed.
Reading Package Lists... Done
Building Dependency Tree... Done
fileutils is already the newest version.
net-tools is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
   openssh-server: PreDepends: openssh (= 3.1p1-14) but it is not going to be 
installed
   pam: Depends: initscripts (>= 3.94) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
solution).

ERROR: Could not apt-get install -y fileutils findutils openssh-server net-tools 
file
[mach at testing07 mach]$ /usr/sbin/mach-helper apt-get -c 
/var/lib/mach/states/redhat-72-i386-updates/apt.conf -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
    SysVinit (2.78-19)
    initscripts (6.43-1)
    sysklogd (1.4.1-4)
    util-linux (2.11f-17.7.2)
The following NEW packages will be installed:
    SysVinit (2.78-19)
    initscripts (6.43-1)
    sysklogd (1.4.1-4)
    util-linux (2.11f-17.7.2)
0 upgraded, 4 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/1694kB of archives.
After unpacking 4163kB of additional disk space will be used.
Do you want to continue? [Y/n]
Committing changes...
Preparing...                ########################################### [100%]
apt-get: relocation error: /lib/libnss_files.so.2: symbol 
_nss_files_parse_grent, version GLIBC_2.0 not defined in file libc.so.6 with 
link time reference
[mach at testing07 mach]$






More information about the fedora-legacy-list mailing list