Upgrade and Repository fix

It is said that I have to use Repository to run a release upgrade. When I launch Repository, I see the following error:
”Whonix Repository Wizard - Authentication Error #1
Authentication via pkexec failed or timed out.
Simple pkexec test running ‘pkexec /usr/libexec/repository-dist/pkexec- test’ failed.
Please ensure a Polkit authentication agent is running in your desktop session.
For example:
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1”
Is it possible to fix it and still upgrade the system?

What version of Whonix are you running and trying to release upgrade?

1 Like

Are you aware of sysmaint - System Maintenance User?

According to “cat /etc/whonix_version” output it’s 17. I don’t know how to check whether it is 17.3.9.9, 17.4.4.6 or something else.

Yes, it’s disabled. Does it mean that I can’t run the repository and can’t perform a release upgrade?

No, it doesn’t mean that.

If using user-sysmaint-split:
repository-dist tool can be used in sysmaint session.

If not using user-sysmaint-split:
repository-dist tool can be used.

Be warned that Whonix 18 is not released yet and you probably do not want to upgrade to it right now. If you want to upgrade anyway:

  • If you have user-sysmaint-split installed:
    • Boot into a sysmaint session, and click Run Repository Wizard.
  • If you do not have user-sysmaint-split installed:
    • Make sure policykit-1-gnome is installed by running sudo apt install policykit-1-gnome.
    • Log out and log back in to make sure policykit-1-gnome is running.
    • Try to run the repository dist wizard, it should work this time.
1 Like

No, I don’t want Whonix 18 yet, I just want to perform a release upgrade as described here: http://forums.dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion/t/whonix-17-4-4-6-point-release/22053

I checked policykit-1-gnome, it is already installed.

That’s not called a release upgrade.

You cannot change that number and don’t need either. See:

Sorry, I could have misinterpreted it, an “in-place release upgrade” is mentioned in your post about 17.4.4.6 point release. Please correct me if I got it wrong:
17.4.4.6 version is then obtained by a regular “upgrade-nonroot”, right?
The Repository error I mentioned above is a regular behavior while user-sysmaint split is disabled and can be ignored?

Yes.

Yes.

1 Like

Thanks!