Bug#838545: apt not showing any package update if just one repo is not valid

2016-09-22 Thread Julian Andres Klode
Control: fixed -1 1.1~exp9

(This is the earliest version that I can find that works)

Summary: Fixed in stretch, no fix coming for jessie

On Thu, Sep 22, 2016 at 08:41:10AM +0200, Björn JACKE wrote:
> Package: apt
> Version: 1.0.9.8.3
> 
> when there are invalid or expired apt repositories configured, ALL other apt
> repos will not be updated.
> 
> In my case:
> 
> CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2
> E: Release file for 
> http://ftp.uni-koeln.de/debian/dists/jessie-backports/InRelease is expired 
> (invalid since 8d 18h 50min 50s). Updates for this repository will not be 
> applied
> 
> That message implies, that updates for this repository will not be applied 
> (but
> others will!)
> 
> But no packages are installed. Disabling the expired repository makes "apt-get
> dist-upgrade" install all the outstanding packages that have been release in
> the last 8 days (since the mentioned repo expired).
> 
> Enabling the repo again hides all the outstanding updates right away.

OK. So after taking a closer look at it, I can say that this was fixed
in the 1.1 development as part of a heavy refactoring of the acquire
code. As such, it cannot be backported to 1.0.9.8.



-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.



Bug#838545: apt not showing any package update if just one repo is not valid

2016-09-22 Thread Julian Andres Klode
On Thu, Sep 22, 2016 at 09:26:03PM +0200, Julian Andres Klode wrote:
> Version: 1.3~pre3
> 
> On Thu, Sep 22, 2016 at 08:41:10AM +0200, Björn JACKE wrote:
> > Package: apt
> > Version: 1.0.9.8.3
> > 
> > when there are invalid or expired apt repositories configured, ALL other apt
> > repos will not be updated.
> > 
> > In my case:
> > 
> > CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2
> > E: Release file for 
> > http://ftp.uni-koeln.de/debian/dists/jessie-backports/InRelease is expired 
> > (invalid since 8d 18h 50min 50s). Updates for this repository will not be 
> > applied
> > 
> > That message implies, that updates for this repository will not be applied 
> > (but
> > others will!)
> > 
> > But no packages are installed. Disabling the expired repository makes 
> > "apt-get
> > dist-upgrade" install all the outstanding packages that have been release in
> > the last 8 days (since the mentioned repo expired).
> > 
> > Enabling the repo again hides all the outstanding updates right away.
> 
> This bug was fixed in 1.3~pre3 with the following commit (strangely enough):
> 
> e8e5d464623f1c2e1ef96b14e622728bbf4b89af is the first fixed commit
> commit e8e5d464623f1c2e1ef96b14e622728bbf4b89af
> Author: David Kalnischkies 
> Date:   Wed Jul 20 09:03:09 2016 +0200
> 
> allow arch=all to override No-Support-for-Architecture-all
> 
> If a user explicitly requests the download of arch:all apt shouldn't get
> in the way and perform its detection dance if arch:all packages are
> (also) in arch:any files or not.
> 
> This e.g. allows setting arch=all on a source with such a field (or one
> which doesn't support all at all, but has the arch:all files like Debian
> itself ATM) to get only the arch:all packages from there instead of
> behaving like a no-op.
> 
> Reported-By: Helmut Grohne on IRC

Ignore that, it was fixed earlier. My test case was just broken before.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.



Bug#838545: apt not showing any package update if just one repo is not valid

2016-09-22 Thread Björn JACKE
Package: apt
Version: 1.0.9.8.3

when there are invalid or expired apt repositories configured, ALL other apt
repos will not be updated.

In my case:

CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2
E: Release file for 
http://ftp.uni-koeln.de/debian/dists/jessie-backports/InRelease is expired 
(invalid since 8d 18h 50min 50s). Updates for this repository will not be 
applied

That message implies, that updates for this repository will not be applied (but
others will!)

But no packages are installed. Disabling the expired repository makes "apt-get
dist-upgrade" install all the outstanding packages that have been release in
the last 8 days (since the mentioned repo expired).

Enabling the repo again hides all the outstanding updates right away.