当前位置: 首页 > news >正文

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…...

java程序员进阶之路需要的学习过程

http://blog.csdn.net/qq_37267015/article/details/77108692...

C#01项目——计算器

实现需求: 可以连续相加,并记录计算表达式。 实现逻辑 1、利用字符串加减原则,获取相加的数值。 2、将数值存入到列表中,需要计算最终结果时,遍历列表中数值,全部相加 数字键 判断计算式长度是否超出上限根据运算…...

windows蓝牙驱动开发-在蓝牙配置文件驱动程序中接受 L2CAP 连接

L2CAP 服务器配置文件驱动程序会响应来自远程设备的传入逻辑链接控制和适应协议 (L2CAP) 连接请求。 例如,PDA 的 L2CAP 服务器配置文件驱动程序将响应来自 PDA 的传入连接请求。 接收传入 L2CAP 连接请求 1. 若要接收来自特定 PSM 的任何远程设备的传入 L2CAP 连…...

如何下载AndroidStudio的依赖的 jar,arr文件到本地

一、通过jitpack.io 下载依赖库 若需要下载 com.github.xxxxx:yy-zzz:0.0.2 的 jar则 https://jitpack.io/com/github/xxxxx/yy-zzz/0.0.2/ 下会列出如下build.logyy-zzz-0.0.2.jaryy-zzz-0.0.2.pomyy-zzz-0.0.2.pom.md5yy-zzz-0.0.2.pom.sha1jar 的下载路径为https://jitpack…...

QT笔记——QRadioButton

文章目录 1、概要2、实际的应用2.1、创建多个QRadioButton,只可同时选中其中一个,点击后实现对应的槽函数 1、概要 实现QRadioButton相关的应用;2、实际的应用 2.1、创建多个QRadioButton,只可同时选中其中一个,点击后实现对应的槽函数 创建…...

Vue 2 + Vite 项目集成 ESLint 和 Prettier

在 Vue 2 Vite 项目中集成 ESLint 和 Prettier 可以帮助你规范代码风格并自动格式化代码。以下是详细的步骤: 1. 安装 ESLint 和 Prettier 相关依赖 在项目根目录下运行以下命令,安装 ESLint、Prettier 和相关插件: npm install --save-de…...

uniapp canvas 生成海报并保存到相册

前言: 之前写过一篇canvas小程序画图只要是canvas各种方法的实际应用,有兴趣的小伙伴也可以看看 微信小程序:使用canvas 生成图片 并分享_小程序canvas生成图片-CSDN博客 上一篇文章是小试牛刀,这次是更加全面的记录生成海报的…...

无人机不等同轴旋翼架构设计应用探究

“结果显示,对于不等组合,用户应将较小的螺旋桨置于上游以提高能效,但若追求最大推力,则两个相等的螺旋桨更为理想。” 在近期的研究《不等同轴旋翼性能特性探究》中,Max Miles和Stephen D. Prior博士深入探讨了不同螺…...

C语言中隐式类型转换 截断和整型提升

C的整形算数总是至少以缺省整形类型的精度来进行的 为了获得这个精度 表达式中的字符和短整形操作数在使用之前被转换为普通整形 这种类型转换成为整型提升 给出代码实例↓ #include<stdio.h> int main() {//char signed charchar a 3;char b 127;char c a b;pri…...

R语言学习计划启动

R语言入门课 生信基地已然落地&#xff0c;我们希望能够给大家提供系统性、形成性、规范性的生信教学。前面几次活动中同学们表示希望能够有线下集中学习以及针对性的指导、答疑。所以&#xff0c;此次我们计划于2025年02月22日~23日(周六周日)推出"生信R语言入门课"…...

AI写代码工具时代:前端开发技能迭代的挑战与应对

近年来&#xff0c;人工智能&#xff08;AI&#xff09;技术飞速发展&#xff0c;深刻地改变着各个行业&#xff0c;前端开发领域也不例外。AI技术不仅带来了新的开发模式&#xff0c;也显著加快了前端开发技能的迭代速度&#xff0c;给前端工程师带来了巨大的挑战。本文将深入…...

消息队列之-springcloud-mq-stream 学习

背景: 开发中我们往往需要用到mq中间件进行消息处理,但是市面上的mq中间件实在太多了,导致我们在集成过程中困难重重,尤其在微服务当中,比如我们有一个订单模块、物流模块 他们都用到了mq,订单用的是rabbitmq 物流用的是kafka 导致当我们需要向这两个模块推送mq消息时,需…...

数据结构(考研)

线性表 顺序表 顺序表的静态分配 //线性表的元素类型为 ElemType//顺序表的静态分配 #define MaxSize10 typedef int ElemType; typedef struct{ElemType data[MaxSize];int length; }SqList;顺序表的动态分配 //顺序表的动态分配 #define InitSize 10 typedef struct{El…...

【16届蓝桥杯寒假刷题营】第1期DAY4

5.倍数区间 - 蓝桥云课 5. 倍数区间 问题描述 给定一个长度为 n 的数组 a&#xff0c;定义 f(i) 表示包含 ai​ 的最长区间长度&#xff0c;要求该区间中的所有数都是 ai​ 的倍数。请计算不同的 f(i) 的个数&#xff0c;其中 1≤i≤n。 输入格式 第一行包含一个正整数 n …...

「软件设计模式」适配器模式(Adapter)

软件设计模式深度解析&#xff1a;适配器模式&#xff08;Adapter&#xff09;&#xff08;C实现&#xff09; 一、模式概述 适配器模式&#xff08;Adapter Pattern&#xff09;是结构型设计模式中的"接口转换器"&#xff0c;它像现实世界中的电源适配器一样&#…...

进阶版MATLAB 3D柱状图

%% 1. 数据准备 % 假设数据是一个任意形式的矩阵 % 例如&#xff1a;5行 x 7列的矩阵 data [3 5 2 6 8 4 7;7 2 6 9 3 5 8;4 8 3 7 2 6 9;6 1 5 8 4 7 2;9 4 7 3 6 2 5];% 定义行和列的标签&#xff08;可选&#xff09; rowLabels {Row1, Row2, Row3, Row4, Row5}; % 行标签…...

【Elasticsearch】token filter分词过滤器

以下是Elasticsearch中常见的分词过滤器&#xff08;Token Filter&#xff09;的详细说明&#xff0c;基于搜索结果中的信息整理&#xff1a; 1.Apostrophe • 功能&#xff1a;处理文本中的撇号&#xff08;apostrophe&#xff09;&#xff0c;例如将“OReilly”转换为“ore…...

一天急速通关SpringMVC

一天急速通关SpringMVC 0 文章介绍1 介绍1.1 MVC架构与三层架构1.2 Spring MVC介绍1.3 入门程序 2 请求的映射3 请求数据的接收3.1 RequestParam接收3.2 POJO/JavaBean接收3.3 RequestHeader和CookieValue接收 4 请求数据的传递5 视图5.1 视图的理解5.2 请求转发和响应重定向的…...

MongoDB 7 分片副本集升级方案详解(下)

#作者&#xff1a;任少近 文章目录 1.4 分片升级1.5 升级shard11.6 升级shard2,shard31.7 升级mongos1.8重新启用负载均衡器1.9 推荐MongoDB Compass来验证数据 2 注意事项&#xff1a; 1.4 分片升级 使用“滚动”升级从 MongoDB 7.0 升级到 8.0&#xff0c;即在其他成员可用…...

如何在 MySQL 5.6 中实现按季度分组并找到销量最高的书籍

如何在 MySQL 5.6 中实现按季度分组并找到销量最高的书籍 引言问题描述实现步骤1. 计算每本书在每个季度的累计销量2. 找到每个季度的最高累计销量3. 匹配最高销量的书籍 总结扩展练习 引言 在数据分析和业务报表中&#xff0c;经常需要对数据进行分组统计&#xff0c;并找到每…...

JAVA生产环境(IDEA)排查死锁

使用 IntelliJ IDEA 排查死锁 IntelliJ IDEA 提供了强大的工具来帮助开发者排查死锁问题。以下是具体的排查步骤&#xff1a; 1. 编写并运行代码 首先&#xff0c;我们编写一个可能导致死锁的示例代码&#xff1a; public class DeadlockExample {private static final Obj…...

群体智能优化:粒子群算法(PSO)详解与实战

一、引言&#xff1a;从鸟群行为到优化算法 1995年&#xff0c;社会心理学家James Kennedy和电气工程师Russell Eberhart通过观察鸟群觅食行为&#xff0c;提出了著名的粒子群优化算法&#xff08;Particle Swarm Optimization, PSO&#xff09;。这一算法仅用不到30年时间&am…...

k8s集群搭建参考(by lqw)

文章目录 声明配置yum源安装docker安装 kubeadm&#xff0c;kubelet 和 kubectl部署主节点其他节点加入集群安装网络插件 声明 由于看了几个k8s的教程&#xff0c;都存在各种问题&#xff0c;自己搭建的时候&#xff0c;踩了不少坑&#xff0c;最后还是靠百度csdnchatGPT才搭建…...

vue3+vite项目引入electron运行为桌面项目

一、安装electron npm install --save-dev electron二、项目根目录添加electron文件 在此文件夹中添加两个js文件&#xff1a;main.js、preload.js main.js: // Modules to control application life and create native browser window const { app, BrowserWindow } requ…...

教育小程序+AI出题:如何通过自然语言处理技术提升题目质量

随着教育科技的飞速发展&#xff0c;教育小程序已经成为学生与教师之间互动的重要平台之一。与此同时&#xff0c;人工智能&#xff08;AI&#xff09;和自然语言处理&#xff08;NLP&#xff09;技术的应用正在不断推动教育内容的智能化。特别是在AI出题系统中&#xff0c;如何…...

使用 Flask 构建流式返回服务

使用 Flask 构建流式返回服务是一个很常见的应用场景&#xff0c;特别是在需要逐步传输大数据或进行长时间操作的场景下&#xff08;比如下载大文件、实时日志等&#xff09;。Flask 中可以通过 Response 对象来实现流式响应。以下是一个简单的例子&#xff0c;展示了如何在 Fl…...

Redis 集群相关知识介绍

Redis 集群详解&#xff1a;从入门到实战 Redis 是一个高性能的开源数据库&#xff0c;支持多种数据结构&#xff0c;广泛应用于缓存、消息队列、实时分析等领域。随着业务规模的增长&#xff0c;单机 Redis 的性能和容量往往无法满足需求&#xff0c;因此 Redis 集群&#xf…...

宏基传奇swift edge偶尔开机BIOS重置

电脑是acer swift edge&#xff0c; SFA16-41&#xff0c;出厂是Win11系统&#xff0c; BIOS版本出厂1.04&#xff0c;更新到了目前最新1.10。 问题是 会偶尔开机ACER图标变小跑到屏幕左上方&#xff0c;下次开机BIOS就会被重置&#xff0c;开机等待很长时间。 因为是偶尔现象的…...

DeepSeek是如何通过“蒸馏”技术打造自己的AI模型

1 引言&#xff1a; 最近&#xff0c;外媒对中国公司——DeepSeek进行了猛烈抨击&#xff0c;指控其采用了所谓的“蒸馏”&#xff08;Distillation&#xff09;技术&#xff0c;涉嫌抄袭甚至作弊。那么&#xff0c;什么是“蒸馏”技术&#xff1f; 在人工智能领域&#xff0c;…...

你如何利用SIMD(如SSE/AVX)优化图像处理的性能?

SIMD优化问题 1. SIMD 在图像处理中的优化方式2. 典型应用场景3. SIMD 的常见优化技巧4. 总结 利用 SIMD&#xff08;Single Instruction, Multiple Data&#xff09; 指令集&#xff08;如 SSE/AVX/AVX2/AVX-512&#xff09;优化图像处理的性能&#xff0c;可以极大地提升计算…...

支付宝 IoT 设备入门宝典(上)设备管理篇

相信不少朋友最近都被支付宝“碰一下”广告刷屏&#xff0c;“不用打开 APP 支付就碰一下”几个字一出简直自带BGM……其实“碰一下”就是支付宝 IoT 设备的一种&#xff0c;趁着热度还在&#xff0c;我会分为设备管理和设备经营上下两篇&#xff0c;简单介绍一下支付宝 IoT&am…...

Go语言 Web框架Gin

Go语言 Web框架Gin 参考 https://docs.fengfengzhidao.com https://www.liwenzhou.com/posts/Go/gin/#c-0-7-2 返回各种值 返回字符串 package mainimport ("net/http""github.com/gin-gonic/gin")func main() {router : gin.Default()router.GET("…...

蓝桥杯-洛谷刷题-day5(C++)(为未完成)

1.P1328 [NOIP2014 提高组] 生活大爆炸版石头剪刀布 i.题目 ii.代码 #include <iostream> #include <string> using namespace std;int N, Na, Nb; //0-"剪刀", 1-"石头", 2-"布", 3-"蜥", 4-"斯"&#xff1…...

【Unity3D优化】使用ASTC压缩格式优化内存

在Unity3D手游开发中&#xff0c;合理选择纹理压缩格式对于优化内存占用、提高渲染效率至关重要。本文将记录近期在项目内进行的图片压缩格式优化过程&#xff0c;重点介绍从ETC2到ASTC 5x5的优化方案及其带来的收益。 1. 现状分析&#xff1a;从ETC2到ASTC 6x6 block 在项目…...

NO.13十六届蓝桥杯备战|条件操作符|三目操作符|逻辑操作符|!||||(C++)

条件操作符 条件操作符介绍 条件操作符也叫三⽬操作符&#xff0c;需要接受三个操作数的&#xff0c;形式如下&#xff1a; exp1 ? exp2 : exp3条件操作符的计算逻辑是&#xff1a;如果 exp1 为真&#xff0c; exp2 计算&#xff0c; exp2 计算的结果是整个表达式的结果&am…...

【uniapp-小程序】实现方法调用的全局tips弹窗

【uniapp-小程序】实现方法调用的全局tips弹窗 开发背景弹窗组件全局调用封装配置项入参全局注入使用 附带&#xff1a;如何在uniapp-H5项目中实现全局自定义弹窗组件定义定义vue插件引入 笑死&#xff0c;只有在想找工作的时候才会想更新博客。 开发背景 本来是个uniapp开发…...

springboot如何将lib和jar分离

遇到一个问题&#xff0c;就是每次maven package或者maven install后target中的jar很大&#xff0c;少的50几MB&#xff0c;大的100多兆 优化前&#xff1a; 优化后&#xff1a; 优化前 优化后压缩率77.2MB4.65MB93% 具体方案&#xff1a; pom.xml中 <build><…...

深入探索C语言中的字符串处理函数:strstr与strtok

在C语言的字符串处理领域&#xff0c; strstr 和 strtok 是两个非常重要的函数&#xff0c;它们各自承担着独特的功能&#xff0c;为开发者处理字符串提供了强大的支持。 一、strstr函数&#xff1a;字符串查找的利器 strstr 函数用于在一个字符串中查找另一个字符串的首次出现…...

Django学习笔记(第一天:Django基本知识简介与启动)

博主毕业已经工作一年多了&#xff0c;最基本的测试工作已经完全掌握。一方面为了解决当前公司没有自动化测试平台的痛点&#xff0c;另一方面为了向更高级的测试架构师转型&#xff0c;于是重温Django的知识&#xff0c;用于后期搭建测试自动化平台。 为什么不选择Java&#x…...

npm版本号标记

在 npm 中,版本号的标记遵循 语义化版本控制(Semantic Versioning, SemVer) 的规则,版本号通常由 主版本号(major)、次版本号(minor) 和 修订版本号(patch) 组成,格式为: <major>.<minor>.<patch>1. 版本号格式 主版本号(major):当你做了不兼…...

无人机雨季应急救灾技术详解

无人机在雨季应急救灾中发挥着至关重要的作用&#xff0c;其凭借机动灵活、反应迅速、高效安全等特点&#xff0c;为救灾工作提供了强有力的技术支撑。以下是对无人机雨季应急救灾技术的详细解析&#xff1a; 一、无人机在雨季应急救灾中的应用场景 1. 灾情侦查与监测 无人机…...

算法与数据结构(多数元素)

题目 思路 方法一&#xff1a;哈希表 因为要求出现次数最多的元素&#xff0c;所以我们可以使用哈希映射存储每个元素及其出现的次数。每次记录出现的次数若比最大次数大&#xff0c;则替换。 方法二&#xff1a;摩尔算法 摩尔的核心算法就是对抗&#xff0c;因为存在次数多…...

详解如何使用Pytest内置Fixture tmp_path 管理临时文件

关注开源优测不迷路 大数据测试过程、策略及挑战 测试框架原理&#xff0c;构建成功的基石 在自动化测试工作之前&#xff0c;你应该知道的10条建议 在自动化测试中&#xff0c;重要的不是工具 临时目录在测试中起着至关重要的作用&#xff0c;它为执行和验证代码提供了一个可控…...

量子计算的五大优势

量子计算的优势有哪些&#xff1f; 量子计算是一个快速发展的领域&#xff0c;有望彻底改变我们处理复杂计算问题的方式。那么&#xff0c;量子计算的优势是什么&#xff1f;与经典计算相比&#xff0c;量子计算又有哪些优势呢&#xff1f;当我们探索量子力学的世界以及量子系…...

行内元素和块级元素

行内元素和块级元素 1.行内元素1.1什么是行内元素1.2行内元素的特点1.3常见的行内元素 2.块级元素2.1什么是块级元素2.2块级元素的特点2.3常见的块级元素 3.行内元素和块级元素的区别 1.行内元素 1.1什么是行内元素 行内元素是指在网页中不会独占一行,而是与其他行内元素在同…...

java面试题-集合篇

Collection 1.Collection有哪些类&#xff1f; Java集合框架中的Collection接口是所有集合类的基础接口&#xff0c;定义了一些基本的集合操作&#xff0c;如添加元素、删除元素、判断是否包含某个元素等。常见的集合类包括List、Set和Queue。 List List接口定义了按照索引…...

二十九、vite项目集成webpack+vue2项目

一、开发 基座应用: 1、安装依赖 npm i @micro-zoe/micro-app@0.8.6 --save 2、在入口处引入(main.ts) import microApp from @micro-zoe/micro-appmicroApp.start()...

小程序之间实现互相跳转的逻辑

1:小程序之间可以实现互相跳转吗 可以实现互相跳转! 2:小程序跳转是否有限制 有限制!限制如下 2.1:需要用户触发跳转 从 2.3.0 版本开始,若用户未点击小程序页面任意位置,则开发者将无法调用此接口自动跳转至其他小程序。 2.2:需要用户确认跳转 从 2.3.0 版本开始…...

算法——数学建模的十大常用算法

数学建模的十大常用算法在数学建模竞赛和实际问题解决中起着至关重要的作用。以下是这些算法的具体信息、应用场景以及部分算法的C语言代码示例&#xff08;由于篇幅限制&#xff0c;这里只给出部分算法的简要代码或思路&#xff0c;实际应用中可能需要根据具体问题进行调整和扩…...