From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030115 Description of problem: I have installed Phoebe from a local ftp, but redhat-config-packages asks me the CDs when I want install a new package: I don't know if this is a bug or an enhancement, but it isn't a logical behavior, I think. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. I install Phoebe from ftp 2. I launch redhat-config-packages to install a new package Actual Results: redhat-config-packages asks me the CDs Expected Results: redhat-config-packages download the packages from ftp
You can do this by running with --tree=ftp://path/to/dir. We don't preserve information on method of installation due to the fact that in some cases it may have sensitive information such as passwords for connection to the ftp site.
Doesn't --tree need a .discinfo file? There is none on the FTP mirrors.
I know this bug is closed already, but I would like to be able to use redhat-config-packages with RedHat's ftp site, and here is the error I get using the --tree parameter. [root@dragonfly root] # redhat-config-packages --tree=ftp://ftp.redhat.com/pub/redhat/linux/beta/phoebe/en/os/i386/RedHat/RPMS/ Traceback (most recent call last): File "/usr/share/redhat-config-packages/MainWindow.py", line 160, in ? im = get_method(args) File "/usr/share/redhat-config-packages/config.py", line 55, in get_method return urlmethod.UrlInstallMethod(url) File "/usr/share/redhat-config-packages/urlmethod.py", line 59, in __init__ f = urllib2.urlopen(self.url + dir + "/.discinfo") File "//usr/lib/python2.2/urllib2.py", line 138, in urlopen return _opener.open(url, data) File "//usr/lib/python2.2/urllib2.py", line 322, in open '_open', req) File "//usr/lib/python2.2/urllib2.py", line 301, in _call_chain result = func(*args) File "//usr/lib/python2.2/urllib2.py", line 930, in ftp_open fw = self.connect_ftp(user, passwd, host, port, dirs) File "//usr/lib/python2.2/urllib2.py", line 951, in connect_ftp fw = ftpwrapper(user, passwd, host, port, dirs) File "//usr/lib/python2.2/urllib.py", line 705, in __init__ self.init() File "//usr/lib/python2.2/urllib.py", line 714, in init self.ftp.cwd(dir) File "//usr/lib/python2.2/ftplib.py", line 500, in cwd return self.voidcmd(cmd) File "//usr/lib/python2.2/ftplib.py", line 247, in voidcmd return self.voidresp() File "//usr/lib/python2.2/ftplib.py", line 222, in voidresp resp = self.getresp() File "//usr/lib/python2.2/ftplib.py", line 215, in getresp raise error_perm, resp IOError: [Errno ftp error] 550 Failed to change directory. [root@dragonfly root] #
I also know the bug is closed, but it would be nice from a usability perspective for the 'Insert CD X' window to have an additional button to select an alternative location. This would prevent the user having to quit out, fire off a root shell, and tediously re-select the package changes after restarting with a --tree flag.