
패키지가 필수/기본 Ubuntu(v18.04.5) 설치의 일부인지 확인하는 방법은 무엇입니까?
예. 계속 보여요세프그리고라도스주간 소프트웨어 업데이터 GUI의 업데이트, 즉...
➜ ~ apt list --upgradable
Listing... Done
libcephfs2/bionic-updates 12.2.13-0ubuntu0.18.04.8 amd64 [upgradable from: 12.2.13-0ubuntu0.18.04.7]
librados2/bionic-updates 12.2.13-0ubuntu0.18.04.8 amd64 [upgradable from: 12.2.13-0ubuntu0.18.04.7]
ubuntu-drivers-common/bionic-updates 1:0.8.6.3~0.18.04.1 amd64 [upgradable from: 1:0.5.2.5]
얼마 전에 실험으로 직접 설치했는지 아니면 기본/필수 Ubuntu 설치의 일부인지 기억이 나지 않습니다. 기본 설치 또는 필수 "일반" Ubuntu 시스템의 일부가 아닌 경우 해당 패키지를 제거하고 싶습니다. 알 수 있는 방법이 있습니까(특히 삭제로 인해 영향을 받는 다른 항목을 알 수 있는 방법)?
답변1
네, 쉽습니다. 제거를 시뮬레이션하고 어떤 일이 일어나는지 확인하세요.
- 예: ( 실제로 변경을 원하지 않으므로
apt remove libcephfs2 --simulate
필요하지 않습니다 .)sudo
결과를 주의 깊게 읽으십시오. 제거 목록이 길거나 또는 또는 같은 중요한 패키지 gnome-shell
나 gdm
사용 하는 애플리케이션이 포함되어 있는 경우 제거하는 것이 편리한 것보다 더 어려울 수 있다는 것을 알 수 있습니다 ubuntu-desktop
.ubuntu-standard
ubuntu-drivers-common
다음은 테스트 시스템에서 제거를 시뮬레이션하는 편집된 예입니다 .
sudo
눈에 띄는 플래그가 부족하다는 점에 유의하세요--simulate
. 안전!- 영향을 받는 패키지 중 하나는 입니다
ubuntu-desktop
. 이는ubuntu-drivers-common
원래 기본 설치의 일부임을 의미합니다.
$ apt remove ubuntu-drivers-common --simulate
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
[...edit...]
The following packages were automatically installed and are no longer required:
apturl-common gir1.2-goa-1.0 gir1.2-snapd-1 python3-click python3-colorama
python3-dateutil python3-debconf python3-software-properties python3-xkit
software-properties-common unattended-upgrades update-notifier-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
apturl nautilus-share software-properties-gtk ubuntu-desktop
ubuntu-desktop-minimal ubuntu-drivers-common ubuntu-release-upgrader-gtk
update-manager update-notifier
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
[...edit...]