[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error using synaptic UPGRADE/INSTALL




On 6/13/22 00:29, David Wright wrote:
On Mon 13 Jun 2022 at 03:22:29 (+0000), Russell L. Harris wrote:
Debian 11 AMD

At the end of my weekly UPGRADE session using synaptic, the system
hung.  I restarted using the hardware RESET button.  The system
booted and found a number of orphaned nodes.

When I started synaptic a message was displayed that I needed to run
dpkg --configure -a.  When I ran that command, the following message
is displayed:

root@penelope:/home/rlh# dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin

Running dpkg again gives the same result.

Should I continue to run the system, or do I need to reinstall?

I've been in fear the security folks will figure out a way to harrass us more, but

I just checked, and "sudo -E synaptic" still works for user 1000 in bullseye.

The fact that your working directory is a user's (yours?), and
…sbin directories are not in your $PATH suggests you might have
become root using "su" and not "su -" or "su --login". Try one
of these instead. (The change to su's semantics gets discussed
here fairly regularly.)

Cheers,
David.

.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis


Reply to: