Bug 383580

Summary: YaST2 package update constantly asks to update proprietary packages and the update constantly fails
Product: [openSUSE] openSUSE 10.3 Reporter: Gehua Yang <yanggehua>
Component: YaST2Assignee: Dirk Mueller <dmueller>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gehua Yang 2008-04-25 01:10:05 UTC
Everytime I turn on OpenSUSE 10.3, the package online updater asks me to update the following 9 proprietary packages. But the update process always fails. (It is important to know that installation/update of other packages is normal. For instance, if there are 12 updates, the other 3 new packages will be installed just fine, only remaining these stubborn 9.)

The update command shown by the updater:
/usr/sbin/updater-zypper-gui ZOPTIONS_RESTART_FALSE ZOPTIONS_RECOMMENDED_FALSE ZOPTIONS_PACKAGES_TRUE 0 0 9 java-1_6_0-sun flash-player gst-fluendo-mp3 RealPlayer unace AdobeICCProfiles java-1_6_0-sun-alsa java-1_6_0-sun-devel acroread

To figure out what is going wrong, I have done the following:
1. Package Management
   I opened up the Package Management from YaST. I clicked on flash-player, the button becomed "Upgrade". I clicked on it and clicked on accept. Then the following error appeared:

Installation of package ./suse/i586/flash-player-9.0.124.0-3.i586.rpm failed. Details:

Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


---
warning: user users does not exist - using root
warning: user users does not exist - using root
warning: user users does not exist - using root
warning: user users does not exist - using root
warning: user users does not exist - using root

2008-04-24 20:01:09 flash-player-9.0.124.0-3.i586.rpm install failed
rpm output:
error: unpacking of archive failed: cpio: Bad magic

2. To verify whether the package is a bad RPM file, I did:
yaya:/var/log/YaST2 # find /var -name "*.rpm"
/var/adm/mount/AP_0x00000005/suse/i586/flash-player-9.0.124.0-3.i586.rpm
yaya:/var/log/YaST2 # rpm -U --test /var/adm/mount/AP_0x00000005/suse/i586/flash-player-9.0.124.0-3.i586.rpm
error: Failed dependencies:
        rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by flash-player-9.0.124.0-3.i586

yaya:/var/log/YaST2 # rpm -qa | grep rpm
deltarpm-3.4-36
rpmlint-mini-1.0-53
rpm-4.4.2-140
rpm-python-4.4.2-164
yaya:/var/log/YaST2 # rpmverify -p /var/adm/mount/AP_0x00000005/suse/i586/flash-player-9.0.124.0-3.i586.rpm
Unsatisfied dependencies for flash-player-9.0.124.0-3.i586: rpmlib(PayloadIsLzma) <= 4.4.2-1
.......T    /usr/bin/flashplayer
.......T    /usr/lib/browser-plugins/libflashplayer.so
missing     /usr/share/applications/flashplayer.desktop
missing     /usr/share/pixmaps/flashplayer.png

Judged from this experiment, the RPM file is not corrupted. Somehow it seems to me the dependency requirement of the package doest not fit with my system for some reason.


3. To test if my network has any problem, I did

yaya:/var/log/YaST2 # wget http://download.opensuse.org/pub/opensuse/update/10.3/rpm/i586/flash-player-9.0.124.0-0.1.i586.rpm
100%[====================================>] 5,625,660    743.68K/s    ETA 00:00

20:59:24 (628.46 KB/s) - `flash-player-9.0.124.0-0.1.i586.rpm' saved [5625660/5625660]

yaya:/var/log/YaST2 # rpmverify -p flash-player-9.0.124.0-0.1.i586.rpm 
yaya:/var/log/YaST2 # 
 
This package seems working fine.
Comment 1 Gehua Yang 2008-04-25 01:12:00 UTC
It seems to me it is bug. But maybe I am wrong. 

Thanks ahead for any advice or comments.
Comment 2 Dirk Mueller 2008-05-06 09:13:41 UTC
please post output of "zypper lr"
Comment 3 Gehua Yang 2008-05-06 11:23:12 UTC
yaya:~ # zypper lr
#  | Enabled | Refresh | Type   | Alias                                                                           | Name                                   
---+---------+---------+--------+---------------------------------------------------------------------------------+----------------------------------------
1  | Yes     | Yes     | rpm-md | openSUSE-10.3-Updates                                                           | openSUSE-10.3-Updates                  
2  | No      | No      | NONE   | 10.3 - VideoLan                                                                 | 10.3 - VideoLan                        
3  | Yes     | Yes     | rpm-md | home:gpoppino                                                                   | home:gpoppino                          
4  | Yes     | Yes     | rpm-md | http://download.nvidia.com/opensuse/10.3                                        | NVIDIA Repository                      
5  | No      | No      | rpm-md | 10.3 - Packman                                                                  | 10.3 - Packman                         
6  | Yes     | Yes     | rpm-md | http://download.opensuse.org/repositories/X11:/XGL/openSUSE_10.3/               | openSUSE BuildService - X11:XGL        
7  | No      | No      | yast2  | openSUSE-10.3-DVD 10.3                                                          | openSUSE-10.3-DVD 10.3                 
8  | No      | No      | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_10.3/                | openSUSE BuildService - Mozilla        
9  | No      | No      | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/10.3/                        | VideoLan Repository                    
10 | Yes     | Yes     | yast2  | http://download.opensuse.org/repositories/openSUSE:10.3/standard/               | Main Repository (OSS)                  
11 | Yes     | Yes     | yast2  | http://download.opensuse.org/distribution/10.3/repo/non-oss/                    | Main Repository (NON-OSS)              
12 | Yes     | Yes     | rpm-md | Google_1                                                                        | Google                                 
13 | Yes     | Yes     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_10.3/        | openSUSE BuildService - Wine CVS Builds
14 | Yes     | Yes     | yast2  | http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/ | Main Repository (NON-OSS)              
15 | Yes     | Yes     | rpm-md | http://ftp.skynet.be/pub/packman/suse/10.3/                                     | Packman Repository                     
yaya:~ # 
Comment 4 Dirk Mueller 2008-05-06 13:00:44 UTC
remove source 14, SL-Factory-non-oss. factory is != 10.3