Package: dpkg
Version: 1.17.25
Severity: normal
Dear Maintainer,
I can't upgrade my system because `apt-get upgrade` fails with:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
bind9-host dnsutils host libbind9-90 libcupsfilters1 libdns-export100
libdns100 libirs-export91 libisc-export95 libisc95 libisccc90
libisccfg-export90 libisccfg90 liblwres90 libwmf-bin libwmf0.2-7
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,216 kB of archives.
After this operation, 317 kB disk space will be freed.
Do you want to continue? [Y/n]
Reading changelogs... Done
fish: Illegal command name “(test -x /usr/lib/needrestart/dpkg-status &&
/usr/lib/needrestart/dpkg-status || cat > /dev/null)”
Standard input: (test -x /usr/lib/needrestart/dpkg-status &&
/usr/lib/needrestart/dpkg-status || cat > /dev/null)
^
(Reading database ... 108004 files and directories currently installed.)
Preparing to unpack .../libcupsfilters1_1.0.61-5+deb8u1_amd64.deb ...
E: Sub-process /usr/bin/dpkg exited unexpectedly
I am using fish as my default shell and I believe I can work around this issue
by setting it back to a POSIX compliant shell. This issue has been reported
for needrestart [1] but it is now 'wontfix' because it seems to be related to
dpkg instead.
Shouldn't dpkg use sh explicitly to execute its scripts?
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777242
--
Bertrand
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-7+b3
ii libc6 2.19-18
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libselinux1 2.3-2
ii tar 1.27.1-2+b1
ii zlib1g 1:1.2.8.dfsg-2+b1
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.0.9.8
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]