Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DearthnVader

Suspended
Original poster
Dec 17, 2015
2,207
6,394
Red Springs, NC
Anyone running Debian 12 on PPC run into this issue when trying to install packages?

dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)

I think I need to reinstall dpkg, but I can't with a broken dpkg.

All of these ARE in my PATH: /usr/local/sbin, /usr/sbin and /sbin
 
I fixed it by extracting the dpkg.deb and copying start-stop-daemon into my path, then running apt install --reinstall dpkg.

No more error on installing packages.
 
...a little more detail

danielktdoranie

macrumors member​

Jul 28, 2021 42 25

Hi, I just wanted offer this fix for anyone who's apt package manager was broken "out of the box" after installing Debian 12 Trixie/Sid.

When you run apt update do you get this error? (this was the case when installing Debian 12 Trixie/Sid on both my iBook G4 and Mac mini G4 this week)

ERROR
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable

Here's the fix, run these commands as root using su - (no, su is not good enough, got to be su -)

Run these command one at a time.

1.) echo '#!/bin/true' > /usr/bin/start-stop-daemon
2.) chmod +x /usr/bin/start-stop-daemon
3.) sudo apt install --reinstall dpkg
4.) rm -f /usr/bin/start-stop-daemon
5.) apt update -y
6.) apt upgrade -y

Now apt should work as normal. Best of luck.

Reactions: eastone, swamprock, Jeroen Diederen and 1 other person
 
  • Like
Reactions: DearthnVader
...a little more detail

danielktdoranie

macrumors member​

Jul 28, 2021 42 25

Hi, I just wanted offer this fix for anyone who's apt package manager was broken "out of the box" after installing Debian 12 Trixie/Sid.

When you run apt update do you get this error? (this was the case when installing Debian 12 Trixie/Sid on both my iBook G4 and Mac mini G4 this week)

ERROR
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable

Here's the fix, run these commands as root using su - (no, su is not good enough, got to be su -)

Run these command one at a time.

1.) echo '#!/bin/true' > /usr/bin/start-stop-daemon
2.) chmod +x /usr/bin/start-stop-daemon
3.) sudo apt install --reinstall dpkg
4.) rm -f /usr/bin/start-stop-daemon
5.) apt update -y
6.) apt upgrade -y

Now apt should work as normal. Best of luck.

Reactions: eastone, swamprock, Jeroen Diederen and 1 other person
That's the problem with the Mega Threads, they are so big you almost can't find any one thing you are looking for.🥸
 
Now I'm looking for DRI info on my Radeon 9600 XT?

I installed the firmware-linux-nonfree but that made a bad situation worse.

I have no working OpenGL, and I tested adding radeon.agpmode=1 and radeon.modset=1 to my grub command, but that didn't seem to change anything.

Is AGP still broken for Radeon cards on the G5 or was that a G4 issue only?

How can I get DRI working proper on my R9600 XT?
 
  • Like
Reactions: MacMaverick855
Now I'm looking for DRI info on my Radeon 9600 XT?

I installed the firmware-linux-nonfree but that made a bad situation worse.

I have no working OpenGL, and I tested adding radeon.agpmode=1 and radeon.modset=1 to my grub command, but that didn't seem to change anything.

Is AGP still broken for Radeon cards on the G5 or was that a G4 issue only?

How can I get DRI working proper on my R9600 XT?
Same here. I have a G5 with the same card although I can get a DVI monitor to work. When I connect the Apple Cinema Display (ACD), I can’t get a desktop on either, just a black screen on the ACD and a “Cannot Display This Video Mode” on the DVI monitor.

I went to the Debian wiki and found some instructions on loading Radeon drivers. I cannot get “firmware-amd-graphics” to download. I’ve even updated the sources.list as directed by the wiki but the error says there is no candidate even though other already loaded software references it being needed.

How or where can I get the firmware-amd-graphics to load?
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.