site  contact  subhomenews

PKGget update databases improved

August 09, 2025 — BarryK

Testers of PKGget in Easy Excalibur have experienced issues. The URL 'deb.devuan.org' in particular is very unreliable. I have improved the code, and also made the startup of PKGget much faster by backgrounding some operations.

The startup script that is run when PKGget starts, is /usr/local/petget/update_dbs.sh. What is does now is timeout if the package database server fails for some reason or takes too long. What then happens, is the user is offered to download from an alternative URL. The alternative URLs are specified in these 'sources.list*' files:

img1

Firstly, here is a successful download:

img2

...I elongated the terminal window so as to show everything.

This operation happens fast from 'ftp.fau.de', for me anyway, and I quickly get to the PKGget GUI.

However, trying with 'deb.devuan.org. in surces.list file:

img3

...so, I pressed ENTER, and the script selected the next URL, and it works:

img4

URL 'ftp.fau.de' is now the default, but as noted above, the user can put whatever URL they want into /etc/apt/sources.list

Note that "Also downloading the PET package databases, and converting the Devuan databases into a standard format..." has been backgrounded, so as not to delay startup of PKGget.

PKGget is coming along very nicely as a GUI for APT.   

Tags: easy