![apt-get -s E: 명령줄 [origin -s]의 « s » 옵션을 알 수 없습니다.](https://rvso.com/image/856360/apt-get%20-s%20E%3A%20%EB%AA%85%EB%A0%B9%EC%A4%84%20%5Borigin%20-s%5D%EC%9D%98%20%C2%AB%20s%20%C2%BB%20%EC%98%B5%EC%85%98%EC%9D%84%20%EC%95%8C%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
거의 모든 것이 제목에 있지만 14.04. 나는 또한 동일한 오류가 있는 man에서 발견된 5개의 상응하는 긴(--) 옵션을 모두 시도했습니다. -u from man도 같은 방식으로 실패합니다. 제발 이게 뭐예요? 감사합니다.
답변1
단지 실행만 할 수는 없습니다 sudo apt-get -s
. 뭔가를 하라고 말해야 합니다.
즉, a를 수행하면 sudo apt-get update -s
언급한 것과 동일한 오류가 발생합니다.
$ sudo apt-get update -s
E: Command line option 's' [from -s] is not known.
그러나 a는 sudo apt-get install -s
오류가 발생하지 않습니다.
$ sudo apt-get install -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-23 linux-headers-3.13.0-23-generic linux-image-3.13.0-23-generic linux-image-extra-3.13.0-23-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
-s
플래그는 일부 명령에서만 작동한다고 가정하겠습니다 . 에 언급되어 있습니다.적용/사용 방법 얻기위키. 제공된 예는 with install
이며 다른 작업과 함께 작동한다고 명시적으로 언급하지 않습니다.
-s 플래그를 사용하여 작업을 시뮬레이션합니다. "sudo apt-get -s install"은 설치 및 구성될 패키지를 보여주는 패키지 설치를 시뮬레이션합니다.