Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Checking dependencies in WeAdminGuide

Subject: perfsonar development work

List archive

Re: [pS-dev] Checking dependencies in WeAdminGuide


Chronological Thread 
  • From: Nicolas Simar <>
  • To: Szymon Trocha <>, Mario Reale <>
  • Cc: perfsonar-dev <>, Gina Kramer <>
  • Subject: Re: [pS-dev] Checking dependencies in WeAdminGuide
  • Date: Fri, 24 Oct 2008 17:16:48 +0200

Hi Mario and Szymon,

I can't figure out if what one says contradict what the other says :)
Can you help me figuring it out?

Do you both agree that
(1) we need to verify if something is already installed

(2) we need to verify that yum/apt-get knows about the installed
pre-requisite (can use them) or can find the pre-requisite that needs to
be installed

If your answer is yes to the above, the look at the attachment


There are three point I am extracting from your and Mario's comments
(1), (1.1) and (1.2.1). That will help me understanding how to tweak the
admin guide.

1) Mario: when installing with yum or apt-get, we need to know if yum or
apt-get can find the dependencies required by the tool (to avoid the
installation to abort).

To that you say there are two issues:

1.1) Szymon: You may already have dependencies installed, in which case
you wish to know which ones are there and you suggest to use dpkg -l
package name. So yo know what is already there. What do you do with that

1.1.1) Are the installed dependencies known by yum and apt-get?
In the previous case they were installed using rpm and xxx?. Which for
yum does guarantee that yum knows about it (correct?).

1.1.1.1) How to verify the installed dependencies are known by yum and
apt-get?

1.1.1.2) If the installed dependencies are already known, it's all good.
you de-install already installed pre-requisites?

1.1.1.3) If the installed dependencies are already known, you need to
hook them to yum, apt-get (how?)

1.2) dependencies are unknown, you need to check if yum, apt-get can get
them (yum search, apt-get search)

1.2.1) Szymon: Issue, there is a huge list appearing. (example needed,
what to look into)?


cheers,
Nicolas

Szymon Trocha wrote:
> Hi,
>
> While installing sshtelnet mp I noticed in par 9.2.2 that WebAdminGuide
> tells the user to check dependencies via apt-cache search. I'm not sure
> it makes sense as AFAIK it doesn't say about *installed* applications
> but about *available* for installation! (note the world "cache")
>
> It also doesn't make sense as e.g. your example of apt-cche search exist
> gives at least at my server a long list of useless information:
>
> root@loco4:/var/lib/tomcat5.5/logs#
> apt-cache search exist
> adduser - Add and remove users and groups
> libarchive-zip-perl - Module for manipulation of ZIP archives
> libparted1.7-1 - The GNU Parted disk partitioning shared library
> parted - The GNU Parted disk partition resizing program
> amarok - versatile and easy to use audio player for KDE
> cli-common - common files between all CLI (.NET) packages
> [...]
> libavformat-dev - development files for libavformat
> libavformat0d - ffmpeg file format library
> pcregrep - grep utility that uses perl 5 compatible regexes.
> xemacs21 - highly customizable text editor
> tomcat5.5-exist - tomcat exist perfSONAR edition
> root@loco4:/var/lib/tomcat5.5/logs#
>
> In order to search for *installed* packaged one has to use dpkg -l
>
> Regards,

--
Nicolas
______________________________________________________________________

Nicolas Simar
Network Engineer

DANTE - www.dante.net

Tel - BE: +32 (0) 4 366 93 49
Tel - UK: +44 (0)1223 371 300
Mobile: +44 (0) 7740 176 883

City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________







Archive powered by MHonArc 2.6.16.

Top of Page