could tag file conflicts installation issues
Bug #368435 reported by
Sebastien Bacher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Wishlist
|
Brian Murray | ||
dpkg (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
The file conflicts bugs are usually real issues easy to fix, having those auto-tagged for easier triaging would be useful
Related branches
lp://qastaging/~brian-murray/ubuntu/oneiric/apport/package-dupe-sig
- Steve Langasek: Needs Fixing
-
Diff: 45 lines (+27/-0)2 files modifieddata/general-hooks/ubuntu.py (+18/-0)
debian/changelog (+9/-0)
To post a comment you must log in.
Thanks for your bugreport.
I looked into this today and its unfortunately not easy. Dpkg send error messages localized over its status pipe, this means that apt gets the localized version of:
"trying to overwrite `%.250s', which is also in package %.250s"
the values in %.250s are filed in by dpkg.
So a string search is difficult as each language will be slightly different and dgettext( "dpkg", "trying to overwrite `%.250s', which is also in package %.250s"). I attach a string matcher that should work, but
I think it would be best to look for a better fix for this in dpkg itself.