Hello, I have Virtualmin on Ubuntu and I try to install an app that required php imap.
after some quick googling, this is the very basic line to install.
sudo apt install php8.1-imap
I’m on php8.1
I get this message : WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
I tried with apt
and with apt-get
and apt update && upgrade
. Same problem.
This is exacly that I got:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libfwupdplugin1 libllvm11
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libapache2-mod-php8.1 libc-client2007e mlock php8.1-bcmath php8.1-cgi
php8.1-cli php8.1-common php8.1-curl php8.1-fpm php8.1-gd php8.1-mbstring
php8.1-mysql php8.1-opcache php8.1-readline php8.1-xml php8.1-zip
Suggested packages:
uw-mailutils
The following NEW packages will be installed:
libc-client2007e mlock php8.1-imap
The following packages will be upgraded:
libapache2-mod-php8.1 php8.1-bcmath php8.1-cgi php8.1-cli php8.1-common
php8.1-curl php8.1-fpm php8.1-gd php8.1-mbstring php8.1-mysql php8.1-opcache
php8.1-readline php8.1-xml php8.1-zip
14 upgraded, 3 newly installed, 0 to remove and 12 not upgraded.
Need to get 9,323 kB of archives.
After this operation, 1,649 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
sudo apt autoremove
gave the same problem too. I tried the thinks on stackoverflow but it doesn’t work.
Thanks for your help