Bug#41651: apt: update script unhappy with ash as sh
Package: apt
Version: 0.3.11
Severity: wishlist
This is in reference to the /var/lib/dgpk/methods/apt/update script.
output is
/usr/lib/dpkg//methods/apt/update: 21: Syntax error: "(" unexpected (expecting "fi")
update available list script returned error exit status 2.
Press RETURN to continue.
when sh is linked to ash rather than bash. Changing the #!/bin/sh line to #!/bin/bash
makes the error go away.
Dres
-- System Information
Debian Release: potato
Kernel Version: Linux dres 2.2.9-ac6 #1 Wed Jul 7 21:39:30 EDT 1999 i686 unknown
Versions of the packages apt depends on:
ii libc6 2.1.1-13 GNU C Library: Shared libraries and timezone
ii libstdc++2.9-gl 2.91.66-2 The GNU stdc++ library (EGCS version)
Reply to: