[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sheflug] Ubuntu/Debian (was Re: Apache,shtml and php config. problem)
Dean Sas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
[snip]
>>
>> You can use /etc/apt/preferences file to pin any package you need to
>> keep at a specific version. I have no clue whether you can still do
>> that under Ubuntu's auto-update routine.
>>
>
> update-manager uses apt under the hood, so it still respects package
> pinning for updates. Using the -d switch to upgrade distribution from
> say 5.10 to 6.06 presumably respects this, but I'm not positive.
>
> dsas
>
> - --
From my reading of the apt-get man pages I am unsure whether anything
but the dist-upgrade option respects /etc/apt/preferences and I always
thought that dist-upgrade was for upgrading the distro e.g. from stable
to unstable but the man pages don't declare that either - they say it's
for going up to new versions of packages - but by this do they mean
upgrading to new major versions e.g. v1.x to v2.x and that the update
upgrade routine will upgrade between minor versions i.e. 1.xx to 1.yy
where xx < yy.
I suspect the preferences data is respected. It would be rather
annoying if you had to stick to one version of, say, gcc and had that
pinned only for it to be ignored.
Questions for #debian I think.
Regards
L.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.