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

Bug#802515: SystemError: E:The value 'stretch' is invalid for APT::Default-Release as such a release is not available in the sources



reopen 802515
thanks

Julian Andres Klode <jak@debian.org> writes:
> On Tue, Oct 20, 2015 at 08:06:37PM +0200, Christoph Egger wrote:
>> /==========
>> In [1]: import apt_pkg
>> 
>> In [2]: import apt
>> 
>> In [3]: progress = apt.progress.base.OpProgress()
>> 
>> In [4]: apt_pkg.Cache(progress)
>> ---------------------------------------------------------------------------
>> SystemError                               Traceback (most recent call last)
>> <ipython-input-5-75f3bd887983> in <module>()
>> ----> 1 apt_pkg.Cache(progress)
>> 
>> SystemError: E:The value 'stretch' is invalid for APT::Default-Release as such a release is not available in the sources
>> \==========
>> 
>> This should be #676468 in apt-xapian-index.
>
> Well, it seems the sources were not updated correctly, or there is
> no source with stretch as its codename. We need to error out as
> silently ignoring such a failure will cause really bad issues (and
> this is the only pinning stuff we can actually check).
>
> That's not a bug, but the expected behaviour.

% grep stretch /etc/apt/sources.list
deb http://mirror.sieglitzhof.net/debian/ stretch main contrib non-free
deb-src http://ftp.fau.de/debian/ stretch main contrib non-free

and `apt` itself is pretty happy about that sources.list (and has been
updated freshly)

  Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer


Reply to: