LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installing package final step on slackbuilds doesnt work (https://www.linuxquestions.org/questions/slackware-14/installing-package-final-step-on-slackbuilds-doesnt-work-4175456195/)

Dman58 03-30-2013 04:36 PM

installing package final step on slackbuilds doesnt work
 
I've done this numerous times before but for some reason when I get to the last step of installing a slackbuild package it's not going through.

Code:

slackware No packages match the pattern for install Try:

        /usr/sbin/slackpkg install|reinstall

I have one mirror uncommented & tried different mirrors as well.

Is there a certain config file that needs to be changed for Slackware 14 because I previously used 13.37 and never had these issues.

Woodsman 03-30-2013 04:51 PM

Quote:

Is there a certain config file that needs to be changed for Slackware 14 because I previously used 13.37 and never had these issues.
Yes: /etc/slackpkg/mirrors

Ensure the only uncommented line is pointing to a 14.0 mirror or local repo and not to 13.37. :)

Dman58 03-30-2013 05:02 PM

Well I have Slack 14 installed and in the /etc/slackpkg/mirrors file Slack 14 & current are there 13.37 isn't an option so thats not the issue i'm facing.

ponce 03-30-2013 05:14 PM

which package are you trying to install? can you please make an example?

Dman58 03-30-2013 05:29 PM

It seems to be any package. I tried several all from different catagories. These are my steps:

1. download source and slackbuild into build dir
2. untar slackbuild tarball & mv source tarball into slackbuild untared folder
3. cd to slackbuild folder and change version if applicable
4. chmod +x slackbuild then execute with ./ *as root
5. cd /tmp & slackpkg install whichever *as root

outputs

Code:

slackware No packages match the pattern for install Try:

        /usr/sbin/slackpkg install|reinstall

All steps work flawlessy except the final 1

narz 03-30-2013 05:36 PM

Isn't "slackpkg install" for downloading packages and installing them? Try installpkg?

ponce 03-30-2013 05:43 PM

slackpkg is for installing the official slackware packages, downloading them from a mirror.

as narz suggested, use installpkg with the packages you build yourself from slackbuilds.org's scripts.

Dman58 03-30-2013 06:55 PM

That was it, thanks ponce & narz!

ruario 03-31-2013 05:55 AM

@Dman58: FWIW slackpkg is actually just a nice extra, not the main Slackware package manager or to put it another way it is not an essential component of pkgtools like installpkg, upgradepkg, removepkg and makepkg are (IMHO).

In fact, if you have a full install and run stable you could easily do without slackpkg (if you so desired) since its primary use in such a scenario is simply fetching updates (patches). I rarely use it and instead use my own script that simply fetches patches for those programs I have installed. When I upgrade Slackware, I use an official DVD (since I have a subscription) with upgradepkg and removepkg.

Slackpkg is most useful when you track -current and/or if you have a minimal install and occasionally want to add apps over the network, without maintaining a local mirror.

Dman58 03-31-2013 07:31 AM

Quote:

Originally Posted by ruario (Post 4922059)
FWIW slackpkg is actually just a nice extra, not the main Slackware package manager or to put it another way it is not an essential component of pkgtools like installpkg, upgradepkg, removepkg and makepkg are (IMHO).

In fact, if you have a full install and run stable you could easily do without slackpkg (if you so desired) since its primary use in such a scenario is simply fetching updates (patches). I rarely use it and instead use my own script that simply fetches patches for those programs I have installed. When I upgrade Slackware, I use an official DVD (since I have a subscription) with upgradepkg and removepkg.

Slackpkg is most useful when you track -current and/or if you have a minimal install and occasionally want to add apps over the network, without maintaining a local mirror.

Thanks, I'll try to keep that in mind. I'm sure I read that somewhere before but after reading sooo many different guides, tutorials, howtos, etc. I guess certain things just slip away in the distance until they are directly needed again.

I appreciate all the feedback here at LQ and I'm humble on my Linux journey!

ruario 03-31-2013 07:36 AM

Best place to get info these days is probably SlackDocs. Here is the article on package management.


All times are GMT -5. The time now is 12:06 AM.