Bug 154653 - rug cannot install packages
Summary: rug cannot install packages
Status: VERIFIED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Zenworks (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: Beta 7
Assignee: Tambet Ingo
QA Contact: Eric Waldow
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 10:47 UTC by Andreas Jaeger
Modified: 2006-06-16 20:15 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2006-03-02 10:47:18 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
Comment 1 Andreas Jaeger 2006-03-02 10:48:03 UTC
Note that seamonkey is in the catalog

Btw. why does service-list not display anything at all?
Comment 2 Klaus Kämpf 2006-03-02 14:41:07 UTC
Duplicate to 152585 ?
Comment 3 Naresh Wignarajah 2006-03-02 15:29:29 UTC
Assigning to Tambet, if this is already fixed as per comment #2, let's update autobuild, run an mbuild and verify this please.
Comment 4 Tambet Ingo 2006-03-02 15:38:28 UTC
Looks like you haven't subscribed to catalog that provides seamonkey package.
Comment 5 Tambet Ingo 2006-03-02 15:41:17 UTC
Hmm... actually, this is probably something else as well, YUM works with HTTP and not with ftp.
Comment 6 Tambet Ingo 2006-03-02 15:47:42 UTC
I'm gonna reopen it, because the yum service addition didn't give any indication that something went wrong.
Comment 7 Andreas Jaeger 2006-03-02 16:04:45 UTC
seamonkey is in the channel

If I need to do anything else, please tell me.
Comment 8 Andreas Jaeger 2006-03-02 16:05:31 UTC
btw. YUM needs to work with ftp, we depend on this for our mirror infrastructure.
Comment 9 Andreas Jaeger 2006-03-02 16:30:48 UTC
Ok, http works as follows:

http://en.opensuse.org/Factory_via_rug

I really had no catalog, will retest with ftp now.
Comment 10 Andreas Jaeger 2006-03-02 16:37:24 UTC
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.
Comment 11 Tambet Ingo 2006-03-03 18:07:37 UTC
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.
Comment 13 Tambet Ingo 2006-03-03 19:11:44 UTC
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.
Comment 15 Tambet Ingo 2006-03-03 22:30:49 UTC
I guess it can be about that too, but it's mostly about the old yum service that doesn't exist anymore.