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

Re: how to retrieve the pacakge URI and architecture from python-apt



On Sun, Mar 29, 2009 at 10:39:01PM +0200, A Mennucc wrote:
> hi,
> 
> in my program 'debdelta-upgrade', I need to see which debian packages
> need to be upgrade, and for each on, know the complete URI , somthing as
>   http://ftp.it.debian.org/debian/pool/main/m/memstat/memstat_0.5_i386.deb
> 
> I was helped by M.Vogt with a snippet that s in this email; but
> with the new python-apt in unstable, the following snippet stopped working.
> 
> How do I change it? (I tried to read the docs, but I do not know enaough
> of APT )
I guess the best would be that python-apt 0.7.10 gets uploaded to unstable,
with Breaks: debdelta (<< 0.28), and you upload a new version of debdelta
(0.28) using pkg.candidate.uri for finding the urls.

By using Breaks, we also prevent further problems. And by using << 0.28,
it will also work for derived distributions.

What do you think?


-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/

Attachment: signature.asc
Description: Digital signature


Reply to: