Failed to fetch update on Ubuntu 14.04 LTS (Trusty Tahr) [duplicate]


In short, I haven't been able to update any of my Linux Mint/Cinnamon 17.1 installs (3 installs on 3 different machines) for the last 3 days due to being unable to connect to any "


" or "


" source either by the terminal (apt-get update) or by MintUpdate (the Update Manager). Accessing Mint sources or sources from Launchpad from a PPA is no problem. It's only the "


" or the "


" sources as defined by the "/etc/apt/sources.list.d/official-package-repositories.list".

These are all recent installs and updating was working 3 days ago and ever since initial installation without a single problem and there's been no change to any of the installs over the last 3 days.

There is only one PPA installed (Mozilla security PPA for Firefox and Thunderbird) and it's not the problem.

Also, I'm hardly a "Newbie" no offense to anyone) as I have several years experience running Linux Mint but there...

0 0
I'm running Ubuntu Server 14.04.2 LTS
When running sudo apt-get update, most of the packages install, but some are rejected. I had my network guy open port 80 to those IP addresses but a number of them still failed. Is that because they don't exist anymore or is there likely more that I need to do network/server side to get the update to complete?

Running $ sudo apt-get update takes about 6 hours. When it's done, I generally come across a number of errors including 404 Not found errors and others.
I tried $ sudo apt-get upgrade after running update; I get
"Reading package lists... Error!"
"Encountered a section with no package: header"
"Problem with MergeList /var/lib/apt/lists/..."
"The package lists or status file could not be parsed or opened"
(I get the same thing with a $ sudo apt-get check)

I have found a few discussions on this topic that suggest running:
$ sudo rm /var/lib/apt/lists/* -vf
Then running update again, which,...

0 0

Upgrade Ubuntu 14.04 LTS to Ubuntu 16.04 LTS. Ubuntu is widely used Linux operating system used for Desktop as well as Server edition. Ubuntu providing two types of releases Standard release and Long Term Support (LTS) release. Ubuntu provides support for standard releases for approx 1 year while Long Term Support is useful for approx 5 years.

Ubuntu Desktop uses can upgrade to any release but for Server editions we recommend to use LTS release and always upgrade to LTS release only.

A new Ubuntu 16.04 LTS release is available to upgrade. Every Ubuntu (Desktop + Server) users can upgrade your systems to this new release. As you are currently using Ubuntu 14.04 LTS so we recommend you to upgrade to Ubuntu 16.04 LTS.

1. Backup Important Data

We strongly recommended to backup all your important data from your Server or Desktop to a remote location. Also take a complete system snapshot (if possible).

2. Upgrade to Ubuntu 16.04

As we have...

0 0

Hiya Monk-

Sorry I missed the followup question, must have been a busy day for me.

As for backing up, personally I like to boot off of a Linux boot CD like an Ubuntu live or Knoppix disk, attach an external hard drive of large enough capcity, and use 'dd' to image the entire drive block by block. Let's say the drive you want to image is /dev/hda and your removable disk shows up as /dev/hde, you'd use the following:

dd if=/dev/hda of=/dev/hde conv=sync,noerror bs=1k

Tar is great for a lot of things, but a rollback would involve reinstalling the old OS to a base state, whereas with the 'dd' method, though a bit arcane, you can just boot back with the boot cd and reverse the 'if' and 'of' (input-file and output-file) arguments and reboot:

dd if=/dev/hde of=/dev/hda conv=sync,noerror bs=1k

Now, one thing tar is phenomenal for is the fact that you can use it in conjunction with dd to compress the dd image and pipe it directly to a file on...

0 0

Use promo code DOCS10 for $10 credit on a new account.

This guide has been deprecated and is no longer being maintained.

Ubuntu 14.04 is a long-term support (LTS) release that will be supported until April 2019. This guide explains how to upgrade your Linode from Ubuntu 12.04 (Precise Pangolin) to Ubuntu 14.04 (Trusty Tahr).

Distribution upgrades can yield unpredictable results, due to variations in software stacks. When possible, we recommend:

Creating a new Linode with the latest disk templateRebuilding your stackTransferring your dataSwapping IP addresses

In addition, you should use LISH to perform this upgrade as, in the event your internet connection is disconnected, your system may end up corrupted or the upgrade may be incomplete.

This guide was written assuming that you have root access to your Linode. If you do not have root access, you will need to prepend each command with sudo.

Preparing to Upgrade


0 0

I'm trying to install MySQL on Ubuntu 14.04.2, (Ubuntu Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn) to be specific).

I'm running this command to install -
sudo apt-get install mysql-serve as root

During the installation, I'm encountering this error -

Setting up mysql-server-core-5.5 (5.5.43-0ubuntu0.14.04.1) ... Setting up mysql-server-5.5 (5.5.43-0ubuntu0.14.04.1) ... start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing package mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet. dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin (2.19-0ubuntu6.6) ... No apport report written because the error message...
0 0

Are you a fan of Ubuntu LTS (Long Term Support) Versions? This is for you. Since the release of the 5th Ubuntu LTS, Ubuntu 14.04, two other versions have emmerged, Ubuntu 15.04 (Vivid Vervet) and Ubuntu 15.10 (Wily Werewolf). Many have upgraded their ubuntu versions to the Ubuntu 15s except the core users of LTS who wouldn’t trade anything for the LTS because of its stability and most importantly, the Long Term Support that comes with it.

On the 21st of April 2016, Canonical finally releases another Long Term Version of Ubuntu, the Ubuntu 16.04 LTS (Xenial Xerus) which comes with so many amazing features that even a Trusty Tahr fan like me would be forced to upgrade, after all the 16.04 is also an LTS.

Why Upgrade to Ubuntu 16.04 LTS?

So many questions must have been going on your mind, like why should you upgrade to a new version when your current version is stable and working fine. Below are some reasons you should upgrade your version of Ubuntu to the...

0 0

Ubuntu 16.04 has been released on 21st April 2016, code-named “Xenial Xerus”. Today we will be looking in how to upgrade Ubuntu 14.04 LTS to Ubuntu 16.04 LTS, this will take a sometimes, depends on internet speed.

Note: You need to have an active internet connection to download the packages.

14.04 LTS to LTS upgrades will be enabled only after 16.04.1 LTS point release, in about 3 months time, but if you follow this guide, you can update ubuntu even before that.

Note: Before upgrading, please take a backup of important files to a secure place.

You can also do the fresh installation of Ubuntu 16.04 LTS. Know more about the new features in Ubuntu 16.04 LTS.

Step 1: Know your current version of Ubuntu (Click on gear icon at top right –> About this computer)

Step 2: Download and install the latest update for the current version of Ubuntu using the following command.

$ sudo apt-get update && sudo apt-get dist-upgrade

Step 3: It would ask...

0 0

buntu Linux version 14.04 LTS has been released. How do I upgrade to a newer version of Ubuntu 14.04 LTS from Ubuntu 13.10 or 12.04 LTS?

You can upgrade from minor or major release of Ubuntu easily and recommended for all users.

Back up any important data on the Ubuntu server

Make a backup – it cannot be stressed enough how important it is to make a backup of your system before you do this. Most of the actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. Type the following commands to see current version:
$ uname -mrs
$ lsb_release -a
Sample outputs:

Linux 3.2.0-51-generic x86_64 No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise

How do I upgrade to a newer version of Ubuntu, such as v14.04, from an older v13.10 on a server system?

Type the following...

0 0

Ubuntu 16.04 (Xerial Xerus) Long Term Support has been officially released and many users are already eager to find out more about the changes and new features it has come with. This can only be done by doing a fresh install or upgrading from your old version of Ubuntu Linux.

In this article, we shall look at a step by step guide to upgrading your Ubuntu 14.04 LTS to Ubuntu 16.04 LTS.

Upgrade Ubuntu 14.04 to Ubuntu 16.04 – Desktop Edition Upgrade Ubuntu 14.04 to Ubuntu 16.04 – Server Edition Upgrade from Ubuntu 15.10 to Ubuntu 16.04

One key thing to note before following the steps below is that you have to backup important data such as folders, documents, images and many more on your system, never take chances because sometimes upgrades do not always go well as expected. Your may face issues that can lead to data loss in case an upgrade fails.

Upgrade Ubuntu 14.04 to Ubuntu 16.04 – Desktop Edition

First of all, you check whether your system is...

0 0

I’m using Ubuntu server 14.04.1 LTS and have installed Docker 1.4.1 by adding the official Docker repo to apt. So far so good. After installation I have added my user to the Docker group, so I’m able to run docker with my own user. Docker version output is:

Client version: 1.4.1 Client API version: 1.16 Go version (client): go1.3.3 Git commit (client): 5bc2ff8 OS/Arch (client): linux/amd64 Server version: 1.4.1 Server API version: 1.16 Go version (server): go1.3.3 Git commit (server): 5bc2ff8

Now my problem: when I run the docker command below, the container is unable to connect to the Ubuntu host. Some Googling told me that it has to do with IP6, but unfortunately I was unable to fix this.

Docker command:

docker run --name="test" ubuntu:14.04 apt-get update

And the corresponding output:

Unable to find image 'ubuntu:14.04' locally ubuntu:14.04: The image you are pulling has been verified 53f858aaaf03: Pull complete 837339b91538: Pull complete 615c102e2290:...
0 0

Hello everyone, how are you all doing this week? I hope you are all doing fine, if not, perhaps this little tutorial will brighten your day, even for just a few seconds. Read on…

How to upgrade Ubuntu 14.04 LTS to Ubuntu 14.10

Upgrade Ubuntu 14.014 to Ubuntu 14.10 Guide

Canonical won’t be nudging users of 14.04 LTS to upgrade to the interim release of 14.10.

But that doesn’t mean that you can’t upgrade your rock solid Trusty Tahr desktop to the (slightly underwhelming) Utopic Unicorn.

To get notified of new non-LTS Ubuntu releases you need to “opt-in” via the Software & Updates tool. This is straightforward.

Open ‘Software & Updates’ Select the ‘Updates’ tab Locate section titled ‘Notify me of a new Ubuntu version’ In the dropdown menu switch from ‘For long-term support versions‘ to ‘For any new version’

After switching you’ll want to run a quick update.

Now you’re all set! The moment Canonical send out the “upgrade” prompt to...

0 0

Ubuntu 14.04 LTS has been released officially & code name is Trusty Tahr. Ubuntu is the fastest growing desktop operating system , to download the ISO file use below links:

Ubuntu 14.04 LTS 32-bit
Ubuntu 14.04 LTS 64-bit

Some of the new features of Ubuntu 14.04 LTS are listed below :

New kernel 3.13 Python 3.4 Libreoffice-4.2.3 AppArmor with lot of new feature Xorg-15.01 (Display Server) Ubuntu Desktop – Unity with lot of new features Upstart 1.12.1 Oxide – Oxide is a webview based on Chromium to deliver web content. Oxide allows us to better support 3rd party developers and applications within the Ubuntu archive by providing a fast, secure and up to date webengine library for the duration of the LTS

In this article we will discuss the installation steps of Ubuntu 14.04 .

Step:1 Write the downloaded ISO file into USB drive or in DVD and boot your system with USB Drive / DVD & will get below welcome Screen.

Step:2 Click...

0 0

In this Linux system administration tutorial you will learn how to update an Ubuntu Linux Server 14.04 LTS system with screenshots and instructions.

To complete this tutorial you will require a running Ubuntu Linux Server 14.04 LTS (Trusty Tahr) system and an account with sudo administrative privileges. The system must have network connectivity and access to an Ubuntu update server.

The following steps will guide you through updating an Ubuntu Linux Server 14.04 LTS system. The update process can take some time to complete and some steps may take longer than others.

To begin updating your Ubuntu Linux System, you will need to be logged in using a valid user account for your system. If you are unsure of how to do this, read our tutorial on Logging into Ubuntu Linux Server 14.04 LTS.

In this tutorial, we have logged in as techonthenet on the host called ubuntu.

To update the software on our system we must first ensure we have the latest package...

0 0

After Installing Ubuntu 14.04 Trusty Tahr, there are a wealth of things that need to be dealt with, including Hardware Drivers, DVD, Audio and Video Codecs, Archiving formats, generally useful stuff.

These instructions presume you are proficient with PPAs, .Debs, and other terminal commands, Ubuntu Tweak, and require a full set of video, audio, and archive codecs, as well as Skype, Flash, and a truck-load of wallpapers.


Using the sudo command can result in severe system damage. Read all instructions and confirm you understand before executing any commands.

Make sure you type commands correctly, or copy and paste the entire code. Your first click will highlight all the code, or you can double click in the code area to do it again.

1. Enable Partner Repositories

The partner repositories are another source of software, but for those with restrictive licenses that mean the general public cannot simply share them, such as Flash...

0 0

Bower is package management solution. It runs on Node.js and uses Git to fetch and install most packages. In this tutorial we will install Bower on Ubuntu 14.04 LTS.

Install bower on your Ubuntu

Bower requires git to be installed as some bower packages require it. First thing is to install Git. You can install it with the following command:

$ sudo apt-get install git-core

Bower depends on Node and npm so first you will need install NodeJs.

$ sudo apt-get install nodejs

Now is NodeJs installed and executable as /usr/bin/nodejs

If you try run /usr/bin/env node this end with error:

$ /usr/bin/env node /usr/bin/env: node: No such file or directory

Forget something like symlink. (ln -s /usr/bin/nodejs /usr/bin/node) Just install nodejs-legacy. This package create a symlink for you.

$ sudo apt-get install npm-legacy

Now NodejS work fine.

Install npm

$ sudo apt-get install npm

Install Bower

$ sudo npm install -g...
0 0
How to Upgrade to Ubuntu 16.04 Xenial Xerus from Ubuntu 15.10 Wily/14.04 Trusty LTS/any Ubuntu version

Backup your data. If your system has Upstart service and you are upgrading then after upgrade you must choose "Start using Upstart" from grub. And troubleshoot problem if you see any.

Graphical Upgrade:

This is the most easiest way to upgrade Ubuntu from any version to any latest Ubuntu Version. You can upgrade with just few clicks and rest of the process Ubuntu will do.

Step 1: Open "Dash" and Search for "Software & Updates" and open it.
Step 2: Disable all Third-Party repositories from "Other Software" Tab.

Step 3:

Go to "


" Tab check box "

pre-released updates

" then move to the end of this window "

Notify me of a new Ubuntu Version

" Select "

For any new version

" and click ok, then close the update manager.

Step 4:

Now start "

Update Manager

" again and Click...

0 0

While running the update at Ubuntu 14.04 LTS (Trusty Tahr). The following error is being encountered:

W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch E: Some index files failed...
0 0

This question already has an answer here:

While running the update at Ubuntu 14.04 LTS (Trusty Tahr). The following error is being encountered:

W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch...
0 0
0 0


: When using


or some other GUI package management application to install a new package on Ubuntu or Debian Linux the following error message appears:

W:Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416)/dists/trusty/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs


: When Ubuntu or Debian Linux are installed using CD-ROM media this system will retain CD-ROM in its


file as a repository source. To avoid this error message is to re-insert your Ubuntu/Debian Linux installation media before running


command or remove/comment this CD-ROM repository source directly from


. Using your text editor open


file and comment or remove lines that include CD-ROM. eg:

deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64...
0 0

Ubuntu 14.04 LTS

Ubuntu 14.04, codenamed Trusty Tahr has been just released a few hours ago and its time to upgrade to get the latest Ubuntu. Its the first release of this year and is an long term release that shall get support till April 2019. To learn about what's new in 14.04 check out the release notes.

Ubuntu 13.10 and 12.04 LTS users should be able to safely upgrade to 14.04 LTS throught the the update-manager. For other versions, the recommended way is to re-install Ubuntu.

Upgrade Ubuntu on desktop

The steps to upgrade Ubuntu on the desktop are quite simple. First update your package cache and all packages using apt, and then use update-manager to upgrade to the next version of the Ubuntu.

1. Upgrade all packages

$ sudo apt-get update $ sudo apt-get upgrade

If you get a message that "The following packages have been kept back" then you need to run apt-get with dist-upgrade to upgrade all packages.

$ sudo apt-get...
0 0

APT Failed to Fetch... Hash Sum Mismatch in Terminal. Failed to fetch update on Ubuntu 14.04 LTS (Trusty Tahr) and Linux Mint 17.x --This error warning produced by executing Linux command sudo apt-get update and produce some warning such as:

W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W: Failed to fetch Hash Sum mismatch W:...
0 0


Originally Posted by


With a new version of Ubuntu comes an update to my world-famous guide for setting up a build environment to compile Android ROMs. 14.04 Trusty Tahr is the next Long Term Support edition of the popular Linux distro. The aim of this guide is to simplify the configuration process for you.

Just wanted to add that your guide also works, with only one or two minor changes, with the 64-bit version of Linux Mint 16, which is based on Ubuntu. There are only a few minor differences:

A fresh install of Mint does not have a .bashrc file in the home directory. It has to be created, with export PATH=~/bin:$PATH the only entry. The built-in pluma editor can be used to create .bashrc (nano is included, but pluma seems to be more "modern" and intuitive, especially for people used to something like the Windows Notepad editor). I found that closing the terminal window and re-opening it takes care of updating PATH after...
0 0

These days I am experimenting with Elementary OS Freya and during this, I encountered a very common updater error: Failed to fetch cdrom Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs. The complete error looked like this after running the apt-get update command:

W: Failed to fetch cdrom://elementary OS 0.3 _Freya_ – Daily amd64 (20150208)/dists/trusty/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://elementary OS 0.3 _Freya_ – Daily amd64 (20150208)/dists/trusty/restricted/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.

In this post, we shall see how to fix this error.

Fix Failed to fetch cdrom...

0 0

I'm running Ubuntu 14.04 and havent run sudo apt-get update for many months.
When I try to update local /etc/apt/sources.list apt-get can connect to many repos no problem, but many (maybe 15% of total) return errors like this

W: Failed to fetch 403 Forbidden W: Some index files failed to download. They have been ignored, or old ones used instead.

I'm wondering if the repo addresses or configurations have changed since my machine last made contact, and therefore I need to go through some process to completely flush and then re-establish the /etc/apt/sources.list? I'm thinking something like

sudo apt-cache clean

But I don't want to bork my system any more than it already is.
How can I resolve this 403 Forbidden error?

Current state of /etc/apt/sources.list

# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted # See...
0 0