How to install binutils package in Ubuntu 12.04?

Asked by Suresh Mani

I have a DL360 G7 - Hp Server. Installed the Ubuntu 12.04 x 64 bit in the server. Rebooted the server. Enabled the root account. I am trying to install the Hp Monitoring Agents in the server. The Monitoring agents comes as a package : Hp Management Pack version 9.25. I first mount the iso image of the pack through ilo and run the command "apt-cdrom add". It lists all the packages in the iso image. then i use the command "apt-get install hp-health" to install the hp health agent in the server. However it asks for the following dependencies. binutils, libc6-i686, & lib32gcc1. The server does not have internet connectivity. I do have the OS iso image with me. Could you please help me in installing these packages in the server.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu binutils Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

First give these commands

sudo dpkg --add-architecture i386
sudo dpkg --configure -a

Then try again to install the packages..

Maybe you need to download the 32bit iso of Ubuntu , I'm not sure if all the dependencies are included there.. and use the same command ( apt-cdrom add)to install FIRST the dependencies and then try to install the "hp health"

Thanks

Revision history for this message
Suresh Mani (5-contactmsuresh) said :
#2

Where can i get these packages. Are they included in the OS Discs or do you have a place where i can download these packages.?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You will get it from the default repositories

Revision history for this message
Warren Hill (warren-hill) said :
#4

open a terminal CTRL+ALT+T, Enter
--------------------------------------------------
sudo apt-get install -y binutils
-------------------------------------------------
Enter password when requested should do it.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#5

!!! The man said have no Internet Connection on Ubuntu server installation !!!

The packages can be found here
http://packages.ubuntu.com/

search with names.. on the appropriate version of Ubuntu.

I don't know if they are included all in CD iso , but you can try ..

Download the appropriate iso image from here
http://releases.ubuntu.com/

and try

Thanks

Revision history for this message
Warren Hill (warren-hill) said :
#6

Sorry did not read question in enough detail.

If you can get internet access it will be easier

Package for 12.04 is here
http://packages.ubuntu.com/precise/binutils

Check the dependencies first remembering the dependencies have dependencies of there own

you can use

-------------------------------------
dpkg -l | grep foo
------------------------------------
replacing foo with the name of a package to see if its installed

Download the package and any not already installed dependencies

To install command is

----------------------------------------
sudo dpkg -i debfile.deb
---------------------------------------
replacing debfile.deb with the name of the debfile

You need to install in the correct order: such that no package is installed before its dependencies are

Can you help with this problem?

Provide an answer of your own, or ask Suresh Mani for more information if necessary.

To post a message you must log in.