From jpalecek at web.de Tue Jun 11 13:56:15 2019 From: jpalecek at web.de (Jiri Palecek) Date: Tue, 11 Jun 2019 14:56:15 +0200 Subject: [Debconf-devel] Fwd: Packaging problem with debconf In-Reply-To: <95159a62-1b37-f7cd-9798-9dcc2bc5da6a@mytinydc.com> ((Unparsable address -- Missing comma between addresses or badly-formatted address: "dhenry at mytinydc.com_^_")) Message-ID: <87ftogi8ls.fsf@debian> dhenry at mytinydc.com (Damien HENRY - MytinyDC.com) writes: > Hi, Hi, > I ve this code : > > *file /DEBIAN/config* > > # Database > db_input critical matrix/DATABASES || true > db_go > db_get matrix/DATABASES > if [ "$RET"= "Postgresql"]; then You've got an error in your code here. It should be [ "$RET" *space* = *space* "..." ] The first space is missing, which makes "test" not recognize its arguments and probably report an error. Regards Jiri Palecek From jpalecek at web.de Tue Jun 11 15:41:19 2019 From: jpalecek at web.de (Jiri Palecek) Date: Tue, 11 Jun 2019 16:41:19 +0200 Subject: [Debconf-devel] Bug#930370: debconf: Overriding debconf db with file fails with a message "access to disallowed key Filename in restricted hash" Message-ID: <87d0jki3qo.fsf@debian> Package: debconf Version: 1.5.71 Severity: normal Dear Maintainer, while trying to debug some difficulties with unattended package installation, I came accross an interesting problem. While debconf(7) says you can use DEBCONF_DB_OVERRIDE like this: DEBCONF_DB_FALLBACK=File{Filename:/root/config.dat Backup:no} when trying it actually, i got an error message: # LC_MESSAGES=C DEBCONF_DEBUG=developer DEBCONF_DB_OVERRIDE="File{Filename:config2.dat.Lwzkvd}" DEBIAN_FRONTEND=noninteractive dpkg --auto-deconfigure -i ../linux-*_"$DATE"_*.deb ... blah blah... Attempt to access disallowed key 'Filename' in a restricted hash at /usr/share/perl5/Debconf/DbDriver.pm line 35. It does work, though, without the "Filename:" part. What gives? Another problem, and the reason I am actually experimentig with this, is that it actually doesn't work unattended, because it somehow disregards what is in the config file. ie: debconf (developer): <-- FSET linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ seen false debconf (developer): --> 0 false debconf (developer): <-- SUBST linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ modules_base /lib/modules debconf (developer): --> 0 debconf (developer): <-- SUBST linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ package linux-image-4.19.36-bughunt+ debconf (developer): --> 0 debconf (developer): <-- INPUT critical linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ debconf (developer): --> 30 question skipped debconf (developer): <-- GO debconf (developer): --> 0 ok debconf (developer): <-- GET linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ debconf (developer): --> 0 true I need false on the last line, but still get true (the default). However, the config2.dat.... contains Name: linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ Template: linux-image-4.19.36-bughunt+/preinst/overwriting-modules-4.19.36-bughunt+ Value: false Maybe you could help me with that. Regards Jiri Palecek -- System Information: Debian Release: 10.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 4.19.36-bughunt+ (SMP w/2 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2), LANGUAGE=cs_CZ (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages debconf depends on: ii perl-base 5.28.1-6 Versions of packages debconf recommends: ii apt-utils 1.8.2 ii debconf-i18n 1.5.71 Versions of packages debconf suggests: ii debconf-doc 1.5.71 pn debconf-kde-helper ii debconf-utils 1.5.71 ii dialog 1.3-20190211-1 pn libgtk3-perl pn libnet-ldap-perl ii libterm-readline-gnu-perl 1.36-1 ii perl 5.28.1-6 ii whiptail 0.52.20-4 -- debconf information: debconf-apt-progress/preparing: debconf-apt-progress/media-change: debconf-apt-progress/info: * debconf/frontend: Dialog debconf-apt-progress/title: * debconf/priority: low From jpalecek at web.de Tue Jun 11 19:02:34 2019 From: jpalecek at web.de (Jiri Palecek) Date: Tue, 11 Jun 2019 20:02:34 +0200 Subject: [Debconf-devel] Bug#920567: bash: dpkg-reconfigure: command not found References: <154855875276.2548.11788874521899514965.reportbug@laven> Message-ID: <376d352b-979a-b774-77fd-bdfac616a2dd@web.de> On Sun, 27 Jan 2019 09:12:32 +0600 Thulium Equasman wrote: > Package: python3-reportbug > Version: 7.5.1 > Severity: normal > Tags: d-i > > Hi, > I got the message "bash: dpkg-reconfigure: command not found > " when I ran `dpkg-reconfigure fontconfig-config`. I ran this command as root. > I then ran `echo $PATH` and the following appeared > "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games". I searched for How did you get your root shell? If that was by running "su", what you describe is actually expected. You should use "su -". See https://unix.stackexchange.com/questions/460478/debian-su-and-su-path-differences for more information about that. Regards     Jiri Palecek -------------- next part -------------- An HTML attachment was scrubbed... URL: From jidanni at jidanni.org Fri Jun 21 19:08:20 2019 From: jidanni at jidanni.org (=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson) Date: Sat, 22 Jun 2019 02:08:20 +0800 Subject: [Debconf-devel] Bug#930878: fix_db.pl should insist on being run by root Message-ID: <87h88ilskr.2.fsf@jidanni.org> Package: debconf Version: 1.5.72 Severity: wishlist File: /usr/share/debconf/fix_db.pl fix_db.pl really should have a check for being root at the top, else tons of wrong error messages are produced. $ /usr/share/debconf/fix_db.pl 2>&1 | wc 21 266 2854 From info at wex.publicvm.com Tue Jun 25 16:56:22 2019 From: info at wex.publicvm.com (Austin S. M.) Date: 25 Jun 2019 16:56:22 +0100 Subject: [Debconf-devel] Did you get this one? Message-ID: <201906251557.x5PFTrmb022154@wex.publicvm.com> An HTML attachment was scrubbed... URL: From yamaplos at gmail.com Sun Jun 30 01:08:02 2019 From: yamaplos at gmail.com (Yamandu Ploskonka) Date: Sat, 29 Jun 2019 19:08:02 -0500 Subject: [Debconf-devel] Bug#670654: couldn't recognize image format debian-logo.png References: <20120427164557.8875.42963.reportbug@rancor-netbook> Message-ID: reproduced bug multiple times while running Update Manager for LinuxCNC (wheezy) nevertheless, the update process ended with success (though it was a real PIB to set the sources for the update to work) -------------- next part -------------- An HTML attachment was scrubbed... URL: