update-apt-xapian-index should not crash when it cannot parse one package list

Bug #850083 reported by Terrapin Station
50
This bug affects 5 people
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

None

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: apt-xapian-index 0.44ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.17-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
Date: Sun Sep 11 16:37:18 2011
ExecutablePath: /usr/sbin/update-apt-xapian-index
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index --update -q
ProcCwd: /root
PythonArgs: ['/usr/sbin/update-apt-xapian-index', '--update', '-q']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with SystemError in open(): E:Type '://ppa.launchpad.net/midori/ppa/ubuntu' is not known on line 2 in source list /etc/apt/sources.list.d/midori-ppa-oneiric.list, E:The list of sources could not be read., E:The package lists or status file could not be parsed or opened.
UpgradeStatus: Upgraded to oneiric on 2011-09-12 (1 days ago)
UserGroups:

Revision history for this message
Terrapin Station (trendymoose) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Terrapin Station (trendymoose) wrote :

DELETE DELETE DELETE

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-xapian-index (Ubuntu):
status: New → Confirmed
visibility: private → public
Changed in apt-xapian-index (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

SystemError: E:Type '://ppa.launchpad.net/midori/ppa/ubuntu' is not known on line 2 in source list /etc/apt/sources.list.d/midori-ppa-oneiric.list, E:The list of sources could not be read., E:The package lists or status file could not be parsed or opened.

THis bug report is dues to a configuration erro in your /etc/apt/sources.list.d/midori-ppa-oneiric.list file. It looks like you are missing some leading characters in the line '://ppa.launchped.net' of that file. This is something you will need to resolve manually.

Changed in apt-xapian-index (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Shock (mmiron) wrote :

Should it crash? ... or just emit a warning for that line and continue with the rest?

Changed in apt-xapian-index (Ubuntu):
status: Incomplete → Confirmed
summary: - update-apt-xapian-index crashed with SystemError in open(): E:Type
- '://ppa.launchpad.net/midori/ppa/ubuntu' is not known on line 2 in
- source list /etc/apt/sources.list.d/midori-ppa-oneiric.list, E:The list
- of sources could not be read., E:The package lists or status file could
- not be parsed or opened.
+ update-apt-xapian-index should not crash when it cannot parse one
+ package list
Changed in apt-xapian-index (Ubuntu):
importance: Medium → Wishlist
Changed in apt-xapian-index (Ubuntu):
importance: Wishlist → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.