Proxmox 更新软件包数据库(TASK ERROR: command ‘apt-get update‘ failed: exit code 100)
1、连接自己报错的物理机Shell,编辑文件
vi /etc/apt/sources.list.d/pve-enterprise.list
2、注释文件的第一行在开头加上#
按I进入编辑模式后 开头添加# 然后shift+: 输入wq或者wq!进行保存

3、注释后执行两个命令apt-get update 和 apt-get upgrade 即可。
apt-get update
Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:2 http://ftp.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://security.debian.org bookworm-security/main amd64 Packages [245 kB]
Get:4 http://ftp.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:5 http://ftp.debian.org/debian bookworm/main amd64 Packages [8,792 kB]
Err:6 https://enterprise.proxmox.com/debian/ceph-quincy bookworm InRelease 401 Unauthorized [IP: 51.79.228.122 443]
Get:7 http://ftp.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:8 http://ftp.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:9 http://ftp.debian.org/debian bookworm/contrib Translation-en [48.8 kB]
Get:10 http://ftp.debian.org/debian bookworm-updates/main amd64 Packages [13.5 kB]
Get:11 http://ftp.debian.org/debian bookworm-updates/main Translation-en [16.0 kB]
Get:12 http://ftp.debian.org/debian bookworm-updates/contrib amd64 Packages [768 B]
Get:13 http://ftp.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/ceph-quincy/dists/bookworm/InRelease 401 Unauthorized [IP: 51.79.228.122 443]
E: The repository 'https://enterprise.proxmox.com/debian/ceph-quincy bookworm 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@CNGZPVE01:/# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:base-files bind9-dnsutils bind9-host bind9-libs bsdextrautils bsdutils criu eject fdisk libavahi-client3libavahi-common-data libavahi-common3 libblkid1 libfdisk1 libglib2.0-0 libgstreamer-plugins-base1.0-0libgstreamer1.0-0 libmount1 libnfsidmap1 libnss-systemd libpam-systemd libpython3.11-minimal libpython3.11-stdliblibsmartcols1 libsystemd-shared libsystemd0 libtasn1-6 libudev1 libuuid1 mount nfs-common openssh-clientopenssh-server openssh-sftp-server python3-pkg-resources python3-setuptools python3-urllib3 python3.11python3.11-minimal rsync ssh systemd systemd-boot systemd-boot-efi systemd-sysv tzdata ucf udev util-linuxutil-linux-extra
50 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.8 MB of archives.
After this operation, 553 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian bookworm/main amd64 base-files amd64 12.4+deb12u9 [70.8 kB]
Get:2 http://security.debian.org bookworm-security/main amd64 rsync amd64 3.2.7-1+deb12u2 [419 kB]
Get:3 http://ftp.debian.org/debian bookworm/main amd64 bsdutils amd64 1:2.38.1-5+deb12u3 [94.4 kB]
Get:4 http://ftp.debian.org/debian bookworm/main amd64 libsmartcols1 amd64 2.38.1-5+deb12u3 [107 kB]
Get:5 http://ftp.debian.org/debian bookworm/main amd64 util-linux-extra amd64 2.38.1-5+deb12u3 [111 kB]
Get:6 http://ftp.debian.org/debian bookworm/main amd64 util-linux amd64 2.38.1-5+deb12u3 [1,177 kB]
Get:7 http://security.debian.org bookworm-security/main amd64 libtasn1-6 amd64 4.19.0-2+deb12u1 [48.6 kB]
Get:8 http://security.debian.org bookworm-security/main amd64 bind9-host amd64 1:9.18.33-1~deb12u2 [54.1 kB]
Get:9 http://security.debian.org bookworm-security/main amd64 bind9-dnsutils amd64 1:9.18.33-1~deb12u2 [155 kB]
Get:10 http://ftp.debian.org/debian bookworm/main amd64 mount amd64 2.38.1-5+deb12u3 [134 kB]
Get:11 http://ftp.debian.org/debian bookworm/main amd64 libnss-systemd amd64 252.33-1~deb12u1 [164 kB]
Get:12 http://security.debian.org bookworm-security/main amd64 bind9-libs amd64 1:9.18.33-1~deb12u2 [1,181 kB]
Get:13 http://ftp.debian.org/debian bookworm/main amd64 libblkid1 amd64 2.38.1-5+deb12u3 [147 kB]
Get:14 http://ftp.debian.org/debian bookworm/main amd64 libmount1 amd64 2.38.1-5+deb12u3 [166 kB]
Get:15 http://ftp.debian.org/debian bookworm/main amd64 systemd-boot amd64 252.33-1~deb12u1 [100 kB]
Get:16 http://ftp.debian.org/debian bookworm/main amd64 systemd-boot-efi amd64 252.33-1~deb12u1 [112 kB]
Get:17 http://ftp.debian.org/debian bookworm/main amd64 libpam-systemd amd64 252.33-1~deb12u1 [225 kB]
Get:18 http://ftp.debian.org/debian bookworm/main amd64 systemd amd64 252.33-1~deb12u1 [3,036 kB]
Get:19 http://ftp.debian.org/debian bookworm/main amd64 libsystemd-shared amd64 252.33-1~deb12u1 [1,691 kB]
Get:20 http://ftp.debian.org/debian bookworm/main amd64 systemd-sysv amd64 252.33-1~deb12u1 [42.5 kB]
Get:21 http://ftp.debian.org/debian bookworm/main amd64 libuuid1 amd64 2.38.1-5+deb12u3 [28.8 kB]
Get:22 http://ftp.debian.org/debian bookworm/main amd64 libfdisk1 amd64 2.38.1-5+deb12u3 [194 kB]
Get:23 http://ftp.debian.org/debian bookworm/main amd64 libsystemd0 amd64 252.33-1~deb12u1 [332 kB]
Get:24 http://ftp.debian.org/debian bookworm/main amd64 nfs-common amd64 1:2.6.2-4+deb12u1 [260 kB]
Get:25 http://ftp.debian.org/debian bookworm/main amd64 libnfsidmap1 amd64 1:2.6.2-4+deb12u1 [54.9 kB]
Get:26 http://ftp.debian.org/debian bookworm/main amd64 ucf all 3.0043+nmu1+deb12u1 [55.3 kB]
Get:27 http://ftp.debian.org/debian bookworm/main amd64 openssh-sftp-server amd64 1:9.2p1-2+deb12u4 [65.9 kB]
Get:28 http://ftp.debian.org/debian bookworm/main amd64 openssh-server amd64 1:9.2p1-2+deb12u4 [456 kB]
Get:29 http://ftp.debian.org/debian bookworm/main amd64 openssh-client amd64 1:9.2p1-2+deb12u4 [993 kB]
Get:30 http://ftp.debian.org/debian bookworm/main amd64 python3.11 amd64 3.11.2-6+deb12u5 [573 kB]
Get:31 http://ftp.debian.org/debian bookworm/main amd64 libpython3.11-stdlib amd64 3.11.2-6+deb12u5 [1,797 kB]
Get:32 http://ftp.debian.org/debian bookworm/main amd64 python3.11-minimal amd64 3.11.2-6+deb12u5 [2,067 kB]
Get:33 http://ftp.debian.org/debian bookworm/main amd64 libpython3.11-minimal amd64 3.11.2-6+deb12u5 [816 kB]
Get:34 http://ftp.debian.org/debian bookworm/main amd64 udev amd64 252.33-1~deb12u1 [1,704 kB]
Get:35 http://ftp.debian.org/debian bookworm/main amd64 libudev1 amd64 252.33-1~deb12u1 [109 kB]
Get:36 http://ftp.debian.org/debian bookworm/main amd64 tzdata all 2024b-0+deb12u1 [298 kB]
Get:37 http://ftp.debian.org/debian bookworm/main amd64 fdisk amd64 2.38.1-5+deb12u3 [141 kB]
Get:38 http://ftp.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+deb12u3 [87.0 kB]
Get:39 http://ftp.debian.org/debian bookworm/main amd64 criu amd64 3.17.1-2+deb12u1 [665 kB]
Get:40 http://ftp.debian.org/debian bookworm/main amd64 eject amd64 2.38.1-5+deb12u3 [48.1 kB]
Get:41 http://ftp.debian.org/debian bookworm/main amd64 libavahi-client3 amd64 0.8-10+deb12u1 [45.8 kB]
Get:42 http://ftp.debian.org/debian bookworm/main amd64 libavahi-common3 amd64 0.8-10+deb12u1 [42.1 kB]
Get:43 http://ftp.debian.org/debian bookworm/main amd64 libavahi-common-data amd64 0.8-10+deb12u1 [107 kB]
Get:44 http://ftp.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u5 [1,403 kB]
Get:45 http://ftp.debian.org/debian bookworm/main amd64 libgstreamer1.0-0 amd64 1.22.0-2+deb12u1 [1,170 kB]
Get:46 http://ftp.debian.org/debian bookworm/main amd64 libgstreamer-plugins-base1.0-0 amd64 1.22.0-3+deb12u4 [935 kB]
Get:47 http://ftp.debian.org/debian bookworm/main amd64 python3-setuptools all 66.1.1-1+deb12u1 [522 kB]
Get:48 http://ftp.debian.org/debian bookworm/main amd64 python3-pkg-resources all 66.1.1-1+deb12u1 [296 kB]
Get:49 http://ftp.debian.org/debian bookworm/main amd64 python3-urllib3 all 1.26.12-1+deb12u1 [114 kB]
Get:50 http://ftp.debian.org/debian bookworm/main amd64 ssh all 1:9.2p1-2+deb12u4 [174 kB]
Fetched 24.8 MB in 24s (1,050 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u9_amd64.deb ...
Unpacking base-files (12.4+deb12u9) over (12.4+deb12u8) ...
Setting up base-files (12.4+deb12u9) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-5+deb12u3_amd64.deb ...
Unpacking bsdutils (1:2.38.1-5+deb12u3) over (1:2.38.1-5+deb12u2) ...
Setting up bsdutils (1:2.38.1-5+deb12u3) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-5+deb12u3_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Setting up libsmartcols1:amd64 (2.38.1-5+deb12u3) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-5+deb12u3_amd64.deb ...
Unpacking util-linux-extra (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Setting up util-linux-extra (2.38.1-5+deb12u3) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-5+deb12u3_amd64.deb ...
Unpacking util-linux (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Setting up util-linux (2.38.1-5+deb12u3) ...
fstrim.service is a disabled or a static unit not running, not starting it.
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../mount_2.38.1-5+deb12u3_amd64.deb ...
Unpacking mount (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Preparing to unpack .../libnss-systemd_252.33-1~deb12u1_amd64.deb ...
Unpacking libnss-systemd:amd64 (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../libblkid1_2.38.1-5+deb12u3_amd64.deb ...
Unpacking libblkid1:amd64 (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Setting up libblkid1:amd64 (2.38.1-5+deb12u3) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-5+deb12u3_amd64.deb ...
Unpacking libmount1:amd64 (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Setting up libmount1:amd64 (2.38.1-5+deb12u3) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../0-systemd-boot_252.33-1~deb12u1_amd64.deb ...
Unpacking systemd-boot (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../1-systemd-boot-efi_252.33-1~deb12u1_amd64.deb ...
Unpacking systemd-boot-efi:amd64 (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../2-libpam-systemd_252.33-1~deb12u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../3-systemd_252.33-1~deb12u1_amd64.deb ...
Unpacking systemd (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../4-libsystemd-shared_252.33-1~deb12u1_amd64.deb ...
Unpacking libsystemd-shared:amd64 (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../5-libsystemd0_252.33-1~deb12u1_amd64.deb ...
Unpacking libsystemd0:amd64 (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Setting up libsystemd0:amd64 (252.33-1~deb12u1) ...
Setting up libsystemd-shared:amd64 (252.33-1~deb12u1) ...
Setting up mount (2.38.1-5+deb12u3) ...
Setting up systemd (252.33-1~deb12u1) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_252.33-1~deb12u1_amd64.deb ...
Unpacking systemd-sysv (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../libuuid1_2.38.1-5+deb12u3_amd64.deb ...
Unpacking libuuid1:amd64 (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Setting up libuuid1:amd64 (2.38.1-5+deb12u3) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../00-libfdisk1_2.38.1-5+deb12u3_amd64.deb ...
Unpacking libfdisk1:amd64 (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Preparing to unpack .../01-nfs-common_1%3a2.6.2-4+deb12u1_amd64.deb ...
Unpacking nfs-common (1:2.6.2-4+deb12u1) over (1:2.6.2-4) ...
Preparing to unpack .../02-libnfsidmap1_1%3a2.6.2-4+deb12u1_amd64.deb ...
Unpacking libnfsidmap1:amd64 (1:2.6.2-4+deb12u1) over (1:2.6.2-4) ...
Preparing to unpack .../03-ucf_3.0043+nmu1+deb12u1_all.deb ...
Unpacking ucf (3.0043+nmu1+deb12u1) over (3.0043+nmu1) ...
Preparing to unpack .../04-openssh-sftp-server_1%3a9.2p1-2+deb12u4_amd64.deb ...
Unpacking openssh-sftp-server (1:9.2p1-2+deb12u4) over (1:9.2p1-2+deb12u3) ...
Preparing to unpack .../05-openssh-server_1%3a9.2p1-2+deb12u4_amd64.deb ...
Unpacking openssh-server (1:9.2p1-2+deb12u4) over (1:9.2p1-2+deb12u3) ...
Preparing to unpack .../06-openssh-client_1%3a9.2p1-2+deb12u4_amd64.deb ...
Unpacking openssh-client (1:9.2p1-2+deb12u4) over (1:9.2p1-2+deb12u3) ...
Preparing to unpack .../07-python3.11_3.11.2-6+deb12u5_amd64.deb ...
Unpacking python3.11 (3.11.2-6+deb12u5) over (3.11.2-6+deb12u4) ...
Preparing to unpack .../08-libpython3.11-stdlib_3.11.2-6+deb12u5_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u5) over (3.11.2-6+deb12u4) ...
Preparing to unpack .../09-python3.11-minimal_3.11.2-6+deb12u5_amd64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u5) over (3.11.2-6+deb12u4) ...
Preparing to unpack .../10-libpython3.11-minimal_3.11.2-6+deb12u5_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u5) over (3.11.2-6+deb12u4) ...
Preparing to unpack .../11-rsync_3.2.7-1+deb12u2_amd64.deb ...
Unpacking rsync (3.2.7-1+deb12u2) over (3.2.7-1) ...
Preparing to unpack .../12-libtasn1-6_4.19.0-2+deb12u1_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.19.0-2+deb12u1) over (4.19.0-2) ...
Setting up libtasn1-6:amd64 (4.19.0-2+deb12u1) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../udev_252.33-1~deb12u1_amd64.deb ...
Unpacking udev (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Preparing to unpack .../libudev1_252.33-1~deb12u1_amd64.deb ...
Unpacking libudev1:amd64 (252.33-1~deb12u1) over (252.31-1~deb12u1) ...
Setting up libudev1:amd64 (252.33-1~deb12u1) ...
(Reading database ... 45930 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2024b-0+deb12u1_all.deb ...
Unpacking tzdata (2024b-0+deb12u1) over (2024a-0+deb12u1) ...
Preparing to unpack .../01-fdisk_2.38.1-5+deb12u3_amd64.deb ...
Unpacking fdisk (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Preparing to unpack .../02-bind9-host_1%3a9.18.33-1~deb12u2_amd64.deb ...
Unpacking bind9-host (1:9.18.33-1~deb12u2) over (1:9.18.28-1~deb12u2) ...
Preparing to unpack .../03-bind9-dnsutils_1%3a9.18.33-1~deb12u2_amd64.deb ...
Unpacking bind9-dnsutils (1:9.18.33-1~deb12u2) over (1:9.18.28-1~deb12u2) ...
Preparing to unpack .../04-bind9-libs_1%3a9.18.33-1~deb12u2_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.18.33-1~deb12u2) over (1:9.18.28-1~deb12u2) ...
Preparing to unpack .../05-bsdextrautils_2.38.1-5+deb12u3_amd64.deb ...
Unpacking bsdextrautils (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Preparing to unpack .../06-criu_3.17.1-2+deb12u1_amd64.deb ...
Unpacking criu (3.17.1-2+deb12u1) over (3.17.1-2) ...
Preparing to unpack .../07-eject_2.38.1-5+deb12u3_amd64.deb ...
Unpacking eject (2.38.1-5+deb12u3) over (2.38.1-5+deb12u2) ...
Preparing to unpack .../08-libavahi-client3_0.8-10+deb12u1_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.8-10+deb12u1) over (0.8-10) ...
Preparing to unpack .../09-libavahi-common3_0.8-10+deb12u1_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.8-10+deb12u1) over (0.8-10) ...
Preparing to unpack .../10-libavahi-common-data_0.8-10+deb12u1_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.8-10+deb12u1) over (0.8-10) ...
Preparing to unpack .../11-libglib2.0-0_2.74.6-2+deb12u5_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.74.6-2+deb12u5) over (2.74.6-2+deb12u4) ...
Preparing to unpack .../12-libgstreamer1.0-0_1.22.0-2+deb12u1_amd64.deb ...
Unpacking libgstreamer1.0-0:amd64 (1.22.0-2+deb12u1) over (1.22.0-2) ...
Preparing to unpack .../13-libgstreamer-plugins-base1.0-0_1.22.0-3+deb12u4_amd64.deb ...
Unpacking libgstreamer-plugins-base1.0-0:amd64 (1.22.0-3+deb12u4) over (1.22.0-3+deb12u2) ...
Preparing to unpack .../14-python3-setuptools_66.1.1-1+deb12u1_all.deb ...
Unpacking python3-setuptools (66.1.1-1+deb12u1) over (66.1.1-1) ...
Preparing to unpack .../15-python3-pkg-resources_66.1.1-1+deb12u1_all.deb ...
Unpacking python3-pkg-resources (66.1.1-1+deb12u1) over (66.1.1-1) ...
Preparing to unpack .../16-python3-urllib3_1.26.12-1+deb12u1_all.deb ...
Unpacking python3-urllib3 (1.26.12-1+deb12u1) over (1.26.12-1) ...
Preparing to unpack .../17-ssh_1%3a9.2p1-2+deb12u4_all.deb ...
Unpacking ssh (1:9.2p1-2+deb12u4) over (1:9.2p1-2+deb12u3) ...
Setting up python3-pkg-resources (66.1.1-1+deb12u1) ...
Setting up systemd-boot-efi:amd64 (252.33-1~deb12u1) ...
Setting up systemd-sysv (252.33-1~deb12u1) ...
Setting up libnfsidmap1:amd64 (1:2.6.2-4+deb12u1) ...
Setting up bsdextrautils (2.38.1-5+deb12u3) ...
Setting up python3-setuptools (66.1.1-1+deb12u1) ...
Setting up bind9-libs:amd64 (1:9.18.33-1~deb12u2) ...
Setting up libglib2.0-0:amd64 (2.74.6-2+deb12u5) ...
No schema files found: doing nothing.
Setting up openssh-client (1:9.2p1-2+deb12u4) ...
Setting up libnss-systemd:amd64 (252.33-1~deb12u1) ...
Setting up systemd-boot (252.33-1~deb12u1) ...
Setting up tzdata (2024b-0+deb12u1) ...Current default time zone: 'Asia/Shanghai'
Local time is now: Fri Feb 14 19:52:55 CST 2025.
Universal Time is now: Fri Feb 14 11:52:55 UTC 2025.
Run 'dpkg-reconfigure tzdata' if you wish to change it.Setting up eject (2.38.1-5+deb12u3) ...
Setting up libavahi-common-data:amd64 (0.8-10+deb12u1) ...
Setting up udev (252.33-1~deb12u1) ...
Setting up ucf (3.0043+nmu1+deb12u1) ...
Setting up python3-urllib3 (1.26.12-1+deb12u1) ...
Setting up libfdisk1:amd64 (2.38.1-5+deb12u3) ...
Setting up criu (3.17.1-2+deb12u1) ...
Setting up libpam-systemd:amd64 (252.33-1~deb12u1) ...
Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u5) ...
Setting up bind9-host (1:9.18.33-1~deb12u2) ...
Setting up libgstreamer1.0-0:amd64 (1.22.0-2+deb12u1) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up rsync (3.2.7-1+deb12u2) ...
rsync.service is a disabled or a static unit not running, not starting it.
Setting up python3.11-minimal (3.11.2-6+deb12u5) ...
Setting up openssh-sftp-server (1:9.2p1-2+deb12u4) ...
Setting up openssh-server (1:9.2p1-2+deb12u4) ...
rescue-ssh.target is a disabled or a static unit not running, not starting it.
ssh.socket is a disabled or a static unit not running, not starting it.
Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u5) ...
Setting up libavahi-common3:amd64 (0.8-10+deb12u1) ...
Setting up libgstreamer-plugins-base1.0-0:amd64 (1.22.0-3+deb12u4) ...
Setting up fdisk (2.38.1-5+deb12u3) ...
Setting up nfs-common (1:2.6.2-4+deb12u1) ...
auth-rpcgss-module.service is a disabled or a static unit not running, not starting it.
nfs-idmapd.service is a disabled or a static unit not running, not starting it.
nfs-utils.service is a disabled or a static unit not running, not starting it.
proc-fs-nfsd.mount is a disabled or a static unit not running, not starting it.
rpc-gssd.service is a disabled or a static unit not running, not starting it.
rpc-statd.service is a disabled or a static unit not running, not starting it.
rpc-svcgssd.service is a disabled or a static unit not running, not starting it.
var-lib-nfs-rpc_pipefs.mount is a disabled or a static unit not running, not starting it.
Setting up bind9-dnsutils (1:9.18.33-1~deb12u2) ...
Setting up libavahi-client3:amd64 (0.8-10+deb12u1) ...
Setting up python3.11 (3.11.2-6+deb12u5) ...
Setting up ssh (1:9.2p1-2+deb12u4) ...
Processing triggers for systemd (252.33-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.8.12-4-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Processing triggers for libc-bin (2.36-9+deb12u9) ...
相关文章:
Proxmox 更新软件包数据库(TASK ERROR: command ‘apt-get update‘ failed: exit code 100)
1、连接自己报错的物理机Shell,编辑文件 vi /etc/apt/sources.list.d/pve-enterprise.list 2、注释文件的第一行在开头加上# 按I进入编辑模式后 开头添加# 然后shift: 输入wq或者wq!进行保存 3、注释后执行两个命令apt-get update 和 apt…...
Python--常见库与函数
二、Python常见库与函数 2.1 OS库 常用功能:文件/目录操作、路径管理、环境变量。 import os # 路径操作 abs_path os.path.abspath("data.txt") exists os.path.exists(abs_path) # 目录操作 os.mkdir("logs") # 创建目录(需处…...
算法——数学建模的十大常用算法
数学建模的十大常用算法在数学建模竞赛和实际问题解决中起着至关重要的作用。以下是这些算法的具体信息、应用场景以及部分算法的C语言代码示例(由于篇幅限制,这里只给出部分算法的简要代码或思路,实际应用中可能需要根据具体问题进行调整和扩…...
JVM——垃圾回收算法
目录 垃圾回收算法 评价标准: 标记-清除算法: 复制算法: 标记-整理算法: 分代GC: arthas查看分代之后的内存情况: 垃圾回收算法 java是如何实现垃圾回收的呢?简单来说,垃圾回…...
游戏APP如何通过精准广告策略实现广告变现收益增长?
不同类型的游戏APP合作AdSet聚合广告平台,量身定制广告变现方案,以提升变现收益的表现。#app广告变现 1、智能选择广告形式 基于用户的行为习惯,推荐优化广告格式,包括插屏广告、激励视频广告和Banner广告等,最大化广…...
服务器安全——日志分析和扫描
如何通过访问日志查询被攻击 扫描攻击 攻击日志 GET /index?sindex/%5Cthink%5CModule/Action/Param/$%7Bphpinfo()%7D HTTP/1.1", host: "主机", referrer: "主机sindex/\think\Module/Action/Param/${phpinfo()}" 攻击日志文件 .error.log sql注…...
vue3读取webrtc-stream 视频流
一.首先下载webrtc-stream,方便自己本地搭建视频流服务 https://download.csdn.net/download/cyw8998/90373521 解压后,启动命令 webrtc-streamer.exe -H 127.0.0.1:8020 二.vue3代码如下 <template><h1>video</h1><video id&…...
周考考题(学习自用)
1.查询student表中name叫张某的信息 select * from student where name张某; 2.写出char和varchar类型的区别 1)char存储固定长度的字符串,varchar存储可变长度的字符串(在实际长度的字符串上加上一个字节用于存储字符串长度)&a…...
ubuntu 22.04 安装vsftpd服务
先决条件,确保你已经配置好了存储库。 安装vsftpd 为了方便实验,我已经切换到了root用户。 rootlocal:~# apt-get install vsftpd修改配置 配置文件在 /etc/vsftpd.conf rootlocal:~# grep -vE ^#|^$ /etc/vsftpd.conf listenNO listen_ipv6YES anonymou…...
K-均值(K-means)聚类算法
K-均值(K-means)聚类算法是一种常用的无监督学习算法,用于将数据集分成 K 个簇(clusters)。该算法的基本思想是将数据点分为 K 个簇,使得每个数据点所属的簇内部的数据点之间的相似度最大化,而不…...
STM32F407通过FSMC扩展外部SRAM和NAND FLASH
1 扩展外部SRAM 1.1 地址情况 FSMC控制器的存储区分为4个区(Bank),每个区256MB。其中,Bank1可以用于连接SRAM、NOR FLASH、PSRAM,还可以连接TFT LCD。Bank1的地址范围是0x60000000~0x6FFFFFFF。Bank1又分为4个子区,每…...
AndroidStudio查看Sqlite和SharedPreference
1.查看Sqlite 使用App Inspection,这是个好东西 打开方式:View → Tool Windows → App Inspection 界面如图: App inspection不但可以看Sqlite还可以抓包network和background task连抓包工具都省了。 非常好使 2.查看sharedPreference 使…...
Elasticsearch:15 年来致力于索引一切,找到重要内容
作者:来自 Elastic Shay Banon 及 Philipp Krenn Elasticsearch 刚刚 15 岁了!回顾过去 15 年的索引和搜索,并展望未来 15 年的相关内容。 Elasticsearch 刚刚成立 15 周年。一切始于 2010 年 2 月的一篇公告博客文章(带有标志性的…...
信呼OA办公系统sql注入漏洞分析
漏洞描述 信呼OA办公系统uploadAction存在SQL注入漏洞,攻击者可利用该漏洞获取数据库敏感信息。 环境搭建 源码下载地址:https://github.com/rainrocka/xinhu 下载后解压到本地网站根目录下,配置好数据库,然后安装即可 默认密…...
TDengine 客户端连接工具 taos-Cli
简介工具获取运行命令行参数 基础参数高级参数 数据导出/导入 数据导出数据导入 执行 SQL 脚本使用小技巧 TAB 键自动补全设置字符列显示宽度其它 错误代码表 简介 TDengine 命令行工具(以下简称 TDengine CLI)是用户操作 TDengine 实例并与之交互最简…...
机器学习算法 - 随机森林之决策树初探(1)
随机森林是基于集体智慧的一个机器学习算法,也是目前最好的机器学习算法之一。 随机森林实际是一堆决策树的组合(正如其名,树多了就是森林了)。在用于分类一个新变量时,相关的检测数据提交给构建好的每个分类树。每个…...
原生Three.js 和 Cesium.js 案例 。 智慧城市 数字孪生常用功能列表
对于大多数的开发者来言,看了很多文档可能遇见不到什么有用的,就算有用从文档上看,把代码复制到自己的本地大多数也是不能用的,非常浪费时间和学习成本, 尤其是three.js , cesium.js 这种难度较高ÿ…...
在 PyCharm 中接入deepseek的API的各种方法
在 PyCharm 中接入 DeepSeek 的 API,通常需要以下步骤: 1. 获取 DeepSeek API 密钥 首先,确保你已经在 DeepSeek 平台上注册并获取了 API 密钥(API Key)。如果没有,请访问 DeepSeek 的官方网站注册并申请 …...
Haskell语言的软件工程
Haskell语言的软件工程 引言 在软件工程的领域中,选择合适的编程语言是每个开发者都需要面对的重要决策。作为一种功能强大的函数式编程语言,Haskell凭借其独特的特性和优势逐渐在许多软件项目中占据一席之地。本文将深入探讨Haskell语言在软件工程中的…...
【2025新】基于springboot的问卷调查小程序设计与实现
目录 一、整体目录(示范): 文档含项目技术介绍、E-R图、数据字典、项目功能介绍与截图等 二、运行截图 三、代码部分(示范): 四、数据库表(示范): 数据库表有注释,可以导出数据…...
数据结构——Makefile、算法、排序(2025.2.13)
目录 一、Makefile 1.功能 2.基本语法和相关操作 (1)创建Makefile文件 (2)编译规则 (3)编译 (4)变量 ①系统变量 ②自定义变量 二、 算法 1.定义 2.算法的设计 ÿ…...
思科、华为、H3C常用命令对照表
取消/关闭 思科no华为undo华三undo 查看 思科show华为display华三display 退出 思科exit华为quit华三quit 设备命名 思科hostname华为sysname华三sysname 进入全局模式 思科enable、config terminal华为system-view华三system-view 删除文件 思科delete华为delete华…...
learn_pytorch
第三章 深度学习分为如下几个步骤 1:数据预处理,划分训练集和测试集 2:选择模型,设定损失函数和优化函数 3:用模型取拟合训练数据,并在验证计算模型上表现。 接着学习了一些数据读入 模型构建 损失函数的构…...
什么是Docker多架构容器镜像
什么是Docker多架构容器镜像 在 Docker 中,同一个 Docker 镜像可以在不同的平台上运行,例如在 x86、ARM、PowerPC 等不同的 CPU 架构上。 为了支持这种多平台的镜像构建和管理,Docker 在 17.06 版本时引入了 Manifest 的概念,在…...
【devops】 Git仓库如何fork一个私有仓库到自己的私有仓库 | git fork 私有仓库
一、场景说明 场景: 比如我们Codeup的私有仓库下载代码 放入我们的Github私有仓库 且保持2个仓库是可以实现fork的状态,即:Github会可以更新到Codeup的最新代码 二、解决方案 1、先从Codeup下载私有仓库代码 下载代码使用 git clone 命令…...
【Elasticsearch】字符过滤器Character Filters
在 Elasticsearch 中,字符过滤器(Character Filters)是文本分析器的重要组成部分,用于在分词之前对原始文本进行预处理。它们可以对字符流进行转换,例如添加、删除或更改字符。Elasticsearch 提供了三种内置的字符过滤…...
RocketMQ及和Kafka的区别
目录 1 从场景入手2 RocketMQ是什么?3 RocketMQ及和Kafka的区别3.1 在架构上做了减法3.1.1 简化协调节点3.1.2 简化分区3.1.3 底层存储3.1.3.1 Kafka底层存储3.1.3.1 RocketMQ底层存储 3.1.4 简化备份模型3.1.4.1 Kafka备份模型3.1.4.2 RocketMQ备份模型 3.1.5 Rock…...
设置ollama接口能外部访问
为了配置Ollama以允许外网访问,你可以按照以下步骤进行操作: 确认Ollama服务已正确安装并运行: 使用以下命令检查Ollama服务的状态: bash Copy Code systemctl status ollama如果服务未运行,使用以下命令启动它&…...
数组_移除元素
数组_移除元素 一、leetcode-27二、题解1.代码2.思考 一、leetcode-27 移除元素 给你一个数组 nums 和一个值 val,你需要 原地 移除所有数值等于 val 的元素。元素的顺序可能发生改变。然后返回 nums 中与 val 不同的元素的数量。 假设 nums 中不等于 val 的元素数…...
【含文档+PPT+源码】基于微信小程序的乡村振兴民宿管理系统
项目介绍 本课程演示的是一款基于微信小程序的乡村振兴民宿管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的 Java 学习者。 1.包含:项目源码、项目文档、数据库脚本、软件工具等所有资料 2.带你从零开始部署运行本套系统 3.该…...
