A lot of people have been in a situation that they need to revert the updates because something was broken in the last update.
But the reverting don't work if in the last update deprecated packages are involved. For example, in this test system there are two packages deprecated:
Operation #103: upgrade
Date: 2021-06-09 09:12
* python3-sip 4.19.24-20-1-x86_64 is removed.
* nautilus-admin 1.1.9-3-1-x86_64 is removed.
To rollback the update i run:
sudo eopkg hs -t 102
The download process went fine until:
Downloading 14 / 24
System error. Program terminated.
Repo item python3-sip not found
This issue can be fixed by using a Local repository.
Create a folder where you want and name it for example Local
:
mkdir Local
cd Local
Then download here the two missing packages python3-sip-4.19.24-20-1-x86_64.eopkg
and nautilus-admin-1.1.9-3-1-x86_64.eopkg
.
You will find them on https://packages.getsol.us/
in shannon
repository, or download them using terminal:
wget https://packages.getsol.us/shannon/p/python-sip/python3-sip-4.19.24-20-1-x86_64.eopkg
wget https://packages.getsol.us/shannon/n/nautilus-admin/nautilus-admin-1.1.9-3-1-x86_64.eopkg
Copy these files in ~/Local
and then generate the Local eopkg index , simply by running:
eopkg index --skip-signing ~/Local
You can see now the content of this Local Repository:
$ ls -l
total 256
-rw-rw-r-- 1 algent algent 10078 Jun 9 09:43 eopkg-index.xml
-rw-rw-r-- 1 algent algent 40 Jun 9 09:43 eopkg-index.xml.sha1sum
-rw-rw-r-- 1 algent algent 2752 Jun 9 09:43 eopkg-index.xml.xz
-rw-rw-r-- 1 algent algent 40 Jun 9 09:43 eopkg-index.xml.xz.sha1sum
-rw-rw-r-- 1 algent algent 6137 Sep 7 2019 nautilus-admin-1.1.9-3-1-x86_64.eopkg
-rw-rw-r-- 1 algent algent 226290 Oct 24 2020 python3-sip-4.19.24-20-1-x86_64.eopkg
Add this new repository in the system: (I used name Local, but you can use what ever you want, just don't use Solus).
sudo eopkg ar Local ~/Local/eopkg-index.xml.xz
Verify the repositories in your system:
$ eopkg lr
Solus [active]
https://mirrors.rit.edu/solus/packages/shannon/eopkg-index.xml.xz
Local [active]
/home/algent/Local/eopkg-index.xml.xz
Run sudo eopkg up
to include the new repo in the updates.
Now you can successfully rollback. (Note -t 102 is for my test system)
sudo eopkg hs -t 102
Then reboot.
After finishing, you can disable "Local" repo or remove it.
sudo eopkg dr Local
to disable
sudo eopkg rr Local
to remove