[Aptitude-devel] Bug#670379: Bug#670379: aptitude: Crash when downloading release not in sources.list

Axel Beckert abe at debian.org
Wed Apr 25 10:02:05 UTC 2012


tag 670379 + confirmed
kthxbye

Igor FLEDERICK wrote:
> Package: aptitude
> Version: 0.6.6-1+b1
> Severity: important
> Tags: upstream
> 
> Dear Maintainer,
> 
> Here is the only entry I have in my sources.list:
> deb http://ftp.fr.debian.org/debian/ sid main
> 
> When I try to download a package from a release which is not in
> sources.list, I get a segfault :
> $ aptitude download -t stable libc6
> Segmentation fault
> $ aptitude download -t testing libc6
> Segmentation fault

I also get an error message before the segfault:

# aptitude download -t oldstable foobar
E: The value 'oldstable' is invalid for APT::Default-Release as such a release is not available in the sources
Segmentation fault          
# 

It doesn't seem to make a difference if the package given on the
commandline really exists.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at 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





More information about the Aptitude-devel mailing list