unable to connect graphics server

rchjia

New Member
Oct 13, 2018
12
0
1
35
Hi,all

When I connect VMs with spice, it gives the error: unable to connect graphics server.

The versions are:
VM win7 x64
virt-viewer x64-7.0 on Win7 x64
Proxmox VE 5.2-1

I got the debug logs:
==============
C:\Users\pc\Downloads>C:\"Program Files"\"VirtViewer v7.0-256"\bin\remote-viewer.exe download.vv --debug

C:\Users\pc\Downloads>
(remote-viewer.exe:4200): Gtk-WARNING **: Could not find signal handler 'virt_viewer_window_menu_change_cd_activate'. Did you compile with -rdynamic?
(remote-viewer.exe:4200): virt-viewer-DEBUG: Opening display to download.vv
(remote-viewer.exe:4200): virt-viewer-DEBUG: Guest (NULL) has a spice display

(remote-viewer.exe:4200): GSpice-CRITICAL **: _usbdk_hider_update: assertion 'priv->usbdk_api != NULL' failed

(remote-viewer.exe:4200): GSpice-WARNING **: Error initializing USB support: Entity not found [-5]

(remote-viewer.exe:4200): GSpice-CRITICAL **: _usbdk_hider_clear: assertion 'priv->usbdk_api != NULL' failed
(remote-viewer.exe:4200): virt-viewer-DEBUG: ignoring [ovirt] section content as URL, VM GUID are missing from the .vv file
(remote-viewer.exe:4200): virt-viewer-DEBUG: After open connection callback fd=-1
(remote-viewer.exe:4200): virt-viewer-DEBUG: Opening connection to display at download.vv
(remote-viewer.exe:4200): virt-viewer-DEBUG: New spice channel 000000000463EF30
SpiceMainChannel 0
(remote-viewer.exe:4200): virt-viewer-DEBUG: notebook show status 00000000044C9C50
(remote-viewer.exe:4200): virt-viewer-DEBUG: main channel: failed to connect socket I/O timeout
(remote-viewer.exe:4200): virt-viewer-DEBUG: Destroy SPICE channel SpiceMainChannel 0
(remote-viewer.exe:4200): virt-viewer-DEBUG: zap main channel

===========

What should I do?

Thanks very much.
 
You just need to update your Proxmox VE to latest version, you missed a fix for the spice problem.

See https://pve.proxmox.com/wiki/Downlo...Proxmox_Virtual_Environment_5.x_to_latest_5.2

Thank you very much!

But the version still does not equal versions in above url. My output:

root@proxmox:~# apt update
Hit:1 security.debian.org stretch/updates InRelease
Ign:2 ftp.debian.org/debian stretch InRelease
Ign:3 https://enterprise.proxmox.com/debian/pve stretch InRelease
Err:4 https://enterprise.proxmox.com/debian/pve stretch Release
401 Unauthorized
Hit:5 ftp.debian.org/debian stretch-updates InRelease
Hit:6 ftp.debian.org/debian stretch Release
Reading package lists... Done
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
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@proxmox:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
base-files ca-certificates dpkg file fuse gnupg gnupg-agent gpgv libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcups2 libcurl3-gnutls libfuse2 libgcrypt20
libgnutls-openssl27 libgnutls30 libgnutlsxx28 libldap-2.4-2 libldap-common libmagic-mgc libmagic1 libpam-systemd libperl5.24 libprocps6 libpython2.7
libpython2.7-minimal libpython2.7-stdlib libpython3.5-minimal libpython3.5-stdlib libsmbclient libsystemd0 libudev1 libwbclient0 libxapian30 linux-libc-dev locales
multiarch-support openssh-client openssh-server openssh-sftp-server patch perl perl-base perl-modules-5.24 procps python2.7 python2.7-minimal python3-reportbug
python3.5 python3.5-minimal reportbug samba-common samba-libs smbclient ssh systemd systemd-sysv tzdata udev
62 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.6 MB of archives.
After this operation, 14.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 security.debian.org stretch/updates/main amd64 linux-libc-dev amd64 4.9.110-3+deb9u6 [1,351 kB]
Get:2 ftp.debian.org/debian stretch/main amd64 base-files amd64 9.9+deb9u5 [67.3 kB]
Get:3 ftp.debian.org/debian stretch/main amd64 dpkg amd64 1.18.25 [2,115 kB]
Get:4 security.debian.org stretch/updates/main amd64 libsmbclient amd64 2:4.5.12+dfsg-2+deb9u3 [151 kB]
Get:5 security.debian.org stretch/updates/main amd64 samba-libs amd64 2:4.5.12+dfsg-2+deb9u3 [5,212 kB]
Get:6 ftp.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u4 [3,522 kB]
Get:7 ftp.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u4 [218 kB]
Get:8 ftp.debian.org/debian stretch/main amd64 perl-base amd64 5.24.1-3+deb9u4 [1,345 kB]
Get:9 security.debian.org stretch/updates/main amd64 libwbclient0 amd64 2:4.5.12+dfsg-2+deb9u3 [124 kB]
Get:10 ftp.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u4 [2,724 kB]
Get:11 security.debian.org stretch/updates/main amd64 smbclient amd64 2:4.5.12+dfsg-2+deb9u3 [410 kB]
Get:12 security.debian.org stretch/updates/main amd64 samba-common all 2:4.5.12+dfsg-2+deb9u3 [172 kB]
Get:13 security.debian.org stretch/updates/main amd64 libcups2 amd64 2.2.1-8+deb9u2 [306 kB]
Get:14 ftp.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3 [2,361 kB]
Get:15 security.debian.org stretch/updates/main amd64 python2.7 amd64 2.7.13-2+deb9u3 [285 kB]
Get:16 security.debian.org stretch/updates/main amd64 libpython2.7 amd64 2.7.13-2+deb9u3 [1,071 kB]
Get:17 ftp.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3 [258 kB]
Get:18 ftp.debian.org/debian stretch/main amd64 libc6 amd64 2.24-11+deb9u3 [2,693 kB]
Get:19 ftp.debian.org/debian stretch/main amd64 libc-bin amd64 2.24-11+deb9u3 [779 kB]
Get:20 ftp.debian.org/debian stretch/main amd64 systemd-sysv amd64 232-25+deb9u4 [81.3 kB]
Get:21 ftp.debian.org/debian stretch/main amd64 libpam-systemd amd64 232-25+deb9u4 [188 kB]
Get:22 ftp.debian.org/debian stretch/main amd64 libsystemd0 amd64 232-25+deb9u4 [280 kB]
Get:23 ftp.debian.org/debian stretch/main amd64 systemd amd64 232-25+deb9u4 [2,468 kB]
Get:24 security.debian.org stretch/updates/main amd64 libpython2.7-stdlib amd64 2.7.13-2+deb9u3 [1,897 kB]
Get:25 ftp.debian.org/debian stretch/main amd64 udev amd64 232-25+deb9u4 [1,115 kB]
Get:26 ftp.debian.org/debian stretch/main amd64 libudev1 amd64 232-25+deb9u4 [125 kB]
Get:27 ftp.debian.org/debian stretch/main amd64 libprocps6 amd64 2:3.3.12-3+deb9u1 [58.5 kB]
Get:28 ftp.debian.org/debian stretch/main amd64 procps amd64 2:3.3.12-3+deb9u1 [250 kB]
Get:29 ftp.debian.org/debian stretch/main amd64 libgcrypt20 amd64 1.7.6-2+deb9u3 [524 kB]
Get:30 ftp.debian.org/debian stretch/main amd64 libgnutlsxx28 amd64 3.5.8-5+deb9u3 [13.0 kB]
Get:31 ftp.debian.org/debian stretch/main amd64 libgnutls-openssl27 amd64 3.5.8-5+deb9u3 [184 kB]
Get:32 ftp.debian.org/debian stretch/main amd64 libgnutls30 amd64 3.5.8-5+deb9u3 [895 kB]
Get:33 ftp.debian.org/debian stretch/main amd64 libldap-common all 2.4.44+dfsg-5+deb9u2 [85.5 kB]
Get:34 security.debian.org stretch/updates/main amd64 python2.7-minimal amd64 2.7.13-2+deb9u3 [1,382 kB]
Get:35 ftp.debian.org/debian stretch/main amd64 libldap-2.4-2 amd64 2.4.44+dfsg-5+deb9u2 [219 kB]
Get:36 ftp.debian.org/debian stretch/main amd64 multiarch-support amd64 2.24-11+deb9u3 [200 kB]
Get:37 ftp.debian.org/debian stretch/main amd64 gpgv amd64 2.1.18-8~deb9u2 [480 kB]
Get:38 ftp.debian.org/debian stretch/main amd64 tzdata all 2018e-0+deb9u1 [267 kB]
Get:39 ftp.debian.org/debian stretch/main amd64 gnupg amd64 2.1.18-8~deb9u2 [1,125 kB]
Get:40 security.debian.org stretch/updates/main amd64 libpython2.7-minimal amd64 2.7.13-2+deb9u3 [389 kB]
Get:41 security.debian.org stretch/updates/main amd64 python3.5 amd64 3.5.3-1+deb9u1 [229 kB]
Get:42 security.debian.org stretch/updates/main amd64 libpython3.5-stdlib amd64 3.5.3-1+deb9u1 [2,167 kB]
Get:43 ftp.debian.org/debian stretch/main amd64 gnupg-agent amd64 2.1.18-8~deb9u2 [553 kB]
Get:44 ftp.debian.org/debian stretch/main amd64 libxapian30 amd64 1.4.3-2+deb9u1 [1,067 kB]
Get:45 ftp.debian.org/debian stretch/main amd64 file amd64 1:5.30-1+deb9u2 [64.1 kB]
Get:46 security.debian.org stretch/updates/main amd64 python3.5-minimal amd64 3.5.3-1+deb9u1 [1,691 kB]
Get:47 ftp.debian.org/debian stretch/main amd64 libmagic1 amd64 1:5.30-1+deb9u2 [111 kB]
Get:48 ftp.debian.org/debian stretch/main amd64 libmagic-mgc amd64 1:5.30-1+deb9u2 [222 kB]
Get:49 ftp.debian.org/debian stretch/main amd64 libc-l10n all 2.24-11+deb9u3 [820 kB]
Get:50 ftp.debian.org/debian stretch/main amd64 locales all 2.24-11+deb9u3 [3,287 kB]
Get:51 security.debian.org stretch/updates/main amd64 libpython3.5-minimal amd64 3.5.3-1+deb9u1 [573 kB]
Get:52 security.debian.org stretch/updates/main amd64 openssh-sftp-server amd64 1:7.4p1-10+deb9u4 [39.5 kB]
Get:53 security.debian.org stretch/updates/main amd64 openssh-server amd64 1:7.4p1-10+deb9u4 [332 kB]
Get:54 ftp.debian.org/debian stretch/main amd64 reportbug all 7.1.7+deb9u2 [128 kB]
Get:55 security.debian.org stretch/updates/main amd64 openssh-client amd64 1:7.4p1-10+deb9u4 [778 kB]
Get:56 ftp.debian.org/debian stretch/main amd64 python3-reportbug all 7.1.7+deb9u2 [130 kB]
Get:57 ftp.debian.org/debian stretch/main amd64 ca-certificates all 20161130+nmu1+deb9u1 [182 kB]
Get:58 ftp.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u1 [112 kB]
Get:59 security.debian.org stretch/updates/main amd64 ssh all 1:7.4p1-10+deb9u4 [189 kB]
Get:60 security.debian.org stretch/updates/main amd64 fuse amd64 2.9.7-1+deb9u1 [71.3 kB]
Get:61 security.debian.org stretch/updates/main amd64 libfuse2 amd64 2.9.7-1+deb9u1 [126 kB]
Get:62 security.debian.org stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u7 [290 kB]
Fetched 50.6 MB in 60s (830 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../base-files_9.9+deb9u5_amd64.deb ...
Unpacking base-files (9.9+deb9u5) over (9.9+deb9u4) ...
Setting up base-files (9.9+deb9u5) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.25_amd64.deb ...
Unpacking dpkg (1.18.25) over (1.18.24) ...
Setting up dpkg (1.18.25) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../libperl5.24_5.24.1-3+deb9u4_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
Preparing to unpack .../perl_5.24.1-3+deb9u4_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
Preparing to unpack .../perl-base_5.24.1-3+deb9u4_amd64.deb ...
Unpacking perl-base (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
Setting up perl-base (5.24.1-3+deb9u4) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.24_5.24.1-3+deb9u4_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
Preparing to unpack .../libc6-dev_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Preparing to unpack .../libc-dev-bin_2.24-11+deb9u3_amd64.deb ...
Unpacking libc-dev-bin (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Preparing to unpack .../linux-libc-dev_4.9.110-3+deb9u6_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.110-3+deb9u6) over (4.9.88-1+deb9u1) ...
Preparing to unpack .../libc6_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6:amd64 (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Setting up libc6:amd64 (2.24-11+deb9u3) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.24-11+deb9u3_amd64.deb ...
Unpacking libc-bin (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Setting up libc-bin (2.24-11+deb9u3) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_232-25+deb9u4_amd64.deb ...
Unpacking systemd-sysv (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../libpam-systemd_232-25+deb9u4_amd64.deb ...
Unpacking libpam-systemd:amd64 (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../libsystemd0_232-25+deb9u4_amd64.deb ...
Unpacking libsystemd0:amd64 (232-25+deb9u4) over (232-25+deb9u2) ...
Setting up libsystemd0:amd64 (232-25+deb9u4) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../systemd_232-25+deb9u4_amd64.deb ...
Unpacking systemd (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../udev_232-25+deb9u4_amd64.deb ...
Unpacking udev (232-25+deb9u4) over (232-25+deb9u2) ...
Preparing to unpack .../libudev1_232-25+deb9u4_amd64.deb ...
Unpacking libudev1:amd64 (232-25+deb9u4) over (232-25+deb9u2) ...
Setting up libudev1:amd64 (232-25+deb9u4) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../libprocps6_2%3a3.3.12-3+deb9u1_amd64.deb ...
Unpacking libprocps6:amd64 (2:3.3.12-3+deb9u1) over (2:3.3.12-3) ...
Preparing to unpack .../procps_2%3a3.3.12-3+deb9u1_amd64.deb ...
Unpacking procps (2:3.3.12-3+deb9u1) over (2:3.3.12-3) ...
Preparing to unpack .../libgcrypt20_1.7.6-2+deb9u3_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.7.6-2+deb9u3) over (1.7.6-2+deb9u2) ...
Setting up libgcrypt20:amd64 (1.7.6-2+deb9u3) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../00-libsmbclient_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../01-samba-libs_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../02-libwbclient0_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking libwbclient0:amd64 (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../03-smbclient_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking smbclient (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../04-samba-common_2%3a4.5.12+dfsg-2+deb9u3_all.deb ...
Unpacking samba-common (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../05-libgnutlsxx28_3.5.8-5+deb9u3_amd64.deb ...
Unpacking libgnutlsxx28:amd64 (3.5.8-5+deb9u3) over (3.5.8-5+deb9u1) ...
Preparing to unpack .../06-libgnutls-openssl27_3.5.8-5+deb9u3_amd64.deb ...
Unpacking libgnutls-openssl27:amd64 (3.5.8-5+deb9u3) over (3.5.8-5+deb9u1) ...
Preparing to unpack .../07-libgnutls30_3.5.8-5+deb9u3_amd64.deb ...
Unpacking libgnutls30:amd64 (3.5.8-5+deb9u3) over (3.5.8-5+deb9u1) ...
Preparing to unpack .../08-libcups2_2.2.1-8+deb9u2_amd64.deb ...
Unpacking libcups2:amd64 (2.2.1-8+deb9u2) over (2.2.1-8+deb9u1) ...
Preparing to unpack .../09-libldap-common_2.4.44+dfsg-5+deb9u2_all.deb ...
Unpacking libldap-common (2.4.44+dfsg-5+deb9u2) over (2.4.44+dfsg-5+deb9u1) ...
Preparing to unpack .../10-libldap-2.4-2_2.4.44+dfsg-5+deb9u2_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u2) over (2.4.44+dfsg-5+deb9u1) ...
Preparing to unpack .../11-python2.7_2.7.13-2+deb9u3_amd64.deb ...
Unpacking python2.7 (2.7.13-2+deb9u3) over (2.7.13-2+deb9u2) ...
Preparing to unpack .../12-libpython2.7_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.13-2+deb9u3) over (2.7.13-2+deb9u2) ...
Preparing to unpack .../13-libpython2.7-stdlib_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.13-2+deb9u3) over (2.7.13-2+deb9u2) ...
Preparing to unpack .../14-python2.7-minimal_2.7.13-2+deb9u3_amd64.deb ...
Unpacking python2.7-minimal (2.7.13-2+deb9u3) over (2.7.13-2+deb9u2) ...
Preparing to unpack .../15-libpython2.7-minimal_2.7.13-2+deb9u3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2+deb9u3) over (2.7.13-2+deb9u2) ...
Preparing to unpack .../16-python3.5_3.5.3-1+deb9u1_amd64.deb ...
Unpacking python3.5 (3.5.3-1+deb9u1) over (3.5.3-1) ...
Preparing to unpack .../17-libpython3.5-stdlib_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.3-1+deb9u1) over (3.5.3-1) ...
Preparing to unpack .../18-python3.5-minimal_3.5.3-1+deb9u1_amd64.deb ...
Unpacking python3.5-minimal (3.5.3-1+deb9u1) over (3.5.3-1) ...
Preparing to unpack .../19-libpython3.5-minimal_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.3-1+deb9u1) over (3.5.3-1) ...
Preparing to unpack .../20-openssh-sftp-server_1%3a7.4p1-10+deb9u4_amd64.deb ...
Unpacking openssh-sftp-server (1:7.4p1-10+deb9u4) over (1:7.4p1-10+deb9u3) ...
Preparing to unpack .../21-openssh-server_1%3a7.4p1-10+deb9u4_amd64.deb ...
Unpacking openssh-server (1:7.4p1-10+deb9u4) over (1:7.4p1-10+deb9u3) ...
Preparing to unpack .../22-openssh-client_1%3a7.4p1-10+deb9u4_amd64.deb ...
Unpacking openssh-client (1:7.4p1-10+deb9u4) over (1:7.4p1-10+deb9u3) ...
Preparing to unpack .../23-ssh_1%3a7.4p1-10+deb9u4_all.deb ...
Unpacking ssh (1:7.4p1-10+deb9u4) over (1:7.4p1-10+deb9u3) ...
Preparing to unpack .../24-multiarch-support_2.24-11+deb9u3_amd64.deb ...
Unpacking multiarch-support (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Setting up multiarch-support (2.24-11+deb9u3) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../gpgv_2.1.18-8~deb9u2_amd64.deb ...
Unpacking gpgv (2.1.18-8~deb9u2) over (2.1.18-8~deb9u1) ...
Setting up gpgv (2.1.18-8~deb9u2) ...
(Reading database ... 40557 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2018e-0+deb9u1_all.deb ...
Unpacking tzdata (2018e-0+deb9u1) over (2018c-0+deb9u1) ...
Preparing to unpack .../01-gnupg_2.1.18-8~deb9u2_amd64.deb ...
Unpacking gnupg (2.1.18-8~deb9u2) over (2.1.18-8~deb9u1) ...
Preparing to unpack .../02-gnupg-agent_2.1.18-8~deb9u2_amd64.deb ...
Unpacking gnupg-agent (2.1.18-8~deb9u2) over (2.1.18-8~deb9u1) ...
Preparing to unpack .../03-libxapian30_1.4.3-2+deb9u1_amd64.deb ...
Unpacking libxapian30:amd64 (1.4.3-2+deb9u1) over (1.4.3-2) ...
Preparing to unpack .../04-file_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking file (1:5.30-1+deb9u2) over (1:5.30-1+deb9u1) ...
Preparing to unpack .../05-libmagic1_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.30-1+deb9u2) over (1:5.30-1+deb9u1) ...
Preparing to unpack .../06-libmagic-mgc_1%3a5.30-1+deb9u2_amd64.deb ...
Unpacking libmagic-mgc (1:5.30-1+deb9u2) over (1:5.30-1+deb9u1) ...
Preparing to unpack .../07-libc-l10n_2.24-11+deb9u3_all.deb ...
Unpacking libc-l10n (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Preparing to unpack .../08-locales_2.24-11+deb9u3_all.deb ...
Unpacking locales (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Preparing to unpack .../09-reportbug_7.1.7+deb9u2_all.deb ...
Unpacking reportbug (7.1.7+deb9u2) over (7.1.7+deb9u1) ...
Preparing to unpack .../10-python3-reportbug_7.1.7+deb9u2_all.deb ...
Unpacking python3-reportbug (7.1.7+deb9u2) over (7.1.7+deb9u1) ...
Preparing to unpack .../11-ca-certificates_20161130+nmu1+deb9u1_all.deb ...
Unpacking ca-certificates (20161130+nmu1+deb9u1) over (20161130+nmu1) ...
Preparing to unpack .../12-fuse_2.9.7-1+deb9u1_amd64.deb ...
Unpacking fuse (2.9.7-1+deb9u1) over (2.9.7-1) ...
Preparing to unpack .../13-libfuse2_2.9.7-1+deb9u1_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.7-1+deb9u1) over (2.9.7-1) ...
Preparing to unpack .../14-libcurl3-gnutls_7.52.1-5+deb9u7_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.52.1-5+deb9u7) over (7.52.1-5+deb9u5) ...
Preparing to unpack .../15-patch_2.7.5-1+deb9u1_amd64.deb ...
Unpacking patch (2.7.5-1+deb9u1) over (2.7.5-1+b2) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u4) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u4) ...
Setting up libxapian30:amd64 (1.4.3-2+deb9u1) ...
Setting up libwbclient0:amd64 (2:4.5.12+dfsg-2+deb9u3) ...
Processing triggers for mime-support (3.60) ...
Setting up libldap-common (2.4.44+dfsg-5+deb9u2) ...
Setting up tzdata (2018e-0+deb9u1) ...

Current default time zone: 'Asia/Chongqing'
Local time is now: Mon Oct 15 15:14:17 CST 2018.
Universal Time is now: Mon Oct 15 07:14:17 UTC 2018.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libfuse2:amd64 (2.9.7-1+deb9u1) ...
Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u6) ...
Setting up libgnutls30:amd64 (3.5.8-5+deb9u3) ...
Setting up samba-common (2:4.5.12+dfsg-2+deb9u3) ...
Setting up libprocps6:amd64 (2:3.3.12-3+deb9u1) ...
Setting up libmagic-mgc (1:5.30-1+deb9u2) ...
Setting up libmagic1:amd64 (1:5.30-1+deb9u2) ...
Setting up procps (2:3.3.12-3+deb9u1) ...
insserv: Service mountkernfs has to be enabled to start service procps
Setting up perl (5.24.1-3+deb9u4) ...
Setting up patch (2.7.5-1+deb9u1) ...
Setting up libgnutlsxx28:amd64 (3.5.8-5+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up udev (232-25+deb9u4) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: Service mountkernfs has to be enabled to start service udev
Setting up libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u2) ...
Setting up libc-l10n (2.24-11+deb9u3) ...
Setting up libgnutls-openssl27:amd64 (3.5.8-5+deb9u3) ...
Setting up systemd (232-25+deb9u4) ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libc-dev-bin (2.24-11+deb9u3) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Setting up gnupg-agent (2.1.18-8~deb9u2) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2+deb9u3) ...
Setting up ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
20 added, 35 removed; done.
Setting up openssh-client (1:7.4p1-10+deb9u4) ...
Setting up libc6-dev:amd64 (2.24-11+deb9u3) ...
Setting up locales (2.24-11+deb9u3) ...
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Setting up libpython2.7-stdlib:amd64 (2.7.13-2+deb9u3) ...
Setting up fuse (2.9.7-1+deb9u1) ...
update-initramfs: deferring update (trigger activated)
Setting up python2.7-minimal (2.7.13-2+deb9u3) ...
Setting up libpython3.5-minimal:amd64 (3.5.3-1+deb9u1) ...
Setting up libcups2:amd64 (2.2.1-8+deb9u2) ...
Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u7) ...
Setting up systemd-sysv (232-25+deb9u4) ...
Setting up libpython3.5-stdlib:amd64 (3.5.3-1+deb9u1) ...
Setting up gnupg (2.1.18-8~deb9u2) ...
Setting up python2.7 (2.7.13-2+deb9u3) ...
Setting up file (1:5.30-1+deb9u2) ...
Setting up python3.5-minimal (3.5.3-1+deb9u1) ...
Setting up python3-reportbug (7.1.7+deb9u2) ...
Setting up openssh-sftp-server (1:7.4p1-10+deb9u4) ...
Setting up libpython2.7:amd64 (2.7.13-2+deb9u3) ...
Setting up python3.5 (3.5.3-1+deb9u1) ...
Setting up samba-libs:amd64 (2:4.5.12+dfsg-2+deb9u3) ...
Setting up libpam-systemd:amd64 (232-25+deb9u4) ...
Setting up libsmbclient:amd64 (2:4.5.12+dfsg-2+deb9u3) ...
Setting up reportbug (7.1.7+deb9u2) ...
Setting up openssh-server (1:7.4p1-10+deb9u4) ...
Setting up smbclient (2:4.5.12+dfsg-2+deb9u3) ...
Setting up ssh (1:7.4p1-10+deb9u4) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.15.17-1-pve
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.


after rebooted it prints output:

root@proxmox:~# pveversion -v
proxmox-ve: 5.2-2 (running kernel: 4.15.17-1-pve)
pve-manager: 5.2-1 (running version: 5.2-1/0fcd7879)
pve-kernel-4.15: 5.2-1
pve-kernel-4.15.17-1-pve: 4.15.17-9
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-31
libpve-guest-common-perl: 2.0-16
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-23
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
novnc-pve: 0.6-4
openvswitch-switch: 2.6.2~pre+git20161223-3
proxmox-widget-toolkit: 1.0-18
pve-cluster: 5.0-27
pve-container: 2.0-23
pve-docs: 5.2-3
pve-firewall: 3.0-8
pve-firmware: 2.0-4
pve-ha-manager: 2.0-5
pve-i18n: 1.0-5
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.1-5
pve-xtermjs: 1.0-5
qemu-server: 5.0-26
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.8-pve1~bpo9
root@proxmox:~# apt update
Hit:1 security.debian.org stretch/updates InRelease
Ign:2 ftp.debian.org/debian stretch InRelease
Hit:3 ftp.debian.org/debian stretch-updates InRelease
Ign:4 https://enterprise.proxmox.com/debian/pve stretch InRelease
Hit:5 ftp.debian.org/debian stretch Release
Err:7 https://enterprise.proxmox.com/debian/pve stretch Release
401 Unauthorized
Reading package lists... Done
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
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.
 
Please read again the docs about the repositories, link from my last post.
 
Please read again the docs about the repositories, link from my last post.

Thanks!

after i modify the repositories, here is the apt log :

root@proxmox:~# cat /etc/apt/sources.list
deb http://ftp.at.debian.org/debian stretch main contrib

deb http://ftp.at.debian.org/debian stretch-updates main contrib

# security updates
deb http://security.debian.org stretch/updates main contrib
root@proxmox:~#
root@proxmox:~#
root@proxmox:~#
root@proxmox:~# apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.at.debian.org/debian stretch InRelease
Get:3 http://ftp.at.debian.org/debian stretch-updates InRelease [91.0 kB]
Ign:4 https://enterprise.proxmox.com/debian/pve stretch InRelease
Hit:5 http://ftp.at.debian.org/debian stretch Release
Err:7 https://enterprise.proxmox.com/debian/pve stretch Release
401 Unauthorized
Reading package lists... Done
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
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@proxmox:~# apt dist-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@proxmox:~# pveversion -v
proxmox-ve: 5.2-2 (running kernel: 4.15.17-1-pve)
pve-manager: 5.2-1 (running version: 5.2-1/0fcd7879)
pve-kernel-4.15: 5.2-1
pve-kernel-4.15.17-1-pve: 4.15.17-9
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-31
libpve-guest-common-perl: 2.0-16
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-23
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
novnc-pve: 0.6-4
openvswitch-switch: 2.6.2~pre+git20161223-3
proxmox-widget-toolkit: 1.0-18
pve-cluster: 5.0-27
pve-container: 2.0-23
pve-docs: 5.2-3
pve-firewall: 3.0-8
pve-firmware: 2.0-4
pve-ha-manager: 2.0-5
pve-i18n: 1.0-5
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.1-5
pve-xtermjs: 1.0-5
qemu-server: 5.0-26
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.8-pve1~bpo9
root@proxmox:~#
 
You need to configure a valid update repository, otherwise you will not get any updates.

Here are the docs:

https://pve.proxmox.com/wiki/Package_Repositories

Thanks!
I have no subscription key. So I shoud config my /etc/apt/sources.list like this:

deb http://ftp.debian.org/debian stretch main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription

# security updates
deb http://security.debian.org stretch/updates main contrib


Am I right?
 

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!