[SOLVED] 6.4 Fresh install network config not work.

ertanerbek

Well-Known Member
Mar 29, 2019
91
6
48
43
Hi All,

I was fresh install with "proxmox-ve_6.4-1.iso" after that I was try install "ifupdown2" via "apt install ifupdown2" but proxmox server told to me

---------------

root@node1:~# 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 qemu-server
The following NEW packages will be installed:
ifupdown2 python-argcomplete
0 upgraded, 2 newly installed, 18 to remove and 0 not upgraded.
Need to get 0 B/225 kB of archives.
After this operation, 13.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
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

-----------------------------------------

1621194742883.png



So, any idea ?
 
So, any idea ?
Either you did not upload a subscription key or you did not configure an alternate update repository.

As soon as you did this, just do:

> apt update

And install what you need.
 
I was reinstall entire system and result same.

Code:
root@node1:~# apt update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://security.debian.org buster/updates/main amd64 Packages [289 kB]
Get:3 http://security.debian.org buster/updates/main Translation-en [149 kB]
Get:4 http://ftp.tr.debian.org/debian buster InRelease [121 kB]                             
Get:5 http://ftp.tr.debian.org/debian buster-updates InRelease [51.9 kB]                   
Get:6 http://ftp.tr.debian.org/debian buster/main amd64 Packages [7,907 kB]                 
Err:7 https://enterprise.proxmox.com/debian/pve buster InRelease               
  401  Unauthorized [IP: 144.217.225.162 443]
Get:8 http://ftp.tr.debian.org/debian buster/main Translation-en [5,969 kB]                                                                                             
Get:9 http://ftp.tr.debian.org/debian buster/contrib amd64 Packages [50.1 kB]                                                                                           
Get:10 http://ftp.tr.debian.org/debian buster/contrib Translation-en [44.2 kB]                                                                                           
Get:11 http://ftp.tr.debian.org/debian buster-updates/main amd64 Packages [10.9 kB]                                                                                     
Get:12 http://ftp.tr.debian.org/debian buster-updates/main Translation-en [7,807 B]                                                                                     
Reading package lists... Done                                                                                                                                           
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@node1:~# 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 qemu-server
The following NEW packages will be installed:
  ifupdown2 python-argcomplete
0 upgraded, 2 newly installed, 18 to remove and 11 not upgraded.
Need to get 225 kB of archives.
After this operation, 13.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ftp.tr.debian.org/debian buster/main amd64 python-argcomplete all 1.8.1-1 [29.2 kB]
Get:2 http://ftp.tr.debian.org/debian buster/main amd64 ifupdown2 all 1.2.5-1 [196 kB]
Fetched 225 kB in 0s (503 kB/s)   
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
root@node1:~#
 
Seems you have no subscription:
* either get a subscription and activate it on your PVE node or
* configure the pve-no-subscription repository:
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_package_repositories
Ok this is now work.. Thanks for your assitance..

Code:
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@node1:~# apt install ifupdown2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  ethtool python3-gvgen python3-mako
The following packages will be REMOVED:
  ifenslave ifupdown
The following NEW packages will be installed:
  ifupdown2
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 227 kB of archives.
After this operation, 1,347 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 ifupdown2 all 3.0.0-1+pve3 [227 kB]
Fetched 227 kB in 1s (197 kB/s)   
dpkg: ifupdown: dependency problems, but removing anyway as you requested:
 ifenslave depends on ifupdown (>= 0.7.46).

(Reading database ... 51433 files and directories currently installed.)
Removing ifupdown (0.8.35+pve1) ...
Selecting previously unselected package ifupdown2.
(Reading database ... 51397 files and directories currently installed.)
Preparing to unpack .../ifupdown2_3.0.0-1+pve3_all.deb ...
Unpacking ifupdown2 (3.0.0-1+pve3) ...
dpkg: ifenslave: dependency problems, but removing anyway as you requested:
 pve-manager depends on ifenslave (>= 2.6) | ifupdown2 (>= 2.0.1-1+pve8); however:
  Package ifenslave is to be removed.
  Package ifupdown2 is not configured yet.

(Reading database ... 51517 files and directories currently installed.)
Removing ifenslave (2.9) ...
Setting up ifupdown2 (3.0.0-1+pve3) ...
Installing new version of config file /etc/default/networking ...
Processing triggers for man-db (2.8.5-2) ...
root@node1:~#
 
  • Like
Reactions: Stoiko Ivanov

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!