Avoid error '/var/cache/debconf/config.dat is locked by another process' when retrying

This commit is contained in:
Gustavo Trott 2024-10-25 14:12:26 -03:00
parent 82774b9a08
commit e1e9d645c4

View File

@ -303,6 +303,7 @@ jobs:
rm -f /var/lib/dpkg/lock-frontend rm -f /var/lib/dpkg/lock-frontend
rm -f /var/lib/dpkg/lock rm -f /var/lib/dpkg/lock
rm -f /var/cache/apt/archives/lock rm -f /var/cache/apt/archives/lock
rm -f /var/cache/debconf/config.dat
echo "Reconfigure the package manager" echo "Reconfigure the package manager"
dpkg --configure -a dpkg --configure -a