Package: freedombox
Version: 23.6.2
Severity: important
X-Debbugs-Cc: jvalle...@mailbox.org

I am running FreedomBox on Debian bookworm. I have enabled the
"Frequent Feature Updates" option, which should automatically upgrade
to newer version of freedombox in bookworm-backports. However, this is
not working, freedombox stays at the version in bookworm.

$ apt policy freedombox
freedombox:
  Installed: 23.6.2
  Candidate: 23.6.2
  Version table:
     23.14~bpo12+1 100
        100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
 *** 23.6.2 500
        500 http://mirrors.linode.com/debian bookworm/main amd64 Packages
        100 /var/lib/dpkg/status


This is due to 2 configuration files that are no longer correct:

# cat /etc/apt/preferences.d/50freedombox4.pref 
Explanation: This file is managed by FreedomBox, do not edit.
Explanation: Allow carefully selected updates to 'freedombox' from backports.
Package: src:freedombox
Pin: release a=bookworm-backports
Pin-Priority: 500


# cat /etc/apt/apt.conf.d/50unattended-upgrades 
...
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).
        // Software will be the latest available for the named release,
        // but the Debian release itself will not be automatically upgraded.
//      "origin=Debian,codename=${distro_codename}-updates";
//      "origin=Debian,codename=${distro_codename}-proposed-updates";
        "origin=Debian,codename=${distro_codename},label=Debian";
        "origin=Debian,codename=${distro_codename},label=Debian-Security";
        
"origin=Debian,codename=${distro_codename}-security,label=Debian-Security";

        // Archive or Suite based matching:
        // Note that this will silently match a different release after
        // migration to the specified archive (e.g. testing becomes the
        // new stable).
//      "o=Debian,a=stable";
//      "o=Debian,a=stable-updates";
//      "o=Debian,a=proposed-updates";
//      "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports";
};
...


In both cases, we need to change "a=" to "n=" to use the
bookworm-backports codename. Previously, in bullseye-backporst, the
Suite and Codename were the same, but for bookworm-backports they are
different.

This issue was already fixed in freedombox 23.14 in unstable/testing
and 23.14~bpo12+1 in bookworm-backports. Only freedombox 23.6.2 in
bookworm is still affected by this issue.

Fix for unstable:
https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2409

Pending fix for stable:
https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2410


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freedombox depends on:
ii  adduser                       3.134
ii  apache2                       2.4.57-2
ii  augeas-tools                  1.14.0-1
ii  avahi-daemon                  0.8-10
ii  avahi-utils                   0.8-10
ii  batctl                        2023.0-1
ii  bind9-dnsutils [dnsutils]     1:9.18.16-1~deb12u1
ii  borgbackup                    1.2.4-1
ii  certbot                       2.1.0-4
ii  cockpit                       287-1
ii  curl                          7.88.1-10+deb12u1
ii  debconf [debconf-2.0]         1.5.82
ii  debsecan                      0.4.20.1
ii  dnsutils                      1:9.18.16-1~deb12u1
ii  e2fsprogs                     1.47.0-2
ii  fail2ban                      1.0.2-2
ii  firewalld                     1.3.0-1
ii  flite                         2.2-5
ii  fonts-fork-awesome            1.2.0+ds1-1
ii  fonts-lato                    2.0-2.1
ii  fuse3                         3.14.0-4
ii  gdisk                         1.0.9-2.1
ii  gettext                       0.21-12
ii  gir1.2-glib-2.0               1.74.0-3
ii  gir1.2-nm-1.0                 1.42.4-1
ii  gir1.2-udisks-2.0             2.9.4-4
ii  gpg                           2.2.40-1.1
ii  javascript-common             11+nmu1
ii  ldap-utils                    2.5.13+dfsg-5
ii  ldapscripts                   2.0.8-2
ii  libapache2-mod-auth-pubtkt    0.13-1+b1
ii  libglib2.0-bin                2.74.6-2
ii  libjs-bootstrap4              4.6.1+dfsg1-4
ii  libjs-jquery                  3.6.1+dfsg+~3.5.14-1
ii  libjs-modernizr               2.6.2+ds1-5
ii  libnss-ldapd                  0.9.12-4
ii  libpam-ldapd                  0.9.12-4
ii  lsof                          4.95.0-1
ii  needrestart                   3.6-4
ii  netcat-openbsd                1.219-1
ii  network-manager               1.42.4-1
ii  nftables                      1.0.6-2+deb12u1
ii  nscd                          2.36-9+deb12u1
ii  nslcd                         0.9.12-4
ii  openssh-server                1:9.2p1-2
ii  openssl                       3.0.9-1
ii  parted                        3.5-3
ii  php-fpm                       2:8.2+93
ii  php8.2-fpm [php-fpm]          8.2.7-1~deb12u1
ii  popularity-contest            1.76
ii  ppp                           2.4.9-1+1.1+b1
ii  pppoe                         3.15-2
ii  python3                       3.11.2-1+b1
ii  python3-apt                   2.6.0
ii  python3-argon2                21.1.0-2
ii  python3-augeas                0.5.0-1.1
ii  python3-bootstrapform         3.4-7
ii  python3-cherrypy3             18.8.0-2
ii  python3-configobj             5.0.8-1
ii  python3-dbus                  1.3.2-4+b1
ii  python3-django                3:3.2.19-1+deb12u1
ii  python3-django-axes           5.39.0-2
ii  python3-django-bootstrapform  3.4-7
ii  python3-django-captcha        0.5.17-1
ii  python3-django-stronghold     0.4.0+debian-1
ii  python3-gi                    3.42.2-3+b1
ii  python3-markupsafe            2.1.2-1+b1
ii  python3-openssl               23.0.0-1
ii  python3-pampy                 2.0.2-1
ii  python3-paramiko              2.12.0-2
ii  python3-psutil                5.9.4-1+b1
ii  python3-requests              2.28.1+dfsg-1
ii  python3-ruamel.yaml           0.17.21-1
ii  python3-systemd               235-1+b2
ii  python3-yaml                  6.0-3+b2
ii  samba-common-bin              2:4.17.9+dfsg-0+deb12u3
ii  slapd                         2.5.13+dfsg-5
ii  snapper                       0.10.4-1
ii  sshfs                         3.7.3-1.1
ii  ssl-cert                      1.1.2
ii  sudo                          1.9.13p3-1+deb12u1
ii  systemd-timesyncd             252.12-1~deb12u1
ii  tdb-tools                     1.4.8-2
ii  udisks2                       2.9.4-4
ii  unattended-upgrades           2.9.1+nmu3
ii  uwsgi                         2.0.21-5.1
ii  uwsgi-plugin-python3          2.0.21-5.1
ii  wget                          1.21.3-1+b2
ii  zram-tools                    0.3.3.1-1.1

Versions of packages freedombox recommends:
ii  bridge-utils        1.7.1-1
ii  bzip2               1.0.8-5+b1
ii  devio               1.2-1.3
ii  dosfstools          4.2-1
ii  file                1:5.44-3
ii  firmware-ath9k-htc  1.4.0-108-gd856466+dfsg1-1.3
ii  freedombox-doc-en   23.6.2
ii  freedombox-doc-es   23.6.2
ii  haveged             1.9.14-1+b1
ii  htop                3.2.2-2
ii  iftop               1.0~pre4-9
ii  iputils-ping        3:20221126-1
ii  iw                  5.19-1
ii  libnss-gw-name      0.3-5
ii  libnss-mdns         0.15.1-3
ii  libnss-myhostname   252.12-1~deb12u1
ii  libpam-abl          0.6.0-6
ii  locales             2.36-9+deb12u1
ii  locales-all         2.36-9+deb12u1
ii  openssh-client      1:9.2p1-2
ii  pciutils            1:3.9.0-4
ii  powermgmt-base      1.37
ii  psmisc              23.6-1
ii  resolvconf          1.91+nmu1
ii  rfkill              2.38.1-5+b1
ii  tcpdump             4.99.3-1
ii  vim-tiny            2:9.0.1378-2
ii  whois               5.5.17
ii  zile                2.6.2-2+b1

freedombox suggests no packages.

-- Configuration Files:
/etc/apache2/conf-available/freedombox-tls-site-macro.conf changed [not 
included]
/etc/sudoers.d/plinth [Errno 13] Permission denied: '/etc/sudoers.d/plinth'

-- debconf information excluded

Reply via email to