명령 대신 rpm -e --nodeps 패키지 이름 뒤에 해당 파일이나 디렉터리가 없습니다.

명령 대신 rpm -e --nodeps 패키지 이름 뒤에 해당 파일이나 디렉터리가 없습니다.

ethtoolusing을 설치 한 다음 제거하려고 하면 , , 와 같은 중요한 종속성이 제거될 것이기 때문에 yum install ethtool제거했습니다 .rpm -e --nodeps ethtoolethtoolyumphphttpdetc

존재해서는 안 되는 명령을 실행하면 fakecommand다음 메시지가 나타납니다.

[root@test sbin]# fakecommand
-bash: fakecommand: command not found
[root@test sbin]#

ethtool그러나 제거한 후 실행하려고 하면 다음 대신 에 다음을 rpm -e --nodeps ethtool얻습니다 .No such file or directoryNo such file or directory

[root@test sbin]# ethtool
-bash: /sbin/ethtool: No such file or directory
[root@test sbin]#

답변1

이 문제를 해결하려면 SSH 연결을 다시 시작하기만 하면 됩니다. 알고 보니 그것은 단지 클라이언트 측 캐시였습니다.

관련 정보