Debian Bug report logs - #668876
fetch from snapshot.debian.org if package not found.

version graph

Package: aptitude; Maintainer for aptitude is Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>; Source for aptitude is src:aptitude.

Reported by: "FOSS tech. support" <fosstc@gmail.com>

Date: Sun, 15 Apr 2012 09:12:08 UTC

Severity: wishlist

Found in version aptitude/0.6.6-1

Fix blocked by 695436: aptitude: user extensions

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#668876; Package aptitude. (Sun, 15 Apr 2012 09:12:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to "FOSS tech. support" <fosstc@gmail.com>:
New Bug report received and forwarded. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Sun, 15 Apr 2012 09:12:21 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "FOSS tech. support" <fosstc@gmail.com>
To: submit@bugs.debian.org
Subject: fetch from snapshot.debian.org if package not found.
Date: Sun, 15 Apr 2012 14:35:30 +0530
[Message part 1 (text/plain, inline)]
Package: aptitude
Version: 0.6.6-1
Severity: wishlist

I suggest, when aptitude doesn't find a package in all mirrors, it 
should automatically look out in snapshot.debian.org to fetch the package.

The same should be implemented in all apt implementations like software 
centre (it uses APT python right?), apt-get, synaptic etc...

[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#668876; Package aptitude. (Sun, 15 Apr 2012 10:03:36 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Sun, 15 Apr 2012 10:03:42 GMT) Full text and rfc822 format available.

Message #10 received at 668876@bugs.debian.org (full text, mbox):

From: Axel Beckert <abe@debian.org>
To: "FOSS tech. support" <fosstc@gmail.com>, 668876@bugs.debian.org
Subject: Re: [Aptitude-devel] Bug#668876: fetch from snapshot.debian.org if package not found.
Date: Sun, 15 Apr 2012 12:01:03 +0200
Hi,

FOSS tech. support wrote:
> I suggest, when aptitude doesn't find a package in all mirrors, it
> should automatically look out in snapshot.debian.org to fetch the
> package.

I don't think that's a good idea:

It circumvents the package signing as AFAIK APT and friends just look
on the signature of the package lists and hashsums, not on the
individual package signature -- that's just done before including a
package in the archive.

Additionally, if a package is not on the mirrors, but on snapshot.d.o,
it's very likely outdated and shouldn't be installed for that reason
unless explicitly wanted.

And snapshot.d.o is likely not capable of coping with the load this
would cause as it is not meant to be a mirror.

OTOH adding some user interface for explicity retrieving packages from
snapshot.d.o shouldn't hurt. But that depends a lot on the actual user
interface and is hence not likely generalised (except may be the
downloading backend).

> The same should be implemented in all apt implementations like
> software centre (it uses APT python right?), apt-get, synaptic
> etc...

If that's really the case (see discussion above), then this bug better
should be filed against APT itself and not aptitude.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5




Information forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#668876; Package aptitude. (Sun, 15 Apr 2012 13:36:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to "FOSS tech. support" <fosstc@gmail.com>:
Extra info received and forwarded to list. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Sun, 15 Apr 2012 13:36:15 GMT) Full text and rfc822 format available.

Message #15 received at 668876@bugs.debian.org (full text, mbox):

From: "FOSS tech. support" <fosstc@gmail.com>
To: 668876@bugs.debian.org
Subject: Re: [Aptitude-devel] Bug#668876: fetch from snapshot.debian.org if package not found.
Date: Sun, 15 Apr 2012 19:00:57 +0530
On 04/15/12 15:31, Axel Beckert wrote:
> Hi,
>
> FOSS tech. support wrote:
>> I suggest, when aptitude doesn't find a package in all mirrors, it
>> should automatically look out in snapshot.debian.org to fetch the
>> package.
> I don't think that's a good idea:
>
> It circumvents the package signing as AFAIK APT and friends just look
> on the signature of the package lists and hashsums, not on the
> individual package signature -- that's just done before including a
> package in the archive.
>
> Additionally, if a package is not on the mirrors, but on snapshot.d.o,
> it's very likely outdated and shouldn't be installed for that reason
> unless explicitly wanted.
>
> And snapshot.d.o is likely not capable of coping with the load this
> would cause as it is not meant to be a mirror.
>
> OTOH adding some user interface for explicity retrieving packages from
> snapshot.d.o shouldn't hurt. But that depends a lot on the actual user
> interface and is hence not likely generalised (except may be the
> downloading backend).

So it'll be disabled by default.

I've found this to be problematic on desktop systems where upgrading 
requires HUGE volumes of downloads and sometimes breaks the system (I 
know testing is testing...), so the user may prefer not to upgrade.

Instead of directly fetching, I think links to snapshot.debian.org 
should be added in source.list automatically... but by default this'll 
be disabled. What do you think?

>> The same should be implemented in all apt implementations like
>> software centre (it uses APT python right?), apt-get, synaptic
>> etc...
> If that's really the case (see discussion above), then this bug better
> should be filed against APT itself and not aptitude.
>
> 		Regards, Axel

I'll do so.




Added blocking bug(s) of 668876: 695436 Request was from Daniel Hartwig <mandyke@gmail.com> to control@bugs.debian.org. (Sat, 08 Dec 2012 06:00:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 14:26:23 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.