mint 13 apt-update stuck at 97% (solved)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bigbob73

mint 13 apt-update stuck at 97% (solved)

Post by bigbob73 »

when I run sudo apt-get update it sticks at 97% then give the message "Fetched 17.0 kB in 14s (1,201 B/s)
Reading package lists... Error!
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.

running sudo rm /var/lib/apt/lists/* -vf and sudo apt-get update as well as sudo dpkg --configure -a and apt-get install -f
hasn't helped, any suggestions?

edit, fixed it with this...

sudo rm /var/lib/dpkg/status
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo rm -rf /var/lib/apt/lists/*
sudo dpkg --configure -a
sudo aptitude update
sudo aptitude upgrade
sudo aptitude install -f
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: mint 13 apt-update stuck at 97% (solved)

Post by kc1di »

There are several reason this could happen.
one is you have a bad line in the /etc/apt/sources.list
could you post your sources.list and let us take a look at it?

also could be a bad server or one that is down at the moment.
have your rebooted recently that can clear it sometimes.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
bigbob73

Re: mint 13 apt-update stuck at 97% (solved)

Post by bigbob73 »

deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiver$
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe $
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted univers$
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

#deb http://archive.removed/ubuntu precise-removed apps
#deb http://archive.removed/ubuntu precise-removed games

all seems to be working correctly now, thanks.
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: mint 13 apt-update stuck at 97% (solved)

Post by kc1di »

glad it's working just noticed here there seems to be a problem with medibuntu packages at the moment so maybe there is a server down.
Cheers!
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: mint 13 apt-update stuck at 97% (solved)

Post by karlchen »

<Moderator on>
NOTE:
The new problem report by user jdorey and all replies to it have been split off this old and solved thread and turned into a new thread here: mintupdate errors affecting /var/lib/dpkg/status. This thread here will be closed now.
</Moderator off>
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
Locked

Return to “Software & Applications”