Another apt question, recursive methods
Hi,
another little question. I'm writing an apt method 'foo' that could
be compared to a proxy. It itself doesn't actually fetch anything but
it uses others methods to do the work and then works on the local file
before giving it back to apt.
My sources.list entry looks like this:
deb http://server/root sid main
deb foo://http://server/root sid main
In this case the foo method will actualy use the http method to do the
actual fetching. That I have the same line with and without foo://
is intentional and I would like to keep it that way.
Now my question is about methods that have 'Single-Instance: yes'. Say
you have such a method called 'single' and
deb single://server/root sid main
deb foo://single://server/root sid main
In this case apt-get would invoke /usr/lib/apt/methods/single and foo
would invoke /usr/lib/apt/methods/single breaking the
'Single-Instance: yes' requirement.
Can I avoid this in any way? Can I ignore this since methods don't
have 'Single-Instance: yes' anymore? Can I get away with that since
the usual fetching methods don't have 'Single-Instance: yes'?
MfG
Goswin
Reply to: