When you install vlan proposes to remove all proxmox

VecH

Renowned Member
Sep 12, 2015
49
0
71
The day before yesterday upgraded: apt-get update && apt-get dist-upgrade
Today, when you try to install the package vlan, proposes to remove all proxmox
What happened?

Code:
root@host:~# apt-get install vlan
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apparmor apt-transport-https bridge-utils ceph-common cgmanager corosync-pve criu cstream dtach gdisk glusterfs-client glusterfs-common hdparm ifenslave ipset javascript-common libaio1 libanyevent-http-perl libanyevent-perl
  libapparmor-perl libapparmor1 libapt-pkg-perl libasound2 libasound2-data libasync-interrupt-perl libasyncns0 libauthen-pam-perl libboost-system1.55.0 libboost-thread1.55.0 libcaca0 libcephfs1 libcgmanager0 libclone-perl
  libcorosync4-pve libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcurl3 libdbi1 libdevel-cycle-perl libdirectfb-1.2-9 libev-perl libfile-chdir-perl libfile-readbackwards-perl libfile-sync-perl
  libfilesys-df-perl libflac8 libgnutlsxx28 libgoogle-perftools4 libguard-perl libibverbs1 libice6 libio-multiplex-perl libio-stringy-perl libipset3 libiscsi4 libjemalloc1 libjs-jquery liblinux-inotify2-perl liblockfile-simple-perl
  liblog-agent-perl liblvm2app2.2 liblzo2-2 libmime-base32-perl libnet-dbus-perl libnet-dns-perl libnet-ip-perl libnetfilter-log1 libnih-dbus1 libnih1 libnspr4 libnss3 libnuma1 liboath0 libogg0 libprotobuf-c1 libprotobuf9 libpulse0
  libpve-access-control libpve-common-perl libpve-storage-perl libpython2.7 libqb0 librados2 librados2-perl librbd1 librdmacm1 librrd4 librrds-perl libsdl1.2debian libseccomp2 libsm6 libsndfile1 libstring-shellquote-perl
  libtcmalloc-minimal4 libtie-ixhash-perl libunwind8 libusbredirparser1 libuuid-perl libvorbis0a libvorbisenc2 libx11-xcb1 libxml-twig-perl libxml-xpathengine-perl libxtst6 lxc-pve lxcfs lzop netcat6 novnc-pve numactl oathtool
  powermgmt-base pve-cluster pve-container pve-firewall pve-ha-manager pve-libspice-server1 pve-qemu-kvm python-blinker python-ceph python-cffi python-cryptography python-flask python-ipaddr python-itsdangerous python-jinja2
  python-markupsafe python-ndg-httpsclient python-openssl python-ply python-protobuf python-pyasn1 python-pycparser python-pyinotify python-requests python-urllib3 python-werkzeug qemu-server rrdcached rsync socat spiceterm sqlite3
  uidmap vncterm x11-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-manager
The following NEW packages will be installed:
  vlan
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 36.5 kB of archives.
After this operation, 150 kB of additional disk space will be used.
Do you want to continue? [Y/n]

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

Code:
Hit http://security.debian.org jessie/updates InRelease
Ign http://download.proxmox.com jessie InRelease
Ign http://ftp.ru.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://download.proxmox.com jessie Release.gpg
Hit http://ftp.ru.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://download.proxmox.com jessie Release
Hit http://ftp.ru.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://download.proxmox.com jessie/pve-no-subscription amd64 Packages
Hit http://ftp.ru.debian.org jessie-updates/main Sources
Hit http://security.debian.org jessie/updates/main Translation-en
Get:1 http://ftp.ru.debian.org jessie-updates/main amd64 Packages/DiffIndex [367 B]
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.ru.debian.org jessie-updates/non-free amd64 Packages
Hit http://ftp.ru.debian.org jessie-updates/main Translation-en
Hit http://ftp.ru.debian.org jessie-updates/non-free Translation-en
Hit http://ftp.ru.debian.org jessie Release
Hit http://ftp.ru.debian.org jessie/main Sources
Hit http://ftp.ru.debian.org jessie/main amd64 Packages
Hit http://ftp.ru.debian.org jessie/non-free amd64 Packages
Hit http://ftp.ru.debian.org jessie/main Translation-en
Hit http://ftp.ru.debian.org jessie/main Translation-ru
Hit http://ftp.ru.debian.org jessie/non-free Translation-en
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-ru
Fetched 367 B in 3s (105 B/s)
Reading package lists... Done
 
This is still a problem with the latest beta (v5).

What's worse, if this happens and you're in the middle of testing the latest or maybe using the freeware edition, this is what happens when you try to rescue your system.

# apt-get install -y proxmox-ve pve-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package proxmox-ve is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package pve-manager is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libpve-guest-common-perl

E: Package 'proxmox-ve' has no installation candidate
E: Package 'pve-manager' has no installation candidate


On the one hand when questions about VLAN setup issues are asked, it's said "it's just Linux".
On the other hand if the system is treated as just Linux, there's also this. Now I have to re-image the system.

If the vlan package can't be used, then it would be nice to have working often-used configurations.

On Linux I don't use "ip" tool at all, I just paste my working VLAN setup to /etc/network/interfaces, so how I can't replace those with "ip" tool - I need to write scripts. But then if I have to research "ip" tool that means extra work.

In recent days I've spent about 30 hours trying to achieve desired network setup (I also checked the Wiki pages and the forum as well) and the examples I did see did not rely on "ip" tool, so I think there's some space for improvement in this area.
 
I can just repeat myself: Please do not instal that package - it is obsolete and not required (use 'ip' tool instead).

OK, but how can one find about it except after the fact?

a) This can be fixed, and/or
(google for how-to-forbid-a-specific-package-to-be-installed - the forum won't let me post the link)
b) This can be documented somewhere (maybe it is, but I haven't seen it in the online help or on the Wiki)
 
Yes, I saw the warning as it was scrolling on the screen after I attempted to install a fairly routine package (vlan) with the -y switch.
 
Yes, I saw the warning as it was scrolling on the screen after I attempted to install a fairly routine package (vlan) with the -y switch.

so you are complaining that apt-get did what you told it to do? why are you even using the "-y" switch?

to re-install, you essentially have to follow the instructions for switching from stock Debian to Proxmox VE - download the repository key, check your sources.list, do an "apt-get update" followed by "apt-get install proxmox-ve ssh postfix ksm-control-daemon open-iscsi systemd-sysv"
 

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!