Page 1 of 1

slapt-src doesn't find packages on the mirror

Posted: 20. Sep 2018, 15:05
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?

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

Posted: 20. Sep 2018, 15:31
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.

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

Posted: 20. Sep 2018, 16:23
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.

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

Posted: 20. Sep 2018, 16:52
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.

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

Posted: 20. Sep 2018, 17:10
by mMontu
Indeed, that makes sense. I wasn't aware of config on slapt-get, good to know

Thanks again!

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

Posted: 23. Sep 2018, 15:13
by ChuangTzu
Kindly mark your OP as [Solved].