Hello Linux Geeksters. As you may know, APT (Advanced Package Tool) has been updated yet again, reaching version 1.0.4. While APT 1.0 brought the following new features: apt list, apt search, apt show, apt update, apt install, apt remove, apt full-upgrade, app edit-sources, APT 1.0.4 brings some changes. Among others, the CacheDB has been implemented for source packages in apt-ftparchive, the run-tests progress is now displayed, the files having upgrades available are shown after apt update and some bug-fixes have been implemented. For more information, see the official announcement.
In this article I will show you how to install APT 1.0.4 on Ubuntu, Linux Mint, Pinguy OS, Elementary OS, LXLE, Debian, Crunchbang and other Ubuntu/Debian derivative systems.
Because it is not available via any repository or ppa, we have to download the apt deb package from the debian ftp and install it via command-line. I prefer gdebi over dpkg, due to the fact that it also handles dependencies.
How to install APT 1.0.4 on 32 bit Ubuntu, Linux Mint, Pinguy OS, Elementary OS, LXLE, Debian, Crunchbang and derivatives:
$ sudo apt-get install gdebi
$ wget ftp.debian.org/debian/pool/main/a/apt/apt_1.0.4_i386.deb
$ sudo gdebi apt_1.0.4_i386.deb
How to install APT 1.0.4 on 64 bit Ubuntu, Linux Mint, Pinguy OS, Elementary OS, LXLE, Debian, Crunchbang and derivatives:
$ sudo apt-get install gdebi
$ wget ftp.debian.org/debian/pool/main/a/apt/apt_1.0.4_amd64.deb
$ sudo gdebi apt_1.0.4_amd64.deb
san-claudio @ debian-voyager ~
└─ $ ▶ wget http://ftp.debian.org/debian/pool/main/a/apt/apt_1.0.4_amd64.deb
–2014-07-10 17:14:57– http://ftp.debian.org/debian/pool/main/a/apt/apt_1.0.4_amd64.deb
Résolution de http://ftp.debian.org (ftp.debian.org)… 130.89.148.12, 2001:610:1908:b000::148:12
Connexion vers http://ftp.debian.org (ftp.debian.org)|130.89.148.12|:80…connecté.
requête HTTP transmise, en attente de la réponse…404 Not Found
2014-07-10 17:14:57 ERREUR 404: Not Found.
Debian Wheezy 7.5
san-claudio @ debian-voyager ~
└─ $ ▶ uname -a
Linux debian-voyager 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
the 1.0.4 version has been removed, follow the instructions from this article to install apt 1.0.5
https://linuxg.net/how-to-install-apt-1-0-5-on-ubuntu-linux-mint-elementary-os-debian-crunchbang-and-other-ubuntu-and-debian-derivatives/