mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
bullseye migration: improve autofix procedure for the libc6 hell
This commit is contained in:
parent
7601492081
commit
02b3a138b6
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class MyMigration(Migration):
|
|||
os.system("perl -i~ -0777 -pe 's/(Package: .*-ynh-deps\\n(.+:.+\\n)+Depends:.*)(build-essential, ?)(.*)/$1$4/g' /var/lib/dpkg/status")
|
||||
self.apt_install("build-essential-") # Note the '-' suffix to mean that we actually want to remove the packages
|
||||
os.system("LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt autoremove --assume-yes")
|
||||
self.apt_install("gcc-8- libgcc-8-dev-") # Note the '-' suffix to mean that we actually want to remove the packages
|
||||
self.apt_install("gcc-8- libgcc-8-dev- equivs") # Note the '-' suffix to mean that we actually want to remove the packages .. we also explicitly add 'equivs' to the list because sometimes apt is dumb and will derp about it
|
||||
|
||||
#
|
||||
# Main upgrade
|
||||
|
|
Loading…
Add table
Reference in a new issue