Ask Your Question

How to keep dnf to stay with just the v. 24 updates?

asked 2017-06-04 01:58:49 -0600

chuckcmagee gravatar image

I have played around with various linux distros for years now. I recently installed Fedora WS 25 on a Asus eee pc 1000HA laptop. After booting 25 up, after it seems random times, the computer would be basically locked up with the disk drive been hammered at 100%. With that going on, mouse and keyboard command would not work. I would have to hold down to power button to get out of the situation. I downloaded the Live 24 iso and did a clean install over the 25 partition. Of course, now dnf wants to upgrade me to v, 25. I don't want to get stuck right back where I was 8 hours ago with an unusable fedora installation. How can I get the 24 updates but stop dnf from grabbing any 25 stuff?? Thanks.

edit retag flag offensive close merge delete


dnf never prompts to upgrade from one to the other release. Gnome Software does it.

florian gravatar imageflorian ( 2017-06-04 12:14:09 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2017-06-04 02:45:14 -0600

muep gravatar image

An F24 installation may prompt you to upgrade to F25, but the update repositories are separate for F24 and F25 so you should not accidentally end up getting F25 packages unless you actually do a full upgrade.

edit flag offensive delete link more

answered 2017-06-07 03:31:39 -0600

chuckcmagee gravatar image

Very good on the "distro-sync" step!! Going to take awhile grabbing and installing 930 MB of Fedora 24 updates on this super underpowered Atom cpu!! But yes, you were absolutely coorect that dnf ONLY picked up the v,24 updates. Good deal. As far as figuring what happened with 25, that will be very tough. Note the "no command possible" with my original question. I even have to do a ext4 FS check when it comes back up because of the disorderly power off required. Tends to leave the FS in a mess. It was "obvious" to me that some background process wakes up in 25 (not sure what process that would be but once it gets going, you are dead in the water). I did read some maybe related posts about making the disk commit wait time longer to possibly reduce the HAMMER effect. I'll play with that kind of thing in the near future. I think I have enough disk space on the eee PC to have both a 24 and a 25 present at the same time. That will make "giving up for now" much less painful if the hang blues can't be solved by me or us.

edit flag offensive delete link more

answered 2017-06-04 12:17:10 -0600

florian gravatar image

updated 2017-06-04 12:21:59 -0600

I think you may not have formatted your root partition when reinstalling F24.

Otherwise dnf would not know anything about F25 - each release has its own software repositories. And F24 and does bring those for F25 with it.

"dnf repolist" will show you what software repositories are enabled on your system.

"dnf distro-sync" will upgrade/downgrade all packages to match the newest packages available for your release. more info

Maybe you should investigate your previous problem with F25 and fix it because soon F24 will not be supported anymore and you will have to upgrade (to F24 or F25)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-06-04 01:58:49 -0600

Seen: 109 times

Last updated: Jun 07 '17