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 have created debian package XYZ.

It has control file which look's like

Package: XYZ
Version: 1.0
Section: kernel
Priority: optional
Architecture: i386     
Installed-Size: 1024

I just have a question ,

  1. When I build this package on some machine it say's dpkg-deb: building package XYZ:i386. But when I build same package on some other machine It says dpkg-deb: building package XYZ. Why this difference?

  2. On deinstallation I am facing same issue the package which was build with name XYZ:i386 requires dpkg -r XYZ:i386 to uninstall it .why?

Cant we just say dpkg -r XYZ?

share|improve this question

dpkg-deb: building package XYZ:i386 means you are building it in 32 bit Ubuntu machine.

dpkg-deb: building package XYZ: means you are building it in a 64 bit Ubuntu machine.

dpkg -r <package-name>

 The above command will remove the package-name.deb file.
share|improve this answer
yes,you are correct. – Avinash Raj Dec 13 '13 at 9:34
you are asking how to remove xyz:i386 package with dpkg -r xyz – Avinash Raj Dec 13 '13 at 9:38
let us continue this discussion in chat – Dipak Ingole Dec 13 '13 at 9:39

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.