radky wrote: ↑Fri Sep 01, 2023 9:44 pm
tammi806 wrote: ↑Fri Sep 01, 2023 5:22 pm
Just installed Bookworm Pup64 frugal install to a USB flash drive.
Do I need to update my new install using these commands in the terminal.
I ran the commands and there didn't seem to be any updates.
@tammi806
Concerning apt update
and apt upgrade
as implemented in BW64, please see the following Help resource:
Puppy Menu - > Help -> HOWTO use the APT Package Manager
Also, as previously explained by @dimkr:
The apt upgrade
option will only update user-installed packages. Updates for preinstalled packages are (intentionally) disabled using apt-mark hold
to avoid updates that may pollute your save file/folder and/or slow down the system, and to prevent updates that may overwrite Woof-CE build-time customizations of Debian packages.
You can use apt-mark unhold
to allow updates to a package, but this is risky. Updating your entire Puppy to a new Woof-CE build is a much safer way to update all core system packages.
And ability to upgrade is the major weakness of most frugal installed systems, which is why I often use full installs, which tend to be, let's face it, reliable and rock solid on such matters.
In practice, it is often the case that a new package needs underlying system files upgraded to newer version because these new versions are dependencies.
A case in point was the discussion in what chess app to use on BookwormPup64, and someone suggested PyChess for desktop, but apt failed to install it, because, as I discovered (albeit whilst using Firstribit FR_Bookwormpup64), it needed major upgrades of underlying libs and so on. I didn't myself know BookwormPup64 had resorted to marking so many packages for holding back, which effectively neutered its apt implementation (do the DebianDogs have this problem? - presumably they only hold back key components like maybe glibc - I guess @fredx181 can tell us - or maybe DD has same somewhat major problem - I used DD for years and don't remember such issues?).
In my chess app related post I showed how to install PyChess by removing all the holds in one go, but gave caveat on "at user risk": viewtopic.php?p=125862#p125862
A lot of things in Puppy are at user risk, but most always traditional Puppy has worked pretty well despite PPM limitations. Having apt availability in latest Debian-based Pups is huge advantage, but that advantage is wasted pretty big time if you can't rely on it to install available packages without having to rebuild and re-install the whole system.
I noted that apt has a "showhold" option: "apt-mark showhold" provides list of marked packages and I thus used that information to remove all such holds, prior to apt update, via the code line:
Code: Select all
apt-mark unhold $(apt-mark showhold | xargs)
after which, I was then able to successfully use:
Code: Select all
apt upgreade && apt install pychess
Most users, would probably have given up, and if they really wanted to use pychess would have moved on to using a different distribution that Puppy and that would be the end of that.
I doubt, by the way, that savefolders remain very compatible at all with new builds for the very reason the dpkg database in the savefolder you want to use is going to be 'wrong'.
Personally I feel better mechanisms should be devised such that apt actually works for most package installs most of the time, when needed. Having to rebuild whole distro all the time is hardly a good advert (and of course rarely, if ever, mentioned when touting Puppy Linux frugal install 'advantages' on the likes of Distrowatch).