우분투 팀이 지원하지 않는 설치된 패키지 찾기


9

/etc/apt/sources.list"Ubuntu 팀에서 완전히 지원하지 않음" 에 따라 Universe 또는 Multiverse 패키지를 설치했는지 어떻게 확인할 수 있습니까?
내가 찾고있는 것은 Ubuntu 18 LTS 서버 (GUI 없음)가 사용할 수없는 설치된 패키지를 포함하여 구성 요소별로 설치된 패키지를 나열하는 명령 줄입니다 apt-get(에 구성된 아카이브의 일부는 아님 /etc/apt/sources.list).
aptitude versions '?name(.)'사용 가능한 패키지와 설치 상태를 나열하지만 소스 구성 요소를 출력하지도 않습니다 apt-cache.

답변:


14

당신은 ubuntu-support-status명령 을 사용할 수 있습니다

$ ubuntu-support-status --help
Usage: ubuntu-support-status [options]

Options:
  -h, --help          show this help message and exit
  --show-unsupported  Show unsupported packages on this machine
  --show-supported    Show supported packages on this machine
  --show-all          Show all packages with their status
  --list              Show all packages in a list

해당 인수와 함께 --show-unsupported.

아래는 16.04.5 LTS 시스템의 예입니다.

$ ubuntu-support-status --show-unsupported

Support status summary of 'hostname':

You have 94 packages (1.9%) supported until April 2021 (Community - 5y)
You have 2668 packages (54.0%) supported until April 2021 (Canonical - 5y)
You have 647 packages (13.1%) supported until April 2019 (Community - 3y)

You have 79 packages (1.6%) that can not/no-longer be downloaded
You have 1456 packages (29.4%) that are unsupported

No longer downloadable:
acroread acroread-bin:i386 cpp-4.4 cpp-4.5 cpp-4.6 
... 

Unsupported: 
abiword-plugin-grammar adequate aglfn alien android android-tools-adb 
android-tools-fastboot ant ant-optional antiword apt-file
...
y-ppa-manager yad zenmap

( ...라인 수를 제한 하기 위해를 추가했습니다 ).


원하는 경우 vrms"비 무료"소프트웨어를 언급 할 수도 있습니다.
DK Bose

완벽하게 지원되지 않고 혼란이없는 모든 것을 읽을 수있는 목록을 얻기 위해 마지막으로 한 일에 대해서는 아래 답변을 참조하십시오.
Juergen

4
sudo apt install synaptic

시냅틱 패키지 관리자를 엽니 다. "원본"(왼쪽 아래)으로 이동하십시오.


이것은 명령 행 도구가 아닙니다. 내 서버에서 GUI를 사용할 수 없습니다.
Juergen

0

데비안 위키 는 네이티브와 비 네이티브 패키지의 차이점을 구별 할 수있는 방법을 보여줍니다.

sources.list설치된 패키지와 설치된 패키지 간의 관계를 보려면 dpkg --get-selectionsand apt-cache show및을 사용할 수 있습니다 apt-get update.

또는 curl이있는 패키지 데이터베이스에서 검색하십시오.

Fedora / RHEL에는 파일이 지원되는 패키지에서 제공되는지 확인하는 도구가 있습니다.


dpkg --get-selections섹션을 출력하지 않습니다. apt-cache show \*그러나 더 많은 정보를 제공하기 때문에 허용 된 솔루션보다 훨씬 느립니다.
Juergen

0

내가 완벽하게 지원하지 않고 혼란스럽지 않은 모든 것을 읽을 수있는 목록을 얻기 위해 마침내 한 일 :

# sed removes summary lines and packages supported for five years
# and prints one line per not fully supported package:
ubuntu-support-status --show-all | sed '0,/summary/ d; /^Support.*5y/,/^$/ d; /^You have/,/^$/ d; /:/ n; s- $--; s- -\n-g'

No longer downloadable:


Unsupported:
cgroup-tools
...

Supported until April 2021 (Community - 3y):
fonts-dejavu
libx86-1
openjdk-8-jre
openjdk-8-jre-headless
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.