Skip to main content

History and software rollback in Solus

Solus offers a feature to view your history of software changes and revert your system to previous versions.

You can use this feature if you have issues after installing packages or system updates, and you need to return to a working state.

History of software changes

  • To see your history of software changes, open a terminal and execute:

    eopkg history

    The terminal displays a list of all the software changes in your system.

    eopkg history output

Rollback

Important

Reverting software changes works if either:

  • The Solus repository has the version of the package you need, or
  • You have a local copy of the package.
  1. Disable any local repository you have.

    Local repositories can cause errors during rollbacks.

  2. Open a terminal.

  3. View the history of software changes:

    eopkg history
  4. Note the number of the most recent software change.

  5. Go back to the desired state:

    sudo eopkg history -t NUMBER

    Replace NUMBER with a number lower than the latest software change.

    For example, if you want to revert operation 100, use 99 as the number.

After reverting to the desired state, verify your system status. You might need to restart your system to see some of the changes.