
问题描述
1台阿里云主机Debian11系统,再使用命令 sudo apt update -y && sudo apt upgrade -y 更新补丁时报错。报错信息如下:
E: The repository 'http://mirrors.cloud.aliyuncs.com/debian bullseye-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
问题描述
Debian在运行shell脚本的时候报错,报错提示-bash: ./xx.sh: cannot execute: required file not found
问题分析
这个问题是shell脚本文件格式的问题,在Windows下为Dos格式,在Debian(Linux)下需要使用unix格式。
解决方法







