solved broken PATH warning: 'ldconfig
صفحة 1 من اصل 1
solved broken PATH warning: 'ldconfig
ممكن الكثير يواجه المشكله هذي بعد مايثبت حزمه
هذا يحدث مع اي حزمه تقوم بتثبيتها
maybe you see this problems after you install some packages
this happen with any packages you installed
المشكله راح تكون مثل كذا:
the problems like this:
===================================
apt-get install mono-runtime
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)
A package failed to install. Trying to recover:
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.
===================================================
حل المشكله كالتالي:
the solve is:
apt-get update
apt-get upgrade
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
apt-get remove mono-runtime
sudo aptitude update
sudo aptitude install mono-runtime
MOJRM-511- المدير العام
- المساهمات : 105
تاريخ التسجيل : 13/03/2011
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى