完美解决 ProXmoX VE apt-get update 报错的问题

7,978 views次阅读
一条评论

提醒:本文最后更新于2025-06-19 10:40,文中所关联的信息可能已发生改变,请知悉!

完美解决 ProXmoX VE apt-get update 报错的问题

 

 

解决方法

 

nano /etc/apt/sources.list.d/pve-enterprise.list

注释掉

#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

也可以直接删除掉

rm -f /etc/apt/sources.list.d/pve-enterprise.list

 

为了更新proxmox 还需要

nano /etc/apt/sources.list

添加内容:

deb http://download.proxmox.com/debian stretch pve-no-subscription

 

echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

 

wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

 

apt update && apt dist-upgrade

 

官方文档:

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch

 

之后就可以正常使用

apt update && apt dist-upgrade

 

更新 Proxmox

 

正文完
 0
HopoL
版权声明:本站原创文章,由 HopoL 于2018-04-17发表,共计669字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(一条评论)
amdxp 评论达人 LV.1
2018-08-09 17:38:04 回复

很有用

 Windows  Chrome  中国香港香港宽频

HopoL's Blog

文章搜索
最新评论
阿龙 阿龙 谢谢大佬分享
MickeyDee MickeyDee Cancell that, figured it out and it works, Much appriciated .
MickeyDee MickeyDee Hi Thanks for sharing, please clarify, do you mean Rename the folder "unraider-7.2.0" to unraider and copy it to the config . Thanks
lzdwudi lzdwudi 我也想试试 但我目前的版本是6.12.13 我不敢做大的动作
wice222 wice222 archive is demaged
tstUser01 tstUser01 Thanks for sharing!
saisu saisu how to install from scratch for noobs like me please :D What is GUID ??
Adrian Adrian How update works? Should we rename unraider file, do the update and rename back? from 7.2.0 to 7.2.1
步兵 步兵 哈喽 想请问一下文件是从老毛子网站下载的吗 因为怕有挖矿的后门 所以想了解确认一下 感谢
hpapagaj hpapagaj Thank you.