Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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 –  Pilot 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.