Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-27-2014, 05:28 PM   #1
LQ Newbie
Registered: Apr 2014
Distribution: Fedora, Debian, Ubuntu
Posts: 5

Rep: Reputation: 0
Repo issues with apt-get on Ubuntu 12.04.5 CLI

I have installed Ubuntu 12.04.5 (command line only) on my 2006 Intel Core 2 Duo iMac. I am hoping to run a Plex media server from this machine. I am running into problems with my fresh install.

When I run
sudo apt-get update
I get this:
Hit precise-security Release.gpg
Hit precise-security Release
Hit precise Release.gpg
Hit precise-updates Release.gpg
Hit precise-backports Release.gpg
Hit precise-security/main Sources
Hit precise Release
Hit precise-updates Release
Hit precise-security/restricted Sources
Hit precise-security/universe Sources
Hit precise-security/multiverse Sources
Hit precise-security/main i386 Packages
Hit precise-security/restricted i386 Packages
Hit precise-security/universe i386 Packages
Hit precise-security/multiverse i386 Packages
Hit precise-security/main TranslationIndex
Hit precise-security/multiverse TranslationIndex
Hit precise-security/restricted TranslationIndex
Hit precise-backports Release
Hit precise-security/universe TranslationIndex
Hit precise-security/main Translation-en
Hit precise-security/multiverse Translation-en
Get:1 precise/main Sources [934 kB]
Get:2 precise/restricted Sources [5,470 B]
Hit precise-security/restricted Translation-en
Hit precise-security/universe Translation-en
Get:3 precise/universe Sources [5,019 kB]
Get:4 precise/multiverse Sources [155 kB]
Get:5 precise/main i386 Packages [1,274 kB]
Get:6 precise/restricted i386 Packages [8,431 B]
Get:7 precise/universe i386 Packages [4,796 kB]
Get:8 precise/multiverse i386 Packages [121 kB]
Hit precise/main TranslationIndex
Hit precise/multiverse TranslationIndex
Hit precise/restricted TranslationIndex
Hit precise/universe TranslationIndex
Hit precise-updates/main Sources
Hit precise-updates/restricted Sources
Hit precise-updates/universe Sources
Hit precise-updates/multiverse Sources
Hit precise-updates/main i386 Packages
Hit precise-updates/restricted i386 Packages
Hit precise-updates/universe i386 Packages
Hit precise-updates/multiverse i386 Packages
Hit precise-updates/main TranslationIndex
Hit precise-updates/multiverse TranslationIndex
Hit precise-updates/restricted TranslationIndex
Hit precise-updates/universe TranslationIndex
Hit precise-backports/main Sources
Hit precise-backports/restricted Sources
Hit precise-backports/universe Sources
Hit precise-backports/multiverse Sources
Hit precise-backports/main i386 Packages
Hit precise-backports/restricted i386 Packages
Hit precise-backports/universe i386 Packages
Hit precise-backports/multiverse i386 Packages
Hit precise-backports/main TranslationIndex
Hit precise-backports/multiverse TranslationIndex
Hit precise-backports/restricted TranslationIndex
Hit precise-backports/universe TranslationIndex
Hit precise/main Translation-en
Hit precise/multiverse Translation-en
Hit precise/restricted Translation-en
Hit precise/universe Translation-en
Hit precise-updates/main Translation-en
Hit precise-updates/multiverse Translation-en
Hit precise-updates/restricted Translation-en
Hit precise-updates/universe Translation-en
Hit precise-backports/main Translation-en
Hit precise-backports/multiverse Translation-en
Hit precise-backports/restricted Translation-en
Hit precise-backports/universe Translation-en
Fetched 8 B in 8s (0 B/s)
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
W: Failed to fetch Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Any idea what's happening and how to fix this?
Old 12-28-2014, 01:57 AM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Try running the following code on a terminal.
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /var/lib/apt/lists/partial/*
sudo apt-get clean
Now try your normal update again. The hash mismatch issue should be gone.
1 members found this post helpful.
Old 05-05-2015, 01:07 PM   #3
LQ Newbie
Registered: May 2015
Posts: 1

Rep: Reputation: Disabled
apt-get repo issues

Thanks this worked great!
Old 05-06-2015, 05:00 AM   #4
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I'm glad to hear that it worked. As a service to others please mark this thread as [SOLVED].


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No GUI only CLI BT5 xorg.conf, startx, grub.cfg, issues apt-get help!! Ninjex Linux - Software 1 09-22-2012 05:38 AM
Non Free APT Repo? carlosinfl Debian 3 06-19-2007 06:18 PM
local apt repo anantshri Linux - Software 1 01-02-2006 06:33 AM
Ubuntu apt-get issues biojayc Linux - Software 2 08-22-2005 08:08 PM
local apt repo adem0rdna Fedora 5 02-08-2005 09:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration