Do not file package install bugs for PPA packages

Bug #252734 reported by pandy
2
Affects Status Importance Assigned to Milestone
Mythbuntu
Fix Released
Undecided
David Morris
apport (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Release version:

Description: Ubuntu 8.04.1
Release: 8.04

ProblemType: Package
Architecture: amd64
Date: Mon Jul 28 20:01:09 2008
Dependencies:

DistroRelease: Ubuntu 8.04
ErrorMessage: trying to overwrite `/usr/share/mythtv/media_settings.xml', which is also in package mythtv-frontend
NonfreeKernelModules: nvidia
Package: mythstreams None [modified: /var/lib/dpkg/info/mythstreams.list]
PackageArchitecture: amd64
SourcePackage: mythstreams
Title: package mythstreams None [modified: /var/lib/dpkg/info/mythstreams.list] failed to install/upgrade: trying to overwrite `/usr/share/mythtv/media_settings.xml', which is also in package mythtv-frontend
Uname: Linux 2.6.24-19-generic x86_64

Revision history for this message
pandy (andrew-thewatersonsonline) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

This was bug was reported by apport about a non-Ubuntu package which is something apport should not allow.

Thomas Mashos (tgm4883)
Changed in mythbuntu:
assignee: nobody → dave-greenacre
Revision history for this message
laga (laga) wrote :

Closing the Mythbuntu task.

The "mythstreams" package was just an artefact in one of our PPAs. I've just requested its deletion.

Changed in mythbuntu:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Indeed it already queries the apt-cache for the origin. There might be something wrong with the origins of PPAs.

Changed in apport:
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

For a PPA, I currently get

<Origin component:'' archive:'' origin:'' label:''site:'ppa.launchpad.net' isTrusted:'False'>

so the "not o.site.startswith('ppa')" check should still to work. However, it doesn't check whether the currently installed version is "None", i. e. isn't available from any package source. This happened both here and in bug 337490.

Revision history for this message
Martin Pitt (pitti) wrote :

r1312

Changed in apport:
assignee: nobody → pitti
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.143

---------------
apport (0.143) jaunty; urgency=low

  * debian/apport.README.Debian: Document how to temporarily and permanently
    enable crash interception.
  * backends/packaging-apt-dpkg.py, is_distro_package(): Do not consider a
    package a native distro one if installed version is "None". This happens
    with some PPA packages. (LP: #252734)
  * apport/report.py, anonymize(): Move user name anonymization into the
    "non-root" case as well; fixes uninitialized variable. (LP: #338847)

 -- Martin Pitt <email address hidden> Mon, 09 Mar 2009 12:16:49 +0100

Changed in apport:
status: Fix Committed → Fix Released
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.