dpkg frontend lock
-
- Posts: 8
- Joined: Mon Dec 14, 2020 8:59 am
dpkg frontend lock
Hello Friends,
I need help.
After inputting all the pre-installation info via ssh, and the installation is about to proceed (Installation will take about 15 minutes...)
I got this error message on Putty
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Error: apt-get upgrade failed
So the installation stopped.
I'm using a dedicated server. Prior the installation of myvestacp (my top choice among open source panels), I ran a sudo upgrade and update command of Debian 10. Everything was fine until I got the error above.
Thank you for any help. And thank you to the kind founder of myvestacp for your work on this fork.
I need help.
After inputting all the pre-installation info via ssh, and the installation is about to proceed (Installation will take about 15 minutes...)
I got this error message on Putty
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Error: apt-get upgrade failed
So the installation stopped.
I'm using a dedicated server. Prior the installation of myvestacp (my top choice among open source panels), I ran a sudo upgrade and update command of Debian 10. Everything was fine until I got the error above.
Thank you for any help. And thank you to the kind founder of myvestacp for your work on this fork.
Re: Installation Error
You obviously have some 'apt' proccess that get locked in background.
Try to unlock it by following this: https://itsfoss.com/could-not-get-lock-error/
p.s. Check if you are running 'apt' as root?
Try to unlock it by following this: https://itsfoss.com/could-not-get-lock-error/
p.s. Check if you are running 'apt' as root?
-
- Posts: 8
- Joined: Mon Dec 14, 2020 8:59 am
Re: Installation Error
I wish to publicly thank Sir Dpeca, the founder of myVestacp, for his kindness and for his time in helping me fixed this issue. All the websites that provide solutions to the above error were not enough to fix the problem.
Dpeca suggested this solution before executing the installation script:
Dpeca suggested this solution before executing the installation script:
Code: Select all
sudo bash
cd ~
Re: Installation Error
Yes, because you were not 'root' but local user, and that's why apt was locked.