apt dist-upgrade fails

Lamia

Member
Jun 25, 2020
24
0
6
34
Hi,

When I run apt dis-upgrade, I get

Code:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  proxmox-mini-journalreader pve-kernel-4.15.18-30-pve
The following packages will be upgraded:
  apt apt-transport-https apt-utils base-files bind9-host ca-certificates dbus debian-archive-keyring
  dnsutils e2fslibs e2fsprogs file gettext-base libapt-inst2.0 libapt-pkg5.0 libarchive13 libasprintf0v5
  libbind9-140 libcaca0 libcomerr2 libcups2 libcurl3-gnutls libdbi1 libdbus-1-3 libdns-export162 libdns162
  libexpat1 libfreetype6 libglib2.0-0 libgnutls-openssl27 libgnutls30 libgnutlsxx28 libhttp-daemon-perl
  libicu57 libidn11 libirs141 libisc-export160 libisc160 libisccc140 libisccfg140 libjpeg62-turbo
  libjson-c3 libldap-2.4-2 libldap-common liblwres141 libmagic-mgc libmagic1 libnghttp2-14 libperl5.24
  libpng16-16 libpve-access-control libpve-common-perl libpve-http-server-perl libpve-storage-perl
  libpython3.5-minimal libpython3.5-stdlib libsasl2-2 libsasl2-modules-db libsmbclient libss2 libssh2-1
  libssl1.0.2 libssl1.1 libsystemd0 libtimedate-perl libudev1 libwbclient0 libx11-6 libx11-data
  libx11-xcb1 libxslt1.1 linux-libc-dev lxc-pve nfs-common openssh-client openssh-server
  openssh-sftp-server openssl patch perl perl-base perl-modules-5.24 postfix postfix-sqlite proxmox-ve
  proxmox-widget-toolkit pve-cluster pve-container pve-firewall pve-firmware pve-kernel-4.15
  pve-kernel-4.15.18-12-pve pve-manager pve-qemu-kvm python-apt-common python3-apt python3-reportbug
  python3.5 python3.5-minimal qemu-server reportbug rsync samba-common samba-libs smbclient ssh systemd
  systemd-sysv tcpdump tzdata udev usbutils vim-common vim-tiny xsltproc xxd
116 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 216 MB of archives.
After this operation, 261 MB of additional disk space will be used.
Err:1 http://ftp.debian.org/debian stretch/main amd64 base-files amd64 9.9+deb9u13
  403  Forbidden [IP: 130.89.148.12 80]
Err:2 http://download.proxmox.com/debian stretch/pve-no-subscription amd64 libhttp-daemon-perl all 6.01-2.1
  403  Forbidden [IP: 212.224.123.70 80]
Get:3 http://security.debian.org stretch/updates/main amd64 e2fslibs amd64 1.43.4-2+deb9u2 [208 kB]      
Err:4 http://download.proxmox.com/debian stretch/pve-no-subscription amd64 libpve-common-perl all 5.0-56 
  403  Forbidden [IP: 212.224.123.70 80]
...


Here is the content of my sources.list file

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

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

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

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

And the content of my pve-enterprise.list

Code:
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise

How to fix this?

Thanks a lot
 
Last edited:
Thanks for the responses.

Actually, Spirit, accesing those links from a browser works just fine.
 
accesing those links from a browser works just fine.
The browser is not running on the PVE node right?

What do you get when you run the following on the PVE node?
Code:
curl http://ftp.debian.org/debian
 

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!