Your message dated Wed, 10 May 2023 05:03:48 +0000
with message-id <[email protected]>
and subject line Bug#1035839: fixed in jed 1:0.99.20~pre.178+dfsg-4
has caused the Debian Bug report #1035839,
regarding jed-common: Fails to upgrade: new jed-common package
pre-installation script subprocess returned error exit status 1
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.)
--
1035839: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035839
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jed-common
Version: 1:0.99.20~pre.178+dfsg-3
Severity: serious
Hi,
I'm sorry to say, but it now fails elsewhere to upgrade from
1:0.99.20~pre.178+dfsg-1 to 1:0.99.20~pre.178+dfsg-3:
Preparing to unpack .../01-jed_1%3a0.99.20~pre.178+dfsg-3_amd64.deb ...
Unpacking jed (1:0.99.20~pre.178+dfsg-3) over (1:0.99.20~pre.178+dfsg-1) ...
Preparing to unpack .../02-jed-common_1%3a0.99.20~pre.178+dfsg-3_all.deb ...
dpkg: error processing archive
/tmp/apt-dpkg-install-UN0WZQ/02-jed-common_1%3a0.99.20~pre.178+dfsg-3_all.deb
(--unpack):
new jed-common package pre-installation script subprocess returned error exit
status 1
[…]
Errors were encountered while processing:
/tmp/apt-dpkg-install-UN0WZQ/02-jed-common_1%3a0.99.20~pre.178+dfsg-3_all.deb
[…]
dpkg: dependency problems prevent configuration of jed:
jed depends on jed-common (= 1:0.99.20~pre.178+dfsg-3); however:
Version of jed-common on system is 1:0.99.20~pre.178+dfsg-1.
dpkg: error processing package jed (--configure):
dependency problems - leaving unconfigured
I think that cause is this line in combination with "set -e"
test -d $txtdir && rm -rf $txtdir
If the directory does not exist, it returns false because the test
failed. And due to the (totally legit) "set -e" it aborts there with
exit code not equal zero.
You likely need to replace it with a full if clause:
if [ -d $txtdir ] ; then rm -rf $txtdir ; fi
Such code will not have this side effect.
-- System Information:
Debian Release: 12.0
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'),
(500, 'testing-security'), (500, 'buildd-unstable'), (110, 'experimental'), (1,
'experimental-debug'), (1, 'buildd-experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages jed-common depends on:
pn slsh <none>
jed-common recommends no packages.
Versions of packages jed-common suggests:
ii emacs-gtk [info-browser] 1:28.2+1-14
ii info [info-browser] 6.8-6+b1
iu jed [info-browser] 1:0.99.20~pre.178+dfsg-3
ii konqueror [info-browser] 4:22.12.3-1
ii pinfo [info-browser] 0.6.13-1.3
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/doc/jed-common/changelog.Debian.gz (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/abbrev.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/color.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/compile.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/dfa.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/edt.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/emacs.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/filelock.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/fold.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/hooks.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/ide-mode.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/jed_faq.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/linux-keys.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/menus.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/mouse.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/pc-keys.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/program.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/recentx.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/rgrep.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/rmail.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/script.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/sessions.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/syntax.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/undo.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/utf8.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/wjed.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/wordstar.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/xjed.txt (from jed-common
package)
debsums: missing file /usr/share/doc/jed-common/txt/xrenderfont.txt (from
jed-common package)
debsums: missing file /usr/share/doc/jed-common/txt/yankpop.txt (from
jed-common package)
--- End Message ---
--- Begin Message ---
Source: jed
Source-Version: 1:0.99.20~pre.178+dfsg-4
Done: Rafael Laboissière <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jed, 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.
Rafael Laboissière <[email protected]> (supplier of updated jed 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: Wed, 10 May 2023 01:20:42 -0300
Source: jed
Architecture: source
Version: 1:0.99.20~pre.178+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Wookey <[email protected]>
Changed-By: Rafael Laboissière <[email protected]>
Closes: 1035839
Changes:
jed (1:0.99.20~pre.178+dfsg-4) unstable; urgency=medium
.
* d/jed-common.preinst: Avoid non-fatal abortion of the script.
Thanks to Axel Beckert for the fix (Closes: #1035839)
Checksums-Sha1:
d84053396ecd12bfa94eb32ea084afebdb35d0ab 2328 jed_0.99.20~pre.178+dfsg-4.dsc
172b5a4629dcd39d0b08b6c21c8ecfb925b2a550 30996
jed_0.99.20~pre.178+dfsg-4.debian.tar.xz
Checksums-Sha256:
f8a194f4b68c06fcfbb32c5e2af30f0ed490f0668af231b53c541001f7b5cda3 2328
jed_0.99.20~pre.178+dfsg-4.dsc
e3924309e051b16ae4b641f29070adb209e7ef38f341cd19f8f10d6decd59c3a 30996
jed_0.99.20~pre.178+dfsg-4.debian.tar.xz
Files:
f24f42d68c21d3c2c1489670723e36cd 2328 editors optional
jed_0.99.20~pre.178+dfsg-4.dsc
c20ef66471702e8210d695ae69c3df82 30996 editors optional
jed_0.99.20~pre.178+dfsg-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmRbILsSHHJhZmFlbEBk
ZWJpYW4ub3JnAAoJECEkqhmDeFyQ0cIP+wVp7maFGXi5m5EZdoyQ7ozrdgN7YixI
4m2CxwyXaycCIqnKQ2na27MjhJ1SAQkcosRqLq6nN9/I31n5ZPROG9glCGRv4rOI
RXAvzgNFD4Q5hY2LdXdKner0ntoTWZi9s4XEdN1lrek0tMj6IHbhhPNmR6bU7CCm
TJ3MUp8+kUjukqgge8yNolT4Ixim4D99fPpusZsfNQcH2zCWPSsRLss3fXw80YkQ
V03QN/H17FgEluCsVL0nd4fo96pt3qcuy9Bjnw1S23YSfGTdkWOTJ1gPyaeFsHb8
NwmWfDNdNiHkTiqVSo0G3VcYhS0oeRvsui/BI2U6pAB421Scdxpt4+6BwQzBhPzk
0xRb7XSOigWFZGJoKSQT84BWopix11JZ2rEPh++Rvo2r+A/TNkqyVqDLcXvnWHbZ
k/1u0jvq1hKR8YiXFJQ0vKIy4sgLwtaRCIUyrqYP0FAYI9cba2xt5f3QxxLKPp20
/gcUbPQhOUrhe5wUYu5y87FHfy3r/Mjn/GJ9VC5QeeuginyvGgsLUiuiwUvRbhj4
FHzIROzeJYkwpteGVnH/6VcXj2YgKFJ3wKBEC77qmvctWZFSbvAq294D8xJ/JOCU
EhDupNtCOp7P15D4eXC2gB6hSd62glMLsM/vBmlVVlUirvHnNasQbnKqx5lmSCCi
7aO4qG+qBaYd
=Yxep
-----END PGP SIGNATURE-----
--- End Message ---