Bug 519405 - updateinfo.xml for F11 doesn't contain epoch data for at least kde-i18n-British-1:3.5.10-9.fc11
Summary: updateinfo.xml for F11 doesn't contain epoch data for at least kde-i18n-Briti...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bodhi
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 520328 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-26 13:55 UTC by Oliver Henshaw
Modified: 2016-09-20 02:40 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-04 17:34:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
failed yum update --advisory (11.17 KB, text/plain)
2009-08-26 13:55 UTC, Oliver Henshaw
no flags Details
yum info-updateinfo --advisory prior to transaction (16.63 KB, text/plain)
2010-02-13 16:15 UTC, Oliver Henshaw
no flags Details
output from yum update --advisory (14.29 KB, text/plain)
2010-02-13 16:15 UTC, Oliver Henshaw
no flags Details
output from "yum check-update | grep -i kd" after transaction (1.69 KB, text/plain)
2010-02-13 16:16 UTC, Oliver Henshaw
no flags Details

Description Oliver Henshaw 2009-08-26 13:55:11 UTC
Created attachment 358718 [details]
failed yum update --advisory

Description of problem:

I tried to use the yum-security plugin to selectively update recently pushed kde upgrades, i.e. "yum update --advisory FEDORA-2009-8368". The update fails after downloading packages, with some file conflicts (see attached).

In each case, a file from an updated package conflicts with a file from an installed packages - but updates for the installed packages are available and are part of the same advisory. (See https://admin.fedoraproject.org/updates/F11/FEDORA-2009-8368 which lists kde-i18n and kdebase.)


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

yum-3.2.23-3.fc11.noarch
yum-utils-1.1.22-1.fc11.noarch


Additional info:

# yum list-security --advisory FEDORA-2009-8368
Loaded plugins: allowdowngrade, presto, refresh-packagekit, security
FEDORA-2009-8368 enhancement PyKDE4-4.3.0-4.fc11.1.i586
FEDORA-2009-8368 enhancement PyQt4-4.5.4-1.fc11.i586
FEDORA-2009-8368 enhancement akonadi-1.2.0-1.fc11.i586
FEDORA-2009-8368 enhancement kde-l10n-British-4.3.0-1.fc11.noarch
FEDORA-2009-8368 enhancement kde-plasma-stasks-0.5.1-6.fc11.i586
FEDORA-2009-8368 enhancement kdeartwork-4.3.0-2.fc11.i586
FEDORA-2009-8368 enhancement kdebase-runtime-4.3.0-4.fc11.i586
FEDORA-2009-8368 enhancement kdebase-runtime-libs-4.3.0-4.fc11.i586
FEDORA-2009-8368 enhancement kdebase-workspace-4.3.0-9.fc11.i586
FEDORA-2009-8368 enhancement kdebase-workspace-googlegadgets-4.3.0-9.fc11.i586
FEDORA-2009-8368 enhancement kdebase-workspace-libs-4.3.0-9.fc11.i586
FEDORA-2009-8368 enhancement kdepimlibs-4.3.0-2.fc11.i586
FEDORA-2009-8368 enhancement kdepimlibs-akonadi-4.3.0-2.fc11.i586
FEDORA-2009-8368 enhancement kdeplasma-addons-4.3.0-8.fc11.i586
FEDORA-2009-8368 enhancement kdm-4.3.0-9.fc11.i586
FEDORA-2009-8368 enhancement ksysguardd-4.3.0-9.fc11.i586
FEDORA-2009-8368 enhancement libmsn-4.0-0.12.beta7.fc11.i586
FEDORA-2009-8368 enhancement oxygen-icon-theme-4.3.0-1.fc11.noarch
FEDORA-2009-8368 enhancement sip-4.8.2-1.fc11.i586
FEDORA-2009-8368 enhancement soprano-2.3.0-2.fc11.i586
FEDORA-2009-8368 enhancement strigi-libs-0.7.0-1.fc11.i586

yum info-security --advisory FEDORA-2009-8368 correctly lists all packages in the advisory.

Comment 1 James Antill 2009-08-26 14:41:56 UTC
 There are two bugs here, neither of which are in yum.

 Bug 1. updateinfo.xml contains:

 <package arch="noarch" name="kde-i18n-British" release="9.fc11" src="[...]"
  version="3.5.10">

...implying an epoch of 0, however kde-i18n-British has an epoch of 1.

 Bug 2. If there is a file conflicts between kde-l10n-British-4.3.0-1.fc11.noarch and kde-i18n-British-1:3.5.10-4.fc11.noarch (etc.) ... then those packages should have an explicit (versioned) conflicts.

...I'm going to move this one to bodhi (I think that's what creates the updateinfo.xml), as that's the bigger bug ... please open other ones for the kde packaging bugs.

Comment 2 Luke Macken 2009-08-27 23:01:34 UTC
I had bodhi add the epoch to the updateinfo in https://fedorahosted.org/bodhi/changeset/85ed47759f4cbc8cd1a770198e24ef584d43d3ce

Comment 3 Oliver Henshaw 2009-08-28 11:36:05 UTC
(In reply to comment #1)
>  Bug 2. If there is a file conflicts between
> kde-l10n-British-4.3.0-1.fc11.noarch and
> kde-i18n-British-1:3.5.10-4.fc11.noarch (etc.) ... then those packages should
> have an explicit (versioned) conflicts.
Is that true even if a newer version of kde-i18n-British resolves the conflict? I tried to find mention of this in the packaging guidelines before filing the followup bugs, but came up blank.

Comment 4 seth vidal 2009-08-31 13:22:17 UTC
*** Bug 520317 has been marked as a duplicate of this bug. ***

Comment 5 seth vidal 2009-08-31 13:41:39 UTC
*** Bug 520328 has been marked as a duplicate of this bug. ***

Comment 6 James Antill 2009-09-17 16:39:18 UTC
in reply to comment #3 ...

yes, you could have the conflicts there. Esp. so because with the conflicts yum will know to try and update the conflicting package, but without it it'll just die when rpm checks the files.

Comment 7 James Antill 2009-09-17 16:39:34 UTC
bah ... s/could/should/

Comment 8 James Antill 2009-09-29 16:04:28 UTC
Note that qt has an epoch, and is a security update. So anyone relying on "yum update --security" is currently not getting it because of this bug.

So I'm uping the severity to hih.

Comment 9 Luke Macken 2009-11-05 15:59:52 UTC
Epochs have been getting injected into bodhi's updateinfo.xml for a while now.  Eg:

<package arch="i586" epoch="1" name="liferea" release="1.fc11" src="http://download.fedoraproject.org/pub/fedora/linux/updates/1/i586/liferea-1.6.0-1.fc11.i586.rpm" version="1.6.0"><filename>liferea-1.6.0-1.fc11.i586.rpm</filename></package>

Comment 10 Oliver Henshaw 2010-02-13 16:13:57 UTC
Is this really fixed? Attached below are some logs from a recent kde 4.3.4 -> 4.3.5 update. It looks like epochs are not listed in the advisory - and packages with a non-zero epoch are not listed for update but only pulled in as dependencies.

Comment 11 Oliver Henshaw 2010-02-13 16:15:09 UTC
Created attachment 390645 [details]
yum info-updateinfo --advisory prior to transaction

Comment 12 Oliver Henshaw 2010-02-13 16:15:54 UTC
Created attachment 390646 [details]
output from yum update --advisory

Comment 13 Oliver Henshaw 2010-02-13 16:16:47 UTC
Created attachment 390647 [details]
output from "yum check-update | grep -i kd" after transaction

Comment 14 Luke Macken 2010-04-06 15:19:58 UTC
Epochs are in the updateinfo.xml, and have been for quite some time now.  I'm re-assigning this bug to yum-utils, since it sounds like this could be an issue with the yum security plugin.

Comment 15 James Antill 2010-04-06 22:27:49 UTC
Downloading the latest updateinfo for F11 I get:

        <package arch="noarch" name="kde-i18n-Chinese-Big5" release="9.fc11" src
="http://download.fedoraproject.org/pub/fedora/linux/updates/1/i386/kde-i18n-Chi
nese-Big5-3.5.10-9.fc11.noarch.rpm" version="3.5.10">

        <package arch="x86_64" epoch="1" name="hpijs" release="1.fc11" src="http
://download.fedoraproject.org/pub/fedora/linux/updates/1/x86_64/hpijs-3.10.2-1.f
c11.x86_64.rpm" version="3.10.2">

...so yes, epochs are there for _some_ packages. But still not for kde-i18n-\*

Comment 16 Luke Macken 2010-04-07 02:00:08 UTC
Ah, you're right.  I'm pretty sure I found and fixed the bug in bodhi's git.  I'll get a new release out as soon as our infrastructure is unfrozen.

Comment 17 Bug Zapper 2010-04-28 09:59:15 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 18 Bug Zapper 2010-11-04 10:21:51 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 19 seth vidal 2010-11-04 17:34:17 UTC
fixed in bodhi, I believe.

closing


Note You need to log in before you can comment on or make changes to this bug.