On Sat, 28 Feb 2015 10:34:46 +0300 Nikolay Shaplov <dh...@nataraj.su> 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...
> 

Hi,

Since Jessie, I have no automatic update too. Could you help us to maintain 
Wheezy whith an automatic way ?

My configuration :

> apt-cache policy unattended-upgrades
unattended-upgrades:
  Installé : 0.79.5+wheezy2
  Candidat : 0.79.5+wheezy2
 Table de version :
 *** 0.79.5+wheezy2 0
        990 http://security.debian.org/ wheezy/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.79.5+wheezy1 0
        990 http://ftp2.fr.debian.org/debian/ wheezy/main amd64 Packages


> cat apt.conf
// 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";


>head /etc/apt/apt.conf.d/50unattended-upgrades
// Automatically upgrade packages from these origin patterns
Unattended-Upgrade::Origins-Pattern {
        "o=${distro_id},n=${distro_codename}"8;
};


Whith this configuration, I have always :
> unattended-upgrade --debug --dry-run
Initial blacklisted packages: kernel* linux-image* linux-server*
Starting unattended upgrades script
Allowed origins are: ['o=Debian,n=wheezy']
Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1016, in <module>
    main(options)
  File "/usr/bin/unattended-upgrade", line 798, in main
    allowed_origins=allowed_origins)
  File "/usr/bin/unattended-upgrade", line 75, in __init__
    self.adjust_candidate_versions()
  File "/usr/bin/unattended-upgrade", line 92, in adjust_candidate_versions
    if is_allowed_origin(pkg.candidate, self.allowed_origins):
  File "/usr/bin/unattended-upgrade", line 364, in is_allowed_origin
    if match_whitelist_string(allowed, origin):
  File "/usr/bin/unattended-upgrade", line 272, in match_whitelist_string
    what, token))
__main__.UnknownMatcherError: Unknown whitelist entry for macher 'n' (token 
'n=wheezy')


How to solve this problem or to find an other solution to update Wheezy ?

Thanks for your help.

Randy11

Reply via email to