[SOLVED] Apt-get update gets stuck while reading package list on my slug
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The sanity check provided I assume was ok, it listed all the files as either text file or ASCII etc.
I checked the text files as suggested and I assume that they are ok as well as they were all identifiable text, nothing strange that I saw?
Also I changed the mirror that I was using in my source list, I thought I had a break through as it reached just over 50%........then I stuck again....perhaps I should have waited till it came up with an error message! I'll have to give it aother try later.
I'm still having issues with apt updating.So over the weekend I tried updating again, but this time I had a thought and ran the update with one line of my source list at a time! Thankfully its only a two liner! The first line timed out and gave me a different error about bzip2, I've got a screen shot at home. The other line worked fine that was for security updates, although the kernel update threw up something else, which I got sorted .... I think!
But any more suggestions on this issue would be great.
I'm still having issues with apt updating.So over the weekend I tried updating again, but this time I had a thought and ran the update with one line of my source list at a time! Thankfully its only a two liner! The first line timed out and gave me a different error about bzip2, I've got a screen shot at home. The other line worked fine that was for security updates, although the kernel update threw up something else, which I got sorted .... I think!
Making progress. Cool.
Quote:
But any more suggestions on this issue would be great.
Ok, sounds like there is something wrong with that mirror. What is the line that is causing the problem?
#deb http://ftp.us.debian.org/debian/ lenny main
#deb http://security.debian.org/ lenny/updates main
deb http://ftp.uk.debian.org/debian/ lenny main
#deb http://security.debian.org/ lenny/updates main
Running an update like that resulted in an error as per the attached screen shot.
Running it with the ftp line commented out gives me the security updates although the linux-image-2.6.26-2-ixp4xx upgrade is being a pain. I had the problem before and after a reboot usually its fine, but its persisting at the moment, just trying it again now. I think I'm making progress now. Just done an apt-get clean. Success!
#deb http://ftp.us.debian.org/debian/ lenny main
#deb http://security.debian.org/ lenny/updates main
deb http://ftp.uk.debian.org/debian/ lenny main
#deb http://security.debian.org/ lenny/updates main
Thanks, I can see your point and I'll give it a go later when I'm home. Its just strange how its all worked before and has now suddenly stopped?! Just a typical computer thing?!
Finally! Everything seems to be working now! I tried update earlier today and it worked fine with both lines of my source! Then a little while later I though I'd try it again, just so see if it was a one off! Surprise I got stuck again! Anyway, I did some more searching and found and ran:-
Code:
apt-cache clean
Which gave me another error:-
Code:
E: Read error - read (5 Input/output error)
Seen it before somewhere
Done some more searching and found that there was a past bug with updates, and suggested these commands:-
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.