Cleaning up the directory accidentally deleted the package

yanfei

Active Member
Mar 7, 2019
17
3
43
37
Hello everyone, I have been using PMG, from the early 6.X version to 7.X, and now to 8.1.4. I found that the boot directory has been increasing with the upgrade of the core version. In order to clean up the boot directory, I executed the sudo apt-get autoremove --purge command. Now it seems that PMG functions normally. By checking the log, I found that in addition to the core, the following packages were also cleaned up. Are these packages still useful? I reinstalled bsdmainutils and libevent-2.1-7. Other packages cannot be installed. It should be that they are not in the current subscription library.
Removing bsdmainutils (12.1.8) ...
Removing libbpf0:amd64 (1:0.3-2) ...
Removing libcbor0:amd64 (0.5.0+dfsg-2) ...
Removing libdns-export1110 (1:9.11.19+dfsg-2.1) ...
Removing libevent-2.1-7:amd64 (2.1.12-stable-8) ...
Removing libicu67:amd64 (67.1-7) ...
Removing libisc-export1105:amd64 (1:9.11.19+dfsg-2.1) ...
Removing libllvm11:amd64 (1:11.0.1-2) ...
Removing python3.9 (3.9.2-1) ...
Removing libpython3.9:amd64 (3.9.2-1) ...
Removing libpython3.9-stdlib:amd64 (3.9.2-1) ...
Removing libmpdec3:amd64 (2.5.1-1) ...
Removing libperl5.32:amd64 (5.32.1-4+deb11u2) ...
Removing libpoppler102:amd64 (20.09.0-3.1+deb11u1) ...
Removing libprocps8:amd64 (2:3.3.17-5) ...
Removing python3-talloc:amd64 (2.4.0-f2) ...
Removing python3-ldb (2:2.6.2+samba4.17.12+dfsg-0+deb12u1) ...
Removing libpython3.11:amd64 (3.11.2-6+deb12u3) ..
Removing python3.9-minimal (3.9.2-1) ...
Unlinking and removing bytecode for runtime python3.9
Removing libpython3.9-minimal:amd64 (3.9.2-1) ...
Removing libstrictures-perl (2.000006-1) ...
Removing libtesseract4:amd64 (4.1.1-2.1) ...
Removing libtiff5:amd64 (4.2.0-1+deb11u4) ...
Removing libwebp6:amd64 (0.6.1-2.1+deb11u1) ...
Removing libzpool4linux (2.0.5-pve1) ...
Removing perl-modules-5.32 (5.32.1-4+deb11u2) ...
 
Last edited:
Other packages cannot be installed. I
How is this meant - if you cannot install software with `apt install <package>` please post the output of the errors you're seeing

else - `apt autoremove` is in general a not destructive operation (of course you should check the output and make sure nothing gets removed that is still needed!) - and the part of the output you shared could simply point to packages from old major versions (PMG 6, 7) that have been replaced with newer versions being removed
 
How is this meant - if you cannot install software with `apt install <package>` please post the output of the errors you're seeing

else - `apt autoremove` is in general a not destructive operation (of course you should check the output and make sure nothing gets removed that is still needed!) - and the part of the output you shared could simply point to packages from old major versions (PMG 6, 7) that have been replaced with newer versions being removed
When I found that these packages were deleted together, I tried to reinstall them. Except for bsdmainutils and libevent-2.1-7, other packages reported errors when they were installed. The errors are as follows. I just want to know whether these packages have been replaced by new versions or other packages in the current version.
Of course, I also manually compared them. New versions of libtesseract4, libtiff5, libwebp6, and libzpool4linux have been installed.
E: Unable to locate package libbpf0
E: Unable to locate package libcbor0
E: Unable to locate package libdns-export1110
E: Unable to locate package libicu67
E: Unable to locate package libisc-export1105
E: Unable to locate package libllvm11
E: Unable to locate package python3.9
E: Couldn't find any package by glob 'python3.9'
E: Unable to locate package libpython3.9
E: Couldn't find any package by glob 'libpython3.9'
E: Unable to locate package libpython3.9-stdlib
E: Couldn't find any package by glob 'libpython3.9-stdlib'
E: Unable to locate package libmpdec3
E: Unable to locate package libperl5.32
E: Couldn't find any package by glob 'libperl5.32'
E: Unable to locate package libpoppler102
E: Unable to locate package libprocps8
E: Unable to locate package perl-modules-5.32
E: Couldn't find any package by glob 'perl-modules-5.32'
 
Last edited:
usually the output of `pmgversion -v` should provide an overview if things are installed correctly.
if additionally `apt update; apt full-upgrade` don't yield any errors I'd say everything is ok...

please post terminal output as text in code-tags instead of screenshot - it's much easier to read and quote.
 
usually the output of `pmgversion -v` should provide an overview if things are installed correctly.
if additionally `apt update; apt full-upgrade` don't yield any errors I'd say everything is ok...

please post terminal output as text in code-tags instead of screenshot - it's much easier to read and quote.
Ok, that all looks perfect! Thanks for your answer.
:~/Emai# pmgversion -v
proxmox-mailgateway: 8.1.0 (API: 8.1.4/600fe361757a, running kernel: 6.8.12-3-pve)
pmg-api: 8.1.4
pmg-gui: 4.1.1
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-3
proxmox-kernel-6.8.12-3-pve-signed: 6.8.12-3
proxmox-kernel-6.8.12-2-pve-signed: 6.8.12-2
proxmox-kernel-6.5.13-6-pve-signed: 6.5.13-6
proxmox-kernel-6.5: 6.5.13-6
pve-kernel-5.4: 6.4-5
pve-kernel-5.13.19-2-pve: 5.13.19-4
pve-kernel-5.4.128-1-pve: 5.4.128-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
clamav-daemon: 1.0.5+dfsg-1~deb12u1
ifupdown: 0.8.41
libarchive-perl: 3.6.2
libjs-extjs: 7.0.0-4
libjs-framework7: 4.4.7-2
libproxmox-acme-perl: 1.5.1
libproxmox-acme-plugins: 1.5.1
libpve-apiclient-perl: 3.3.2
libpve-common-perl: 8.2.5
libpve-http-server-perl: 5.1.2
libxdgmime-perl: 1.1.0
lvm2: 2.03.16-2
pmg-docs: 8.1.1
pmg-i18n: 3.2.4
pmg-log-tracker: 2.5.0
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-spamassassin: 4.0.1-1
proxmox-widget-toolkit: 4.2.4
pve-firmware: 3.14-1
pve-xtermjs: 5.3.0-3
zfsutils-linux: 2.2.6-pve1
~/Emai# apt update
Hit:1 http://ftp.debian.org/debian bookworm InRelease
Get:2 http://ftp.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:3 http://download.proxmox.com/debian/pmg bookworm InRelease
Hit:4 http://security.debian.org/debian-security bookworm-security InRelease
Fetched 55.4 kB in 2s (31.0 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
:~/Emai# apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Last edited: