Bug 1402184 - after upgrade to FC25 dnf installs packages from FC24
Summary: after upgrade to FC25 dnf installs packages from FC24
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 00:48 UTC by Enrique Gomezdelcampo
Modified: 2017-01-11 23:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-07 06:51:05 UTC
Type: Bug


Attachments (Terms of Use)

Description Enrique Gomezdelcampo 2016-12-07 00:48:59 UTC
Description of problem:
I upgraded from Fedora 24 to 25 using the Updates tab in GNOME Software program. Everything went fine, no errors during upgrade. All Settings/Details shows Fedora 25 under the Fedora icon.

However, when I try to install any new software package with dnf the version of the package that shows for installation always ends in .fc24 even though now I have Fedora 25 installed.

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

How reproducible:
everytime

Steps to Reproduce:
1. upgrade from 24 to 25 using Gnome software package
2. try to install a new software package using dnf
3. notice that version of package is FC24 instead of FC25

Actual results:
version of the package ends in .fc24

Expected results:
the version of the package should end in .fc25

Additional info:
cat /etc/system-release shows Fedora release 25 (Twenty Five)
cat /etc/redhat-release shows Fedora release 25 (Twenty Five)

I do not have a /etc/yum.conf file.

Comment 1 Igor Gnatenko 2016-12-07 06:51:05 UTC
That's just indicator that package was not changed during F25 development.

To verify real releasever which is used, try: rpm -q --provides $(rpm -q --whatprovides system-release) | grep -Po '(?<=system-release\()\d+(?=\))'

Comment 2 Enrique Gomezdelcampo 2016-12-07 16:10:49 UTC
Thanks for your quick reply. I know that. But, this is happening when I am installing a new package (not an update) that was not installed while in Fedora 24. 

Let's say that when the computer was running Fedora 24, I never needed to use sg3_utils, so it was not installed. Now, after upgrading to Fedora 25 I suddenly need that package. So I type sudo dnf install sg3_utils, and it shows that it is getting from the Fedora 24 depository instead of the Fedora 25 one. Why?

When I run the rpm command from your response above I get "25" as expected.

Comment 3 Michael Mráka 2016-12-08 10:16:05 UTC
As you may see on
http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/s/
there's still  sg3_utils-1.41-3.fc24.x86_64.rpm in Fedora 25 repo.
Because there was no update between Fedora 24 and Fedora 25 release.
It's correct, you are getting latest package available.

Comment 4 Need Real Name 2017-01-11 23:38:34 UTC
I have found this to be very confusing. Is this a relatively new policy [to keep fc(n-1) packages in the fc(n) repositories]?

I think this should be a readme item in the upgrade docs or wherever is most relevant.


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