I wrote a script, many years ago, that helps me identify which other
packages a given installed package depends on, so that if I'm having
trouble with software on a system with a not-full installation,
I can compare to the same software on a more complete installation and
see what might be missing.
https://www.therockgarden.ca/software/slackware/listdeps.sh
I hope that helps somebody.
I browsed your therockgarden.ca website, very nice!
People should write collections of code, yes? It's a duty, I think.
I had a job once managing a collection of code on *nix and other
machines.
... If I find I like your listdeps.sh may I stick it in my collection?
... would like to change the name of listdeps.sh, dropping the suffix.
I have found tools are easier to use when they are treated as commands.
How do you use slackpkg to upgrade a package along with any libraries
that the upgraded package may also need?
On Sun, 3 Nov 2024 00:16:49 -0000 (UTC), John Forkosh wrote:
How do you use slackpkg to upgrade a package along with any libraries
that the upgraded package may also need?
[snip]
OK, I'm going to jump into this thread. There has been some good advice given, but here are my two cents:
I don't do what you are doing. Instead I update my whole Slackware installation. No mess no fuss. Three lines entered in xterm does it:
/mnt/joe_root/begin
bound $lib/Zombie
up_basis
I showed you the above to demonstrate how simple it is with the right
tools. The "begin", "bound" and "up_basis" tools are mine. "begin"
starts my menu system--I keep it on a flash drive. "bound $lib/Zombie"
goes to the Zombie menu which contains the "up_basis" script. "up_basis" runs:
slackpkg update gpg
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
Be careful if you use the above. "slackpkg clean-system" is a great command, because it shows you what additional Slackware packages you have added, but it will optionally also remove them.
Maybe do a backup before you run the above--just in case it breaks something.
I run "up_basis", but not on my daily system. Instead I run it on a
special "Basis" system which lives on an internal drive. Then, if it
looks OK, I run another command in the Zombie menu to rsync the Basis to
a different device and then tweak it:
install /dev/sda1 /dev/sde 1 2 3 191026aa
I call the resulting "tweaked" installation ZombieSlack. I'll stop here
and not tell you the rest of the story. I wanted to show you how simple
it can be with the right tools.
-Joe
slackpkg update gpg
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
On Tue, 21 Jan 2025 07:55:30 +0000, Joseph Rosevear wrote:
slackpkg update gpg slackpkg update slackpkg install-new slackpkg
upgrade-all slackpkg clean-system
Care should be taken when running any such automated process that some packages might require extra manual intervention.
Some packages will contain some /etc/*.new configuration file which does
not overwrite any existing configuration file, but might be better
adapted to the new version of the software.
regards Henrik
<<snip>>
This is in contrast to what I did before. I was bad.
I often went several years between, because the way
I applied my system tweaks made it difficult.
But no more! I hope I'm not naive.
Are you talking about the "K", "O", "R", "P" question that I've seen?
So far the process I described has worked for me, but then I've only
been updating/upgrading regularly for a few months now.
Nevertheless I have hit some bumps during the years. At some occasion
some glibc-zoneinfo package reseted all my time zone settings.
Your system timezone is set via a symlink (usually) at /etc/localtimeDon't quote me on this, but I think a long time ago, Slackware used to
which points to the appropriate zone file stored in /usr/share/zoneinfo (Slack 15).
Rich <rich@example.invalid> writes:
Your system timezone is set via a symlink (usually) at /etc/localtimeDon't quote me on this, but I think a long time ago, Slackware used to
which points to the appropriate zone file stored in /usr/share/zoneinfo
(Slack 15).
use a file instead of the symlink. glibc advises the symlink. At some
point it switched over. There's been alot of major changes over the
years for Slackware (PAM and Avahi come to mind).
If you go back in time far enough, yes, the Slackware installer did a
"cp /usr/share/zoneinfo/xx/yyy /etc/localtime" to set your timezone.
I don't recall what version made the switch to the symlink.
On Sat, 25 Jan 2025 04:03:24 +0000, Rich wrote:
If you go back in time far enough, yes, the Slackware installer did a
"cp /usr/share/zoneinfo/xx/yyy /etc/localtime" to set your timezone.
I don't recall what version made the switch to the symlink.
I don't remember for sure which version of Slackware got the timezone setting reseted by a package upgrade, maybe it was Slackware 9.1 or somewhere around that era.
Looking at the doinst.sh for the glibc-zoneinfo-2011i_2011n-noarch-1.tg
for Slackware 9.1 it does seem to use symlinks, but seem to mess with etc/localtime unless etc/localtime-copied-from already exist and that
file (or link) does not seem to be created by the original glibc-zoneinfo-2.3.2-noarch-1.tgz for Slackware 9.1.
On Sat, 25 Jan 2025 04:03:24 +0000, Rich wrote:
If you go back in time far enough, yes, the Slackware installer did a
"cp /usr/share/zoneinfo/xx/yyy /etc/localtime" to set your timezone.
I don't recall what version made the switch to the symlink.
I don't remember for sure which version of Slackware got the timezone setting reseted by a package upgrade, maybe it was Slackware 9.1 or somewhere around that era.
Looking at the doinst.sh for the glibc-zoneinfo-2011i_2011n-noarch-1.tg
for Slackware 9.1 it does seem to use symlinks, but seem to mess with etc/localtime unless etc/localtime-copied-from already exist and that
file (or link) does not seem to be created by the original glibc-zoneinfo-2.3.2-noarch-1.tgz for Slackware 9.1.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 05:08:33 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
921 files (14,318M bytes) |
| Messages: | 264,602 |