LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-23-2008, 04:06 AM   #1
regent_royal
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
Question apt-get update and apt-get install problem please solve it.


when I command

Quote:
apt-get install sun-java6-jdk
that gives me error

Quote:
root@regent:~/Desktop# apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package sun-java6-jdk


so i give command


Quote:
apt-get update

that gives me error


Quote:
root@regent:~/Desktop# apt-get update
Ign cdrom://Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012) breezy Release.gpg
Ign http://archive.ubuntu.com breezy Release.gpg
Ign http://archive.ubuntu.com breezy Release
Ign http://archive.ubuntu.com breezy/universe Packages
Ign http://archive.ubuntu.com breezy/universe Packages
Ign http://archive.ubuntu.com breezy/universe Packages
Ign http://archive.ubuntu.com breezy/universe Packages
Ign http://archive.ubuntu.com breezy/multiverse Packages
Ign http://archive.ubuntu.com breezy/multiverse Packages
Err http://archive.ubuntu.com breezy/universe Packages
404 Not Found [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com breezy/universe Packages
404 Not Found [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com breezy/universe Packages
404 Not Found [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com breezy/universe Packages
404 Not Found [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com breezy/multiverse Packages
404 Not Found [IP: 91.189.88.31 80]
Err http://archive.ubuntu.com breezy/multiverse Packages
404 Not Found [IP: 91.189.88.31 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dis...86/Packages.gz 404 Not Found [IP: 91.189.88.31 80]
Reading package lists... Done
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


what should be the problem????
 
Old 06-23-2008, 04:24 AM   #2
TedyBear
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
Solution:

Breezy isn't supported anymore (the folders have been removed from that server).

Try to run

"sudo apt-get dist-upgrade"
 
Old 06-23-2008, 04:38 AM   #3
regent_royal
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
sudo apt-get dist-upgrade
gives me same like error

sorry but I am new to linux so .... that type of problem occurs.

Quote:
root@regent:~/Desktop# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
 
Old 06-23-2008, 04:53 AM   #4
TedyBear
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
The problem is Breezy is very, very old (in development terms)...

You will have to upgrade from Breezy to Dapper to Feisty to Hardy
-or-
you could download the Hardy Heron installation cd and do a clean install.

But if downloading a huge amount of files is no problem for you then do the following:

edit the file /etc/apt/sources.list (as root)
replace all instances of "breezy" with "dapper"

run the command
"sudo apt-get update && sudo apt-get dist-upgrade"
 
Old 06-23-2008, 06:12 AM   #5
regent_royal
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks

Thank you I perform every steps and now I can apt-get update is possible...

but I have problem regarding installation to jdk or jvm check below...

Quote:
root@regent:/etc/apt# apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java6-jdk
root@regent:/etc/apt# apt-get install sun-java6-jvm
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java6-jvm
 
Old 06-23-2008, 06:34 AM   #6
TedyBear
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
Are we speaking about the same machine or another one? If it's the same machine that you're upgrading from breezy to dapper then upgrade to feisty (and preferably to Hardy)
 
Old 06-23-2008, 07:05 AM   #7
regent_royal
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
ok then I need to do all these things.
Thanks.
I think it take whole today...
 
Old 06-23-2008, 07:16 AM   #8
TedyBear
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
It will take you a whole day - depending on your computer speed and internet connection.

Once dapper is completely installed and upgraded make sure to check the
System->Administration->Software Sources and make sure that all software repositories are checked (universe, multiverse, sources) and that the update-manager is set to look for new distrobutions. Then run the update-manager and have it check for the latest release.

It might be that it finds Ubuntu 8.04 Hardy Heron right away or then you have to go through Feisty->Gutsy->Hardy.

You should't need to edit the /etc/apt/sources.list file again.
 
Old 06-23-2008, 10:34 AM   #9
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Time wise it may be better to save your home folder and to a clean install of Handy, then copy your home folder back. Than going from update to update to update ect.
 
Old 06-24-2008, 06:52 AM   #10
regent_royal
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
oh god while doing this I lost my firefox.....

And currently I have no cd how I can do this...

I m writing this from windows os on another drive....
 
Old 06-24-2008, 07:07 AM   #11
TedyBear
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
You lost your firefox? What were you doing before that? Have you decided to download the Hardy CD? If you want you can try to launch the browser from a terminal window (in case it's just the shortcut that has been lost..)

If firefox is indeed gone then you may want to try if the epiphany browser is installed.

Just type epiphany in the terminal to launch it.
 
Old 06-26-2008, 07:38 AM   #12
regent_royal
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Problem solved I download Ubuntu 8.04 version and working fine. Some problem occurs but solved easily...


Thanks all who help me....
 
  


Reply

Tags
apt-get, install, update


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
Is there knoppix-like distro, that we can: apt-get update; apt-get install programs ? frenchn00b Linux - Distributions 7 04-28-2008 02:06 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 07:47 AM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM


All times are GMT -5. The time now is 10:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration