Public bug reported:

Binary package hint: update-manager

Came across this while poking around (trying to solve a boot issue with 
x-server 1.9)
I don't know python at all, but it just looked wrong

File: /usr/lib/python2.6/dist-packages/DistUpgrade/utils.py
Lines (on my system): 195 - 204

  # then synaptic
  elif os.path.exists(SYNAPTIC_CONF_FILE):
    cnd = apt_pkg.Configuration()
    apt_pkg.read_config_file(cnf, SYNAPTIC_CONF_FILE)
    use_proxy = cnf.find_b("Synaptic::useProxy", False)
    if use_proxy:
      proxy_host = cnf.find("Synaptic::httpProxy")
      proxy_port = str(cnf.find_i("Synaptic::httpProxyPort"))
      if proxy_host and proxy_port:
        proxy = "http://%s:%s/"; % (proxy_host, proxy_port)

Notice the "cnd = apt_pkg.Configuration()"
when all other lines refer to variable "cnf"

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: update-manager-core 1:0.142.6 [modified: 
usr/share/pyshared/DistUpgrade/utils.py]
ProcVersionSignature: Ubuntu 2.6.35-14.20-generic 2.6.35
Uname: Linux 2.6.35-14-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Aug 10 16:42:47 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
Possible Syntax Error - /usr/lib/python2.6/dist-packages/DistUpgrade/utils.py
https://bugs.launchpad.net/bugs/615923
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to