On 5/1/07, Lior Kaplan <[EMAIL PROTECTED]> wrote:
Maxim Veksler wrote:
> I don't ask apt to store history of "download source of package", all
> I'm asking is that with the current state, when all repositories are
> configured in sources.list to get a reply from apt that if I ask for
> package X he will wget it from http://heaven.org/angel.deb.
>
> To follow your example for unstable: I don't care for updates. You
> have your local copy(s) of Packages.gz please tell me what package you
> choosed (after you ran you algorithms.cc) and from what repository
> will you be fetching it, that's all I'm asking.

A workaround (and not a solution).

1. Find the file name.
$ apt-cache show user-he | grep Filename
Filename: pool/main/u/user-he/user-he_1.0.14_all.deb

2. Find the repository
$ apt-cache policy user-he
user-he:
  Installed: 1.0.14
  Candidate: 1.0.14
  Version table:
 *** 1.0.14 0
        500 http://mirror.hamakor.org.il unstable/main Packages
        100 /var/lib/dpkg/status

3. Do some combination to build an exact URL.

If you want a straight solution, you'll have to build something on your own.


Why? That's perfect.
I have several sources for ffmpeg, querying apt-cache I get
medibuntu.sos-sts.com that's exactly what I needed.

$ apt-cache policy ffmpeg
ffmpeg:
 Installed: 3:0.cvs20060823-3.1ubuntu4+medibuntu2
 Candidate: 3:0.cvs20060823-3.1ubuntu4+medibuntu2
 Version table:
*** 3:0.cvs20060823-3.1ubuntu4+medibuntu2 0
       500 http://medibuntu.sos-sts.com feisty/free Packages
       100 /var/lib/dpkg/status
    3:0.cvs20060823-3.1ubuntu4 0
       500 http://il.archive.ubuntu.com feisty/universe Packages
       500 http://archive.ubuntu.com feisty/universe Packages


Thanks Lior :)

--

Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il



--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to