apt popplerですべてを削除しようとしたときに、
apt remove *poppler* --autoremove
34の新しいパッケージをインストールしようとしました。なぜこれが起こるのですか?
適切な出力:
# apt remove *poppler*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zathura-pdf-poppler' for glob '*poppler*'
Note, selecting 'ruby-poppler' for glob '*poppler*'
Note, selecting 'python2.7-poppler-dbg' for glob '*poppler*'
Note, selecting 'poppler-utils' for glob '*poppler*'
Note, selecting 'python3-poppler-qt5' for glob '*poppler*'
Note, selecting 'libpoppler-cil' for glob '*poppler*'
Note, selecting 'libpoppler-dev' for glob '*poppler*'
Note, selecting 'python2.7-poppler' for glob '*poppler*'
Note, selecting 'libpoppler-qt5-dev' for glob '*poppler*'
Note, selecting 'libpoppler-cpp0' for glob '*poppler*'
Note, selecting 'monodoc-poppler-manual' for glob '*poppler*'
Note, selecting 'libpoppler-qt5-1' for glob '*poppler*'
Note, selecting 'libpoppler-cil-dev' for glob '*poppler*'
Note, selecting 'libpoppler-glib-dev' for glob '*poppler*'
Note, selecting 'libpoppler-glib-doc' for glob '*poppler*'
Note, selecting 'libpopplerkit0' for glob '*poppler*'
Note, selecting 'qtdeclarative5-poppler-qml-plugin' for glob '*poppler*'
Note, selecting 'libpoppler-private-dev' for glob '*poppler*'
Note, selecting 'python-poppler-dbg' for glob '*poppler*'
Note, selecting 'gir1.2-poppler-0.18' for glob '*poppler*'
Note, selecting 'libpoppler-cpp-dev' for glob '*poppler*'
Note, selecting 'libpopplerkit-dev' for glob '*poppler*'
Note, selecting 'python-poppler' for glob '*poppler*'
Note, selecting 'libpoppler-cpp0v5' for glob '*poppler*'
Note, selecting 'libpoppler-glib8' for glob '*poppler*'
Note, selecting 'libpoppler79' for glob '*poppler*'
Note, selecting 'poppler-data' for glob '*poppler*'
Note, selecting 'xpoppler-utils' for glob '*poppler*'
Note, selecting 'qtdeclarative5-poppler1.0' for glob '*poppler*'
Package 'libpoppler-cpp0' is not installed, so not removed
Package 'xpoppler-utils' is not installed, so not removed
Note, selecting 'python-poppler' instead of 'python2.7-poppler'
Note, selecting 'python-poppler-dbg' instead of 'python2.7-poppler-dbg'
Note, selecting 'qtdeclarative5-poppler1.0' instead of 'qtdeclarative5-poppler-q ml-plugin'
Package 'libpoppler-cil' is not installed, so not removed
Package 'libpoppler-cil-dev' is not installed, so not removed
Package 'libpopplerkit-dev' is not installed, so not removed
Package 'libpopplerkit0' is not installed, so not removed
Package 'monodoc-poppler-manual' is not installed, so not removed
Package 'python-poppler' is not installed, so not removed
Package 'python-poppler-dbg' is not installed, so not removed
Package 'python3-poppler-qt5' is not installed, so not removed
Package 'qtdeclarative5-poppler1.0' is not installed, so not removed
Package 'ruby-poppler' is not installed, so not removed
Package 'zathura-pdf-poppler' is not installed, so not removed
Package 'libpoppler-cpp-dev' is not installed, so not removed
Package 'libpoppler-cpp0v5' is not installed, so not removed
Package 'libpoppler-glib-doc' is not installed, so not removed
Package 'libpoppler-qt5-dev' is not installed, so not removed
The following packages were automatically installed and are no longer required:
catdoc cups-ipp-utils fonts-crosextra-caladea fonts-crosextra-carlito
fonts-droid-fallback fonts-linuxlibertine fonts-sil-gentium-basic gimp-data
hplip-data inkscape-trunk-data libabw-0.1-1 libamd2 libapache-pom-java
libbabl-0.1-0 libboost-date-time1.67.0 libboost-locale1.67.0
libboost-thread1.67.0 libbsh-java libcamd2 libccolamd2 libcholmod3
libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolamd2
libcommons-logging-java libcommons-parent-java libcupscgi1 libde265-0
libe-book-0.1-1 libemf1 libeot0 libepub0 libepubgen-0.1-1 libetonyek-0.1-1
libexiv2-14 libfontembed1 libfreehand-0.1-1 libgegl-0.4-0 libgegl-common
libgexiv2-2 libgimp2.0 libgs9-common libheif1 libhpmud0 libijs-0.35
libjbig2dec0 libmetis5 libmhash2 libmspub-0.1-1 libmwaw-0.3-3
libmypaint-1.3-0 libmypaint-common libmythes-1.2-0 libneon27-gnutls
libodfgen-0.1-1 liborcus-0.13-0 libpagemaker-0.0-0 libplot2c2
libpstoedit0c2a libqpdf21 libraptor2-0 librasqal3 libraw16 librdf0
libreoffice-java-common libsane-hpaio libsuitesparseconfig5 libtumbler-1-0
libumfpack5 libwps-0.4-4 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve
python-scour python3-olefile python3-pexpect python3-pil python3-ptyprocess
python3-renderpm python3-reportlab python3-reportlab-accel python3-scour
qpdf scour tumbler-common
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
colord colord-data foomatic-filters libbsd0:i386 libcairo2:i386 libcolorhug2
libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libjbig0:i386
libjpeg-turbo8:i386 libjpeg8:i386 liblcms2-2:i386 liblzma5:i386
libnspr4:i386 libnss3:i386 libpaps0 libpixman-1-0:i386 libpng16-16:i386
libpoppler79:i386 libsqlite3-0:i386 libtiff5:i386 libuuid1:i386
libx11-6:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386
libxdmcp6:i386 libxext6:i386 libxrender1:i386 paps poppler-utils:i386
zlib1g:i386
Suggested packages:
colord-sensor-argyll
Recommended packages:
ghostscript poppler-data:i386
The following packages will be REMOVED:
bluez-cups cups cups-core-drivers cups-filters cups-filters-core-drivers
cups-x2go fig2dev ghostscript ghostscript-x gimp gir1.2-poppler-0.18 hplip
inkscape-trunk libgs9 libkf5filemetadata-bin libpoppler-dev
libpoppler-glib-dev libpoppler-glib8 libpoppler-private-dev libpoppler-qt5-1
libpoppler79 libreoffice libreoffice-avmedia-backend-gstreamer
libreoffice-base libreoffice-base-core libreoffice-base-drivers
libreoffice-calc libreoffice-core libreoffice-draw libreoffice-impress
libreoffice-librelogo libreoffice-math libreoffice-nlpsolver
libreoffice-ogltrans libreoffice-report-builder
libreoffice-report-builder-bin libreoffice-script-provider-bsh
libreoffice-script-provider-js libreoffice-script-provider-python
libreoffice-sdbc-postgresql libreoffice-wiki-publisher libreoffice-writer
poppler-data poppler-utils printer-driver-hpcups printer-driver-pnm2ppa
printer-driver-postscript-hp printer-driver-ptouch printer-driver-pxljr
printer-driver-sag-gdi printer-driver-splix pstoedit python3-uno tumbler
xubuntu-core
The following NEW packages will be installed:
colord colord-data foomatic-filters libbsd0:i386 libcairo2:i386 libcolorhug2
libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libjbig0:i386
libjpeg-turbo8:i386 libjpeg8:i386 liblcms2-2:i386 liblzma5:i386
libnspr4:i386 libnss3:i386 libpaps0 libpixman-1-0:i386 libpng16-16:i386
libpoppler79:i386 libsqlite3-0:i386 libtiff5:i386 libuuid1:i386
libx11-6:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386
libxdmcp6:i386 libxext6:i386 libxrender1:i386 paps poppler-utils:i386
zlib1g:i386
0 upgraded, 34 newly installed, 55 to remove and 0 not upgraded.
Need to get 7,361 kB of archives.
After this operation, 312 MB disk space will be freed.
Do you want to continue? [Y/n]
答え1
libpoppler
デフォルトのUbuntuデスクトップインストールには、(直接または間接的に)依存する多くのパッケージがあります。poppler-utils
削除とは、そのコンテンツに依存するコンテンツをpopple-utils
削除することを意味します。cups-filter
printer-driver-foo2zjs
依存するので、依存しないものをインストールcups-filters | foomatic-filters
する限りfoomatic-filters
維持できますpoppler-utils
。
poppler-utils
おすすめ colord
インストールするように適切に設定した可能性がありますおすすめ自動(デフォルト)。またお勧めしますpoppler-utils
。poppler-utils
パッケージの削除をリクエストしましたが、そのパッケージのi386バージョンはまだインストールできます。
最終的には、apt
ダメージ(削除する他のパッケージの数)を最小限に抑えながらリクエストを実行しようとします。ただし、この場合は同じパッケージをインストールするので、次善の策につながります。建築学。
これらの依存関係の問題を解決するための他の可能な代替案がたくさんあります。
aptitude
個人的には、依存関係の競合を解決する方法のオプションを提供するため、常にパッケージ管理を使用します。
では、aptitude
デフォルトビューを次に設定しました。平らな(オプション - >デフォルト設定で「次の項目に渡す」オプションも選択します)これにより、パッケージをより簡単にフィルタリングできます。たとえば、l(小文字L
)を押すと限界レポートを入力すると、~i poppler
名前にが含まれているインストール済みパッケージのリストが表示されますpoppler
。
-その後、各パッケージを削除()または削除()することができます。_そうすると、競合マークが表示されますaptitude
(一部のパッケージは赤に変わることがあります)。その後、競合()を確認し、eいくつかの可能な回避策から選択できます。また、個人の選択を承認または拒否して解決策に影響を与える可能性があります(例:パッケージの削除、そのパッケージをインストールしてください...).
また、*poppler*
あなたがapt remove *poppler* --autoremove
引用する必要があることに注意してください。*poppler*
シェル球です。たとえば、現在のディレクトリにファイルがあると、popplering
シェルによって拡張されるため、最終的にapt remove popplering --autoremove
。
csh、tcsh、fish、zsh(または)などの一部のシェルでは、bash -O failglob
エラーを報告してエラーを認識できますNo match
。