Sponsored Content
Full Discussion: Packages
Operating Systems Solaris Packages Post 302422276 by amitranjansahu on Tuesday 18th of May 2010 02:54:53 AM
Old 05-18-2010
pkginfo will give the list of the packages on the system.Now You can have this info on files say for server1 pkgserver1.txt and for server2 pkgserver2.txt

Now use comm to find out the missing packages on server 1.

Code:
comm -3 pkgserver2.txt pkgserver1.txt

 

10 More Discussions You Might Find Interesting

1. Solaris

Which packages contain?

Cannot find which packages install: The executable: sharemgr The service: smb/server Anyone knows? Background, I want to setup CIFS on ZFS. Solaris 10. (1 Reply)
Discussion started by: sb008
1 Replies

2. UNIX for Dummies Questions & Answers

packages

Hi there i wonder if someone can help, i have 2 servers (serverA and serverB). on A i have 147 packages, on server B i have 714 packages installed. i need server A to have the same packages as server B. how do i compile a list of only the packages i need? so in other words the list should be... (0 Replies)
Discussion started by: brian112
0 Replies

3. UNIX for Dummies Questions & Answers

installing packages

hi Guys, relatively new to Unix. i have a list of Unix packages to install... how do i install only what is on that list? can someone help? Kind regards Brian (1 Reply)
Discussion started by: brian112
1 Replies

4. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

5. Solaris

Packages in zones

hello, I have this problem. I'm trying to setup 2 zones on my server with different packages. I want one zone to have the package SUNlldap and the other zone to not have it. I don't care what's on the global zone. This package seems to be set to SUNW_PKG_ALLZONES=true. So It seems, that I have... (2 Replies)
Discussion started by: bitlord
2 Replies

6. IP Networking

strange packages!

I am in a LAN with 10 hosts, but only my PC (192.168.0.10) and 192.168.0.13 is on. The ip of the router is 192.168.0.1. But I am capturing strange packages. There are many public IPs is sending to port 11935 of 192.168.0.9. But 192.168.0.9 does'nt exist in my LAN, so it does'nt reply any... (2 Replies)
Discussion started by: vistastar
2 Replies

7. Red Hat

help on addon packages

Hello, I am running vertica on my VMware which has Centos 5.5. I wanted to add some packages to the OS as I am working on some user defined functions. The packages which I need are openldap-devel glibc-devel glibc-common libidn-devel openssl-devel The Centos version is Centos 5.5... (4 Replies)
Discussion started by: nnani
4 Replies

8. Shell Programming and Scripting

Difference of packages

Hello all. I need to know the difference of packages installed on 2 different nodes. I used pkginfo on node1 and sorted it and saved the result to a text file1. Then I used pkginfo on node2 and sorted it aswell and saved the result to a text file2. How can I know the which packages are... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

9. Red Hat

Need this packages RHEL 5.6, Please help

Need this packages RHEL 5.6, Please help Hey all, I need these packages for RHEL 5.6 libyaml libyaml-devel libffi libffi-devel uname -mx86_64uname -mx86_64 Please tell me from which site I can get these packages My OS is RHEL 5.6 64 bit. Thanks, Manali (1 Reply)
Discussion started by: manalisharmabe
1 Replies

10. AIX

Application packages

Hello, I just build an AIX 7.1 box. I'm trying to install the following packages: BASH APACHE CVS ZIP I tired to download them searching on google, but unfortunately I dint find any packages concerned with aix7.1. I got stuck at this point and dont know where to download those packages... (5 Replies)
Discussion started by: pjeedu2247
5 Replies
comm(1) 							   User Commands							   comm(1)

NAME
comm - select or reject lines common to two files SYNOPSIS
comm [-123] file1 file2 DESCRIPTION
The comm utility reads file1 and file2, which must be ordered in the current collating sequence, and produces three text columns as output: lines only in file1; lines only in file2; and lines in both files. If the input files were ordered according to the collating sequence of the current locale, the lines written will be in the collating sequence of the original lines. If not, the results are unspecified. OPTIONS
The following options are supported: -1 Suppresses the output column of lines unique to file1. -2 Suppresses the output column of lines unique to file2. -3 Suppresses the output column of lines duplicated in file1 and file2. OPERANDS
The following operands are supported: file1 A path name of the first file to be compared. If file1 is -, the standard input is used. file2 A path name of the second file to be compared. If file2 is -, the standard input is used. USAGE
See largefile(5) for the description of the behavior of comm when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). EXAMPLES
Example 1 Printing a list of utilities specified by files If file1, file2, and file3 each contain a sorted list of utilities, the command example% comm -23 file1 file2 | comm -23 - file3 prints a list of utilities in file1 not specified by either of the other files. The entry: example% comm -12 file1 file2 | comm -12 - file3 prints a list of utilities specified by all three files. And the entry: example% comm -12 file2 file3 | comm -23 -file1 prints a list of utilities specified by both file2 and file3, but not specified in file1. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of comm: LANG, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 All input files were successfully output as specified. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ |CSI |enabled | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
cmp(1), diff(1), sort(1), uniq(1), attributes(5), environ(5), largefile(5), standards(5) SunOS 5.11 3 Mar 2004 comm(1)
All times are GMT -4. The time now is 07:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy