Bug 302435

Summary: If repository is not available to install package, no error is returned
Product: [openSUSE] openSUSE 10.3 Reporter: Magnus Boman <mboman>
Component: libzyppAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Stanislav Visnovsky <visnov>
Severity: Normal    
Priority: P5 - None CC: dmacvicar, ma
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper.log
YaST logs
When using zypper and it works
zypper.log
y2log as requested

Description Magnus Boman 2007-08-22 10:20:10 UTC
If there are several repositories, and one, or more, of them aren't available during install of packages, those packages will be skipped without an error.
Comment 1 Klaus Kämpf 2007-08-22 11:27:20 UTC
Does is also happen with zypper ?

Please provide logs.
Comment 2 Magnus Boman 2007-08-22 11:50:56 UTC
I had this issue earlier today while upgrading... Attaching logs from YaST as well as /var/log/zypper.log.
I did it all via YaST.

I will see if I can reproduce with zypper
Comment 3 Magnus Boman 2007-08-22 11:52:30 UTC
Created attachment 159026 [details]
zypper.log
Comment 4 Magnus Boman 2007-08-22 11:53:18 UTC
Created attachment 159027 [details]
YaST logs

Sorry about the excess logs. Don't know which one you are after.. .:-/
Comment 5 Klaus Kämpf 2007-08-22 12:00:24 UTC
So, does it also happen with zypper ?
Comment 6 Magnus Boman 2007-08-22 12:11:02 UTC
Nope, does not happen with zypper. Attaching a zypper log showing that it's using the repositories that are available and disabling the ones that are not available.
Comment 7 Magnus Boman 2007-08-22 12:11:32 UTC
Created attachment 159032 [details]
When using zypper and it works
Comment 8 Magnus Boman 2007-08-22 12:13:10 UTC
Ops! Disregard Comment#6 and Comment#7... They are for Bug#302432
Comment 9 Magnus Boman 2007-08-22 12:21:59 UTC
Created attachment 159034 [details]
zypper.log

With zypper, I get the following;

Downloading package kernel-default-2.6.22.3-4.i586, 20.0 M (62.1 M unpacked)
Unexpected exception.
Can't provide file ./suse/i586/kernel-default.rpm from repository full-i386_-_local
Please file a bug report about this.
See http://en.opensuse.org/Zypper#Troubleshooting for instructions.


Attaching zypper.log
Comment 10 Klaus Kämpf 2007-08-22 13:05:56 UTC
Huh, zypper should not ask for a bug report if a file is missing. Its a repository/network problem

So if zypper reports the problem but YaST not, its probably in pkg-bindings.
Jiri, please reassign appropriately
Comment 11 Ladislav Slezák 2007-08-23 13:02:31 UTC
Could you please reproduce the problem and attach /var/log/YaST2/y2log file?

The attached yast logs are huge and I cannot find which yast run failed.
Comment 12 Magnus Boman 2007-08-24 11:58:36 UTC
Created attachment 159705 [details]
y2log as requested

Here's a new logfile. I searched for a package in YaST, ticked it, delete y2log, the clicked Accept in YaST. So should only contain the failure.
Comment 13 Stanislav Visnovsky 2007-08-29 11:18:02 UTC

*** This bug has been marked as a duplicate of bug 305833 ***