Re: apt-get configuration
Sergey Lukin <lukin.s.v@gmail.com> writes:
> Dear All,
> System has around 20 software modules.
> Each module is a Debian package.
> If the module is not present in the system dummy functionality will be called.
> All modules are retrieved from the local Debian repository and installed using
> APT
> The problem is that if somebody types
> $apt-get upgrade or
> $apt-get install moduleX
> This will automatically upgrade the system to the latest version. But this is
> not what is really wanted.
> Is there a way to forbid using only module name without version number ?
> Say if somebody types
> $apt-get install moduleX -- APT shows an error message
> $apt-get install moduleX-001 -- APT installs it.
> Kind regards,
> Sergey Lukin
You can use apt pining:
0 < P <=100
causes a version to be installed only if there is no installed
version of the package
P < 0
prevents the version from being installed
Or do what experimental does and set not automatic in the Release
file.
Hope that helps.
MfG
Goswin
Reply to: