我目前正在使用Ubuntu 14.04.1服务器。
签发时:
sudo apt-get upgrade
apt-get说:
WARNING: The following packages cannot be authenticated
这是来自用于部署其他6个VM的ISO的全新安装。我唯一看到的是此VM,因为它位于不同的位置,因此指向其他服务器进行更新。
我尝试重新安装VM 3次。我已经重建了/ var / lib / apt / lists目录。我也尝试过使用以下命令更新密钥:
sudo apt-key update
sudo apt-key net-update
sudo aptitiude reinstall ubuntu-keyring
它尝试更新的软件包是:
The following packages will be upgraded:
accountsservice apport byobu gir1.2-glib-2.0 krb5-locales
libaccountsservice0 libc-bin libc6 libgirepository-1.0-1 libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libpam-systemd libssl1.0.0
libsystemd-daemon0 libsystemd-login0 libudev1 multiarch-support net-tools
openssl python3-apport python3-distupgrade python3-gi python3-problem-report
screen systemd-services ubuntu-release-upgrader-core udev
单击“ y”后,我得到的是:
WARNING: The following packages cannot be authenticated!
libc-bin libc6 libssl1.0.0 udev libudev1 libk5crypto3 libgssapi-krb5-2
libkrb5-3 libkrb5support0 libpam-systemd systemd-services libsystemd-daemon0
libsystemd-login0 multiarch-support net-tools accountsservice
libaccountsservice0 libgirepository-1.0-1 gir1.2-glib-2.0 krb5-locales
openssl ubuntu-release-upgrader-core python3-distupgrade python3-gi
python3-problem-report python3-apport apport screen byobu
Install these packages without verification? [y/N]
我担心自己正在下载受损的软件包。apt-get更新也可以正常运行,而不会发出任何警告。
问题似乎是在防火墙上配置的代理。我正在与我们的IT部门合作,弄清楚它的确切设置是什么,但是发生的情况是apt-get会调用* / Release.gpg并将content-type设置为“ text / html”时,代理会拒绝请求。
我希望apt-get update在下载文件时会指出问题,因为这样可以节省大量时间。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句