From d11ff89c8595924b284392fe2ae12f0759e62326 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 18 Apr 2018 17:25:09 +0300 Subject: [PATCH] shellrc: disable apt Happy Eyeballs workaround I think apt has fixed it and this has started being more problem than solution. This just breaks my nice gpg signed streak :( Signed-off-by: Mikaela Suomalainen --- rc/bashrc | 4 ++-- rc/zshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 9011557e..b1edfad2 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -221,8 +221,8 @@ if [[ $USER = "root" ]]; then mkdir -p /etc/apt/apt.conf.d/ echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color - echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout - echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout +# echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout +# echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout fi # Copied from http://homepages.see.leeds.ac.uk/~eeaol/notes/2012/03/how_to_only_type_ssh_passphrase_once/ diff --git a/rc/zshrc b/rc/zshrc index b314a9ff..14072add 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -187,8 +187,8 @@ if [[ $USER = "root" ]]; then mkdir -p /etc/apt/apt.conf.d/ echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color - echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout - echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout +# echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout +# echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout fi # In our series useless/weird environment variables, beep