slapt-src doesn't find packages on the mirror

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
mMontu
Posts: 22
Joined: 1. Jan 2017, 23:52
Location: Brazil

slapt-src doesn't find packages on the mirror

Post by mMontu »

This is probably a silly question, but I can't find a way of making slapt-src find some packages that are clearly on the repository.

Code: Select all

    $ slapt-src -u
    Fetching slackbuild list from http://mirrors.xmission.com/salix/slkbuild/14.2/...Cached
    Fetching slackbuild list from http://mirrors.xmission.com/salix/sbo/14.2/...Done
    $ slapt-src --show jbig2dec
    $ slapt-src -l | grep zathura
    $ slapt-src -l | grep mupdf
    $ slapt-src -l | wc -l
    4384

And still several packages like zathura, mupdf and jbig2dec can be found at http://mirrors.xmission.com/salix/sbo/14.2/office/ and http://mirrors.xmission.com/salix/sbo/14.2/libraries/

What am I missing here?
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: slapt-src doesn't find packages on the mirror

Post by gapan »

The packages are actually there. Try it:

Code: Select all

sudo spi -i zathura mupdf
But these are packages. slapt-src deals with SlackBuilds. And since there are indeed packages available in our binary repos, the info for the respective SlackBuilds has been removed from the SLACKBUILDS.TXT file that slapt-src reads. This is to remove confusion in case users find a different version of the same software with slapt-get and slapt-src.
Image
Image
mMontu
Posts: 22
Joined: 1. Jan 2017, 23:52
Location: Brazil

Re: slapt-src doesn't find packages on the mirror

Post by mMontu »

Thanks for your reply, gapan!

Indeed, I saw the packages, but I'd like to install the newer versions available as Slackbuilds.

I've been manually downloading and installing the Slackbuilds, but the process is cumbersome, specially when it comes to long dependency chains.

Is there a simple way to have slapt-src installing from the source despite the existing a package ? Even without dependency handling, it'd very handy to have the download/extract/chmod/build/install process in automated way.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: slapt-src doesn't find packages on the mirror

Post by gapan »

You could change the slackbuild repo in /etc/slapt-get/slapt-srcrc to point to the official SBo repo.

But then you'll also have to setup respective EXCLUDE items in your slapt-getrc, so that slapt-get won't ask to override the packages you built.
Image
Image
mMontu
Posts: 22
Joined: 1. Jan 2017, 23:52
Location: Brazil

Re: slapt-src doesn't find packages on the mirror

Post by mMontu »

Indeed, that makes sense. I wasn't aware of config on slapt-get, good to know

Thanks again!
User avatar
ChuangTzu
Donor
Posts: 388
Joined: 19. May 2015, 23:34

Re: slapt-src doesn't find packages on the mirror

Post by ChuangTzu »

Kindly mark your OP as [Solved].
Image
Image
Post Reply