Ubuntu Dependancies

(imported topic written by SystemAdmin)

I just setup a Ubuntu 10.10 box for testing with the new 8.1 client for it.

I know the ubuntu i’m using is newer however my problem doesn’t relate to that but rather dependancies.

I downloaded and attempted to run the following:

sudo dpkg -i BESAgent-8.1.551.0-ubuntu10.i386.deb

however i’m running into a dependancy issue, it requires libapt-pkg-libc6.10-6-4.8 but i can’t find it anywhere!

Any ideas?

I’ve copied the console information below:

daniel@daniel-ul:~/Desktop$ sudo dpkg -i BESAgent-8.1.551.0-ubuntu10.i386.deb

Selecting previously deselected package besagent.

(Reading database … 145230 files and directories currently installed.)

Unpacking besagent (from BESAgent-8.1.551.0-ubuntu10.i386.deb) …

dpkg: dependency problems prevent configuration of besagent:

besagent depends on libapt-pkg-libc6.10-6-4.8; however:

Package libapt-pkg-libc6.10-6-4.8 is not installed.

dpkg: error processing besagent (–install):

dependency problems - leaving unconfigured

Processing triggers for ureadahead …

Errors were encountered while processing:

besagent

daniel@daniel-ul:~/Desktop$

(imported comment written by NoahSalzman)

libapt-pkg-libc6.10-6-4.8 is a virtual package (you don’t actually install it, it comes from other packages).

What version of apt is installed? What version of dpkg?

(imported comment written by Lee Wei)

Looks like the TEM 8.1 Ubuntu client is not qualified to work on Ubuntu 10.10 (maverick).

The latest supported is Ubuntu 10.04 (lucid).

http://support.bigfix.com/install/besclients-nonwindows.html#Ubuntu

The dependency package comes from the older 10.04 package manager “apt”.

Knowing that, we can download all the required packages and get the TEM 8.1 client to install on 10.10.

  1. Download the packages

apt: http://packages.ubuntu.com/lucid/i386/apt/download

libept0: http://packages.ubuntu.com/lucid/i386/libept0/download

aptitude: http://packages.ubuntu.com/lucid/i386/aptitude/download

besagent: http://software.bigfix.com/download/bes/81/BESAgent-8.1.551.0-ubuntu10.i386.deb

  1. Install the packages

dpkg -i ./apt_0.7.25.3ubuntu7_i386.deb

dpkg -i ./libept0_0.5.30_i386.deb

dpkg -i ./aptitude_0.4.11.11-1ubuntu10_i386.deb

dpkg -i ./BESAgent-8.1.551.0-ubuntu10.i386.deb

You can verify the installations using:

dpkg -l

dpkg -l | grep -i besagent

dpkg -s apt (this should show you the apt package providing the missing dependent library from the original error)

Lee Wei

(imported comment written by SystemAdmin)

Thanks Lee, this was exactly what i needed to point me in the right direction. I found one additional dependancy which was probably just my system… but i also needed:

libcwidget3: http://packages.ubuntu.com/lucid/i386/libcwidget3/download

currently I’m trying to figure out how to determine if it is running properly.

I copied the actionsite.afxm to where it said to, and kicked off the init.d script… but i get no response. Only when i do a restart does it say OK. Based on other *nix’s I’m expecting a response of

OK

if it was started or stopped successfully. This may still be a config issue… I’m looking into it further.

Oh, also where should i be looking for the __BESData folder, i’m thinking /var/opt/BESClient/__BESData just like other *nix’s

(imported comment written by Lee Wei)

If you want to know if the BES Client is running correctly, you can do:

ps -ef | grep -i besclient

However, the client log is probably the best place to go next.

/var/opt/BESClient/__BESData/__Global/Logs/*.log

(imported comment written by SystemAdmin)

Now I’m running into an issue which the service never starts or produce any log files.

I’ve modified the /etc/init.d/besclient and confirmed that all components are there and it should be working. I see the “#Add code here” section which is likely to timeout if i add anything there. I’ll go investigating my other *nix boxes to see if there is anything i can add to that file which might show me a bit more detail as to why it’s failing.

I’m a windows guy, so this is a bit tougher then i’d like. Is there anywhere on this linux system i can see if the exe is returning an error… maybe debug logs for the “start-stop-daemon” process?

(imported comment written by SystemAdmin)

ok, interesting… i’m not sure if this command starts it differently then the one from the documentation… but it worked…

sudo service besclient start

this did not work: /etc/init.d/besclient start

(imported comment written by sawozny91)

I’m having the same problem. Dependency issue, installed the right packages and got the software to install, copied the masthead into the appropriate directory, but sudo /etc/init.d/besclient start doesn’t give me any screen feedback, nor is there a besclient process in my ps listing. Here’s what’s in the log file:

swozny@vm-nessus-nyg:/var/opt/BESClient/__BESData/__Global/Logs$ cat 20110325.log

March 25, 2011

At 10:49:49 -0400 -

Starting client version 8.1.551.0

Unhandled error: 17NotASignedMessage

Client shutdown (Unexpected error)

At 10:51:31 -0400 -

Starting client version 8.1.551.0

Unhandled error: 17NotASignedMessage

Client shutdown (Unexpected error)

At 16:10:40 -0400 -

Starting client version 8.1.551.0

Unhandled error: 17NotASignedMessage

Client shutdown (Unexpected error)

At 16:10:43 -0400 -

Starting client version 8.1.551.0

Unhandled error: 17NotASignedMessage

Client shutdown (Unexpected error)

At 16:11:08 -0400 -

Starting client version 8.1.551.0

Unhandled error: 17NotASignedMessage

Client shutdown (Unexpected error)

At 16:20:37 -0400 -

Starting client version 8.1.551.0

Unhandled error: 17NotASignedMessage

Client shutdown (Unexpected error)

swozny@vm-nessus-nyg:/var/opt/BESClient/__BESData/__Global/Logs$

Tried sudo service besclient start to no avail.

Any suggestions?

Scott