当我试图在运行在ESXi 7中的VM上的UbuntuDesktop22.04LTS中添加任何附加的存储库时,我遇到了问题。
当我尝试sudo apt update
时,我正面临以下问题
...
Reading package lists... Done
E: Method https has died unexpectedly!
E: Sub-process https received signal 4.
每当我尝试添加存储库时,都会发生这种情况。我试图添加Docker和崇高文本库,如下所示:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
当我删除sources.list.d
的内容时,sudo apt update
可以正常工作。
任何帮助都将不胜感激!谢谢
编辑
另外,我也不能复制任何回购。我试过使用curl
、wget
和git clone
。所有这些命令,给我错误:
error: git-remote-https died of signal 4
发布于 2022-08-23 08:45:42
sudo GNUTLS_CPUID_OVERRIDE=0x1 apt-get update
这个对我有用
根据这个https://groups.google.com/g/linux.debian.bugs.dist/c/ItKoVDieSow
您需要在下面添加~/..bashrc
export GNUTLS_CPUID_OVERRIDE=0x1
长期使用
发布于 2022-10-31 10:44:39
它帮我解决了这个问题。希望这能帮上忙。
发布于 2022-08-03 17:12:46
请尝试在兼容模式下创建VM - ESXi 6.0虚拟机.我不得不在另一个基于Ubuntu的图片上这样做。
https://askubuntu.com/questions/1420966
复制相似问题