apt-get install wants to remove essential packages

Jan 31, 2014
113
11
38
Have I messed up my proxmox 3.1 installation? Trying to install some packages makes APT wantto remove packages that seem quite essential. I did install several other packages, they installednicely without side effects.

# apt-get install netcat-openbsd
Reading package lists... Done
Building dependency tree Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-transport-https dtach iputils-arping libapt-pkg-perl libio-multiplex-perl liblzo2-2 lzop resource-agents-pve socat
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed: pve-kernel-2.6.32-26-pve
The following packages will be REMOVED:
proxmox-ve-2.6.32 pve-manager qemu-server
The following NEW packages will be installed: netcat-openbsd pve-kernel-2.6.32-26-pve
0 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 33.1 MB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

I assume proxmox will break if I let APT remove proxmox-ve-2.6.32 pve-manager qemu-server
 
Last edited by a moderator:
Have I messed up my proxmox 3.1 installation? Trying to install some packages makes APT wantto remove packages that seem quite essential. I did install several other packages, they installednicely without side effects.

# apt-get install netcat-openbsd
Reading package lists... Done
Building dependency tree Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-transport-https dtach iputils-arping libapt-pkg-perl libio-multiplex-perl liblzo2-2 lzop resource-agents-pve socat
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed: pve-kernel-2.6.32-26-pve
The following packages will be REMOVED:
proxmox-ve-2.6.32 pve-manager qemu-server
The following NEW packages will be installed: netcat-openbsd pve-kernel-2.6.32-26-pve
0 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 33.1 MB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

I assume proxmox will break if I let APT remove proxmox-ve-2.6.32 pve-manager qemu-server
Hi,
why not netcat-traditional? Which is automaticly installed on an pve-host.
Code:
# dpkg -l | grep netcat
ii  netcat-traditional               1.10-40                       amd64        TCP/IP swiss army knife
Udo
 
That is not the point. netcat-openbsd was just an example, there are other packages that do the same thing, i.e. trying to install them causes removal of those essential packages.

Seems qemu-server depends on netcat-traditional, and netcat-openbsd conflicts with that. There is the reason APT wants to remove those essential packages.
 
That is not the point. netcat-openbsd was just an example

So what exactly is the point? If you install conflicting packages APT tries to resolve the conflicts.
In short, proxmox depends on netcat-traditional. That is why you run into problems if you
remove or replace it.
 
Hi,

I know this is an old topic, but recently I too faced a similar problem on some of my older version 3.4 servers. The "new" arping conflicts with the the older "iputils-arping" and in turn wants to remove the "pve-manager".

*** As expected, if I accept this, the WebGUI and PVE in general stops working. :(:(:(

Code:
# apt-get install arping
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libnet1
The following packages will be REMOVED:
  iputils-arping pve-manager resource-agents-pve
The following NEW packages will be installed:
  arping libnet1
0 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/87.5 kB of archives.
After this operation, 783 kB disk space will be freed.
Do you want to continue [Y/n]?

Code:
# pveversion -v
pve-manager: 3.4-13 (running version: 3.4-13/4c745357)
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-3
pve-cluster: 3.0-19
qemu-server: 3.4-8
pve-firmware: 1.1-5
libpve-common-perl: 3.0-26
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-34
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-25
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1


Could you folks recommend a safe set of commands to remove the "iputils-arping" and install "arping" ?

*** Installing "arping" on the new version 4 doesn't cause any problem.

Thanks and Regards,
Shantanu
 
If you really need arping you should use V 4.x. I doubt that there will be a fix for this soon.
 

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!