Re: apt vs apt-get
bonjour,
En lisant le mail de Pierre L.
je viens de tester la commande "apt" pour installer mes MAJ via ssh,
j'avais cru comprendre que apt était une commande interactive.
En réalité, si je tape "apt", j'obtiens:
apt 1.6.1 (i386)
Usage: apt [options] command
apt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.
. . . . .
De plus, apt me donne des résultats incohérents:
==> apt upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
bdf2psf debian-zh-faq-s . . .
libavahi-gobject0 . . .
libestools2.4 . . .
libgnome-2-0 . . .
libgnomeui-0 . . .
libllvm3.9 . . .
libopencv-features2d2 . . .
libopencv-ml2.4v5 . . .
libopencv-ts2.4v5 . . .
libruby2.3 . . .
libtxc-dxtn-s2tc . . .
manpages-fr-extra . . .
vlc-plugin-video-splitter . . .
Use 'apt autoremove' to remove them
==> apt autoremove
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 2884 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 2884 not upgraded.
apt-get autoremove donne la même chose
Cordialement,
--
Pierre Frenkiel
Reply to: