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 06-30-2006, 12:36 PM   #1
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
trying to install a java .bin trouble creating deb pkg


Hello!

I downloaded jdk-1_5_0_07-linux-i586.bin , placed it into a folder named java that is in my home folder.

I then opened a terminal and did a sudo apt-get install fakeroot java-package and got this:

Reading package lists... Done
Building dependency tree... Done
Package java-package is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package java-package has no installation candidate


Dont know what this means and I cant change the java .bin into a deb pkg until I can get past this point.

Any ideas? Thanks!
 
Old 06-30-2006, 07:25 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
It may be that java-package is available only from the Debian contrib repositories. From there you don't need to include fakeroot in the apt-get ... it'll be included with java-package along with deb-helper and anything else you need.

Of course it may be more complcated since you aren't really using Debian.

Last edited by rickh; 06-30-2006 at 07:28 PM.
 
Old 06-30-2006, 08:12 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by rickh
It may be that java-package is available only from the Debian contrib repositories. From there you don't need to include fakeroot in the apt-get ... it'll be included with java-package along with deb-helper and anything else you need.

Of course it may be more complcated since you aren't really using Debian.
Thanks but Ive fianally been able to install java using Synaptic package manager.

I could not originally find it in synaptic because the dapper repo, for some strange reason only named universe. I needed to add multiverse in /etc/apt/sources.list.

Thanks again!
 
Old 06-30-2006, 08:27 PM   #4
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by randell6564
I could not originally find it in synaptic because the dapper repo, for some strange reason only named universe. I needed to add multiverse in /etc/apt/sources.list.

Thanks again!
The multiverse is not enabled by default because it contains non-fee packages that can't be enabled by default because of licencing
 
Old 06-30-2006, 09:04 PM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by binary_y2k2
The multiverse is not enabled by default because it contains non-fee packages that can't be enabled by default because of licencing
Yeah but what I meant was that universe/multiverse WERE enabled.

I enabled all repos after installation.

Let me show you my /etc/apt/sources.list in order to better describe what the deal was:

# deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

deb http://security.ubuntu.com/ubuntu dapper-security universe main restricted multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

deb http://www.beerorkid.com/compiz/ dapper main

The repo in BOLD only named Universe. I had to add Multiverse.
After doing that, I could install jre from synaptic.

Dont know how that happened. All the preveous installations did not have this issue. weird.

Check my post here http://www.ubuntuforums.org/showthread.php?t=206653 and you can see how I was helped.

Last edited by randell6564; 06-30-2006 at 09:21 PM.
 
  


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
trouble in install tetex-bin wucan Debian 1 06-05-2006 08:14 PM
SATA RAID 1 Install trouble Deb 3.1r1 bluesman2333 Debian 7 03-14-2006 08:52 AM
trouble creating symlink for java/mozilla MightyKC Linux - Software 1 03-03-2005 11:40 PM
kernel: make deb-pkg coax1984 Linux - Software 0 10-27-2004 08:08 AM
deb vs tgz pkg kvikki Linux From Scratch 4 10-19-2003 01:12 PM


All times are GMT -5. The time now is 02:37 PM.

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