A random person on lemmy. Banner art from Deemo switch version

Alt lemmy @[email protected]

Alt kbin: @[email protected]

FMHY (archive): @[email protected]

  • 8 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: July 20th, 2023

help-circle
















  • “origin=cloudsmith/caddy/stable”;

    Unable to parse Unattended-Upgrade::Allowed-Origins. An error occurred: not enough values to unpack (expected 2, got 1)

    
    // Automatically upgrade packages from these (origin:archive) pairs
    //
    // Note that in Ubuntu security updates may pull in new dependencies
    // from non-security sources (e.g. chromium). By allowing the release
    // pocket these get automatically pulled in.
    Unattended-Upgrade::Allowed-Origins {
            "${distro_id}:${distro_codename}";
            "${distro_id}:${distro_codename}-security";
            // Extended Security Maintenance; doesn't necessarily exist for
            // every release and this system may not have it installed, but if
            // available, the policy for updates is such that unattended-upgrades
            // should also install from here by default.
            "${distro_id}ESMApps:${distro_codename}-apps-security";
            "${distro_id}ESM:${distro_codename}-infra-security";
            "${distro_id}:${distro_codename}-updates";
    //      "${distro_id}:${distro_codename}-proposed";
    //      "${distro_id}:${distro_codename}-backports";
            "origin=cloudsmith/caddy/stable";
    };

  • Firstly thank you so much for explaing this for me.

    “origin=Zabbix,codename=${distro_codename}”; //Zabbix Agent repository

    I tried using this as a template for caddy

     500 https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version/main arm64 Packages
         release o=cloudsmith/caddy/stable,a=any-version,n=any-version,l=source=none,c=main,b=arm64
         origin dl.cloudsmith.io
    

    I assume origin is:

    o=cloudsmith/caddy/stable

    When adding this rule

    "origin=cloudsmith/caddy/stable,codename=${distro_codename}"; //Caddy repository

    I get this error

    Unable to parse Unattended-Upgrade::Allowed-Origins.
    An error occurred: not enough values to unpack (expected 2, got 1)
    Traceback (most recent call last):
    

    https://pastebin.com/raw/7gtkRw7c

    When changing the syntax to:

    "cloudsmith/caddy/stable:${distro_codename}"; // Caddy

    The error goes away.

    Any ideas?