configuration file //.config/debconf-kde-helperrc not writable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
New
|
Undecided
|
Unassigned | ||
aptdaemon (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm using "aptdcon --refresh" and "aptdcon --full-upgrade" to update my system.
I'm getting the following informational message on every upgrade (twice on start and twice on end):
debconf-kde-helper - KDialog
Configuration file "//.config/
Please contact your system administrator.
This may be the same bug as #1851573, but I'm not sure.
Also, the bug may be in debconf-kde-helper instead of aptdaemon, but again, I'm not sure.
$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
$ env LANG=C apt-cache policy aptdaemon
aptdaemon:
Installed: 1.1.1+bzr982-
Candidate: 1.1.1+bzr982-
Version table:
*** 1.1.1+bzr982-
500 http://
500 http://
100 /var/lib/
1.
500 http://
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: aptdaemon 1.1.1+bzr982-
ProcVersionSign
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Mon Jul 13 22:22:44 2020
InstallationDate: Installed on 2011-11-29 (3149 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
PackageArchitec
SourcePackage: aptdaemon
UpgradeStatus: Upgraded to focal on 2020-05-16 (58 days ago)
modified.
mtime.conffile.
I don't get this message when using pkcon, so I figured it might be interesting to compare the different environments debconf-kde-helper runs in when invoked by each of those.
When invoked by pkcon, it has access to a whole load of environment variables. DB_OVERRIDE= Pipe{infd: none outfd:none} RULES=org. kde.debconf. debug=false DB_REPLACE= configdb
When invoked by aptdcon, it only sees the following:
DEBCONF_
DISPLAY=:0
DEBIAN_FRONTEND=kde
QT_LOGGING_
PWD=/home/niklas
DEBCONF_
I'm a bit confused on how this came to be as DebconfProxy. _get_debconf_ env copies os.environ first. But I couldn't figure out where this function was really called from.
So, one possible solution would be to pass at least $HOME and $XDG_CONFIG_HOME. (I'm not exactly sure how kconfig determines where to place the config file, but I guess it's these two.)
Or just pass the whole environment.