On Sat, 28 Feb 2015 10:34:46 +0300 Nikolay Shaplov <[email protected]> wrote:
> Hi!
>
> Can you please tell what is the current status of this bug now?
>
> Are there any ways to prevent automatic upgrade to jessie when jessie is
> released?
>
> What unattended-upgrades will really do if jessie is not listed in
> /etc/apt/sources.list ? Just stops upgrading or what?
>
> I'm little bit worried about this jessie issue...
>
> Can you please fix this bug, before it's too late...
>
Hello,
There is a TEMPORARY solution. 'Temporary' because the update of Wheezy is
done, but Wheezy is seen as "oldstable", so for the few weeks is not a problem,
but if in my job you keep many versions active, it's a big problem.
First, you must have '/etc/apt/apt.conf' :
~~~~
// Definition de la distribution.
APT::Default-Release "wheezy";
// consider Recommends, Suggests as important dependencies that should
// be installed by default
APT::Install-Recommends "true";
APT::Get::Assume-Yes "true";
~~~~
And '/etc/apt/apt.conf.d/50unattended-upgrades' with
'Unattended-Upgrade::Origins-Pattern' :
~~~~
Unattended-Upgrade::Origins-Pattern{
"origin=Debian";
"origin=Debian,label=Debian-Security";
"o=Debian,a=proposed-updates";
};
~~~~
With this setup, the command 'unattended-upgrade --debug --dry-run' give :
~~~
Paquets initialement sur la liste noire : kernel* linux-image* linux-server*
Démarrage du script de mise à niveau automatique
Les origines permises sont : ['origin=Debian',
'origin=Debian,label=Debian-Security', 'o=Debian,a=updates',
'o=Debian,a=proposed-updates']
Checking: apache2 (["<Origin component:'main' archive:'oldstable'
origin:'Debian' label:'Debian-Security' site:'security.debian.org'
isTrusted:True>"])
Checking: apache2-mpm-worker (["<Origin component:'main' archive:'oldstable'
origin:'Debian' label:'Debian-Security' site:'security.debian.org'
isTrusted:True>"])
...
~~~
The update is done, but the archive is forced at 'oldstable'.