Bugzilla – Bug 154653
rug cannot install packages
Last modified: 2006-06-16 20:15:04 UTC
See the following transscript: aj@x40aj:~> rug service-list --- No services found --- aj@x40aj:~> rug service-add --type=yum ftp://dist.suse.de/factory/FACTORY/inst-source Successfully added service 'ftp://dist.suse.de/factory/FACTORY/inst-source' aj@x40aj:~> rug service-list # | Status | Type | Name | URI --+--------+------+-------------+---- 1 | Active | YUM | Yum Service | aj@x40aj:~> rug install seamonkey ERROR: Unable to find package 'seamonkey' in any subscribed catalog aj@x40aj:~> rpm -qa |grep zmd libzypp-zmd-backend-0.0.8-30 zmd-7.1.1-12 aj@x40aj:~> rpm -q rug rug-7.1.1-7
Note that seamonkey is in the catalog Btw. why does service-list not display anything at all?
Duplicate to 152585 ?
Assigning to Tambet, if this is already fixed as per comment #2, let's update autobuild, run an mbuild and verify this please.
Looks like you haven't subscribed to catalog that provides seamonkey package.
Hmm... actually, this is probably something else as well, YUM works with HTTP and not with ftp.
I'm gonna reopen it, because the yum service addition didn't give any indication that something went wrong.
seamonkey is in the channel If I need to do anything else, please tell me.
btw. YUM needs to work with ftp, we depend on this for our mirror infrastructure.
Ok, http works as follows: http://en.opensuse.org/Factory_via_rug I really had no catalog, will retest with ftp now.
With the following /etc/yum.repos.d/factory.repo: [factory] name=Factory daily tree baseurl=http://dist.suse.de/factory/suse enabled=1 [factory-ftp] name=Factory-ftp baseurl=ftp://dist.suse.de/FACTORY/factory/inst-source/suse enabled=1 I get: rug sa --type yum factory-ftp Adding yum service... 50% and there it hangs. So, we have multiple errors here: * No error shown * handling of ftp does not work.
The current yum service doesn't use /etc/yum* anymore, it takes the url from command line. The whole service code got rewritten about 3 weeks ago.
I use fedora. I added a yum service support last year to upgrade my own machine and committed it to the svn as I thought it would be useful for others as well. That code was not meant to be the yum+patches service code10 needs and when I did the code 10 support, it didn't fit in with the new design (libzypp, etc). I removed the old yum service code and added a new service. The main differences are that previously, the service would get it's input from standard yum service files and zmd parsed that. The new service takes url from command line and uses libzypp to parse it.
I guess it can be about that too, but it's mostly about the old yum service that doesn't exist anymore.