/etc/apt/auth.conf should have lines removed when application/ppas are

Bug #956048 reported by Dave Morley on 2012-03-15
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
High
Unassigned
software-properties (Ubuntu)
Medium
Unassigned

Bug Description

Bug Description:
For Purchase items now make use of the /etc/apt/auth.conf file however the file doesn't get lines removed when applications are.

Mvo has said this isn't a huge issue but isn't an elegant solution.

SCA Version:
Django 1.3
Python 2.6.5 (r265:79063, Apr 16 2010, 14:15:55) [GCC 4.4.3]
preflight 0.1
SCA 12.03; r594
openid 2.2.1
pkgme-service https://pkgme-service.canonical.com/pkgme/api/1.0 {'version': 'r78'}

OS:
64bit Precise

USC Version:
5.1.12

Steps To Reproduce:
1. Install a for purchase app
2. Check the /etc/apt/auth.conf file
3. Now remove the app
4. Check the /etc/apt/auth.conf file
5. Now revome the repository if it hasn't been
6. Check the /etc/apt/auth.conf file

Expected Results:
The info connected to a repo/ppa should be reomoved when a repo/ppa is

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.12
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Thu Mar 15 13:46:10 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120228)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Dave Morley (davmor2) wrote :
Michael Vogt (mvo) on 2012-03-19
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in software-properties (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Selene ToyKeeper (toykeeper) wrote :

This seems to affect a fair amount of users who were hit by Bug #1008289. After reprocessing the subscriptions on the server, they still get the same error because of the old auth.conf data.

One guy figured out that the purchases are installable again after removing dupes from /etc/apt/auth.conf, and now I'm instructing other users to do the same.

Gary Lasker (gary-lasker) wrote :

Set to "high" based on Selene's comment #2.

Changed in software-center (Ubuntu):
importance: Medium → High
Selene ToyKeeper (toykeeper) wrote :

Specifically, if the auth data for a subscription differs from the one on file, the dupes should all be removed and only the latest entry kept. This isn't just at time of package removal, but also during install -- whether from 'Reinstall previous purchases' or by going directly to the package and clicking 'Install'.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers