could not open /var/cache/debconf/passwords.dat: Permission denied

Bug #1752526 reported by dino99 on 2018-03-01
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Undecided
Unassigned

Bug Description

Due to strange terminal output after latest debconf (1.5.66) upgrade ( lp:1752394 ) i have installed debconf-utils to run 'debconf-get-selections' and 'debconf-set-selections', but:

oem@ubuntu:~$ debconf-set-selections
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied

oem@ubuntu:~$ ls -l /var/cache/debconf/passwords.dat
-rw------- 1 root root 0 Dec 1 18:35 /var/cache/debconf/passwords.dat

So the configuration is badly set. This also have been reported some times ago (precise) lp:959364
but nobody care on the canonical side.

Needs to run 'sudo dpkg-reconfigure debconf' to set the minimal required.
https://github.com/phusion/baseimage-docker/issues/58

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: debconf-utils 1.5.66
ProcVersionSignature: Ubuntu 4.15.0-11.12-generic 4.15.5
Uname: Linux 4.15.0-11-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Mar 1 10:05:12 2018
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: debconf
UpgradeStatus: No upgrade log present (probably fresh install)

dino99 (9d9) wrote :
description: updated
dino99 (9d9) on 2018-03-01
description: updated
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debconf (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers