[sbopkg-users] How to set up and use a local repository?
Charles
c at catcons.co.uk
Sat Nov 17 07:49:17 UTC 2012
Hello :-)
What is the best way to set up a local repository (as opposed to a local
copy of the slackbuild.org repository)?
I followed the sbopkg.conf man page, section REPO_NAME, where it says
"The local' choice corresponds to a user-maintained repository whose
structure must be the same as the one used by SBo, in the sense of a
category/package/files hierarchy".
I set up a directory structure for the local repository and unpacked
three non-standard SlackBuilds into it:
/var/lib/sbopkg/local/
`-- 14.0
|-- academic
|-- accessibility
|-- audio
|-- business
|-- desktop
|-- development
|-- games
|-- graphics
|-- ham
|-- haskell
|-- libraries
| |-- tbb
| `-- xapian-core
|-- misc
|-- multimedia
|-- network
| `-- spideroak
|-- office
|-- perl
|-- python
|-- ruby
`-- system
I tried to build and install the three SlackBuilds from the command line:
root at CW8:~# sbopkg -V local/14.0 -i 'spideroak tbb xapian-core'
Unknown repository name -- "local/14.0"
root at CW8:~# sbopkg -V local -i 'spideroak tbb xapian-core'
Queuefile or package spideroak not found - skipping.
Queuefile or package tbb not found - skipping.
Queuefile or package xapian-core not found - skipping.
Got the same error messages after replacing the -V option with both
-D /var/lib/sbopkg/local
and
-D /var/lib/sbopkg/local/14.0
I added a line to /etc/sbopkg/repos.d/50-local.repo:
local 14.0 "Local repository for Slackware 14.0" _SBo "" "" ""
and ran the first command again:
root at CW8:~# sbopkg -V local/14.0 -i 'spideroak tbb xapian-core'
Queuefile or package spideroak not found - skipping.
Queuefile or package tbb not found - skipping.
Queuefile or package xapian-core not found - skipping
What to do?
Best
Charles
More information about the sbopkg-users
mailing list