Your message dated Mon, 08 Jul 2024 12:35:07 +0000
with message-id <[email protected]>
and subject line Bug#1043465: fixed in debconf 1.5.87
has caused the Debian Bug report #1043465,
regarding dpkg-preconfigure: produces errors when run from a non-existing
directory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1043465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043465
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt
Version: 2.6.1
Severity: normal
Dear Maintainer,
It doesn't matter which package you try to install, I'm using 'hello' as an
example of a very simple package with no dependencies.
If you try to run an `apt install` command while you are in a directory that
has been deleted, you will get error messages.
Example command:
$ mkdir /tmp/hello; cd /tmp/hello; rmdir /tmp/hello; sudo apt install hello
You get an output that includes these lines:
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
cannot fetch initial working directory: No such file or directory at
/usr/sbin/dpkg-preconfigure line 73.
cannot fetch initial working directory: No such file or directory at
/usr/sbin/dpkg-preconfigure line 159.
The package installs successfully, but the messages are still not something the
user should see.
I discovered this when I wanted to install some package, and I grabbed the
nearest terminal window I had open without realizing the current working
directory in that terminal has already been deleted from a different terminal
window.
-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-10-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 apt depends on:
ii adduser 3.134
ii debian-archive-keyring 2023.3
ii gpgv 2.2.40-1.1
ii libapt-pkg6.0 2.6.1
ii libc6 2.36-9+deb12u1
ii libgcc-s1 12.2.0-14
ii libgnutls30 3.7.9-2
ii libseccomp2 2.5.4-1+b3
ii libstdc++6 12.2.0-14
ii libsystemd0 252.12-1~deb12u1
Versions of packages apt recommends:
ii ca-certificates 20230311
Versions of packages apt suggests:
pn apt-doc <none>
pn aptitude | synaptic | wajig <none>
ii dpkg-dev 1.21.22
ii gnupg 2.2.40-1.1
pn powermgmt-base <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: debconf
Source-Version: 1.5.87
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debconf, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated debconf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 08 Jul 2024 13:12:50 +0100
Source: debconf
Architecture: source
Version: 1.5.87
Distribution: unstable
Urgency: medium
Maintainer: Debconf Developers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1043465
Changes:
debconf (1.5.87) unstable; urgency=medium
.
* dpkg-preconfigure: Change directory to /, to avoid problems if the
current working directory does not exist (closes: #1043465).
* Apply X-Style: black.
Checksums-Sha1:
8794ced863e9f4cd14876d44dfee3a44cf2bf90c 2035 debconf_1.5.87.dsc
c5bde7484fa5ac75155815e9dd3a9991d0050e82 574232 debconf_1.5.87.tar.xz
Checksums-Sha256:
f46059b530efcb86082ee703225356869727e25babf9c3ad0c4a2e48f87e2977 2035
debconf_1.5.87.dsc
2b813be2ab3904a9194a07f2d97ab8e1d79c47ec2ca2f6a1f238c3cb4ff31c66 574232
debconf_1.5.87.tar.xz
Files:
8a3f48f9740c49c00c8473750d8ed078 2035 admin optional debconf_1.5.87.dsc
ce4242f0725dd69895d769cdb10b9871 574232 admin optional debconf_1.5.87.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmaL1/EACgkQOTWH2X2G
UAvB1xAAsEKW7+m8AKd2zYSY88oTEVepG0nAd9lPE0QBufsm4sPEAumHMs6nBipE
i6TLqxZrzWDmOfzd3lfKYFrNdNmVCa3LO761TmDtwAniwb+NdwxPj9GiU/wLeuye
ZBFdb9Vffssm7SY5PTbNfnZ/ISKawMxHCwqtysEVos2fjX5WQ7AkREHGff3Hu65S
IgHmAAyOPaw0c7QW/zAPIJGSrjACCn6kpaVt+GVZSk4XrrwmLOHR7SwEh4KubP52
DRsncOZ4NqphppqdRVj0Y1E3ARdXnxtaWw3eN0eDvoR2afm31XbmKoAmQNjri3xO
QnmnNjf7ulNfOHsQ6YXWHpJZHotUdhsJlKXziJ0Rndy9CkBzmb8JbLJoPDPO6oLC
gBCzRvhawviEHVmuaRHEve2Key0m1aAZsIPnqS02rHYzt4BwLzt7jrDRCGGufADS
ZmI23b/WffbfhKyrxQSKfFus1/5gmbJtVoY1NCWJ+8eU6lNA1qIbgwZVRR/fZXdE
iScnHK2ZKNA0M0tn3403cvTanSxu3H4UxOogRryWQ7i43TUYv4b3BbkyFOJNtKHT
tkveEz+kH0nHaEGLWhTk0/LUOKgDEuhDyP+LrTiGbGhpc4gK8Pr1L3P4uy2UU5bJ
+JUKWK3h/JuWcIUl+WJe6anLRsujRstIra9e5NqY8BsArVYEbyw=
=yZoS
-----END PGP SIGNATURE-----
pgpVO4zqE7MuU.pgp
Description: PGP signature
--- End Message ---