报错zip warning: name not matched: /home/ICT_DeepFake-main/DATASET/align_output zip error: Nothing to do!
时间: 2024-01-17 09:06:09 浏览: 287
这个错误提示是因为 `zip` 命令找不到要压缩的文件或文件夹,可能是路径不正确或者文件夹不存在导致的。
请确认以下事项:
1. 确认你当前所在的工作目录是正确的,是否在 `ICT_DeepFake-main` 目录下。
2. 确认要压缩的文件夹 `align_output` 是否存在,路径是否正确。
如果以上信息都正确,可以尝试使用绝对路径进行压缩,例如:
```bash
zip -r real.zip /home/user/ICT_DeepFake-main/DATASET/align_output
```
其中,`/home/user/ICT_DeepFake-main` 是你的 `ICT_DeepFake-main` 目录的绝对路径。
相关问题
OpenSSH_9.2p1 Debian-2, OpenSSL 3.0.9 30 May 2023 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: /etc/ssh/ssh_config line 21: Applying options for * debug1: Connecting to lxslc702.ihep.ac.cn [2401:de00:2:332::186] port 22. debug1: Connection established. debug1: identity file /home/fyf/.ssh/id_rsa type -1 debug1: identity file /home/fyf/.ssh/id_rsa-cert type -1 debug1: identity file /home/fyf/.ssh/id_ecdsa type -1 debug1: identity file /home/fyf/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/fyf/.ssh/id_ecdsa_sk type -1 debug1: identity file /home/fyf/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /home/fyf/.ssh/id_ed25519 type -1 debug1: identity file /home/fyf/.ssh/id_ed25519-cert type -1 debug1: identity file /home/fyf/.ssh/id_ed25519_sk type -1 debug1: identity file /home/fyf/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /home/fyf/.ssh/id_xmss type -1 debug1: identity file /home/fyf/.ssh/id_xmss-cert type -1 debug1: identity file /home/fyf/.ssh/id_dsa type -1 debug1: identity file /home/fyf/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4 debug1: compat_banner: match: OpenSSH_7.4 pat OpenSSH_7.4* compat 0x04000006 debug1: Authenticating to lxslc702.ihep.ac.cn:22 as 'fanyufan' debug1: load_hostkeys: fopen /home/fyf/.ssh/known_hosts: No such file or directory debug1: load_hostkeys: fopen /home/fyf/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY Connection closed by 2401:de00:2:332::186 port 22
根据您提供的信息,看起来您尝试使用SSH连接到主机lxslc702.ihep.ac.cn的端口22,但连接被远程服务器关闭了。关闭连接的原因可能有很多,例如网络问题、身份验证失败或服务器配置问题。要进一步诊断此问题,您可以尝试以下步骤:
1. 确保网络连接正常:检查您的网络连接是否正常,确保您可以访问远程服务器。
2. 检查身份验证凭证:确保您使用的身份验证凭证(例如用户名和密码、SSH密钥)是正确的,并且具有连接到远程服务器的权限。
3. 检查远程服务器配置:如果您有权限访问远程服务器的配置文件,请检查是否存在任何配置问题,例如防火墙设置、访问限制或SSH服务配置。
如果您仍然遇到问题,建议联系远程服务器的管理员或技术支持人员以获取更多帮助和支持。
cobbler 导入CentOS-8.5.2111-x86_64-dvd1.iso报错 No signature matched in /var/www/cobbler/ks_mirror/CentOS8_5-x86_64
这个错误可能是由于Cobbler无法验证CentOS-8.5.2111-x86_64-dvd1.iso的签名引起的。您可以尝试手动导入CentOS-8.5.2111-x86_64-dvd1.iso并禁用签名验证。
以下是解决方法:
1. 手动将CentOS-8.5.2111-x86_64-dvd1.iso挂载到一个本地目录中。例如:
```
mkdir /mnt/iso
mount -o loop CentOS-8.5.2111-x86_64-dvd1.iso /mnt/iso
```
2. 在Cobbler服务器上创建一个新的ISO源。例如:
```
cobbler repo add --name=centos8.5 --mirror=/mnt/iso --arch=x86_64 --breed=yum
```
3. 禁用签名验证。在Cobbler配置文件(/etc/cobbler/settings)中,将“yum_distro_sign_metadata”设置为0,以禁用签名验证。例如:
```
yum_distro_sign_metadata: 0
```
4. 在重新导入kickstart文件之前,重新启动Cobbler服务。例如:
```
systemctl restart cobblerd
```
5. 导入kickstart文件。
```
cobbler import --path=/mnt/iso --name=centos8.5
```
这样,您就可以成功导入CentOS-8.5.2111-x86_64-dvd1.iso并创建kickstart文件了。
阅读全文