Bug 1309935 - Automatic package update is impossible
Automatic package update is impossible
Product: Fedora
Classification: Fedora
Component: emacs-lua (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tim Niemueller
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-02-18 21:37 EST by Tim Landscheidt
Modified: 2016-12-20 13:50 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-12-20 13:50:07 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tim Landscheidt 2016-02-18 21:37:11 EST
On Fedora 23:

| [tim@passepartout ~]$ sudo dnf upgrade
| Last metadata expiration check performed 2:46:16 ago on Thu Feb 18 23:31:31 2016.
| Dependencies resolved.
| ========================================================================================================================================================================
|  Package                                 Arch                                 Version                                       Repository                             Size
| ========================================================================================================================================================================
| Skipping packages with broken dependencies:
|  emacs-lua                               noarch                               20151025-1.fc23                               updates                                42 k

| Transaction Summary
| ========================================================================================================================================================================
| Skip  1 Package

| Nothing to do.
| Complete!
| [tim@passepartout ~]$

This is apparently due to emacs-lua-el-20130419-5.fc23.noarch being installed on this system which requires "emacs-lua = 20130419-5.fc23" which cannot be fulfilled after an update:

| [tim@passepartout ~]$ sudo rpm -Uvh emacs-lua-20151025-1.fc23.noarch.rpm 
| error: Failed dependencies:
|         emacs-lua = 20130419-5.fc23 is needed by (installed) emacs-lua-el-20130419-5.fc23.noarch
| [tim@passepartout ~]$

But the new emacs-lua has a correct "Obsoletes" field (even though the source spec incorrectly (?) says "Obsoletes:      emacs-%{pkg}-el <= 20130419-5"):

| [tim@passepartout ~]$ rpm -qp emacs-lua-20151025-1.fc23.noarch.rpm --qf '[%{obsoletes}\n]'
| emacs-lua-el
| [tim@passepartout ~]$

So some magic sauce seems to be missing to automatically upgrade from emacs-lua-{,el-}20130419-5 to emacs-lua-20151025-1.
Comment 1 Tim Landscheidt 2016-02-20 12:00:21 EST
I have confirmed that this is due to the field:

| Obsoletes:      emacs-%{pkg}-el <= 20130419-5

in the .spec.  If that is replaced with:

| Obsoletes:      emacs-%{pkg}-el

the update works fine.

I similarly assume that:

| Provides:       emacs-%{pkg}-el <= 20130419-5

should be changed to:

| Provides:       emacs-%{pkg}-el
Comment 2 Fedora End Of Life 2016-11-24 10:38:23 EST
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 EOL if it remains open with a Fedora  'version'
of '23'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 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, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.
Comment 3 Fedora End Of Life 2016-12-20 13:50:07 EST
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

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