Por que o apt não me avisou para confirmar a instalação de dependências?

3

Normalmente, a instalação de um pacote com dependências que não estão atualmente instaladas fará com que o apt confirme se isso é desejado antes de prosseguir para instalar:

$ sudo apt install gnome-terminal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  gnome-terminal-data gnome-user-guide libhyphen0 libjavascriptcoregtk-4.0-18 libnautilus-extension1a libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-37-gtk2
  libyelp0 yelp yelp-xsl
The following NEW packages will be installed:
  gnome-terminal gnome-terminal-data gnome-user-guide libhyphen0 libjavascriptcoregtk-4.0-18 libnautilus-extension1a libwebkit2gtk-4.0-37
  libwebkit2gtk-4.0-37-gtk2 libyelp0 yelp yelp-xsl
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.5 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Do you want to continue? [Y/n]

No entanto, alguns minutos atrás, eu corri exatamente o mesmo comando, e instalei o gnome-terminal e suas dependências sem perguntar:

$ sudo apt install gnome-terminal
[sudo] password for josh:
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  gnome-terminal-data gnome-user-guide libhyphen0 libjavascriptcoregtk-4.0-18 libnautilus-extension1a libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-37-gtk2
  libyelp0 yelp yelp-xsl
The following NEW packages will be installed:
  gnome-terminal gnome-terminal-data gnome-user-guide libhyphen0 libjavascriptcoregtk-4.0-18 libnautilus-extension1a libwebkit2gtk-4.0-37
  libwebkit2gtk-4.0-37-gtk2 libyelp0 yelp yelp-xsl
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.5 MB of archives.
After this operation, 115 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf libnautilus-extension1a armhf 1:3.18.4.is.3.14.3-0ubuntu6 [51.9 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf gnome-terminal-data all 3.18.3-1ubuntu1 [41.0 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf gnome-terminal armhf 3.18.3-1ubuntu1 [148 kB]
...

Por que o apt fez isso?

    
por Josh 26.01.2018 / 16:08

0 respostas

Tags