LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-11-2015, 10:58 AM   #1
sfzombie13
Member
 
Registered: Dec 2003
Location: wv
Distribution: slackware, lfs, kali, pentoo, centos
Posts: 168

Rep: Reputation: 18
wheezy failing to update


i have tried to update using a root terminal with apt-get update && apt-get upgrade, and i got the following error:
Quote:
root@roland:/etc/apt# apt-get update && apt-get upgrade
Ign http://ppa.launchpad.net wheezy Release.gpg
Ign http://ppa.launchpad.net wheezy Release
Get:1 http://httpredir.debian.org wheezy-updates Release.gpg [1,554 B]
Get:2 http://httpredir.debian.org wheezy-updates Release [131 kB]
Get:3 http://httpredir.debian.org wheezy-updates/main Sources [3,855 B]
Get:4 http://httpredir.debian.org wheezy-updates/contrib Sources [14 B]
Get:5 http://httpredir.debian.org wheezy-updates/main amd64 Packages [5,604 B]
Get:6 http://httpredir.debian.org wheezy-updates/contrib amd64 Packages [14 B]
Get:7 http://httpredir.debian.org wheezy-updates/contrib Translation-en [14 B]
Get:8 http://httpredir.debian.org wheezy-updates/main Translation-en [3,814 B]
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US
Ign http://ppa.launchpad.net wheezy/main Translation-en
Fetched 146 kB in 2s (53.2 kB/s)
W: Failed to fetch http://ppa.launchpad.net/jtaylor/kee...source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/jtaylor/kee...amd64/Packages 404 Not Found

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.
 
Old 07-11-2015, 11:10 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
You really shouldn't use Ubuntu PPAs in Debian.

Read this:
https://wiki.debian.org/DontBreakDeb..._FrankenDebian

Please post the output of:
Code:
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d
apt-cache policy
If you want to use software from a PPA in Debian, follow this guide:
https://wiki.debian.org/CreatePackageFromPPA
 
Old 07-11-2015, 11:14 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 07-11-2015, 12:40 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you read here there are packages for debian in launchpad
https://launchpad.net/debian/wheezy

Quote:
Wheezy
Registered by William Grant on 2011-02-06

Debian 7.0 was released May 4th, 2013. The release included many major changes, described in our press release (https://www.debian.org/News/2013/20130504) and the Release Notes (https://www.debian.org/releases/wheezy/releasenotes).

Find more information at http://www.debian.org/releases/wheezy/.

Debian "wheezy" has no packages recorded in Launchpad.
 
Old 07-11-2015, 09:39 PM   #5
sfzombie13
Member
 
Registered: Dec 2003
Location: wv
Distribution: slackware, lfs, kali, pentoo, centos
Posts: 168

Original Poster
Rep: Reputation: 18
Quote:
root@roland:/home/tim# cat /etc/apt/sources.list
#

# 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

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://httpredir.debian.org/debian wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
deb-src http://httpredir.debian.org/debian wheezy-updates main contrib
#deb http://http.us.debian.org/debian/ wheezy main
root@roland:/home/tim#
Quote:
root@roland:/home/tim# ls /etc/apt/sources.list.d
jtaylor-keepass-wheezy.list jtaylor-keepass-wheezy.list.save
Quote:
root@roland:/home/tim# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://httpredir.debian.org/debian/ wheezy-updates/main Translation-en
500 http://httpredir.debian.org/debian/ wheezy-updates/contrib Translation-en
500 http://httpredir.debian.org/debian/ wheezy-updates/contrib amd64 Packages
release o=Debian,a=oldstable-updates,n=wheezy-updates,l=Debian,c=contrib
origin httpredir.debian.org
500 http://httpredir.debian.org/debian/ wheezy-updates/main amd64 Packages
release o=Debian,a=oldstable-updates,n=wheezy-updates,l=Debian,c=main
origin httpredir.debian.org
Pinned packages:
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.
 
Old 07-11-2015, 09:48 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Please, just run, in a terminal "apt-get update" followed by "apt-get upgrade" (both as root) and list the output here.
 
Old 07-11-2015, 10:37 PM   #7
sfzombie13
Member
 
Registered: Dec 2003
Location: wv
Distribution: slackware, lfs, kali, pentoo, centos
Posts: 168

Original Poster
Rep: Reputation: 18
Quote:
root@roland:/home/tim# apt-get update
Ign http://ppa.launchpad.net wheezy Release.gpg
Ign http://ppa.launchpad.net wheezy Release
Get:1 http://httpredir.debian.org wheezy-updates Release.gpg [1,554 B]
Get:2 http://httpredir.debian.org wheezy-updates Release [131 kB]
Get:3 http://httpredir.debian.org wheezy-updates/main Sources [3,855 B]
Get:4 http://httpredir.debian.org wheezy-updates/contrib Sources [14 B]
Hit http://httpredir.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Get:5 http://httpredir.debian.org wheezy-updates/contrib amd64 Packages [14 B]
Get:6 http://httpredir.debian.org wheezy-updates/contrib Translation-en [14 B]
Hit http://httpredir.debian.org wheezy-updates/main Translation-en/DiffIndex
Err http://ppa.launchpad.net wheezy/main Sources
404 Not Found
Err http://ppa.launchpad.net wheezy/main amd64 Packages
404 Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US
Ign http://ppa.launchpad.net wheezy/main Translation-en
Fetched 136 kB in 2s (50.2 kB/s)
W: Failed to fetch http://ppa.launchpad.net/jtaylor/kee...source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/jtaylor/kee...amd64/Packages 404 Not Found

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.

Setting up tzdata-java (2015e-0+deb7u1) ...
this
 
Old 07-12-2015, 06:15 AM   #8
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Firstly, add a main wheezy repository to /etc/apt/sources.list (you could alternatively un-comment the extant, non-redirector line if you wanted):
Code:
deb http://httpredir.debian.org/debian wheezy main
You can add the "contrib" & "non-free" components if you need non-DFSG-compliant software.

Then remove the added list (there appears to be a backup of it already):
Code:
# rm /etc/apt/sources.list.d/jtaylor-keepass-wheezy.list
Then run these commands and post the output:
Code:
# apt-get update
apt-get -s upgrade
 
Old 07-12-2015, 06:21 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by sfzombie13 View Post
this
So, you just updated, problem solved.
Now you can work out what the correct URL is for whatever the heck you think you need that PPA for.
 
Old 07-12-2015, 08:38 AM   #10
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by 273 View Post
So, you just updated, problem solved.
Look at the command output -- the OP has no main repositories, only wheezy-updates is listed.
 
1 members found this post helpful.
Old 07-12-2015, 08:41 PM   #11
sfzombie13
Member
 
Registered: Dec 2003
Location: wv
Distribution: slackware, lfs, kali, pentoo, centos
Posts: 168

Original Poster
Rep: Reputation: 18
Quote:
root@roland:/etc/apt# apt-get update
Hit http://httpredir.debian.org wheezy-updates Release.gpg
Hit http://httpredir.debian.org wheezy-updates Release
Hit http://httpredir.debian.org wheezy-updates/main Sources
Hit http://httpredir.debian.org wheezy-updates/contrib Sources
Hit http://httpredir.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Hit http://httpredir.debian.org wheezy-updates/main Translation-en/DiffIndex
Reading package lists... Done
Quote:
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.
 
Old 07-13-2015, 02:25 AM   #12
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Stop using "Quote" tags for terminal output -- use [code]code tags[/code] instead.

You still haven't added a main wheezy repository -- you will not be able to install any packages until you do this.

Read my posts again.
 
1 members found this post helpful.
Old 07-13-2015, 12:18 PM   #13
sfzombie13
Member
 
Registered: Dec 2003
Location: wv
Distribution: slackware, lfs, kali, pentoo, centos
Posts: 168

Original Poster
Rep: Reputation: 18
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.
 
Old 07-13-2015, 02:11 PM   #14
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by sfzombie13 View Post
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...
 
1 members found this post helpful.
Old 07-14-2015, 05:57 AM   #15
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Head_on_a_Stick View Post
The line is in your sources.list but it is commented out (by you?)
His sources were all disabled as is clearly noted by the comments inserted by the Debian installer. Looks like an offline install.

Quote:
Originally Posted by Head_on_a_Stick View Post
I would quote it & point it out for you but you didn't use code tags so I can't...
Can't see how that's stopping you...

The sources.list(5) can easily be fixed. The PPA repository in question no longer exist for whatever reason, so need to be removed.

A good start is the man page. Another good reference is: https://wiki.debian.org/SourcesList

Last edited by cynwulf; 07-14-2015 at 06:07 AM. Reason: added "in question"
 
1 members found this post helpful.
  


Reply



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
[SOLVED] How do I update Squeeze to Wheezy when I can't update? jbruyet Linux - Software 15 08-22-2014 01:29 AM
Not able to update on Debian Wheezy jabt Linux - Newbie 4 10-08-2013 09:54 PM
[SOLVED] gparted failing to start in Wheezy (KDE) edbarx Debian 14 05-02-2012 06:05 AM
IDE CDROM not opening after update to wheezy matiasar Debian 6 03-05-2012 06:14 AM
[SOLVED] update problem on wheezy cccc Debian 2 03-03-2012 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:52 PM.

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