当我尝试安装时python-gtk2-dev
,收到此消息:
~$ sudo apt-get install python-gtk2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpaps0 linux-headers-4.4.0-51 linux-headers-4.4.0-51-generic
linux-headers-4.4.0-52 linux-headers-4.4.0-52-generic linux-headers-4.4.0-53
linux-headers-4.4.0-53-generic linux-headers-4.4.0-57
linux-headers-4.4.0-57-generic linux-image-4.4.0-51-generic
linux-image-4.4.0-52-generic linux-image-4.4.0-53-generic
linux-image-4.4.0-57-generic linux-image-extra-4.4.0-51-generic
linux-image-extra-4.4.0-52-generic linux-image-extra-4.4.0-53-generic
linux-image-extra-4.4.0-57-generic linux-signed-image-4.4.0-51-generic
linux-signed-image-4.4.0-52-generic linux-signed-image-4.4.0-53-generic
linux-signed-image-4.4.0-57-generic paps snap-confine
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
docbook-xsl libffi-dev libpython-dev libpython2.7-dev python-dev
python-gobject-2-dev python-gtk2-doc python2.7-dev
Suggested packages:
dbtoepub docbook-xsl-doc-html | docbook-xsl-doc-pdf | docbook-xsl-doc-text
| docbook-xsl-doc docbook-xsl-saxon fop libsaxon-java libxalan2-java
libxslthl-java xalan
The following NEW packages will be installed:
docbook-xsl libffi-dev libpython-dev libpython2.7-dev python-dev
python-gobject-2-dev python-gtk2-dev python-gtk2-doc python2.7-dev
0 upgraded, 9 newly installed, 0 to remove and 32 not upgraded.
Need to get 30.6 MB of archives.
After this operation, 72.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Abort.
我应该怎么办?
答案1
我不知道这是否是您的解决办法,但当我将命令复制粘贴到终端时,这种情况曾经发生在我身上。对我来说,解决办法就是自己输入命令。