add --allow-releaseinfo-change flag to apt-get update
This commit is contained in:
parent
26d919aa93
commit
dac47050c9
4
install
4
install
@ -13,7 +13,7 @@
|
|||||||
# https://github.com/armbian/config/blob/master/debian-software
|
# https://github.com/armbian/config/blob/master/debian-software
|
||||||
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
||||||
#
|
#
|
||||||
# version: 1.5.0
|
# version: 1.5.1
|
||||||
#
|
#
|
||||||
|
|
||||||
if [[ $(id -u) -ne 0 ]]; then
|
if [[ $(id -u) -ne 0 ]]; then
|
||||||
@ -116,7 +116,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo "Updating repos before installing..."
|
echo "Updating repos before installing..."
|
||||||
apt-get update
|
apt-get --allow-releaseinfo-change update
|
||||||
|
|
||||||
echo "Installing lsb_release..."
|
echo "Installing lsb_release..."
|
||||||
apt-get --yes --no-install-recommends --reinstall install lsb-release
|
apt-get --yes --no-install-recommends --reinstall install lsb-release
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user