LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-14-2024, 05:44 PM   #1
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Rep: Reputation: Disabled
Slackpkg not installing daw (daw.template)


I have just installed Slackware64-15.0 on a Fujitsu Lifebook, intel i-7, updated, installed latest kernel, installed slackpkgplus with the enclosed config file, downloaded daw.template (https://slackware.nl/people/alien/to...s/daw.template) and ran:
Code:
root@lifebook2:/# slackpkg install daw

Looking for daw in package list. Please wait... DONE

No packages match the pattern for install. Try:

	/usr/sbin/slackpkg reinstall|upgrade
then I thought I had a memory of once doing

Code:
root@lifebook2:/# slackpkg install daw
and got
Code:
root@lifebook2:/# slackpkg install daw.template

Looking for daw.template in package list. Please wait... DONE

No packages match the pattern for install. Try:

	/usr/sbin/slackpkg reinstall|upgrade

root@lifebook2:/#
I had the template initially at
Code:
~/Slack_Store/daw.template
then I moved it to
Code:
~/Slack_Store/myrepo/daw.template
and then tried adding
Code:
REPOPLUS=( slackpkgplus restricted alienbob myrepo)
MIRRORPLUS['myrepo']=dir://home/arthur/Slack_Store/myrepo
to the configuration file.
In every case I ran
Code:
slackpkg install daw
and
Code:
slackpkg install daw.template
from both ~/ and the directory containing daw.template and in every case I got exactly the same result as above.

I am probably missing some silly small detail here, but I have been unable to catch it by myself, so I once again turn to my gurus at LQT!
Attached Files
File Type: txt slackpkgplus.conf.txt (8.9 KB, 2 views)
 
Old 03-14-2024, 11:15 PM   #2
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 335

Rep: Reputation: Disabled
While I am no expert, and far less a guru, it looks to me like you are trying to install a slackbuilds package while using 'main' slackware.

I suggest you meander over to slackbuilds.org find the package you want, and follow the How To instructions on the slackbuilds front page.
 
1 members found this post helpful.
Old 03-14-2024, 11:55 PM   #3
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 81

Rep: Reputation: Disabled
If daw.template really is a slackpkg template (from my inspection it looks like it is) refer to man slackpkg. The template file must be copied to the template directory /etc/slackpkg/templates/ and then run 'slackpkg install-template daw.template'
 
1 members found this post helpful.
Old 03-15-2024, 05:11 AM   #4
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
Quote:
posted by @quickbreakfast:While I am no expert, and far less a guru, it looks to me like you are trying to install a slackbuilds package while using 'main' slackware.
Thanks for a prompt answer!
I never know for sure, when speaking of data matters. But I got my instructions from Bob Alien, and the package is https://slackware.nl/people/alien/to...s/daw.template. I did not paste the link properly in the OP.
 
Old 03-15-2024, 05:51 AM   #5
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
Quote:
posted by @ethelack:The template file must be copied to the template directory /etc/slackpkg/templates/ and then run 'slackpkg install-template daw.template'
As soon as I read your post I felt absolutely sure that this was the bit I was missing.


So I placed the template at the right place and did:
Code:
slackpkg install-template daw.template
and was not the least frustrated when I got exactly the same message as in the OP, because I did feel I had the right info and was just misusing it.

I then, as usual did a few instinctive trials around what I assumed was the right logic, although with Bob Aliens command version also in mind:

Code:
slackpkg install daw.template
Code:
slackpkg install-template daw
Code:
slackpkg install daw
and some which were actually typos
Code:
slackpkg install-template /etc/slackpkg daw.template
Code:
slackpkg install-template /etc/slackpkg daw
Code:
slackpkg install /etc/slackpkg daw.template
Code:
slackpkg install /etc/slackpkg daw
and then I realized I had typos and added the missing bit, and pressed enter before completing the command, which in theory meant a new typo:
Code:
 slackpkg install /etc/slackpkg/templates/daw.template
since I meant to run
Code:
 slackpkg install-template /etc/slackpkg/templates/daw.template
after checkin the manual.
But the whole thing was installed.

This kind of experience is probably what I like the most about Slackware!
Many many thanks for a quick and concise solution !!!

Last edited by fredmyra; 03-15-2024 at 05:55 AM. Reason: missing bits
 
Old 03-15-2024, 06:23 AM   #6
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
In retrospect I am thinking that my mistake after getting @ethelack's advice was not checking the meaning of "TEMPLATENAME" in the slackpkg manual:
Quote:
slackpkg [OPTIONS] {generate-template|install-template|remove-template} TEMPLATENAME
I am also thinking that
Code:
       slackpkg [OPTIONS] {install|remove|search|file-search|download|upgrade|reinstall} {PATTERN|FILE}
is probably an alternative.

The manual did not help very much with my problem:
Code:
TEMPLATENAME is the name of your template
as I would (and did) understood that the "name" was 'daw.template'.

So I had to solve it like a baby solves his first pre-logic experiences with language, by some sort of 'sampling'. Might that have anything to do with the concept of AI ? :-)
 
Old 03-15-2024, 07:34 PM   #7
ethelack
Member
 
Registered: Mar 2021
Location: New Zealand
Distribution: Slackware
Posts: 81

Rep: Reputation: Disabled
My bad thanks for the clarification of TEMPLATENAME
 
1 members found this post helpful.
Old 03-16-2024, 07:37 AM   #8
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
Based on Alien Bob's blog where he describes this daw.template file and also the slackpkg man page, these should be the commands to run as root:
Code:
wget http://www.slackware.com/~alien/tools/templates/daw.template
mv daw.template /etc/slackpkg/templates/
slackpkg update
slackpkg install-template daw
 
Old 03-17-2024, 02:06 AM   #9
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
typo
Quote:
posted by @ethelack:
My bad thanks for the clarification of TEMPLATENAME
Nothing wrong with your post, it was perfect info. The problem was my limited fluency in Linux language.

But as in the learning of natural languages, this is the way to learn, which perhaps will explain my mentioning of babies and AI.

Thanks again ! your post was extremely helpful.

Last edited by fredmyra; 03-17-2024 at 02:07 AM. Reason: typo
 
Old 03-17-2024, 02:12 AM   #10
fredmyra
Member
 
Registered: Dec 2019
Location: Sweden
Posts: 295

Original Poster
Rep: Reputation: Disabled
Quote:
posted by @Windu:
Based on Alien Bob's blog where he describes this daw.template file and also the slackpkg man page, these should be the commands to run as root:
Code:

wget http://www.slackware.com/~alien/tool...s/daw.template
mv daw.template /etc/slackpkg/templates/
slackpkg update
slackpkg install-template daw
Thanks for pointing it out Windu. I got confused by all the combinations when editing the post. And did not review it properly.

Last edited by fredmyra; 03-17-2024 at 02:14 AM. Reason: typo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Warning of several errors as slackpkg ran under full install of slackware live DAW fredmyra Slackware - Installation 6 02-18-2024 07:03 PM
Resume creator - export options : template vs non-template approach vharishankar Programming 1 12-07-2011 11:11 PM
from django.template import Template, gives output firedancer Linux - Newbie 0 11-30-2007 02:08 PM
Template class with a template member... Nicholas Bishop Programming 3 02-21-2005 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration