灌水王 发表于 2022-5-15 15:46:20

请教 小鸡无法运行任何脚本

Debian 8跑八合一脚本一直卡在这一步然后超时重连
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443...

连curl也安装不了,也卡在下载这步不动
root@CCphoenix:~# apt update && apt install wget curl -y
Ign http://ftp.us.debian.org jessie InRelease
Get:1 http://ftp.us.debian.org jessie-updates InRelease             
Get:2 http://ftp.us.debian.org jessie Release.gpg                                              
Get:3 http://ftp.us.debian.org jessie-updates/main Sources             
Get:4 http://ftp.us.debian.org jessie-updates/main amd64 Packages                            
Get:5 http://ftp.us.debian.org jessie-updates/main Translation-en                            
Get:6 http://ftp.us.debian.org jessie Release                      
Get:7 http://ftp.us.debian.org jessie/main Sources                         
Get:8 http://ftp.us.debian.org jessie/main amd64 Packages                            
Get:9 http://ftp.us.debian.org jessie/main Translation-en

安装Debian 9后登录装个curl就一直出现以下错误,什么都干不了
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

同节点的mjj说网速还行,我是个菜鸟,完全门外汉,谷歌了不少解决办法,比如这个https://phoenixnap.com/kb/fix-could-not-get-lock-error-ubuntu
一杀占用apt-get或者dpkg进程小鸡就失联了,然后只能重装

已经让virmach客服给我装了两次Debian 10了,同样出现以上问题,求教于各位,如何解决

灌水王 发表于 2022-5-15 15:47:09

不是换源的问题,virmach debian和ubuntu系统安装后都会自动更新,这时候给apt上锁了,这段时间你apt install基本上都会失败。不信的话你可以重装一个系统,ssh连过去等几分钟,你会发现系统更新完了会自动重启一次,然后ssh连接会断开。

我给自己的小鸡写了一键配置脚本,发现virmach家死活都会报错发现的,重装完系统等个几分钟到十几分钟,再apt install想要安装的软件

lefiiibraiq31 发表于 2022-5-15 15:48:03

vir初次开机会进行更新

灌水王 发表于 2022-5-15 15:48:32

帮顶

灌水王 发表于 2022-5-15 15:48:58

放弃吧 这点小问题都解决不了往后问题多了去了.

灌水王 发表于 2022-5-15 15:49:36

https://www.jianshu.com/p/20f2186d9cbb
换个源试试https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

灌水王 发表于 2022-5-15 15:50:34

换源

jonde5vl1v8 发表于 2022-5-15 15:51:13

这大概率是源的问题吧,同楼上,换个源试试

垂钓僧 发表于 2022-5-15 15:52:12

我用腾讯云无忧低配 都能跑青龙

灌水王 发表于 2022-5-15 15:53:07

readonly了

灌水王 发表于 2022-5-15 15:53:29

第一 数据源有问题
第二 你Github都连不上的话 你怎不先ping 有没有问题? 再来你的 Github链接 有没有问题 ?
很多步骤可以排除 这是基本操作 如过这些基本操作排除故障 建议你先把基础搞懂再用这些服务不然就放弃别用   
学习这些基本操作 可以在本地的PC 安装虚拟化软体 先安装测试 当摸熟了在上云环境
页: [1]
查看完整版本: 请教 小鸡无法运行任何脚本