내 패키지 관리자에 무슨 문제가 있나요?

내 패키지 관리자에 무슨 문제가 있나요?

시스템에 새 소프트웨어를 설치할 때마다 다음 오류가 발생합니다.

sh: 1: /bin/echo: Permission denied
E: Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null'
E: Sub-process returned an error code

내 패키지 관리자에 무슨 문제가 있나요?

stat /bin/echo
  File: /bin/echo
  Size: 0           Blocks: 0          IO Block: 4096   regular empty file
Device: 802h/2050d  Inode: 3932206     Links: 1
Access: (0664/-rw-rw-r--)  Uid: (    0/    root)   Gid: (   43/    utmp)
Access: 2018-12-01 08:03:07.846890937 +0800
Modify: 2018-12-01 08:03:07.846890937 +0800
Change: 2018-12-01 08:03:07.846890937 +0800
 Birth: -

내 운영 체제 정보:

uname -a
Linux hwy 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

답변1

sudo apt install --reinstall coreutils
sudo apt autoremove
stat  /bin/echo
  File: /bin/echo
  Size: 31464       Blocks: 64         IO Block: 4096   regular file
Device: 802h/2050d  Inode: 3932296     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-12-17 18:41:38.876797380 +0800
Modify: 2017-02-22 20:23:45.000000000 +0800
Change: 2018-12-17 18:41:32.229517688 +0800
 Birth: -

관련 정보