mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
apt update exploding because repo changed its 'Suite' value from 'stable' to 'oldstable' >_> ...
This commit is contained in:
parent
2f64d6ff2a
commit
a32262c9fc
1 changed files with 3 additions and 3 deletions
|
@ -200,7 +200,7 @@ function apt_get_wrapper() {
|
|||
|
||||
|
||||
function apt_update() {
|
||||
apt_get_wrapper update
|
||||
apt_get_wrapper update --allow-releaseinfo-change
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
@ -260,9 +260,9 @@ function upgrade_system() {
|
|||
|
||||
# Some VPS don't have debconf install, therefore don't have debconf-apt-progress...
|
||||
# c.f. https://github.com/YunoHost/issues/issues/1828
|
||||
dpkg --list | grep -q '^ii debconf ' || { apt update; apt install debconf; }
|
||||
dpkg --list | grep -q '^ii debconf ' || { apt update --allow-releaseinfo-change; apt install debconf; }
|
||||
|
||||
apt_get_wrapper update \
|
||||
apt_get_wrapper update --allow-releaseinfo-change \
|
||||
|| return 1
|
||||
|
||||
# We need libtext-iconv-perl even before the dist-upgrade,
|
||||
|
|
Loading…
Add table
Reference in a new issue