Public bug reported:

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

** Affects: aptitude (Ubuntu)
     Importance: Undecided
         Status: New

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to