APT method bzip2 doesn't exist
Sebastian Wright
I tried to update my system on Xubuntu : sudo apt-get update && sudo apt-get upgrade.
I got this error message :
E: Le pilote pour la méthode /usr/lib/apt/methods/bzip2 n'a pu être trouvé.In english the driver for the method /usr/lib/apt/methods/bzip2 can't be found.
I checked the folder :
$ ls /usr/lib/apt/methods/
cdrom copy file ftp gpgv gzip http https mirror rred rsh ssh xzActually for the moment, APT can't install anything cause it can't unzip with bzip2 : the method doesn't exist inside the proper folder.
11 Answer
apt does not depend on bzip2 - bzip2 is only a symbolic link to gzip.
Create the link
sudo ln -s /usr/lib/apt/methods/gzip /usr/lib/apt/methods/bzip2Install bzip2
sudo apt-get install bzip2Alternative
apt-get download bzip2
sudo dpkg -i bzip2*.deb 2