Package: debconf
Version: 1.5.91
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Attempting to reconfigure a package via dpkg-set-selections, followed by
dpkg-reconfigure, fails with a strange error, and reverts the selections made.

    █[hp11][dotfiles][0]$ sudo debconf-set-selections <<EOF
    # Size of AFS cache in kB:
    openafs-client  openafs-client/cachesize        string  1000
    EOF  

    █[hp11][dotfiles][0]$ debconf-get-selections openafs-client | grep cache
    debconf: DbDriver "passwords" warning: could not open 
/var/cache/debconf/passwords.dat: Permission denied
    # Size of AFS cache in kB:
    openafs-client  openafs-client/cachesize        string   1000

    █[hp11][dotfiles][0]$ sudo DEBIAN_FRONTEND=noninteractive dpkg-reconfigure 
openafs-client
    Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.

    █[hp11][dotfiles][0]$ debconf-get-selections openafs-client | grep cache
    debconf: DbDriver "passwords" warning: could not open 
/var/cache/debconf/passwords.dat: Permission denied
    # Size of AFS cache in kB:
    openafs-client  openafs-client/cachesize        string  20971520
    █[hp11][dotfiles][0]$ 
    

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

Kernel: Linux 6.12.63+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
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

debconf depends on no packages.

Versions of packages debconf recommends:
ii  apt           3.0.3
ii  apt-utils     3.0.3
ii  debconf-i18n  1.5.91

Versions of packages debconf suggests:
pn  debconf-doc                <none>
pn  debconf-kde-helper         <none>
ii  debconf-utils              1.5.91
ii  libgtk3-perl               0.038-3
pn  libnet-ldap-perl           <none>
pn  libterm-readline-gnu-perl  <none>
ii  perl                       5.40.1-6
ii  whiptail                   0.52.25-1

-- debconf information:
  debconf/priority: high
  debconf-apt-progress/info:
  debconf-apt-progress/media-change:
  debconf/frontend: Dialog
  debconf-apt-progress/title:
  debconf-apt-progress/preparing:

Reply via email to