Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"We will bury you." -- Nikita Kruschev


computers / alt.os.linux.slackware / A modest inquiry: the "meta" package

SubjectAuthor
* A modest inquiry: the "meta" packageLew Pitcher
`- Re: A modest inquiry: the "meta" packageHenrik Carlqvist

1
A modest inquiry: the "meta" package

<t86f69$2a7$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1288&group=alt.os.linux.slackware#1288

 copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lew.pitcher@digitalfreehold.ca (Lew Pitcher)
Newsgroups: alt.os.linux.slackware
Subject: A modest inquiry: the "meta" package
Date: Mon, 13 Jun 2022 04:41:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <t86f69$2a7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Jun 2022 04:41:45 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b2554c2ecf3ef78ce3951a3f2f8dec3d";
logging-data="2375"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HpW79dkHcgR6WFsZOrEJ+UpeO7issGOE="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:gY4Q8vxOrVZtOXEgKPTw+CG+Jfw=
 by: Lew Pitcher - Mon, 13 Jun 2022 04:41 UTC

Today, I installed four (self-built) packages on my Slackware 14.2 system
in order to play "MineTest". Admittedly, this was a minimal install; with
just those packages that MineTest absolutely required in order to
function.

In retrospect, while the three "support" packages each provide facilities
that will be useful elsewhere on my system, I don't actually have a use
for them other than to get MineTest working. So, the installation, for me,
is "all or nothing": all four packages, or none.

I thought to myself that it would be nice to have a way to provide a
Slackware "meta" package; a package that, through it's installation,
installs a number of /other/ packages. I could have a "MineTest" meta
package that, when installed via installpkg, would have installed the
four independent packages that make up my MineTest installation.

What I came up with was a simple package that consists of
a tmp/ subtree containing the actual packages to install, and
an install/ subtree with a doinst.sh that simply invokes installpkg(8)
on each of the packages supplied in the tmp/ subtree. This doinst.sh
would then uninstall(8) the package that contains it.
And, voila, a poor-man's Slackware meta package.

Of course, this is very rough, has no provisions for upgradepkg(8) nor a
removepkg(8), and is likely very fragile. But, for my experiment, it
worked.

So, I ask, has anyone here experimented with this metapackage idea? If
so, how did you approach it, what did you do, and how did it turn out?
--
Lew Pitcher
"In Skills, We Trust"

Re: A modest inquiry: the "meta" package

<t86h53$ct1$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1289&group=alt.os.linux.slackware#1289

 copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Henrik.Carlqvist@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: A modest inquiry: the "meta" package
Date: Mon, 13 Jun 2022 05:15:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <t86h53$ct1$1@dont-email.me>
References: <t86f69$2a7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Jun 2022 05:15:15 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="881f834480098dc0ddcf6f24efb62c4d";
logging-data="13217"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IXYDEPUf5pCGFXS15NG8r"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:lPfCh/5c7TUTrhl3sCyw7n1NxZY=
 by: Henrik Carlqvist - Mon, 13 Jun 2022 05:15 UTC

On Mon, 13 Jun 2022 04:41:45 +0000, Lew Pitcher wrote:
> So, I ask, has anyone here experimented with this metapackage idea? If
> so, how did you approach it, what did you do, and how did it turn out?

Yes, I have done custom packages that does install other packages from
their doinst.sh script. However, the purpose of those packages have not
been to group packages together so my cases has been a little different.
Also, my packages has not included the sub packages, instead I have been
able to rely on the fact that the sub packages has been available on a
mounted NFS directory.

One example of a package installing another package is a package which
checks if the machine has an nVidia card with the binary driver installed
and if so, updates the driver to a newer version.

For initial installation of packages with recursive dependencies I
usually rely on dependency tracking from something like the slpkg
tracking of dependencies from slackbuilds.org. I also have some groups of
packages in separate directories on the NFS server with packages.

As you say, package management is more than installing packages. It is
also about being able to update and remove packages.

regards Henrik

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor