I entered the IVPN install commands before uninstalling the Proton VPN app and started getting this error message on the Software update tab. How can I fix this? I’ve tried the following commands mentioned in this discussion but they didn’t help.
rpm-ostree cleanup -m
sudo ostree fsck
sudo ostree admin cleanup
I’ve since replaced Proton with IVPN and used the following commands to remove Proton and its repo:
To remove the application rpm-ostree uninstall protonvpn && sudo rm -rf /usr/lib/python3.*/site-packages/proton* && sudo rm /etc/yum.repos.d/protonvpn-stable.repo
to remove the repo sudo rm /etc/yum.repos.d/protonvpn-stable.repo
but the repo remained so I tried rpm-ostree reset and rebooted but the issue persisted. I’ve reinstalled IVPN and thinking I may need to reinstall the OS.
My bad, I checked and the stable Proton repo was still there. I tried doing a repo reset, running your commands, and rebooting but the error code just shifted and I still can’t update.
The last screenshot does not mention anything about Proton either.
So where have you checked and seen the Proton repo?
It seems like the problem is with GNOME Software. Can you try upgrading via cli?
$ rpm-ostree upgrade
If there is any error or other output that you need to show, please copy and paste the full command and output, instead of taking a screenshot. Text is easier to read and search.
I believe, worst case scenario if nothing else works, he could just delete that file with sudo rm.
Because he already cleared and re-fetched the metadata and the problematic file is still there, so best case scenario deleting it fixes the problem, worst case scenario the problematic file is re-created.
First, let’s verify that there is nothing left related to Proton in your repo files:
$ grep -ril proton /etc/yum.repos.d/
There should be no output.
Next, I recommend you do a reboot, just to see if it clears things up with GNOME Software. If Software still gives the same error message after that, then try to delete the lock files.
Why do you have 3 IVPN repo files? Maybe you ran the wget ... commands from IVPN instructions 3 times? If they are identical, you should delete the two files that are named with .1 and .2 (which are invalid names for repo files anyway).
Refer to the previously mentioned issue for possible workarounds for this bug. The simplest workaround is to disable the repo_gpgcheck by changing the value to 0.
If you do this, I recommend you subscribe to the issue and eventually undo the workaround once it is fixed.
At first, IVPN didn’t get installed properly likely due to Proton running and then after running the clean repos command it stopped working so I ran the command again. I didn’t know how to check if the repo was still present. Do you know how I can delete the extra two? Editing root folders seems like a challenge…
The $ represents the prompt (your actual prompt usually has more info like your username and hostname, but ends in a $). It helps to differentiate between lines that you enter as commands, and lines that are output.
$ also means the command should be entered as a normal user. # is for the root user. But this usage is less common nowadays as desktop users mainly use sudo instead of switching to root.