Control: forcemerge 788819 -1

Hi!

On Thu, 2015-07-16 at 14:21:21 +0200, Bertrand Bonnefoy-Claudet wrote:
> Package: dpkg
> Version: 1.17.25
> Severity: normal

> 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?

Yes. I've already got a fix locally as mentioned on the other bug, which
will be included in the upcoming 1.18.2 release, which unfortunately has
been delayed a bit. :/

As a temporary workaround I guess you might be able to prefix that
command in the conffile with «sh -c»?

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to