Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

APT method bzip2 doesn't exist

Writer 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 xz

Actually for the moment, APT can't install anything cause it can't unzip with bzip2 : the method doesn't exist inside the proper folder.

1

1 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/bzip2

Install bzip2

sudo apt-get install bzip2

Alternative

apt-get download bzip2
sudo dpkg -i bzip2*.deb
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy