mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Tell apt-daily to gtfo to prevent it from messing with dpkg/apt locks
This commit is contained in:
parent
b52f8456a9
commit
c8b06bd8aa
2 changed files with 10 additions and 2 deletions
|
@ -29,9 +29,9 @@ install-postinstall:
|
||||||
- systemctl -q stop apt-daily.timer
|
- systemctl -q stop apt-daily.timer
|
||||||
- systemctl -q stop apt-daily-upgrade.timer
|
- systemctl -q stop apt-daily-upgrade.timer
|
||||||
- systemctl -q stop apt-daily.service
|
- systemctl -q stop apt-daily.service
|
||||||
- systemctl -q stop apt-daily-upgrade.servic
|
- systemctl -q stop apt-daily-upgrade.service
|
||||||
- systemctl -q disable apt-daily.timer
|
- systemctl -q disable apt-daily.timer
|
||||||
- systemctl -q disable apt-daily-upgrade.timer
|
- systemctl -q disable apt-daily-upgrade.timer
|
||||||
- systemctl -q disable apt-daily.service
|
- systemctl -q disable apt-daily.service
|
||||||
- systemctl -q disable apt-daily-upgrade.servicee
|
- systemctl -q disable apt-daily-upgrade.service
|
||||||
- yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns
|
- yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
.install_debs: &install_debs
|
.install_debs: &install_debs
|
||||||
|
- systemctl -q stop apt-daily.timer
|
||||||
|
- systemctl -q stop apt-daily-upgrade.timer
|
||||||
|
- systemctl -q stop apt-daily.service
|
||||||
|
- systemctl -q stop apt-daily-upgrade.service
|
||||||
|
- systemctl -q disable apt-daily.timer
|
||||||
|
- systemctl -q disable apt-daily-upgrade.timer
|
||||||
|
- systemctl -q disable apt-daily.service
|
||||||
|
- systemctl -q disable apt-daily-upgrade.service
|
||||||
- apt update
|
- apt update
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue