자동으로 표시된 패키지는 아무 것도 필요하지 않음에도 불구하고 'apt autoremove'에 의해 제거되는 것을 거부합니다.

자동으로 표시된 패키지는 아무 것도 필요하지 않음에도 불구하고 'apt autoremove'에 의해 제거되는 것을 거부합니다.

나는 데비안을 새로 설치했을 때 postgresql-11을 설치했고 곧 제거했습니다 apt purge postgresql-11. 확인해 apt autoremove보니 postgresql로 시작하는 패킷이 3개 남아 있었습니다.

postgresql-client-11에 집중해서 aptitude why postgresql-client-11.

i   rsyslog           Suggests   rsyslog-mysql | rsyslog-pgsql
p   rsyslog-pgsql     Recommends postgresql-client
p   postgresql-client Depends    postgresql-client-11

Postgresql-client-11은 제거된 패키지의 종속성입니다... 또한 14673줄의 긴 장황한 출력을 확인했는데 정규식은 /i \+[a-z0-9-]\+ \+\(Depends\|Recommends\|Suggests\|Provides\) \+postgresql-client-11단일 결과를 제공하지 않습니다(경우에 따라 첫 번째 i 문자를 p로 바꾸면 정규식이 작동합니다). 당신은 내가 어떻게 든 엉망이 된 것 같아요).

그렇게 하면 apt rdepends postgresql-client-11다음이 제공됩니다.

Reverse Depends:
  Depends: postgresql-11
  Depends: postgresql-client
  Depends: postgresql-11
  Depends: postgresql-client

(그런데 왜 같은 결과가 두 번 나오나요?)

Postgresql-11은 내가 제거한 것이며 postgresql-client도 설치되지 않았습니다. 결과는 aptitude why. 빠른 정보 apt list postgresql* --installed는 다음과 같습니다.

postgresql-client-11/stable,now 11.12-0+deb10u1 amd64 [installed,automatic]
postgresql-client-common/stable,now 200+deb10u4 all [installed,automatic]
postgresql-common/stable,now 200+deb10u4 all [installed,automatic]

세 가지 패키지가 있는데 왜 제거되지 않았는지 궁금합니다 apt autoremove.

내가 죽는 것을 왜 이 패키지가 거부하는 걸까요 apt autoremove?

관련 정보