fix Linux apt-get install package HTTPS error All In One
errors
E: The method driver /usr/libapt/methods/https could not be found.
N: Is the package apt-transport-https installed?
solutions
- symbol link ? soft link / hard link
$ cd /usr/lib/apt/methods
# symbol link ✅ 符号连接
$ sudo ln -s http https
- install
apt-transport-https
$ apt-get install apt-transport-https
demos
pi@raspberrypi:~ $ cd /usr/lib/apt/methods
pi@raspberrypi:/usr/lib/apt/methods $ ls -al
total 452
drwxr-xr-x 2 root root 4096 Apr 5 2016 .
drwxr-xr-x 4 root root 4096 Apr 5 2016 ..
lrwxrwxrwx 1 root root 4 Apr 2 2016 bzip2 -> gzip
-rwxr-xr-x 1 root root 34252 Apr 2 2016 cdrom
-rwxr-xr-x 1 root root 17868 Apr 2 2016 copy
-rwxr-xr-x 1 root root 17868 Apr 2 2016 file
-rwxr-xr-x 1 root root 58860 Apr 2 2016 ftp
-rwxr-xr-x 1 root root 30156 Apr 2 2016 gpgv
-rwxr-xr-x 1 root root 21964 Apr 2 2016 gzip
-rwxr-xr-x 1 root root 79312 Apr 2 2016 http
lrwxrwxrwx 1 root root 4 Apr 2 2016 lzma -> gzip
-rwxr-xr-x 1 root root 103888 Apr 2 2016 mirror
-rwxr-xr-x 1 root root 34252 Apr 2 2016 rred
-rwxr-xr-x 1 root root 30164 Apr 2 2016 rsh
lrwxrwxrwx 1 root root 3 Apr 2 2016 ssh -> rsh
lrwxrwxrwx 1 root root 4 Apr 2 2016 xz -> gzip
(? 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
https://www.cnblogs.com/xgqfrms/p/17301579.html
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 ?️,侵权必究⚠️!
- apt-get install package Linux HTTPSapt-get install package linux wiringpi apt-get install errors python-opengl apt-get install ubuntu 软件包 镜像apt-get install apt-get install libtool sudo directory packages install oserror create-remix following installed package yum yum-utils install package requirements installable composer packages environmenterror directory packages install