Bug 125800 - Breaks sources.list when /bin/sh is dash
Summary: Breaks sources.list when /bin/sh is dash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kpackage
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Toivo Pedaste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 13:26 UTC by Pierre Habouzit
Modified: 2009-12-20 13:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch to fix the problem against kde 3.5.2 (588 bytes, patch)
2006-04-18 13:27 UTC, Pierre Habouzit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Habouzit 2006-04-18 13:26:47 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages

When /bin/sh is set to /bin/dash, /etc/apt/sources.list get some '-e' at the begining of the line.

it's because kpackage calls:

sh -c "echo -e '....'"

and that dash uses an internal echo that does not understand -e.

the fix is to replace that with:

sh -c "/bin/echo -e '...'"

patch attached


This is debian bug http://bugs.debian.org/358296
Comment 1 Pierre Habouzit 2006-04-18 13:27:38 UTC
Created attachment 15674 [details]
patch to fix the problem against kde 3.5.2
Comment 2 Dario Andres 2009-12-20 13:59:39 UTC
KPackage was recently removed from KDE SC (since 4.4 beta2) as it was completely broken and unmaintained.

Most of the common GNU/Linux distributions offer their own tools to deal with packages, and KDE is working on an universal package manager replacement named "Shaman" (to superseed KPackageKit)

Closing the KPackage's bug reports as UNMAINTAINED.

Regards