[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What to do when not understanding man pages?



Jude DaShiell wrote:
Yes, I meant apt-cdrom, actually what you're wanting to do is to make a
local mirror of a repository.

Yes. Devil is in the details ;/


On Wed, 6 Nov 2013, Richard Owlett wrote:

Jude DaShiell wrote:
The apt-cd package may help here.

I don't find "apt-cd". Do you mean "apt-cdrom" which "is used to add a new
CD-ROM to APT's list of available sources."
I am NOT using the CDs/DVDs themselves. I have copied the contents to a hard
disk partition for speed and convenience - not having high speed internet.


Also when searching for tutorials I
find it useful to append "tutorial OR howto" to google searches for
problems like this.  The howtos get you into another probably useful
category.

Been that route ;<
https://wiki.debian.org/HowToSetupADebianRepository#dpkg-scanpackages_and_dpkg-scansources
points to
http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html
which has two problems:
   1. Its title labels it as "Obsolete Documentation"
   2. I can't figure how to apply what it says to my case.
It comes closer to my case than what I've found using Google to search for
dpkg-scanpackages "tutorials"/"How-To".


  On Tue, 5 Nov 2013, Richard Owlett wrote:

Joe wrote:
On Mon, 04 Nov 2013 10:55:10 -0600
Richard Owlett <rowlett@cloud85.net> wrote:


To borrow from the hardware world, man pages would correspond to
Product Specification. What I'm looking for would correspond more
with an Application Note.


I think the magic word you want is 'tutorial'. You probably also want
to set time limits, as one of the most useless things in the world is
an obsolete tutorial. Man pages on the web are usually current.

If you want something a bit unusual, such as an obscure freeRADIUS
application, you probably want to track down half a dozen tutorials,
and try to read between the lines. It's surprising how much can be left
out of a set of 'step-by-step' instructions, but different people
generally leave out different things.


I think you just hit on why 'tutorials' did not come to mind. The Debian
tutorials I've seen have another problem in my situation - taking the
reader
from one specific starting point to one specific end point. That normally
is
not a problem for the reader as start/end points are aimed at majority.

My problem with the dpkg-scanpackages man pages is that I don't seem to be
able to apply it correctly to my situation. I wish to have a local
repository
whose structure mimics the distribution DVDs.

I have a partition dedicated to my local repository. It is mounted as
/media/repo6 .
{I'm working on my Squeeze machine at the moment. Eventually I'll dual
boot
Wheezy and Squeeze. Then I'll add another repository partition mounted as
/media/repo7 etc.}

Directory structure is:
/media/repo6/dists/squeeze/contrib/binary-i386
/media/repo6/dists/squeeze/contrib/binary-i386/release
/media/repo6/dists/squeeze/main
/media/repo6/dists/squeeze/main/binary-i386
/media/repo6/dists/squeeze/main/binary-i386/release
/media/repo6/pool
/media/repo6/pool/squeeze
/media/repo6/pool/squeeze/contrib
/media/repo6/pool/squeeze/contrib/...	{directories containing deb
files}
/media/repo6/pool/squeeze/main
/media/repo6/pool/squeeze/main/...	{directories containing deb files}

I need appropriate Packages.gz under
/media/repo6/dists/squeeze/contrib/binary-i386
and
/media/repo6/dists/squeeze/main/binary-i386 .

I also need appropriate lines to add to sources.list






---------------------------------------------------------------------------
jude <jdashiel@shellworld.net>
Avoid the Gates Of Hell, use Linux!






---------------------------------------------------------------------------
jude <jdashiel@shellworld.net>
Avoid the Gates Of Hell, use Linux!




Reply to: