Comment 0 for bug 886273

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : improve handling of broken sources.list files

When there is a syntax error in an apt sources.list file a dialog is displayed with something along these lines:
"""
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Type 't/screenlets/ppa/ubuntu' is not known on line 3 in source list /etc/apt/sources.list.d/screenlets-ppa-oneiric.list'
"""

This is usually a user error and shouldn't be reported as a bug. update-manager should handle this situation better and showing a clear message about how to fix that situation instead.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: update-manager 1:0.154
ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
Uname: Linux 3.1.0-2-generic x86_64
ApportVersion: 1.25-0ubuntu1
Architecture: amd64
Date: Fri Nov 4 14:10:13 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)