Bug 125800

Summary: Breaks sources.list when /bin/sh is dash
Product: [Unmaintained] kpackage Reporter: Pierre Habouzit <madcoder>
Component: generalAssignee: Toivo Pedaste <toivo>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: ana
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch to fix the problem against kde 3.5.2

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