解决apt install最后出现Timeout was reached错误
表现
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
root@jp:~# apt install php Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libapache2-mod-php7.3 php7.3 The following NEW packages will be installed: libapache2-mod-php7.3 php php7.3 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 1414 kB of archives. After this operation, 4824 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirrors.linode.com/debian buster/main amd64 libapache2-mod-php7.3 amd64 7.3.27-1~deb10u1 [1362 kB] Get:2 http://mirrors.linode.com/debian buster/main amd64 php7.3 all 7.3.27-1~deb10u1 [46.8 kB] Get:3 http://mirrors.linode.com/debian buster/main amd64 php all 2:7.3+69 [5964 B] Fetched 1414 kB in 1s (1525 kB/s) Selecting previously unselected package libapache2-mod-php7.3. (Reading database ... 82602 files and directories currently installed.) Preparing to unpack .../libapache2-mod-php7.3_7.3.27-1~deb10u1_amd64.deb ... Unpacking libapache2-mod-php7.3 (7.3.27-1~deb10u1) ... Selecting previously unselected package php7.3. Preparing to unpack .../php7.3_7.3.27-1~deb10u1_all.deb ... Unpacking php7.3 (7.3.27-1~deb10u1) ... Selecting previously unselected package php. Preparing to unpack .../php_2%3a7.3+69_all.deb ... Unpacking php (2:7.3+69) ... Setting up libapache2-mod-php7.3 (7.3.27-1~deb10u1) ... Creating config file /etc/php/7.3/apache2/php.ini with new version apache2_invoke: Enable module php7.3 Setting up php7.3 (7.3.27-1~deb10u1) ... Setting up php (2:7.3+69) ... apt install apache2 Error: Timeout was reached |
解决
1 |
apt purge libappstream4 |
know more
https://blog.csdn.net/mt1123456/article/details/102830952
There are no comments yet