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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@roland:/etc/apt#
i have been getting this for a month now, and cannot figure out the issue. it seems like maybe it is looking for something that is missing, but i am not sure how ti fix it. the ppa.launchpad entries seem new. i read in a wiki about adding new lines to my sources.list, here, so i added the two lines with httpredir, and commented out the old ones, but it is not helping. it is probably something simple, but damned if i can figure it out.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
OK, to start with the basics, if you just ran the update and upgrade separately without the "&&" then you would be able to upgrade just fine -- the "&&" means that should the first command fail the second will not run. In fact, I would recommend doing just that, running update then upgrade separately, using the usual caution when upgrading.
Then to the PPA -- the URL you have is wrong, I have no idea whether it was correct in the past or not but it isn't now. So, if you need whatever software you get from there you need to head over to that website and find out the correct URL. If you don't need the software from the PPA and you added it manually to sources.list then just delete it from there -- it's not working and it's causing errors.
# deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD Binary-1 20150110-14:43]/ wheezy contrib main
# deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 DVD Binary-1 20150110-14:43]/ wheezy contrib main
# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ wheezy/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ wheezy/updates main contrib
this is a little over my head, but i follow. i don't know where the ppa's come from, up until a month ago it was working fine. i updated about once a week. and i tried without the && and it had no effect. i have made some changes to the sources.list and it got a little farther, but still failed out.
E: Some index files failed to download. They have been ignored, or old ones used instead.
Quote:
root@roland:/home/tim# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
tzdata tzdata-java
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 546 kB of archives.
After this operation, 64.5 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://httpredir.debian.org/debian/ wheezy-updates/main tzdata-java all 2015e-0+deb7u1 [129 kB]
Get:2 http://httpredir.debian.org/debian/ wheezy-updates/main tzdata all 2015e-0+deb7u1 [418 kB]
Fetched 546 kB in 0s (810 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 151140 files and directories currently installed.)
Preparing to replace tzdata-java 2014j-0wheezy1 (using .../tzdata-java_2015e-0+deb7u1_all.deb) ...
Unpacking replacement tzdata-java ...
Preparing to replace tzdata 2014j-0wheezy1 (using .../tzdata_2015e-0+deb7u1_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2015e-0+deb7u1) ...
Current default time zone: 'America/New_York'
Local time is now: Sat Jul 11 23:35:06 EDT 2015.
Universal Time is now: Sun Jul 12 03:35:06 UTC 2015.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
root@roland:/etc/apt# apt-get -s upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
i remember putting the ppa in when i installed keepass because there was something about the one in debian that i can't remember right now. the errors are gone now, but it still isn't right, because it has been well over a month since i updated and i know that i heard about one last week for something.
i thought they were code tags, like makes sense rather than having to go to the advanced page. there could be a little balloon there with code beside the quote.
i put in "deb http://httpredir.debian.org/debian wheezy main" and ran it again, but still no new updates, and it may well be, but it seems like there should have been something to update. and that still leaves the question where did the main repositories go? i have updated before, it used to work. i am marking it as closed, as there are no errors, but if anyone can think of what happened to them, please let me know so i can prevent it next time. thanx to all.
but it seems like there should have been something to update. and that still leaves the question where did the main repositories go? i have updated before, it used to work [...] if anyone can think of what happened to them, please let me know
The line is in your sources.list but it is commented out (by you?) -- I would quote it & point it out for you but you didn't use code tags so I can't...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.