(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) Start Here! (Getting started/First day) :
Xwindows installer can't find packages to install
I have everything loaded as it should be, but when I click on "3) Install Packages", there is nothing in the list but "Basic System (default)". The last entry in the output window is "Reading catergories from /mnt/software/RedHat/maps". The categories don't seem to be read, even though I have build.master, install.master, order.master, and sort.master in a "maps" directory, both in the "install" directory on the root of the hard drive and in the "maps" directory in the RedHat directory inside "software". I have a 550 meg HFS partition containing the installation files, a 950 meg A/UX partition for root and a 50 meg swap partition. Any ideas what's wrong?
I'm having a similar but even more puzzling problem. I have all the R5 distribution downloaded onto an HFS drive on the external scsi bus. The installer mounts the volume correctly (or is it? It mounts on ramdisk boot to /mnt/cdrom/). I can explore the directory structure and all the files are there. However, when I run the installer the output window just says FILE IS MISSING after every rpm it tries to install. It reads the .master files correctly (I have the full selection of packages to install)!, but it doesn't copy anything to my root partition. Booting from myu (I assume empty) root partition gives me a Kernel panic, no init error. Is there a mysterious problem with the external scsi bus on a PowerMac 7500? Is the fact that the external HFS volume uses an FWB driver a potential source of error?
- Robert Buchanan <rnb10@columbia.edu>
I had both of these problems with my linuxppc-1999 install.
Switching to Fetch 3.0.3 (from Fetch 2.6.1, oops :) and re-downloading the entire install from only dev.linuxppc.org fixed the problem. I had previously downloaded from a number of mirrors, some of which I suspect were not up to date.
Interestingly, I forgot to use the modified hdlistinfo, and it proved to be completely unnecessary, so you might wish to omit that.
Fetch 3.0.3 is freeware from the usual sites.
--Dave Halgren (d_halgren@hotmail.com)
Er, two addenda to my previous addendum:
1) The XWindows installer does in fact mount your hard drive, if the full download install is present, as /mnt/cdrom. Not a problem.
2) The instructions state that you have to COPY the maps folder from /software to /install on the root volume of your MacOS HD. This means you have to hold down option while dragging it, so that the original is retained in /software and a copy is created in /install. This seems a little odd, but appears to be necessary - without it the installer won't offer to install anything.
--Dave Halgren (d_halgren@hotmail.com)
An update: I got the installation to work by reverting to the default hdlistinfo file. The hdlistinfo.fetch file (renamed, of course) didn't work at all, even though I downloaded the entire distribution with Fetch. There were a few files (no more than ten or so) that did not install (FILE IS MISSING error in output terminal) but were easy to install manually by typing
rpm -hvi --root=/mnt/install [package_name_as_it_exists_on_your_hfs_volume]
or, if you've already rebooted into your own Linux system (and not the ramdisk), mount the disk you installed from, then
rpm -hvi --root=/ [package]
-- Robert Buchanan <rnb10@columbia.edu>
Thanks for all the tips. I was able to get the packages to show up by redownloading all the software EXCEPT the RPMs (thank god!), forcing it to download with binary format in Fetch. One thing, though. After installing all the basic packages plus a few extras, I got the "Kernel Panic: no init" message on booting. However, after reinstalling everything, and including the "Linux Kernels" package, all is now well.
I had the same problems as above. My real problem was that the amended hdlistinfo file which I needed, because I had used Fetch to download the RPMS, had been converted to a Mac text file on the fly due to it coming down via IE. I changed it back into a UNIX text file with Alpha and then all was fine. Some parts of packages could not be found but all seems to work. -- Ian M Davies I.M.Davies@swansea.ac.uk
I had this problem - I also downloaded hdlistinfo-fetch.gz with MSIE, but the real issue wasn't MSIE - it was that Stuffit Expander automatically decompressed the gzip archive, converting the text file inside to Mac text (and of course, MSIE was set up to pass gzips to stuffit). Make sure you decompress the archive with MacGZip, and you'll be fine.
Brent Neal (fbneal@yahoo.com)
I had this problem - I also downloaded hdlistinfo-fetch.gz with MSIE, but the real issue wasn't MSIE - it was that Stuffit Expander automatically decompressed the gzip archive, converting the text file inside to Mac text (and of course, MSIE was set up to pass gzips to stuffit). Make sure you decompress the archive with MacGZip, and you'll be fine.
I'm getting a few (maybe <10) <blah> IS MISSING when I run the X Installer. Can't figure it out. Here are some samples, ggv, kaffe, kdestart, grpm, kxirc, basic, ggv...
Any ideas on what's going wrong?
the problem is that the hdlistinfo-fetch you've been using is out-of-date.
The RPMS contain newer packages than those mentioned in the file you
downloaded. I processed the default hdlistinfo with a short Python script
under MacOS to produce a new one, which I uploaded to
ftp.linuxppc.org/incoming. Hopefully someone there and at linuxppc.com will
see fit to fix the links. Until then, grab that one and enjoy.

The python:

---------
import string
import os
redhat = 'Linux:software:redhat:'
f = open( redhat + 'base:hdlistinfo.1') # source file
f2 = open( redhat + 'base:hdlistinfo', 'w') # dest file
for l in f.readlines():
    s = string.split(l)[1]
    if len(s) > 31:
        #print 'changing "'+s+'" to "'+s[:31]
        i = string.find(l, s)
        # remove the next line unless you have all RPMS installed
        assert(os.path.exists(redhat+'RPMS:'+s[:31]))
        assert(i>=0)
        l = l[:i]+s[:31]+l[i+len(s):]
    f2.write(l)
[Append to This Answer]
msnow@world.std.com, rnb10@columbia.edu, d_halgren@hotmail.com, I.M.Davies@swansea.ac.uk, fbneal@yahoo.com, rbruce@tactile.com, abrahams@mediaone.net
Previous: (Answer) Moving LinuxPPC 1999 CD files to hard drive before install
Next: (Answer) turn off MacOS VM to run mkLinux DR3 installer
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=719
[Search] [Appearance]
This is a Faq-O-Matic 2.718d.
Hosted by anduin.org and SourceForge Logo