[Bug 428545] Re: aptitude Silently ignores invalid Default-Release.

Daniel Hartwig 428545 at bugs.launchpad.net
Wed May 2 15:59:58 UTC 2012


This appears fixed in recent versions on my Debian system:

# ./aptitude install tf
E: The value 'etch' is invalid for APT::Default-Release as such a release is not available in the sources

Does this still affect you?


** Changed in: aptitude (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/428545

Title:
  aptitude Silently ignores invalid Default-Release.

Status in “aptitude” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: aptitude

  # cat /etc/apt/apt.conf
  APT::Default-Release "jaunty";

  Is ignored, with no errors (that I noticed).  Aptitude happily goes
  about attempting to upgrade my entire system to karmic.

  The apt.conf man page says "Release codenames (´etch´, ´lenny´ etc.)
  are not allowed now."  This displeases me greatly, but it should die
  with an error saying that the Default-Release value is not valid, not
  ignore it.

  This appears to work:
  # cat /etc/apt/apt.conf
  APT::Default-Release "9.04";

  # lsb_release -rd
  Description:	Ubuntu 9.04
  Release:	9.04

  # apt-cache policy aptitude
  aptitude:
    Installed: 0.4.11.11-1ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/428545/+subscriptions




More information about the foundations-bugs mailing list