Understanding fedora-workstation-repositories

Hi SB!

I’m hunting the following ghost on my system:

  • Google Chrome (local rpm via rpm-ostree install) was installed in a past deployment.
  • Google Chrome (rpm) is providing /etc/yum.repos.d/google-chrome.repo
  • Google Chrome was removed in another deployment and is no longer listed as a LayeredPackage.
  • The .repo file is still part of the deployment, even several deployments after the Layered Package which introduced it was removed.

My lead started with finding the owner of the non-usr file:

$ rpm -q --whatprovides /etc/yum.repos.d/google-chrome.repo
fedora-workstation-repositories-32-3.fc32.noarch

I suspect fedora-workstation-repositories is a dynamicly created package of yum.repos. In my case it was not updated after removal and contains an unused repository.

Can someone please point me to some documentation to help understand this issue?

Thank you!

https://src.fedoraproject.org/rpms/fedora-workstation-repositories/tree/master

1 Like

Would’ve never assumed that. It’s actually in there by default. Thanks for the link.

As rpm-ostree reset removes it I assume gnome-software or anaconda adds this LayeredPackage by default. Right?

1 Like

After instalation of Fedora Silverblue, if you launch gnome-software, it prompts you if you would like to enable additional repositories. If you confirm, gnome-software adds a fedora-workstation-repositories as layered package.

3 Likes