完美解决 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 Thanks for the reply, according to Unraid Dev team, it may happen this year.
Metaldololity Metaldololity Whoa, that's really simple. You just save my time a lot. Thankyou!
HopoL HopoL Since you’ve got the backup, it’s actually pretty simple. Just restore the backup files to your new flash drive, then head over to the /config directory and edit the go file. Look for export UNRAID_GUID=xxxxxxxxxxxxxx and swap it with your new drive's GUID. That should do the trick!
Metaldololity Metaldololity Really apreciate for your fast respond, mate. I actually have the backup of the flashdrive (from regular unraid backup). The problem is, when i search on youtube tutorial about changing the failed flashdrive, the process need some sort of confirmation with an account in unraid (blacklist the old one -> whitelist the new one). Since i have a cracked unraid, i don't know how to register my new flashdrive as the correct one (and the system not asking me for the old failed flashdrive). Thanks in advance
HopoL HopoL Man, that's a tough spot to be in. Regularly backing up your /boot folder is super important for exactly this reason. If you don't have a backup and your flash drive is completely fried, your best bet is to Google some specific recovery guides or check the Unraid forums. There are ways to rebuild your config by identifying your parity and data drives, but it can be a bit of a process. Hope you can get it sorted!