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

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



Your message dated Tue, 20 Oct 2015 21:49:36 +0200
with message-id <20151020214713.GA6776@debian.org>
and subject line Re: Bug#802515: SystemError: E:The value 'stretch' is invalid for APT::Default-Release as such a release is not available in the sources
has caused the Debian Bug report #802515,
regarding SystemError: E:The value 'stretch' is invalid for APT::Default-Release as such a release is not available in the sources
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
802515: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802515
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 1.0.1
Severity: important

Hi!

  The following code leads to the mentioned SystemError:

/==========
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.

Regards

  Christoph


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-apt depends on:
ii  libapt-inst1.7     1.0.10.2
ii  libapt-pkg4.16     1.0.10.2
ii  libc6              2.19-22
ii  libgcc1            1:5.2.1-17
ii  libstdc++6         5.2.1-17
ii  python             2.7.9-1
ii  python-apt-common  1.0.1
pn  python:any         <none>

Versions of packages python-apt recommends:
ii  iso-codes    3.62-1
ii  lsb-release  9.20150917
ii  xz-utils     5.1.1alpha+20120614-2.1

Versions of packages python-apt suggests:
pn  python-apt-dbg  <none>
pn  python-apt-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Tue, Oct 20, 2015 at 08:06:37PM +0200, Christoph Egger wrote:
> Package: python-apt
> Version: 1.0.1
> Severity: important
> 
> Hi!
> 
>   The following code leads to the mentioned SystemError:
> 
> /==========
> 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.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.

--- End Message ---

Reply to: