#201 Current debian packages do not allow the simultaneous installation of two releases

Debian Packages

Sometimes for (regression tests for instance) it is beneficial to install more than one release at once. The directory structure that the Debian packages install into (/opt/foam/foam-extend-3.0) but the package names do not: the package is known as "foam-extend" version "3.0". So Installation of a package foam-extend-3.1 will be seen as an upgrade and remove that installation

I'd suggest to modify the naming-scheme appropriately for later releases (changing the package name now would confuse people)


  • Dominik Christ

    Dominik Christ - 2014-01-15

    Hi Bernhard, I am not sure about this.

    Having the package name in "Package:" and version in "Version:" is the standard. There is "gcc-4.6-base", "gcc-4.4-base", "gcc-4.7-base", but these are mutually exclusive through dependency settings.

    According to http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source such a name would be allowed. According to documentation, lintian only checks for allowed character, so it would not complain about package name "foam-extend-3.0"

  • Bernhard Gschaider

    I beg to differ. If I install the gcc-4.5-package on precise the default gcc-4.6 stays on the machine (in fact gcc is "only" a symbolic link to gcc-4.6 - reasonable. The default compiler of a distro should not change from the one that wasd used to compile the kernel). For the compilers the package name is "gcc-4.6" and the version number is 4.6.3-1ubuntu (obviously fixes against the original 4.6.3 will be versioned 4.6.3-2ubuntu)

    A similar situation would be desirable for foam-extend: package name foam-extend-3.0 with version 3.0-1. If the package (but not the distro) is modified (for instance with bug 200) a new package with version 3.0-2 will be rolled. When a new release 3.1 of foam-extend is available a new foam-extend-3.1 with version 3.1-1 will happily install along with it


Log in to post a comment.