Comment 0 for bug 1095823

Steve Magoun (smagoun) wrote :

Recent versions of SW Center include the Distribution Channel Descriptor in the user agent string passed to the server. This feature was introduced for bug 1042749. However the original implementation used an incorrect path and the DCD information will never be passed to SW Center. The DCD is referred to as the oem channel descriptor in SW Center. The spec for the DCD is here:

The affected file is /usr/share/software-center/softwarecenter/

OEM_CHANNEL_DESCRIPTOR = "/var/lib/ubuntu-dist-channel"

Correct (change hyphens to underscores):
OEM_CHANNEL_DESCRIPTOR = "/var/lib/ubuntu_dist_channel"

The problem was introduced in this branch:

Note that the tests in that branch use the correct path, but the path in OEM_CHANNEL_DESCRIPTOR is incorrect.

The following versions of sw center contain the bug:
precise: 5.2.7

I believe the bug is in raring too. Please SRU a fix to precise and quantal.