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)

Reply via email to