LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-03-2006, 04:31 PM   #1
kateshine
LQ Newbie
 
Registered: Aug 2006
Location: DC-Balti area
Distribution: Ubuntu 12.04
Posts: 17

Rep: Reputation: 0
synaptic failing to download updates


I was trying to get to a Javascript part of a webpage, which failed of course, because I have not installed Java or a Java-reader. I tried to do a manual install, but it failed, I'm not sure why except I don't really know what I'm doing (which will probably explain a lot, but not anything useful!) I then took a look around Synaptic, to see if there was anything I could install and chose some nearly-random apps that seemed to say they would run Java. I did not do any research, which was a mistake, because Synaptic did not download them. It downloaded three files and then stopped. Now I can't get it to download anything. I'm feeling very silly. I really tried to rush through this

More details:
1 I'm running Ubuntu
2 I just installed some updates earlier today, and had not used Synaptic since that time
3 I originally tried to download from Java's page
4 The file jre-1_5_0_09-linux-i586.bin downloaded to my home folder.
5 I had actually tried this once before, about a month ago, and it failed then; this was a second attempt. I'm not sure what happened. I did not get an error message.
6 The first file I tried to install from Synaptic was Rhino. I'm embarrassed to admit this, since I'm not even sure what it does, but I was playing around (ridiculously independent am I)
7 It sat there on the download dialog until it timed out (and I cancelled it)
8 I have since tried to install other packages, but get the same problem.
9 I just tried to reload Synaptic and got stuck on download 7 of 9

thanks!!!
kate








thanks for your help!!
kate
 
Old 12-04-2006, 02:13 AM   #2
Kirmonkey
Member
 
Registered: Jan 2004
Location: UK
Distribution: Debian
Posts: 194

Rep: Reputation: 30
Hi,

Try the following command in a terminal and post back with any output you get.

I got this command from the ubuntu guide page www.ubuntuguide.org


Quote:
sudo apt-get install sun-java5-jre sun-java5-plugin
 
Old 12-05-2006, 06:12 PM   #3
kateshine
LQ Newbie
 
Registered: Aug 2006
Location: DC-Balti area
Distribution: Ubuntu 12.04
Posts: 17

Original Poster
Rep: Reputation: 0
result

Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java5-jre
kate@kate-desktop:~$


(It also asked me for my password, which I put in)


Thank you so much for your help!

kate
 
Old 12-06-2006, 02:39 AM   #4
Kirmonkey
Member
 
Registered: Jan 2004
Location: UK
Distribution: Debian
Posts: 194

Rep: Reputation: 30
This is a problem with your sources list, Ubuntu doesn't know where to look for java.

This solution comes from the ubuntu site but put in my own words:

MAKE SURE THE VERSION OF UBUNTU YOU ARE USING MATCHES THE VESION IN THE QUOTED LIST BELOW, IF NOT YOU NEED TO CHANGE "EDGY" TO "DAPPER" OR "WHATEVER"

Open a terminal and type:

Quote:
sudo gedit
Open the file /etc/apt/sources.list

(This is where you tell your system where to look for software)

Add the following lines by copy and paste:

Quote:
## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.

deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
deb http://packages.freecontrib.org/plf edgy-plf free non-free
deb-src http://packages.freecontrib.org/plf edgy-plf free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu edgy-commercial main

## Listen
#deb http://theli.free.fr/packages/ edgy listen
Put the # character in front of each line of your existing list so that ubuntu won't download your existing sources again.

Type:

Quote:
sudo apt-get update
Then type:

Quote:
sudo apt-get install sun-java5-jre sun-java5-plugin
This should work.

It is well worth working through the ubuntu guide and making a few notes about some of the key actions it asks you to perform such as repository updates, system updates, security and so on...
 
1 members found this post helpful.
  


Reply


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
Synaptic broken after updates leibniz Debian 4 10-15-2006 03:15 PM
synaptic intermittent download speeds vinzer Debian 4 05-22-2006 12:52 AM
Synaptic repository + wine -- unable to download beeblequix Linux - Newbie 2 10-20-2005 03:06 PM
synaptic 0.57.5 breaks; latest unstable, watch updates & upgrades Nix_Hard MEPIS 1 10-06-2005 07:55 PM
synaptic updates strahlend Linux - Newbie 2 08-09-2005 06:01 PM

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

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

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