[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FC-2 Add/Remove Applications rant ...



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 30 May 2004 04:27 pm, William Hooper wrote:
> Shaun T. Erickson said:
> > <rant>
> > Why is it that it insists on only looking for the rpms on the
> > installation CDs? Why can't I tell it to brose to the local directory,
> > where I have all of them stored?
>
> less /usr/share/doc/system-config-packages-1.2.12/README
>
> "You can instead use a Red Hat Linux installation tree with the option
> '-tree=/path/to/tree' or use a directory with Red Hat Linux ISO images
> with the option '--isodir=/path/to/dir'."

This is excellent information, however, I tried it and get the following 
error:

[charles moe charles]$ l /home
total 24
drwx------  35 charles charles  4096 May 31 08:39 charles
drwxrwxr-x   2 root    root     4096 May 31 08:35 fc2_iso
drwx------   2 root    root    16384 May 20 04:20 lost+found

[charles moe charles]$ l /home/fc2_iso
total 2247632
- -rw-rw-r--  1 root root 681377792 May 31 08:48 fc2.disc1.iso
- -rw-rw-r--  1 root root 665755648 May 31 08:58 fc2.disc2.iso
- -rw-rw-r--  1 root root 668950528 May 31 09:03 fc2.disc3.iso
- -rw-rw-r--  1 root root 203706368 May 31 09:07 fc2.disc4.iso
- -rw-rw-r--  1 root root  79511552 May 31 09:09 fc2.rescue.iso

[charles moe charles]$ system-config-packages --isodir=/home/fc2_iso
Traceback (most recent call last):
  File "/usr/share/system-config-packages/MainWindow.py", line 160, in ?
    im = get_method(args)
  File "/usr/share/system-config-packages/config.py", line 57, in get_method
    return method.LoopbackIsoInstallMethod(isodir)
  File "/usr/share/system-config-packages/method.py", line 351, in __init__
    self.mountDisc(1)
  File "/usr/share/system-config-packages/method.py", line 402, in mountDisc
    self.tree + "/" + self.discImages[discNum],
KeyError: 1

Same thing happens when I do it from a root shell.
Any ideas?

- -- 
Charles Howse
Jackson, TN
Registered Linux User # 347576 (http://counter.li.org)
GnuPG ID - 1F5130A8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAuz/t/S+VsB9RMKgRAjpaAJwKUIQP4oTevn404iPwjUUdK2uAMQCcDUUE
lSHIWMEe5fekXE9WkEt+A5Q=
=XEuN
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]