Bug 384416

Summary: zypper dup keeps reinstalling packages nscd iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3
Product: [openSUSE] openSUSE 11.0 Reporter: Casual J. Programmer <casualprogrammer>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: Duncan Mac-Vicar <dmacvicar>
Severity: Normal    
Priority: P5 - None CC: ma, schubi
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 11.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/zypper*

Description Casual J. Programmer 2008-04-28 16:34:23 UTC
After "clean" install from Beta1 DVD & update from factory zypper dup offers to reinstall  nscd iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3 on each invocation.

zypper dup
Reading installed packages...

The following package is going to be upgraded:
  bundle-lang-gnome-it 


The following NEW package is going to be installed:
  bundle-lang-gnome-ja 


The following packages are going to be reinstalled:
  nscd iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3 


The following package is going to be REMOVED:
  nscd 


Overall download size: 32.4 M. After the operation, additional 3.8 M will be used.
Continue? [YES/no]:
Comment 1 Casual J. Programmer 2008-04-28 16:36:43 UTC
Created attachment 210923 [details]
/var/log/zypper*
Comment 2 Jan Kupec 2008-04-28 16:48:04 UTC
Seems like you have two nscd versions installed:

[zypper] zypper-misc.cc(summary):1173 <uninstall> (45746)nscd-2.8-6.i586(@System)
[zypper] zypper-misc.cc(summary):1173 <uninstall> (45747)nscd-2.8-8.i586(@System)
Comment 3 Casual J. Programmer 2008-04-28 17:02:09 UTC
Actually rpm shows that too:

rpm -qa | grep nscd
nscd-2.8-6
nscd-2.8-8

zypper produces:

* Downloading: nscd-2.8-8.i586.rpm [done]
* Installing: nscd-2.8-8
Installation of nscd-2.8-8 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: failed to stat /home/antonyarendt/.gvfs: Permission denied
insserv: Service boot.clock has to be enabled for service nscd
insserv: exiting now!
error: %post(nscd-2.8-8.i586) scriptlet failed, exit status 1

But that would not explain the rest of packages being repetitively reinstalled.

Also if nscd is installed twice, that's another zypper problem presumably.

What are you suggesting ?

Comment 4 Casual J. Programmer 2008-04-28 17:05:03 UTC
Tried the following:

workstation6l:/var/log # rpm -e nscd
error: "nscd" specifies multiple packages

workstation6l:/var/log # rpm -e nscd-2.8-6
error: failed to stat /home/antonyarendt/.gvfs: Permission denied
..dead

workstation6l:/var/log # rpm -qa | grep nscd
nscd-2.8-8
libnscd-2.0.2-75

workstation6l:/var/log # zypper clean
All repositories have been cleaned up.

workstation6l:/var/log # zypper dup
Reading installed packages...

The following package is going to be upgraded:
  bundle-lang-gnome-ja 


The following NEW package is going to be installed:
  bundle-lang-gnome-nb 


The following packages are going to be reinstalled:
  iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3 


Overall download size: 30.5 M. After the operation, additional 2.7 M will be used.
Continue? [YES/no]:

what gives ?
Comment 5 Casual J. Programmer 2008-04-28 17:08:46 UTC
Continuing with YES:

Continue? [YES/no]: YES
Downloading package bundle-lang-gnome-nb-11.0-119.noarch, 799.0 K (2.6 M unpacked)
* Installing: bundle-lang-gnome-nb-11.0-119
Downloading package bundle-lang-gnome-ja-11.0-124.noarch, 1.1 M (4.0 M unpacked)
* Downloading: bundle-lang-gnome-ja-11.0-124.noarch.rpm [done (499.8 K/s)]
* Installing: bundle-lang-gnome-ja-11.0-124
Downloading package iwl3945-ucode-2.14.1.5-44.noarch, 63.0 K (154.0 K unpacked)
* Downloading: iwl3945-ucode-2.14.1.5-44.noarch.rpm [done]
* Installing: iwl3945-ucode-2.14.1.5-44
Downloading package flash-player-9.0.124.0-4.i586, 4.8 M (15.4 M unpacked)
* Downloading: flash-player-9.0.124.0-4.i586.rpm [done (588.5 K/s)]
* Installing: flash-player-9.0.124.0-4
Downloading package java-1_6_0-sun-1.6.0.u5-7.i586, 23.5 M (86.1 M unpacked)
* Downloading: java-1_6_0-sun-1.6.0.u5-7.i586.rpm [done (523.3 K/s)]
* Installing: java-1_6_0-sun-1.6.0.u5-7
Downloading package gst-fluendo-mp3-2-62.i586, 210.0 K (1.1 M unpacked)
* Downloading: gst-fluendo-mp3-2-62.i586.rpm [done]
* Installing: gst-fluendo-mp3-2-62

workstation6l:/var/log # zypper dup
Reading installed packages...

The following package is going to be upgraded:
  bundle-lang-gnome-nb 


The following NEW package is going to be installed:
  bundle-lang-gnome-nl 


The following packages are going to be reinstalled:
  iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3 


Overall download size: 30.5 M. After the operation, additional 3.3 M will be used.
Continue? [YES/no]:
Comment 6 Stefan Schubert 2008-04-29 09:14:56 UTC
I would say remove double packages from your system via the rpm call.
If there are still inclear dependencies please generate a testcase and add
it to bugzilla. Thanks.
Comment 7 Casual J. Programmer 2008-04-29 15:14:32 UTC
The attachment already contains a testcase, sorry for not explicitly mentioning it.
Comment 8 Casual J. Programmer 2008-04-29 15:19:57 UTC
Also the packages chosen for reinstall by zypper are not duplicate according to rpm:

rpm -q iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3
iwl3945-ucode-2.14.1.5-44
flash-player-9.0.124.0-4
java-1_6_0-sun-1.6.0.u5-7
gst-fluendo-mp3-2-62

Currently zypper does:

zypper dup
* Downloading repository 'Packman-openSuSE-11.0' metadata.
* Building repository 'Packman-openSuSE-11.0' cache
* Downloading repository 'Packman-openSuSE-10.3' metadata.
* Building repository 'Packman-openSuSE-10.3' cache
Reading installed packages...

The following package is going to be upgraded:
  bundle-lang-gnome-nl 


The following NEW package is going to be installed:
  bundle-lang-gnome-pl 


The following packages are going to be reinstalled:
  iwl3945-ucode flash-player java-1_6_0-sun gst-fluendo-mp3 


Overall download size: 30.6 M. After the operation, additional 3.2 M will be used.
Continue? [YES/no]: n
Comment 9 Jan Kupec 2008-05-12 13:31:39 UTC
You'right. Please retry with zypper 0.11.2 (shows also arch and vendor changes in the summary) or 0.11.3 (will be available in few days) and attach the test case.

Also take a look at bug 385972 and check if this is not a duplicate of that one.
Comment 10 Casual J. Programmer 2008-05-12 16:43:03 UTC
I don't think it's a duplicate of Bug 385972, as all listed packages are factory and factory-non-oss

After updating from factory 

zypper -V 
zypper 0.11.2

zypper dup
Reading installed packages...
Nothing to do.

so it looks as though zypper has come to. 
Comment 11 Casual J. Programmer 2008-05-13 06:59:43 UTC
It's back after updating from factory just now:

# zypper -V
zypper 0.11.2

# zypper ref
Repository 'Packman-openSuSE-11.0' is up to date.
Repository 'Packman-openSuSE-10.3' is up to date.
Repository 'openSuSE-11.0-Update' is up to date.
Repository 'openSuSE-Factory-Debug' is up to date.
Repository 'openSuSE-Factory' is up to date.
Repository 'openSuSE-Factory-nonOSS' is up to date.
Repository 'Videolan-openSuSE-11.0' is up to date.
All repositories have been refreshed.

# zypper dup
Reading installed packages...

The following packages are going to be upgraded:
  iwl3945-ucode AdobeICCProfiles java-1_6_0-sun-plugin java-1_6_0-sun gst-fluendo-mp3 
flash-player 


Overall download size: 32.2 M. No additional space will be used or freed after the operation.
Continue? [YES/no]: n
Comment 12 Michael Adam 2008-05-22 10:15:29 UTC
see also bug #390347
Comment 13 Casual J. Programmer 2008-05-22 10:21:26 UTC
It doesn't seem to do that presently any more.

libzypp-4.23.0-2
zypper-0.11.3-5
Comment 14 Jan Kupec 2008-05-22 10:44:15 UTC
Yes, seems it's fixed. Thanx.