Bug 83747
Summary: | I have installed from ftp, but it asks me the CD (1, 2 or 3) to install a package | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Antonio Sanna <redhat> |
Component: | redhat-config-packages | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | phoebe | CC: | mitr, mpc |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-02-10 01:25:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Antonio Sanna
2003-02-07 21:28:38 UTC
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. |