Ubutn18.04安装宝塔失败

发布于 2022-09-12 02:02:31 字数 10532 浏览 16 评论 0

Ubutn18.04安装宝塔失败,安装日志如下

inflating: Pillow-3.2.0/winbuild/fixproj.py    
install.sh: line 381: python: command not found  
\=================================================  
Pillow installation failed.  
root@litong-Inspiron-3458:/opt/package/bt# py  
py3clean      py3compile    py3versions   pydoc3        pydoc3.6      pygettext3    pygettext3.6  python3  
root@litong-Inspiron-3458:/opt/package/bt# python3  
python3     python3.6   python3.6m  python3m     
root@litong-Inspiron-3458:/opt/package/bt# python3  
python3     python3.6   python3.6m  python3m     
root@litong-Inspiron-3458:/opt/package/bt# vi install.sh  
root@litong-Inspiron-3458:/opt/package/bt# which python3  
/usr/bin/python3  
root@litong-Inspiron-3458:/opt/package/bt# ln -sf /usr/bin/python3 /usr/bin/python  
root@litong-Inspiron-3458:/opt/package/bt# clear  
root@litong-Inspiron-3458:/opt/package/bt# bash  
bash     bashbug    
root@litong-Inspiron-3458:/opt/package/bt# bash install.sh  
  
+----------------------------------------------------------------------  
| Bt-WebPanel 7.0 FOR CentOS/Ubuntu/Debian  
+----------------------------------------------------------------------  
| Copyright © 2015-2099 BT-SOFT([http://www.bt.cn](http://www.bt.cn/)) All rights reserved.  
+----------------------------------------------------------------------  
| The WebPanel URL will be http://SERVER\_IP:8888 when installed.  
+----------------------------------------------------------------------  
  
Do you want to install Bt-Panel to the /www directory now?(y/n): y  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
curl is already the newest version (7.58.0-2ubuntu3.8).  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
\---------------------------------------------  
Selected download node...  
curl: (28) Resolving timed out after 3514 milliseconds  
install.sh: line 121: \[: =: unary operator expected  
curl: (28) Resolving timed out after 3513 milliseconds  
install.sh: line 121: \[: =: unary operator expected  
Download node:[http://119.188.210.21:5880](http://119.188.210.21:5880/)  
\---------------------------------------------  
Err:1[http://mirrors.sohu.com/ubuntu](http://mirrors.sohu.com/ubuntu)bionic InRelease  
  Could not resolve 'mirrors.sohu.com'  
Err:2[http://mirrors.sohu.com/ubuntu](http://mirrors.sohu.com/ubuntu)bionic-updates InRelease  
  Could not resolve 'mirrors.sohu.com'  
Err:3[http://mirrors.sohu.com/ubuntu](http://mirrors.sohu.com/ubuntu)bionic-backports InRelease  
  Could not resolve 'mirrors.sohu.com'  
Err:4[http://mirrors.sohu.com/ubuntu](http://mirrors.sohu.com/ubuntu)bionic-security InRelease  
  Could not resolve 'mirrors.sohu.com'  
Reading package lists... Done  
W: Failed to fetch[http://mirrors.sohu.com/ubuntu/dists/bionic/InRelease](http://mirrors.sohu.com/ubuntu/dists/bionic/InRelease)  Could not resolve 'mirrors.sohu.com'  
W: Failed to fetch[http://mirrors.sohu.com/ubuntu/dists/bionic-updates/InRelease](http://mirrors.sohu.com/ubuntu/dists/bionic-updates/InRelease)  Could not resolve 'mirrors.sohu.com'  
W: Failed to fetch[http://mirrors.sohu.com/ubuntu/dists/bionic-backports/InRelease](http://mirrors.sohu.com/ubuntu/dists/bionic-backports/InRelease)  Could not resolve 'mirrors.sohu.com'  
W: Failed to fetch[http://mirrors.sohu.com/ubuntu/dists/bionic-security/InRelease](http://mirrors.sohu.com/ubuntu/dists/bionic-security/InRelease)  Could not resolve 'mirrors.sohu.com'  
W: Some index files failed to download. They have been ignored, or old ones used instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
E: Unable to locate package ruby  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
lsb-release is already the newest version (9.20170808ubuntu1).  
lsb-release set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
wget is already the newest version (1.19.4-1ubuntu2.2).  
wget set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
curl is already the newest version (7.58.0-2ubuntu3.8).  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package python  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package python-dev  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package python-imaging  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
zip is already the newest version (3.0-11build1).  
zip set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
unzip is already the newest version (6.0-21ubuntu1).  
unzip set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.4).  
openssl set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package libssl-dev  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
Package gcc is not available, but is referred to by another package.  
This may mean that the package is missing, has been obsoleted, or  
is only available from another source  
  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Package 'gcc' has no installation candidate  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
libxml2 is already the newest version (2.9.4+dfsg1-6.1ubuntu1.2).  
libxml2 set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package libxml2-dev  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package libxslt  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
zlib1g is already the newest version (1:1.2.11.dfsg-0ubuntu2).  
zlib1g set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package zlib1g-dev  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package libjpeg-dev  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Unable to locate package libpng-dev  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
lsof is already the newest version (4.89+dfsg-0.1).  
lsof set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
libpcre3 is already the newest version (2:8.39-9).  
libpcre3 set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
Package libpcre3-dev is not available, but is referred to by another package.  
This may mean that the package is missing, has been obsoleted, or  
is only available from another source  
  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
E: Package 'libpcre3-dev' has no installation candidate  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
cron is already the newest version (3.0pl1-128.1ubuntu1).  
cron set to manually installed.  
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  
W: --force-yes is deprecated, use one of the options starting with --allow instead.  
Reading package lists... Done  
Building dependency tree        
Reading state information... Done  
E: Unable to locate package python-dev  
Stopping Bt-Tasks...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文