Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] [SOLVED] D-U not working, ldconfig' not found in PATH or not executable  (Read 6967 times)

Offline vilde

  • User
  • Posts: 708
I get this error trying to do  a d-u"apt full-upgrade" after not doing it since a long time (forgot that machine).

Code: [Select]
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
E: Sub-process /usr/bin/dpkg returned an error code (2)

Code: [Select]
inxi -Fc
System:
  Host: siductionbox-edge Kernel: 4.17.12-towo.1-siduction-amd64 x86_64
  bits: 64 Desktop: Xfce 4.12.4
  Distro: siduction 12.2.0 Riders on the Storm - xfce - (201212092126)
Machine:
  Type: Laptop System: LENOVO product: 03022NG v: ThinkPad Edge
  serial: LRTFYFG
  Mobo: LENOVO model: 03022NG serial: 1ZHLW09M2DP BIOS: LENOVO
  v: 82ET25WW (1.11 ) date: 07/28/2010
Battery:
  ID-1: BAT1 charge: 46.1 Wh condition: 47.5/47.5 Wh (100%)
CPU:
  Topology: Dual Core model: AMD Athlon II P320 bits: 64 type: MCP
  L2 cache: 1024 KiB
  Speed: 800 MHz min/max: 800/2100 MHz Core speeds (MHz): 1: 800 2: 800
Graphics:
  Card-1: AMD RS880M [Mobility Radeon HD 4225/4250] driver: radeon v: kernel
  Display: x11 server: X.Org 1.20.0 driver: ati,radeon
  unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
  OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 4.17.12-towo.1-siduction-amd64
  LLVM 6.0.1)
  v: 3.3 Mesa 18.1.5
Audio:
  Card-1: AMD SBx00 Azalia driver: snd_hda_intel
  Card-2: AMD RS880 HDMI Audio [Radeon HD 4200 Series] driver: snd_hda_intel
  Sound Server: ALSA v: k4.17.12-towo.1-siduction-amd64
Network:
  Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 60:eb:69:62:79:ee
  Card-2: Realtek RTL8191SEvB Wireless LAN driver: rtl8192se
  IF: wlan0 state: down mac: d6:b7:1e:fd:6b:2e
Drives:
  Local Storage: total: 59.63 GiB used: 25.61 GiB (43.0%)
  ID-1: /dev/sda vendor: Corsair model: CSSD-V64GB2 size: 59.63 GiB
Partition:
  ID-1: / size: 55.64 GiB used: 25.60 GiB (46.0%) fs: ext4 dev: /dev/sda1
  ID-2: swap-1 size: 2.96 GiB used: 8.0 MiB (0.3%) fs: swap dev: /dev/sda2
Sensors:
  System Temperatures: cpu: 45.9 C mobo: 0.0 C
  Fan Speeds (RPM): cpu: 770
Info:
  Processes: 140 Uptime: 28m Memory: 1.70 GiB used: 829.7 MiB (47.6%)
  Shell: bash inxi: 3.0.20



« Last Edit: 2018/12/29, 12:58:23 by vilde »

Offline absolut

  • User
  • Posts: 455
how did you log in as root?  "su" or "su -" , or other method? -> forum search

Offline vilde

  • User
  • Posts: 708
how did you log in as root?  "su" or "su -" , or other method? -> forum search
su
Edit: Because of above question I realized that this was my first attempt to do a d-u in x on that machine. So, I tried outside x and now d-u is running, so long without error. I will be back and tell how it goes.
Edit 2: Yes the d-u outside x was working. So this was practically solved bu I leave the topic open as there may be someone who can tell me why it is like this.
« Last Edit: 2018/12/29, 11:36:06 by vilde »