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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-23-2008, 05:06 AM
|
#1
|
LQ Newbie
Registered: Jun 2008
Posts: 7
Rep:
|
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
that gives me error
what should be the problem????
|
|
|
06-23-2008, 05:24 AM
|
#2
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51
Rep:
|
Solution:
Breezy isn't supported anymore (the folders have been removed from that server).
Try to run
"sudo apt-get dist-upgrade"
|
|
|
06-23-2008, 05:38 AM
|
#3
|
LQ Newbie
Registered: Jun 2008
Posts: 7
Original Poster
Rep:
|
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
|
|
|
|
06-23-2008, 05:53 AM
|
#4
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51
Rep:
|
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"
|
|
|
06-23-2008, 07:12 AM
|
#5
|
LQ Newbie
Registered: Jun 2008
Posts: 7
Original Poster
Rep:
|
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
|
|
|
|
06-23-2008, 07:34 AM
|
#6
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51
Rep:
|
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)
|
|
|
06-23-2008, 08:05 AM
|
#7
|
LQ Newbie
Registered: Jun 2008
Posts: 7
Original Poster
Rep:
|
ok then I need to do all these things.
Thanks.
I think it take whole today...
|
|
|
06-23-2008, 08:16 AM
|
#8
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51
Rep:
|
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.
|
|
|
06-23-2008, 11:34 AM
|
#9
|
Member
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346
Rep:
|
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.
|
|
|
06-24-2008, 07:52 AM
|
#10
|
LQ Newbie
Registered: Jun 2008
Posts: 7
Original Poster
Rep:
|
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....
|
|
|
06-24-2008, 08:07 AM
|
#11
|
Member
Registered: Jan 2006
Location: Finland
Distribution: Ubuntu
Posts: 51
Rep:
|
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.
|
|
|
06-26-2008, 08:38 AM
|
#12
|
LQ Newbie
Registered: Jun 2008
Posts: 7
Original Poster
Rep:
|
Problem solved I download Ubuntu 8.04 version and working fine. Some problem occurs but solved easily...
Thanks all who help me....
|
|
|
All times are GMT -5. The time now is 02:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|