You are attempting to remove the meta-package 'proxmox-ve'

emoxam

Well-Known Member
Apr 9, 2019
65
1
48
43
Code:
After this operation, 84.6 MB disk space will be freed.
Do you want to continue? [Y/n]
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

I don't know if PVE was installed on top of the Debian because it was not me. So what should i do ?

apt remove linux-image-amd64
Code:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package 'linux-image-amd64' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  pve-kernel-5.4.106-1-pve pve-kernel-5.4.114-1-pve pve-kernel-5.4.119-1-pve pve-kernel-5.4.78-2-pve
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 628 not upgraded.
 
Last edited:
Double check your package repositories, you can find a list of the repository configuration for each Proxmox VE version here https://pve.proxmox.com/wiki/Package_Repositories and how/where to edit them in the docs https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_package_repositories


cat /etc/apt/sources.list
Code:
deb http://ftp.ru.debian.org/debian bullseye main contrib
deb http://ftp.ru.debian.org/debian bullseye-updates main contrib
# security updates
deb http://security.debian.org bullseye-security main contrib
deb http://hwraid.le-vert.net/debian bullseye main

cat /etc/apt/sources.list.d/pve.list
Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

Is ther any errors? Should i use bookworm instead ? I am trying to pve6to7
 
cat /etc/apt/sources.list
Code:
deb http://ftp.ru.debian.org/debian bullseye main contrib
deb http://ftp.ru.debian.org/debian bullseye-updates main contrib
# security updates
deb http://security.debian.org bullseye-security main contrib
deb http://hwraid.le-vert.net/debian bullseye main

cat /etc/apt/sources.list.d/pve.list
Code:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

Is ther any errors? Should i use bookworm instead ? I am trying to pve6to7
Follow the upgrade guide carefully, especially https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Failing_upgrade_to_"bullseye"

Also, please make sure to use official debian repositories only: deb http://hwraid.le-vert.net/debian bullseye main looks not so familiar to me
 
Follow the upgrade guide carefully, especially https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Failing_upgrade_to_"bullseye"

Also, please make sure to use official debian repositories only: deb http://hwraid.le-vert.net/debian bullseye main looks not so familiar to me

apt -f install
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils pve-kernel-5.4.106-1-pve pve-kernel-5.4.114-1-pve pve-kernel-5.4.119-1-pve pve-kernel-5.4.78-2-pve
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 141 not upgraded.

Thias repo was for sas2ircu.
I uninstalled it via
Code:
apt remove sas2ircu

apt update
apt upgrade
apt dist-upgrade

and error is still here.. how can i see what package is guilty ?
 
Please post the full output of apt update.
 
Please post the full output of apt update.
apt update
Code:
Hit:1 http://ftp.ru.debian.org/debian bullseye InRelease
Hit:2 http://ftp.ru.debian.org/debian bullseye-updates InRelease                                     
Hit:3 http://security.debian.org bullseye-security InRelease                                         
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease                 
Reading package lists... Done                           
Building dependency tree       
Reading state information... Done
619 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
apt update
Code:
Hit:1 http://ftp.ru.debian.org/debian bullseye InRelease
Hit:2 http://ftp.ru.debian.org/debian bullseye-updates InRelease                                    
Hit:3 http://security.debian.org bullseye-security InRelease                                        
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease                
Reading package lists... Done                          
Building dependency tree      
Reading state information... Done
619 packages can be upgraded. Run 'apt list --upgradable' to see them.
Next please the full output of apt dist-upgrade. If you installed on top of debain, also make sure to remove the debian kernel beforehand as described https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Upgrade_wants_to_remove_package_'proxmox-ve'
 
i ran apt remove linux-image-amd64
i mentioned it at my first post

Sorry, i migrate VMs and reinstall OS on all the nodes.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!