Problem updating Fedora Sliverblue after the upgrade

    Hello everyone! Recently I upgraded my Fedora Sliverblue to version 43 (from 42), after the update I am getting this error about google chrome ( failed to add subkeys for /var/cache/rpm-ostree/repomd/google-chrome )

    Here is the full error message:

    Code
    failed to add subkeys for /var/cache/rpm-ostree/repomd/google-chrome-43-x86_64/linux_signing_key.pub to rpmdb

    The funny thing is that do not have google Chrome not installed.

  • Go to Best Answer

    In case you do not want to install Google Chrome, disable this repo in Gnome Software > Menu (top-right corner) > Software Repositories 

    And reset your PC, and try updating your software again.

    • Best Answer
    • Admin

    If disabling this repo does not work then you will need to remove the repo files using Terminal.

    To do so follow the below steps:

    1- Go to the Silverblue repo directory:

    Bash
    cd /var/cache/rpm-ostree/repomd/

    2- OPTIONAL: Backup your repo files to your (for example) Downloads folder:

    If you are in Fedora 43, you might have two (or more) files here, foe example: google-chrome-42-x86_64 and google-chrome-43-x86_64. Then you will need to backup or remove all of Google Chrome Repo files. To know which files are in your current folder, run this command: ls -al

    Here, we assume that the Google Chrome repository files are:

    • google-chrome-42-x86_64
    • google-chrome-43-x86_64

    If you have other versions of this repo, you will need to change the version manually in the following sample commands.


    * The rest of my instructions are based on the above assumption *

    Then run the below command to backup these files into your Downloads folder

    Bash
    cp -r google-chrome-42-x86_64/ google-chrome-42-x86_64/ ~/Downloads/

    3- Then remove these two directories by running the following command:

    Bash
    sudo rm -r google-chrome-42-x86_64/ google-chrome-43-x86_64/

    4- Then update your repositories:

    Bash
    sudo rpm-ostree update

    5- And at the end, reset your PC and test again if your problem is resolved.


    Technically, removing these files should solve your problem.


    Liebe Grüße

    Thanks a lot for the detailed answer.

    I check the files in my /var/cache/rpm-ostree/repomd/ folder and I have the following files inside:

    • google-chrome-41-x86_64
    • google-chrome-42-x86_64
    • google-chrome-43-x86_64

    This means that I have to run this command to remove all three:

    Code
    sudo rm -r google-chrome-41-x86_64/ google-chrome-42-x86_64/ google-chrome-43-x86_64/

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!