Bug 1024872

Summary: 'yum update' want download and install 1,6 Gb of software
Product: [Fedora] Fedora Reporter: Dario Lesca <d.lesca>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: admiller, awilliam, collura, d.lesca, ffesti, firas.alkafri, jzeleny, packaging-team-maint, pahan, rdieter, slabua, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-08 09:02:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
When the problem it's resolve none

Description Dario Lesca 2013-10-30 14:21:41 UTC
Created attachment 817472 [details]
When the problem it's resolve

Description of problem:

I want remove Cinnamon desktop, then run "yum groupremove 'Cinnamon desktop'"
But none happen and yum suggest to run 'yum groups mark convert'.
I run this command and none happen, "yum groupremove 'Cinnamon desktop'" say not install.

Then I remove cinnamon from single package:

  726  2013-10-25 16:41:37 yum remove  cinnamon-screensaver 
  727  2013-10-25 16:41:48 yum remove cinnamon-control-center 
  728  2013-10-25 16:42:07 yum remove  cinnamon-session
  729  2013-10-25 16:42:31 yum remove  cinnamon-settings-daemon
  730  2013-10-25 16:43:01 yum remove  cinnamon*

/var/log/yum.log
...
Oct 25 16:40:47 Erased: cinnamon-2.0.3-1.fc19.x86_64
Oct 25 16:41:41 Erased: cinnamon-screensaver-2.0.1-1.fc19.x86_64
Oct 25 16:41:51 Erased: cinnamon-control-center-2.0.3-1.fc19.x86_64
Oct 25 16:42:11 Erased: cinnamon-session-2.0.1-1.fc19.x86_64
Oct 25 16:42:34 Erased: cinnamon-settings-daemon-2.0.3-1.fc19.x86_64
Oct 25 16:43:18 Erased: nemo-open-terminal-1.0.0-4.fc19.x86_64
Oct 25 16:43:19 Erased: nemo-extensions-2.0.1-1.fc19.x86_64
Oct 25 16:43:20 Erased: nemo-2.0.1-1.fc19.x86_64
Oct 25 16:43:26 Erased: muffin-2.0.2-1.fc19.x86_64
Oct 25 16:43:27 Erased: cinnamon-translations-2.0.1-2.fc19.noarch
Oct 25 16:43:27 Erased: cinnamon-control-center-filesystem-2.0.3-1.fc19.x86_64
Oct 25 16:43:27 Erased: cinnamon-desktop-2.0.1-1.fc19.x86_64
...

After this 2 operation:

when I run 'yum update', the system want download and install 1,6
Gb of software!

After show one hundred package to install, show this message:

> Transaction Summary
> ==========================================
> Install  579 Packages (+760 Dependent packages)
> 
> Total download size: 1.6 G
> Installed size: 5.2 G

I try clean cache (rm -rf /var/cache/yum/x86_64) and some other trick without success.

I have ask to ML but none have reply some suggestion.

The day after, some update are notify, then I run "yum update" but the problem still exist, yum want install one hundred package.

Then I run GUI update, in this case only the update are install, Good, do it!

After  update are installed I check "yum update".... yum still wants to install one hundred package.

Yesterday I try some "yum group" option without success, but when I run "yum update --bugfix --security" surprise! only the update package are install!

The command in this case have show 358 line like this:

> Plugin abilitati:fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>  * fedora: mirror.bytemark.co.uk
>  * rpmfusion-free: mirror.nl.leaseweb.net
>  * rpmfusion-free-updates: mirror.nl.leaseweb.net
>  * rpmfusion-nonfree: mirror.nl.leaseweb.net
>  * rpmfusion-nonfree-updates: mirror.nl.leaseweb.net
>  * updates: mirror.bytemark.co.uk
>  --> kacst-decorative-fonts-2.0-11.fc19.noarch from fedora removed (updateinfo)
>  --> 2:gimp-help-browser-2.8.6-3.fc19.x86_64 from updates removed (updateinfo)
>  --> rcssserver-15.2.2-1.fc19.x86_64 from updates removed (updateinfo)
>  --> gnucap-0.35-11.fc19.x86_64 from fedora removed (updateinfo)
>  --> kismon-0.6-5.fc19.noarch from fedora removed (updateinfo)
>  --> sslsplit-0.4.5-1.fc19.x86_64 from fedora removed (updateinfo)

(What does "... from fedora removed (updateinfo)" mean?)

and then yum have correctly update only the 29 update packages.

Now all work fine.

Version-Release number of selected component (if applicable):

[root@dodo:~]# yum --version
3.4.3
  Installato: rpm-4.11.1-3.fc19.x86_64 da 2013-09-11 15:50
  Build    : Fedora Project su 2013-09-09 13:10
  Committed: Matilainen <pmatilai> su 2013-09-09

  Installato: yum-3.4.3-111.fc19.noarch da 2013-10-09 08:02
  Build    : Fedora Project su 2013-10-07 10:59
  Committed: James Antill <james at fedoraproject.org> su 2013-10-07

  Installato: yum-plugin-fastestmirror-1.1.31-18.fc19.noarch da 2013-09-29 08:52
  Build    : Fedora Project su 2013-09-27 12:22
  Committed: Zdenek Pavlas <zpavlas> su 2013-09-27

How reproducible:

I don not know

Steps to Reproduce:

I don not know, and do not want try reproduce on my work notebook  

Actual results:
Yesterday yum want install one hundred package.
Now yum work fine, today I have update without problem.

Expected results:
Update only newer package

Additional info:
Ask me some check or test if you want

Comment 1 Jan Zeleny 2013-10-31 07:33:23 UTC
I'm a bit confused. What exactly is the bug?

So far it seems that there is no actual bug in yum and it's just about the dependency chain which is very likely not a problem. The --bugfix --security just picks a subset of all the updates so it's expected that it will pick much less packages for the update.

We need much more information to properly evaluate this one, currently it doesn't look like a bug.

Comment 2 Dario Lesca 2013-10-31 08:11:57 UTC
I have post this bug on suggest by a user of <devel.org>

The bus was "yum still wants to install one hundred package", even when there are no updates to do, like gnome GUI application updates or Yumex say.

I do not know what is happened, but now yum work great (after say "... from fedora removed (updateinfo)" for 350 package).

If you want close this "not bug" do it, this will remain as info for the future.

Thanks.

Comment 3 Dario Lesca 2013-10-31 08:13:03 UTC
The bus=The bug

Comment 4 Salvatore La Bua 2013-11-07 12:39:39 UTC
I ran into this issue as well. Yesterday I ran "yum group mark convert" as per yum suggestion, unaware of its consequences.

Now I assume some packages have been added to a group that I have installed in the past, and running yum update wants to download an incredibly long list of packages, which only 5 are actually to be updated.

yum check-update shows only those 5 packages, as expected. Upgrading them singularly works as expected as well, and rerunning yum check-update shows nothing now needs to be updated. All as expected.

But running yum update again all those unwanted packages would come along.

Maybe this is expected behaviour for have ran yum group mark convert, so my question is, how is it possible to undo that command?

Thanks.

Comment 5 Salvatore La Bua 2013-11-07 14:28:28 UTC
Reverted with:

yum-config-manager --save --setopt=group_command=compat

Comment 6 Jan Zeleny 2013-11-08 09:02:05 UTC
Marking notabug as per comment 2. This is an expected behavior for "groups as objects".

Comment 7 Adam Williamson 2013-12-15 10:03:13 UTC

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