From a74a6d5bcbd0af71c664c11b67f979f9a5a2676c Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Wed, 3 Mar 2021 07:13:43 +0100 Subject: [PATCH] Fix broken packages --- sh/debian/ubuntu/configure.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sh/debian/ubuntu/configure.sh b/sh/debian/ubuntu/configure.sh index 4d840eda..1948ea7e 100755 --- a/sh/debian/ubuntu/configure.sh +++ b/sh/debian/ubuntu/configure.sh @@ -19,7 +19,7 @@ systemctl stop unattended-upgrades.service apt-get --no-install-recommends update apt-get --no-install-recommends -y upgrade -apt-get --no-install-recommends -y autoremove --purge +apt-get -y autoremove --purge apt-get --no-install-recommends -y install curl @@ -30,7 +30,7 @@ apt-get --no-install-recommends -y install curl # dpkg -P $(dpkg-query -f '${binary:Package}\n' -W *"$old_kernel"*) # done -apt-get --no-install-recommends -yf install +apt-get -yf install # Configure Terminal @@ -269,8 +269,8 @@ whoopsie xdg-desktop-portal " -apt-get --no-install-recommends -y purge $pkgs -apt-get --no-install-recommends -y autoremove --purge +apt-get -y purge $pkgs +apt-get -y autoremove --purge # Install packages pkgs="$(cat common_packages.txt) @@ -430,10 +430,10 @@ echo 'supersede domain-name-servers 1.1.1.1;' >> /etc/dhcp/dhclient.conf # Clean system # Purge useless packages -apt-get --no-install-recommends -y autoremove --purge -apt-get --no-install-recommends autoclean -apt-get --no-install-recommends clean -apt-get --no-install-recommends install +apt-get -y autoremove --purge +apt-get autoclean +apt-get clean +apt-get install rm -rf /root/.local