Rowland penny
2019-Jul-18 15:28 UTC
[Samba] Ubuntu Bionic samba 4.9.11 and 4.10.6 are now available. (amd64/i386)
On 18/07/2019 16:08, Joachim Lindenberg wrote:> Hi Rowland, > does not match the syntax... > > root at boa:/etc/apt/sources.list.d# unattended-upgrade --dry-run -v > Unable to parse Unattended-Upgrade::Allowed-Origins. > Traceback (most recent call last): > File "/usr/bin/unattended-upgrade", line 2104, in <module> > sys.exit(main(options)) > File "/usr/bin/unattended-upgrade", line 1667, in main > allowed_origins = get_allowed_origins() > File "/usr/bin/unattended-upgrade", line 510, in get_allowed_origins > allowed_origins = get_allowed_origins_legacy() > File "/usr/bin/unattended-upgrade", line 489, in get_allowed_origins_legacy > (distro_id, distro_codename) = s.split() > ValueError: not enough values to unpack (expected 2, got 1) >I use Devuan and it works for myself: rowland at devstation:~$ sudo unattended-upgrade --dry-run -v Initial blacklisted packages: Initial whitelisted packages: Starting unattended upgrades script Allowed origins are: ['o=Devuan,n=ascii', 'o=Devuan,n=ascii-updates', 'o=Devuan,n=ascii-proposed-updates', 'o=Devuan,n=ascii,l=Devuan-Security', 'o=AptVanBelle,n=stretch-samba48,l=apt.van-belle.nl', 'a=*-security'] No packages found that can be upgraded unattended and no pending auto-removals The relevant portion of /etc/apt/apt.conf.d/50unattended-upgrades is: Unattended-Upgrade::Origins-Pattern { ??????? // Codename based matching: ??????? // This will follow the migration of a release through different ??????? // archives (e.g. from testing to stable and later oldstable). ????? "o=Devuan,n=ascii"; ????? "o=Devuan,n=ascii-updates"; ????? "o=Devuan,n=ascii-proposed-updates"; ????? "o=Devuan,n=ascii,l=Devuan-Security"; ????? "o=AptVanBelle,n=stretch-samba48,l=apt.van-belle.nl"; So if it works on Devuan, it should work on Debian Rowland
Joachim Lindenberg
2019-Jul-18 15:58 UTC
[Samba] Ubuntu Bionic samba 4.9.11 and 4.10.6 are now available. (amd64/i386)
Hi Rowland,
thanks. The issue was that the section
Unattended-Upgrade::Origins-Pattern {
// Codename based matching:
// This will follow the migration of a release through different
// archives (e.g. from testing to stable and later oldstable).
"o=AptVanBelle,n=bionic-samba410,l=apt.van-belle.nl";
}
did not exist at all in Ubuntu?s /etc/apt/apt.conf.d/50unattended-upgrades and
in the wrong section it does not work. After adding the section above it
upgraded fine ?
Thanks for your support!
Joachim
-----Urspr?ngliche Nachricht-----
Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland penny
via samba
Gesendet: Thursday, 18 July 2019 17:29
An: sambalist <samba at lists.samba.org>
Betreff: Re: [Samba] Ubuntu Bionic samba 4.9.11 and 4.10.6 are now available.
(amd64/i386)
On 18/07/2019 16:08, Joachim Lindenberg wrote:> Hi Rowland,
> does not match the syntax...
>
> root at boa:/etc/apt/sources.list.d# unattended-upgrade --dry-run -v
> Unable to parse Unattended-Upgrade::Allowed-Origins.
> Traceback (most recent call last):
> File "/usr/bin/unattended-upgrade", line 2104, in
<module>
> sys.exit(main(options))
> File "/usr/bin/unattended-upgrade", line 1667, in main
> allowed_origins = get_allowed_origins()
> File "/usr/bin/unattended-upgrade", line 510, in
get_allowed_origins
> allowed_origins = get_allowed_origins_legacy()
> File "/usr/bin/unattended-upgrade", line 489, in
get_allowed_origins_legacy
> (distro_id, distro_codename) = s.split()
> ValueError: not enough values to unpack (expected 2, got 1)
>
I use Devuan and it works for myself:
rowland at devstation:~$ sudo unattended-upgrade --dry-run -v Initial
blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Devuan,n=ascii',
'o=Devuan,n=ascii-updates', 'o=Devuan,n=ascii-proposed-updates',
'o=Devuan,n=ascii,l=Devuan-Security',
'o=AptVanBelle,n=stretch-samba48,l=apt.van-belle.nl',
'a=*-security'] No packages found that can be upgraded unattended and no
pending auto-removals
The relevant portion of /etc/apt/apt.conf.d/50unattended-upgrades is:
Unattended-Upgrade::Origins-Pattern {
// Codename based matching:
// This will follow the migration of a release through different
// archives (e.g. from testing to stable and later oldstable).
"o=Devuan,n=ascii";
"o=Devuan,n=ascii-updates";
"o=Devuan,n=ascii-proposed-updates";
"o=Devuan,n=ascii,l=Devuan-Security";
"o=AptVanBelle,n=stretch-samba48,l=apt.van-belle.nl";
So if it works on Devuan, it should work on Debian
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Seemingly Similar Threads
- Ubuntu Bionic samba 4.9.11 and 4.10.6 are now available. (amd64/i386)
- Ubuntu Bionic samba 4.9.11 and 4.10.6 are now available. (amd64/i386)
- Ubuntu bionic 18.04 compatible samba 4.9.2 packages amd64 only now available.
- Debian Stretch Samba 4.9.11 ( updated) and 4.10.6 (new) amd64/i386 Available now.
- Debian Stretch 4.9.3 packages now available (amd64/i386)