Red Hat Bugzilla – Bug 1277969
/etc/os-release is not updated
Last modified: 2015-12-14 08:35:59 EST
Description of problem:
os-release is not updated
Is it supposed to be
I also have a /etc/fedora-release, not updated.
Is it to disappear?
Version-Release number of selected component (if applicable):
Perform a dnf system upgrade.
Steps to Reproduce:
When we do a dnf system-upgrade from F22 to F23, the /etc/os-release is supposed to be updated to reflect the new release number.
ls -l /etc/fedora-release /etc/os-release ?
(In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> ls -l /etc/fedora-release /etc/os-release ?
Not the same, just look at the differences. I seem to remember sgallagh played with the way this was generated for Server/Workstation/Cloud and probably missed upgrade paths, sgallagh do you remember details?
Of course not the same. I'm asking if they are symlinks and where do they point.
(In reply to Peter Robinson from comment #3)
> (In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> > ls -l /etc/fedora-release /etc/os-release ?
> Not the same, just look at the differences. I seem to remember sgallagh
> played with the way this was generated for Server/Workstation/Cloud and
> probably missed upgrade paths, sgallagh do you remember details?
I need more information about what went wrong. First and foremost, I'd like to see the output of:
* rpm -q fedora-release
* ls -l /etc/os-release /etc/fedora-release /usr/lib/os-release /usr/lib/os.release.d
I did test upgrades, but there's always a possibility that I missed something and one of the symlinks is now wrong.
The Fedora-release that was there was from a Remix. Sorry.
sudo rpm -q fedora-release
package fedora-release is not installed
sudo dnf install fedora-release --allow --best
Last metadata expiration check performed 0:00:57 ago on Fri Dec 11 17:29:03 2015.
Package Arch Version Repository Size
fedora-release noarch 23-1 fedora 16 k
chapeau-release noarch 23-1 @chapeau 4.1 k
Install 1 Package
Remove 1 Package
rpm -qa fedora-release
The Chapeau Remix provided the fedora-release file.
I see that they have also provided os-release.
I will contact them to provide a workaround.
I will be performing a clean installation next week. If you require additional info, post here.