Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know the basics of creating a Debian package. But I wish to create one that marks other packages for removal as it is installed.

Under the Debian folder of the package at the control file, I tried to put the packages that I desire to be removed under the Conflicts or Breaks field, but with no success. apt-get refuses to install my package and does not remove the packages either under conflicts or breaks...

What I'm missing? Couldn't find the appropriate directions under the Debian manuals...

share|improve this question
I haven't created a Debian package before, but you should read this (7.3 and 7.4). From what I've gathered, it seems that Conflicts and Breaks are intended to make apt-get refuse to install, unless that other package is removed or "deconfigured". I think aptitude's behavior to this might be different though; I think it could try to remove those Conflicts. – Alaa Ali Sep 7 '13 at 8:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.