Bug#235457: tetex-bin: upgrade fails (sed: invalid option -- s)
On Mon, Mar 01, 2004 at 04:28:48PM +0900, Atsuhito Kohda wrote:
> From: Marius Gedminas <mgedmin@b4net.lt>
> Subject: Bug#235457: tetex-bin: upgrade fails (sed: invalid option -- s)
> Date: Sun, 29 Feb 2004 17:15:32 +0200
>
> > $ sudo apt-get upgrade
> > [...]
> > Regenerating /var/lib/texmf/web2c/updmap.cfg ... done
> > sed: invalid option -- s
>
> On my system, there was no such error at upgrade.
> I'm not sure but,
> when I tried "sed -h" it showed me as follows;
>
> ~$ sed -h
> Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
<...>
> -s, --separate
> consider files as separate rather than as a single continuous
> long stream.
<...>
>
> As you can see, there is a fairy big difference between
> yours and mine.
>
> What is an output of "dpkg -l sed" and "sed -V"?
$ dpkg -l sed
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii sed 3.02-8 The GNU sed stream editor.
$ sed -V
GNU sed version 3.02
Copyright (C) 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
$ apt-cache policy sed
sed:
Installed: 3.02-8
Candidate: 3.02-8
Version Table:
4.0.7-4 0
500 http://debina.ktu.lt unstable/main Packages
500 http://debian.balt.net unstable/main Packages
4.0.7-3 0
500 http://debina.ktu.lt testing/main Packages
500 http://debian.balt.net testing/main Packages
*** 3.02-8 0
990 http://debina.ktu.lt stable/main Packages
990 http://debian.balt.net stable/main Packages
100 /var/lib/dpkg/status
I upgraded to sed from testing and the problem went away.
The changelog of sed indicates that -s was added in version 3.95. I
suggest adding an appropriate dependency to tetex-bin before next
upload.
Marius Gedminas
--
Any sufficiently advanced bug is indistinguishable from a feature.
-- Rich Kulawiec
Reply to: