Bug 155843

Summary: rug will not install package (YUM src)
Product: [openSUSE] SUSE Linux 10.1 Reporter: Andreas Jaeger <aj>
Component: ZenworksAssignee: Klaus Kämpf <kkaempf>
Status: VERIFIED FIXED QA Contact: Eric Waldow <ewaldow>
Severity: Critical    
Priority: P5 - None CC: adrian.schroeter, kkaempf
Version: Beta 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: logfile

Description Andreas Jaeger 2006-03-07 19:30:39 UTC
I just restarted zmd and did:

aj@x40:~/cvs/nrm-zypp> rug sl

# | Status | Type | Name    | URI
--+--------+------+---------+---------------------------------
1 | Active | YUM  | factory | http://dist.suse.de/factory/suse

aj@x40:~/cvs/nrm-zypp> rug info xgnokii
Catalog: http://dist.suse.de/factory/suse
Name: xgnokii
Version: 0.6.10-5
Arch: i586
Installed: No
Status: up-to-date
Installed Size: 0
Summary: Nokia Connectivity Program
Description: xgnokii is an X Window System front-end for gnokii. gnokii has to be
installed as well

aj@x40:~/cvs/nrm-zypp> rug search xgnokii

S | Catalog | Bundle | Name    | Version  | Arch
--+---------+--------+---------+----------+-----
  | factory |        | xgnokii | 0.6.10-5 | i586

aj@x40:~/cvs/nrm-zypp> rug in xgnokii
Resolving Dependencies...

The following packages will be installed:
  xgnokii 0.6.10-5 (http://dist.suse.de/factory/suse)


Transaction...
                                                                             0%

Transaction failed: Unknown error

This is with current packages from autobuild
rug-7.1.1-10
zmd-7.1.1-15
libzypp-0.0.8-39
libzypp-zmd-backend-0.0.8-39

/var/log/zmd-messages.log contains:
7 Mar 2006 20:24:47 INFO  ServiceManager       Successfully added service 'factory'
07 Mar 2006 20:24:47 INFO  ServiceManager       Finished Service Refresh
07 Mar 2006 20:26:55 ERROR Transaction          Package transaction failed: Unknown error
Comment 1 Andreas Jaeger 2006-03-07 19:32:15 UTC
Looking at zmd-backend.log I see:

2006-03-07 20:26:54 <5> x40(19315) [base] Exception.cc(log):94 MediaHandler.cc(getFile):1028 THRO
W:    MediaHandler.cc(getFile):1028: File ./i586/xgnokii-0.6.10-5.i586.rpm not found on media: fi
le:///
2006-03-07 20:26:54 <5> x40(19315) [base] Exception.cc(log):94

But this file does exist:
http://dist.suse.de/factory/suse/i586/xgnokii-0.6.10-5.i586.rpm
Comment 2 Klaus Kämpf 2006-03-07 19:38:58 UTC
Is the package downloaded by zmd ?
You might attach /var/log/zmd-messages.log
Comment 3 Andreas Jaeger 2006-03-07 19:44:29 UTC
No, it's not downloaded - I'll attach the file.
Comment 4 Andreas Jaeger 2006-03-07 19:46:15 UTC
Created attachment 71625 [details]
logfile
Comment 5 Klaus Kämpf 2006-03-07 20:13:11 UTC
Wrong logfile, please attach zmd-messages.log
Comment 6 Tambet Ingo 2006-03-07 20:15:09 UTC
zypp backend add that entry to database and later is not able to read it at resolve-dependencies
Comment 7 Andreas Jaeger 2006-03-07 20:18:26 UTC
Klaus, see the initial report, I added the relevant section from the log file.

Do you need the complete log file?
Comment 8 Klaus Kämpf 2006-03-11 20:37:38 UTC
I consider this fix with latest code drops.