when whois and mkpasswd are build locally they have .mo file conflicts

Bug #601803 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server papercuts
Won't Fix
Low
Mathias Gug
whois (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: whois

When whois is build locally it will conflicts with mkpasswd because the .mo files are not stripped out:

$ sudo dpkg -i /var/cache/pbuilder/result//mkpasswd_5.0.5ubuntu1_amd64.deb
(Reading database ... 326590 files and directories currently installed.)
Unpacking mkpasswd (from .../mkpasswd_5.0.5ubuntu1_amd64.deb) ...
dpkg: error processing /var/cache/pbuilder/result//mkpasswd_5.0.5ubuntu1_amd64.deb (--install):
 trying to overwrite '/usr/share/locale/pt_BR/LC_MESSAGES/whois.mo', which is also in package whois 5.0.5ubuntu1
Errors were encountered while processing:
 /var/cache/pbuilder/result//mkpasswd_5.0.5ubuntu1_amd64.deb

Revision history for this message
Michael Vogt (mvo) wrote :

The line in debian/rules:
        cd po && $(MAKE) install BASEDIR=$D && $(MAKE) install BASEDIR=$W
is responsible for it. Ideally mkpasswd would get its own NLS_CAT_NAME or just a copy of the whois.mo (not ideal as it will duplicate some strings).

Chuck Short (zulcss)
Changed in whois (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Thierry Carrez (ttx)
Changed in server-papercuts:
importance: Undecided → Low
milestone: none → maverick-beta
status: New → Confirmed
Mathias Gug (mathiaz)
Changed in server-papercuts:
assignee: nobody → Mathias Gug (mathiaz)
Revision history for this message
Mathias Gug (mathiaz) wrote :

There are several options to fix this issue:
 1. Add a specific catalog for mkpasswd.
 2. Create a whois-common package to share the po files.
 3. Don't split the packages and sync from Debian (and reopen bug 284416).

The easiest solution seem to be 3: mkpasswd would be part of whois again, we'd be in sync with Debian.

Solutions 1 and 2 would require an bigger delta with Debian. Instead the package split should be suggested in Debian.

Changed in whois (Ubuntu):
status: Confirmed → Won't Fix
Changed in server-papercuts:
status: Confirmed → Won't Fix
Revision history for this message
Steve Beattie (sbeattie) wrote :

Unfortunately, we can't just sync from debian because we published a separate mkpasswd package during the lucid cycle and thus people upgrading will see the failure in bug 632791.

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.