[SOLVED] Installing ifupdown2 wants to remove pve

martind

Member
Aug 3, 2020
13
0
6
43
Hi all, using proxmox for quite a while but first time I've encountered this.

Proxmox no subscription; http://download.proxmox.com/debian/pve buster pve-no-subscription in my sources.list

When I try and install, it wants to remove pve entirely:


Bash:
root@burke:/etc/apt# apt install ifupdown2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python-argcomplete
Suggested packages:
  ethtool python-gvgen python-mako
The following packages will be REMOVED:
  ifenslave ifupdown libproxmox-acme-perl libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-guest-common-perl
  libpve-http-server-perl libpve-storage-perl librados2-perl proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager pve-xtermjs
  qemu-server
The following NEW packages will be installed:
  ifupdown2 python-argcomplete
0 upgraded, 2 newly installed, 19 to remove and 40 not upgraded.
Need to get 225 kB of archives.
After this operation, 14.3 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Any idea what's going on and how to get around it? Looking to add a bridge using the GUI but it wont work unless this is installed.. and hitting 'y' to proceed is awfy risky!
Thanks,

Martin
 
hi,

do you have any other repositories configured? for example in /etc/apt/sources.list.d ?

could you post the full output of apt update?
 
Nothing special apart from the usual culprits - this is happening on 2 proxmox machines I have in two completely separate networks/installs/locations.

Requested output:

Bash:
root@burke:/etc/apt# apt update
Hit:1 http://ftp.uk.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Get:3 http://ftp.uk.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://download.proxmox.com/debian/pve buster InRelease [3,051 B]
Get:5 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages [264 kB]
Fetched 319 kB in 1s (404 kB/s) 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
74 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@burke:/etc/apt#
 
Update: running apt upgrade first seems to have resolved it.

Apologies!

It does, however, remove "ifenslave" package
 
no worries, glad the issue is solved!
 
  • Like
Reactions: martind
no worries, glad the issue is solved!

Sorry to re-open this. Problem resolved on one machine but not the other. Even after doing an upgrade for all packages, it's still throwing a wobbly:

Bash:
root@sprocket:/etc/apt# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@sprocket:/etc/apt# apt install ifupdown2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python-argcomplete
Suggested packages:
  ethtool python-gvgen python-mako
The following packages will be REMOVED:
  ifenslave ifupdown libproxmox-acme-perl libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-storage-perl
  librados2-perl proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager pve-xtermjs qemu-server
The following NEW packages will be installed:
  ifupdown2 python-argcomplete
0 upgraded, 2 newly installed, 19 to remove and 0 not upgraded.
Need to get 225 kB of archives.
After this operation, 14.3 MB disk space will be freed.
Do you want to continue? [Y/n]
 
could you show output of apt update and the configured repositories for this machine?
 
Okay, solved. PEBKAC and serious lack of coffee.

...running the commands across 2 consoles and not realising one of the consoles was the machine I'd already updated :confused:

Sorry again.
 
great! no worries!