[Top][All Lists]

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

[bug-diffutils] bug#33970: Issue dpkg with diff

From: Sergio Sámano
Subject: [bug-diffutils] bug#33970: Issue dpkg with diff
Date: Thu, 3 Jan 2019 23:03:40 +0000


I have some issue related with apt-get update, upgrade, dpkg, are.,  running all of them as root(recovery mode)finished with:

dpkg: warning: 'diff' not found in PATH or no executable
dpkg: error: 1 expected program not found or not executable
Note: root's PATH should usually contain /usr/sbin/ and /sbin

I've checked
#uname -a
Linux debian #1 SMP Debian 4.18.20-2 (2018-11-23) x86_64 GNU/Linux
#echo $PATH

I've modified

Adding the line

Defaults secure_path:"/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin"

And in /root/.bashrc
Adding  the line

export PATH:/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin

Also in the file
/etc/profile  (doing match in both lines of PATH)
if [ "`id-u`" -eq 0 then]

And even after that I get the same

I've tried PATH before the instructions and is the same

Do you know why it is happening?
Do you have any guidance to resolve this?

Thanks in advance


Sergio Sámano

reply via email to

[Prev in Thread] Current Thread [Next in Thread]