[Live-demo] 4.5alpha1 Build has started
Hamish
hamish_b at yahoo.com
Thu Feb 3 13:47:47 PST 2011
Pirmin wrote:
> Many packages have error messages like:
>
> E: Type '-e' is not known on line 1 in source list
> /etc/apt/sources.list.d/python-tweepy.list
> E: The list of sources could not be read.
> ERROR: xxx Package install failed! Aborting.
>
> Do you have an explanation for this?
'echo -e' was used, but the default /bin/sh to run scripts in
Ubuntu (and now Debian too) is dash, not bash, and the -e is a
bashism. So instead of being interpreted the -e snuck into the
package /etc/apt/sources.list file. Fran fixed this in svn r5501.
Hamish
More information about the Osgeolive
mailing list