System information of my VPS:
Webmin version: 1.995
Virtualmin version: 7.1-1
Operating system: Ubuntu Linux 20.04.4
Kernel and CPU: Linux 3.10.0-1160.53.1.vz7.185.3 on x86_64
When I try in the command shell to install or upgrade a package ( example: apt-get install git), appears:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
And finally, when I write 'dpkg --configure -a', the server needs to be restarted.
I'm getting out of ideas about how to solve it. Thank you in advance for your help!!
Last edit: Varden 2023-01-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As you're running Virtualmin you should SSH to your server, download latest virtualmin-install.sh (www.virtualmin.com) script from our official website and run it with --setup param to fix repositories, i.e.:
sh virtualmin-install.sh --setup
Then run:
dpkg --configure -a
and then run:
apt-get upgrade -y
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
My problem is that I cant update the packages in my VPS.
When I try to update any of the packages, it appears (example):
And also, I need to restart the server.
System information of my VPS:
Webmin version: 1.995
Virtualmin version: 7.1-1
Operating system: Ubuntu Linux 20.04.4
Kernel and CPU: Linux 3.10.0-1160.53.1.vz7.185.3 on x86_64
When I try in the command shell to install or upgrade a package ( example: apt-get install git), appears:
And finally, when I write 'dpkg --configure -a', the server needs to be restarted.
I'm getting out of ideas about how to solve it. Thank you in advance for your help!!
Last edit: Varden 2023-01-11
Hello,
As you're running Virtualmin you should SSH to your server, download latest
virtualmin-install.sh(www.virtualmin.com) script from our official website and run it with--setupparam to fix repositories, i.e.:Then run:
and then run:
Hello Ilia,
Solved! Thank you very much!