Bug 211574

Summary: rug has trouble keeping up to date with buildservice repositories
Product: [openSUSE] openSUSE 10.2 Reporter: James Oakley <jfunk>
Component: ZenworksAssignee: E-mail List <zlm-code10-bugs>
Status: RESOLVED FIXED QA Contact: Mauro Parra Miranda <mauro>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zmd logs

Description James Oakley 2006-10-11 12:57:38 UTC
It seems that rug is always one step behind any buildservice repos I add to it. It's been like this for a long while.

'rug ref' doesn't appear to update the repository:

Here's 'rug sl':

maus:~ # rug sl

# | Status | Type | Name        | URI
--+--------+------+-------------+-----------------------------------------------
1 | Active | YUM  | funktronics | http://software.opensuse.org/download/home:...
2 | Active | YUM  | aj-zen      | ftp://ftp.gwdg.de/pub/linux/suse/people/aj/...
3 | Active | YUM  | os-tools    | http://software.opensuse.org/download/openS...
4 | Active | ZYPP | extra       | ftp://mirrors.kernel.org/suse/install/10.2/...
5 | Active | YUM  | factory     | ftp://mirrors.kernel.org/opensuse/distribut...
6 | Active | YUM  | compiz      | http://software.opensuse.org/download/Compi...
7 | Active | YUM  | packman     | ftp://ftp.solutioninc.com/pub/suse/packman/...
8 | Active | YUM  | guru        | ftp://ftp.solutioninc.com/pub/suse/guru/10....

Even after a 'rug ref', if I try to install a package from my BS repo, it picks an old package that has been deleted:

maus:~ # rug in vim-indent-finder
Resolving Dependencies...

The following packages will be installed:
  vim-indent-finder 1.1-3.13 (http://software.opensuse.org/download/home:/jimfunk/SUSE_Factory/)


Downloading Packages...
                                                                                                                                                 0%

Download failed: Download failed: (http://software.opensuse.org/download/home:/jimfunk/SUSE_Factory/i586/vim-indent-finder-1.1-3.13.i586.rpm) The remote server returned an error: (404) Not Found.

However, yum works fine, it installs the correct vim-indent-finder-1.1-3.14.i586.rpm.
Comment 1 Federico Lucifredi 2006-10-12 01:08:11 UTC
probably the meta in the buildservice does not refresh on build. But there are other things that could be happening.

please set the log level to debug and attach the logs in here. Also, include a list of your services as I presume you have multiple ones.
Comment 2 James Oakley 2006-10-12 05:19:07 UTC
Created attachment 101282 [details]
zmd logs
Comment 3 James Oakley 2006-10-12 05:27:28 UTC
You mean the Yum metadata? That's fine, since yum has no problem with it.

I have attached the logs for my latest attempt, using a different package that I just built:

I did a 'rug ref', then 'rug in python-matplotlib' to install the package I just built, but it tried to install an older version, which was built for python 2.4:

Unresolved dependencies:
Installing python-matplotlib-0.87.3-5.2.i586[funktronics]
There are no installable providers of python < 2.5 for python-matplotlib-0.87.3-5.2.i586[funktronics]

Immediately after getting this error, I did a 'yum install python-matplotlib', and it installed the appropriate package:

Installing:
 python-matplotlib       i586       0.87.6-3.1       home:jimfunk      8.8 M

I provided my 'rug sl' output in the original report. Unfortunately, rug doesn't print the full urls. I tried --no-abbrev, but it still truncates them.
Comment 4 Mauro Parra Miranda 2006-10-24 04:28:54 UTC
Can reproduce with my test system. 

Please get the lastest packages from factory (rug, zmd, libzypp & libzypp-backend) and see if you can reproduce. 
Comment 5 James Oakley 2006-10-27 14:41:01 UTC
I'm doing a factory update now, so it looks good.
Comment 6 Stanislav Visnovsky 2007-09-27 11:51:13 UTC
OK, closing as fixed