Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Resolve conflicting values in Debian package

When building packages you sometime run into issues, like the one below

dpkg-gencontrol: error: source package has two conflicting values - foo and bar

One problem could be conflict between package name and the directory of the package.

Why do you call the directory bar if the source package is foo?

Ideally, these three should match:

   - The name of the directory
   - The name of the source package in the control file
   - The name of the source package in the debian changelog