Fix bash bug on Ubuntu 13.10

0

I tried to fix the bash bug on Ubuntu using

sudo apt-get update
sudo apt-get install bash

but it failed.

I guess something is wrong with the source.list file.

Anyone know which source I should add to the file?

Daniel

Posted 2014-09-30T01:55:58.717

Reputation: 111

Question was closed 2014-10-02T02:02:10.810

1You need to post the exact console log, not a vague description of approximately what happened. Please remove the guesswork for us. – allquixotic – 2014-09-30T01:57:35.060

@allquixotic There's nothing to guess here. 13.10 is EOL. – slhck – 2014-09-30T06:47:45.340

Oh, right! Totally forgot about that. Wasn't thinking 13.10 would be EOL already O_O – allquixotic – 2014-09-30T14:13:33.023

Answers

2

Your Ubuntu distribution is no longer supported. It will not receive any further updates. This is called End of Life. Basically your system is and will always be unsecured.

Upgrade your installation to 14.04, which will continue to receive updates until April 2019.

Or manually compile the latest version of Bash, but I wouldn't recommend that unless you're a little experienced with these things.

slhck

Posted 2014-09-30T01:55:58.717

Reputation: 182 472

0

I have ubuntu 13.04 and 13.10 and i update the bash using the trusty repository, only change the distribution name in /etc/apt/source.list.

Next execute apt-get uptade and finally execute apt-get install --only-upgrade bash

I make the next script to reply to my other servers:

#!/bin/bash
DISTRIB=`lsb_release -cs`
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
if grep -q 'old-releases' /etc/apt/sources.list; then
    echo "old-releases found."
    sudo sed -i 's/old-releases/us.archive/g' /etc/apt/sources.list
fi
echo "Upgrading bash..."
sudo sed -i 's/'$DISTRIB'/trusty/g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install --only-upgrade bash
sudo cp /etc/apt/sources.list.backup /etc/apt/sources.list
sudo apt-get update
echo "Upgrade bash finish."

You can visit my blog for detailed instruction in spanish

oscarif

Posted 2014-09-30T01:55:58.717

Reputation: 1