had a problem setting up dh_make... how to fix?

Asked by Larry Jordan

     Hi. Downloaded/installed dh-make package after reading the latest Ubuntu User magazine and didn't realize I needed email address set up as well as certificate(s)? Anyway, tried to set it up a local mailbox only, but when I tried to use it to create a debian package it failed. It listed several errors that seemed to relate to email & certificates. Is there a simple way to reconfigure? Also, if more info is needed, is there a log file that would provide specific info somewhere?
     I tried running dpkg to install it, and dpkg didn't accept it:

(Reading database ... 218839 files and directories currently installed.)
Unpacking libdmtx (from libdmtx_0.7.0-1_i386.deb) ...
dpkg: error processing libdmtx_0.7.0-1_i386.deb (--install):
 trying to overwrite `/usr/bin/dmtxquery', which is also in package libdmtx-utils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 libdmtx_0.7.0-1_i386.deb

     I would really like to be able to compile debian packages, both for my own archives and to upload. This one is a reasonable package to start, since the on-line updates only have version 0.6 of libdmtx. Can someone advise?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo dpkg --force-all -i libdmtx_0.7.0-1_i386.deb

you need to use force the file overwrite as there is a file conflict

Revision history for this message
Larry Jordan (larryjor) said :
#2

    Ok, that installed my new debian package; guess my question is more on what I am missing out on since I apparently didn't set up dh_make properly in the first place. I have now figured out that I can use Evolution for my e-mail (which is a Windows Live account) - so how do I reconfigure dh_make so it 'knows' that? And what do I need for certificates or whatever it wanted? How do I get one?
    Guess I could use "sudo apt-get remove dh_make" (or the package it was in) and then start over, this time doing it correctly.... but still not sure about what it wanted after it asked about my email setup.
     Also, installing using the --force-all option gives a warning in pretty much every step, which I would like to avoid in the future when I can, especially if it is because I didn't set up dh_make correctly in the first place.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

I suggest you run:

sudo apt-get -f install

Just to make sure everything is square. The force was needed due to a file in the deb already existing in another package and the overwrite is not allowed. You will get this very rarely but use force VERY sparingly or you will break your system

Revision history for this message
Larry Jordan (larryjor) said :
#4

     Yeah, I got that. Have had to use it a couple of times installing drivers for my Brother printer (force-architecture and force-all even), and don't want to use it if I don't have to.
      Seems like I am still not getting answer on what to do to configure dh_make correctly though.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.