Re: [PLUG] Creating a replica Slackware setup ( was: File permissions issue )

2022-12-03 Thread King Beowulf
On 12/3/22 09:07, Robert Citek wrote:
> Thanks, Ben.
>
> Getting closer.
>
>  $ grep -v '^#' /etc/slackpkg/mirrors
>  http://slackware.osuosl.org/slackware64-14.2/
>
>  $ slackpkg update
>
>  $ yes | slackpkg install texlive xfig fig2dev texinfo
>
>  $ yes | slackpkg install texindy
>  Checking local integrity... DONE
>  Looking for texindy in package list. Please wait... DONE
>  No packages match the pattern for upgrade. Try:
>
>  /usr/sbin/slackpkg install|reinstall
>
> P.S. I realize the issue with texindy is a solved problem.  But I'm curious
> to know how to create a replica Slackware setup.
>
> Regards,
> - Robert
>
>
>
Hello Robert,

In Slackware packages, not every utility or executable has it's own
package (like some of those 'other' distros). For example, there are no
'package' and 'package-dev'. Slackware is a FULL linux distribution, and
as such you should always do a FULL install and not cherry pick
packages. All packages are 'dev' packages and compiled from the
unadulterated upstream source (with a few exceptions for security or
unique to Slackware design).  There is NO dependency resolution: that's
the user's job.

That said, after a full installation, there is a heap of software
installed for a full desktop or server. Unless you are a Slackware
expert, always do a full install.

slackpkg only sees the full Slackware package list - not the package
contents - and does not look outside that list (there is a slackpkg+
plugin for 3rd party package repos), or look at dependency information
(there is none). Since 'texindy' is included in 'texlive', on a full
installation (15.0 or newer) it is already installed.  (Slackware-14.2
includes tetex-3.0 which does not provide 'texindy.)

If you skipped the 't' series, then

slackpkg install texlive xfig fig2dev texinfo

will install the missing bits, as Ben mentioned (texinfo is in the 'ap'
series), but only on 15.0.  To see installed packages

slackpkg search 

this can be a partial string, or search PACKAGES.TXT at one of the
slackware mirrors.  To find if a file is part of a package you can
either open each package.txz or try

https://packages.slackware.com/

Searching for 'texindy' for Slackware64-15.0 mode=content provides:

Nr   Location     Package Content
1    slackware64/t    texlive-2021.210418-x86_64-2.txz usr/bin/texindy
2    slackware64/t    texlive-2021.210418-x86_64-2.txz
usr/man/man1/texindy.1.gz
3    slackware64/t    texlive-2021.210418-x86_64-2.txz
usr/share/texmf-dist/scripts/xindy/texindy.pl
4    slackware64/t    texlive-2021.210418-x86_64-2.txz
usr/share/texmf-dist/xindy/modules/base/texindy.xdy

Finally, Slackware-15.0 includes 'textlive-2021', Slackware-14.2 does
not.  To install textlive on 14.2, you need to go to slackbuilds.org to
grab the buildscript and source to build the package.  You can also try
to install the textlive-2021 package from 15.0 but that is NOT recommended.

-kb




Re: [PLUG] Creating a replica Slackware setup ( was: File permissions issue )

2022-12-03 Thread Ben Koenig


Hi Robert,

Replicating the setup usually just involves finding out if the package causing 
problems is an "official" slackware package. This means it's either part of the 
base distribution or came from SBo. How you install it doesn't matter, as long 
as it's from an official mirror. In this case texindy is part of texlive, which 
has been included with the distribution for a very long time and is usually 
included unless you specifically opt out during the install.

Slackpkg provides a network capable front-end to pkgtools, which provides the 
scripts used to actually install/remove/upgrade packages. 

So in this particular case, someone was having issues with texindy, a file that 
is included with texlive. Therefore, all Slackware users should have the same 
file, in the same place. slackpkg will even tell you which package it was 
installed with

# slackpkg file-search /usr/share/texmf-dist/scripts/xindy/texindy.pl 
Note that the Slackware version can make a huge difference here. TBH I didn't 
realize Rich was on 14.2, I thought he upgraded.

You can always download directly from a mirror and use installpkg
http://slackware.osuosl.org/slackware64-14.2/slackware64/t/
http://slackware.osuosl.org/slackware64-15.0/slackware64/t/

The slackpkg command I gave earlier assumed 15.0. Some of the package names 
have changed so you'll want to find those and make sure they are installed.

-Ben


--- Original Message ---
On Saturday, December 3rd, 2022 at 9:07 AM, Robert Citek 
 wrote:


> Thanks, Ben.
> 
> Getting closer.
> 
> $ grep -v '^#' /etc/slackpkg/mirrors
> http://slackware.osuosl.org/slackware64-14.2/
> 
> $ slackpkg update
> 
> $ yes | slackpkg install texlive xfig fig2dev texinfo
> 
> $ yes | slackpkg install texindy
> Checking local integrity... DONE
> Looking for texindy in package list. Please wait... DONE
> No packages match the pattern for upgrade. Try:
> 
> /usr/sbin/slackpkg install|reinstall
> 
> P.S. I realize the issue with texindy is a solved problem. But I'm curious
> to know how to create a replica Slackware setup.
> 
> Regards,
> - Robert
> 
> 
> 
> On Fri, Dec 2, 2022 at 7:09 PM Ben Koenig techkoe...@protonmail.com wrote:
> 
> > If you skipped the t/ series during installation then you can install it
> > one of 2 ways.
> > 
> > If you have the install media then you can manually install the packages
> > located in slackware64/t/*.txz. install/upgrade pkg doesn't know where to
> > look you have to give a path and it does not support network locations.
> > $ installpkg path/to/package.txz
> > 
> > Most people prefer to configure slackpkg since that provides the familiar
> > apt or yum style procedure. Just uncomment a mirror in
> > /etc/slackpkg/mirrors and do the following:
> > $ slackpkg update
> > $ slackpkg search tex (to make sure the mirror was properly retrieved)
> > $ slackpkg install texlive xfig fig2dev texinfo
> > 
> > -Ben
> > 
> > --- Original Message ---
> > On Friday, December 2nd, 2022 at 4:27 PM, Robert Citek <
> > robert.ci...@gmail.com> wrote:
> > 
> > > I guess I was a bit terse. I'm trying to replicate your setup. So, when I
> > > was asking what commands you ran to install the package, what I really
> > > meant to ask was what commands would I need to run in order to create a
> > > replica of your system. Of course, if you don't provide complete
> > > information to me, it makes replicating your setup a bit more ...
> > > challenging.
> > > 
> > > But to answer your question: no, I do not have TeXLive 2021 installed in
> > > my
> > > Slackware environment.
> > > 
> > > Regards,
> > > - Robert
> > > 
> > > On Fri, Dec 2, 2022 at 5:09 PM Rich Shepard rshep...@appl-ecosys.com
> > > 
> > > wrote:
> > > 
> > > > On Fri, 2 Dec 2022, Robert Citek wrote:
> > > > 
> > > > > That doesn't work for me:
> > > > > 
> > > > > bash-4.3# installpkg texindy
> > > > > Cannot install texindy: file not found
> > > > 
> > > > Robert,
> > > > 
> > > > Do you have TeXLive 2021 installed?
> > > > 
> > > > Regards,
> > > > 
> > > > Rich


[PLUG] Creating a replica Slackware setup ( was: File permissions issue )

2022-12-03 Thread Robert Citek
Thanks, Ben.

Getting closer.

$ grep -v '^#' /etc/slackpkg/mirrors
http://slackware.osuosl.org/slackware64-14.2/

$ slackpkg update

$ yes | slackpkg install texlive xfig fig2dev texinfo

$ yes | slackpkg install texindy
Checking local integrity... DONE
Looking for texindy in package list. Please wait... DONE
No packages match the pattern for upgrade. Try:

/usr/sbin/slackpkg install|reinstall

P.S. I realize the issue with texindy is a solved problem.  But I'm curious
to know how to create a replica Slackware setup.

Regards,
- Robert



On Fri, Dec 2, 2022 at 7:09 PM Ben Koenig  wrote:

> If you skipped the t/ series during installation then you can install it
> one of 2 ways.
>
> If you have the install media then you can manually install the packages
> located in slackware64/t/*.txz. install/upgrade pkg doesn't know where to
> look you have to give a path and it does not support network locations.
> $ installpkg path/to/package.txz
>
> Most people prefer to configure slackpkg since that provides the familiar
> apt or yum style procedure. Just uncomment a mirror in
> /etc/slackpkg/mirrors and do the following:
> $ slackpkg update
> $ slackpkg search tex (to make sure the mirror was properly retrieved)
> $ slackpkg install texlive xfig fig2dev texinfo
>
>
> -Ben
>
>
> --- Original Message ---
> On Friday, December 2nd, 2022 at 4:27 PM, Robert Citek <
> robert.ci...@gmail.com> wrote:
>
>
> > I guess I was a bit terse. I'm trying to replicate your setup. So, when I
> > was asking what commands you ran to install the package, what I really
> > meant to ask was what commands would I need to run in order to create a
> > replica of your system. Of course, if you don't provide complete
> > information to me, it makes replicating your setup a bit more ...
> > challenging.
> >
> > But to answer your question: no, I do not have TeXLive 2021 installed in
> my
> > Slackware environment.
> >
> > Regards,
> > - Robert
> >
> > On Fri, Dec 2, 2022 at 5:09 PM Rich Shepard rshep...@appl-ecosys.com
> >
> > wrote:
> >
> > > On Fri, 2 Dec 2022, Robert Citek wrote:
> > >
> > > > That doesn't work for me:
> > > >
> > > > bash-4.3# installpkg texindy
> > > > Cannot install texindy: file not found
> > >
> > > Robert,
> > >
> > > Do you have TeXLive 2021 installed?
> > >
> > > Regards,
> > >
> > > Rich
>