Trovare pacchetti installati non supportati dal team di Ubuntu


9

Come posso verificare se ho installato pacchetti Universo o Multiverso che sono, secondo /etc/apt/sources.list"INTERAMENTE NON SUPPORTATI dal team Ubuntu"?
Quello che sto cercando è una riga di comando per il server Ubuntu 18 LTS (nessuna GUI) per elencare i pacchetti installati per componente, inclusi i pacchetti installati che non sono disponibili da apt-get(non parte degli archivi configurati in /etc/apt/sources.list).
aptitude versions '?name(.)'elenca i pacchetti disponibili e il loro stato di installazione, ma non genera il componente di origine, né lo fa apt-cache.

Risposte:


14

Puoi usare il ubuntu-support-statuscomando

$ 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

con argomento corrispondente --show-unsupported.

Di seguito è riportato un esempio dal mio sistema 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

(Ho aggiunto il ...per limitare il numero di righe).


Se lo desideri, puoi anche menzionare un vrmselenco di software "non libero".
— DK Bose,

Vedi la mia risposta qui sotto per quello che ho finalmente fatto per ottenere un elenco leggibile di tutto ciò che non è pienamente supportato e senza il disordine.
— Juergen,

4
sudo apt install synaptic

Apri Synaptic Package Manager. Vai a "Origine" (in basso a sinistra).


Questo non è uno strumento da riga di comando. La GUI non è disponibile sul mio server.
— Juergen,

0

Il wiki di Debian mostra come si può distinguere tra pacchetti nativi e non nativi.

Se vuoi vedere la relazione tra i sources.listpacchetti installati e, puoi usare dpkg --get-selectionse apt-cache showe apt-get update.

Oppure cerca in un database di pacchetti con arricciatura.

In Fedora / RHEL c'è uno strumento per verificare che i file provengano da pacchetti supportati.


dpkg --get-selectionsnon genera alcuna sezione. apt-cache show \*ma è molto più lento della soluzione accettata perché fornisce molte più informazioni.
— Juergen,

0

Cosa ho finalmente fatto per ottenere un elenco leggibile di tutto ciò che non è pienamente supportato e senza il disordine:

# 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
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.