IBM developerWorks
           Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old August 26th, 2003, 02:52 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
pkgadd in a script

Hi Ivan, hope things are going well. Quick question that you may or may not be able to understand.

I have 3 seperate packages. Two are lib packages that can be installed in non-interactive mode. The other requires interactivity. I've create a response file for that package.

The problem I'm having is getting them all installed. The libs must be installed before the last package. When I try doing pkgadd it pops up the screen that says "What package to install" and you can usually take the default 'ALL'. I need a way to insert this 'ALL' from a shell script that will first launch the pkgadd -d /filename

Don't know if this is within you world but I can always hope.


Daniel Mulrooney
Senior System Analyst
Lab Management Group, DTS
4881 Yonge Street
Toronto, Ontario
M2N 5E3
Office: (416) 549-6752
Pager: (416) 370-4782
Email: daniel.mulrooney@bmo.com

Reply With Quote
  #2  
Old August 26th, 2003, 03:47 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: pkgadd in a script

hm...

who are you talking to, and what are you talking about?!?

Reply With Quote
  #3  
Old August 26th, 2003, 04:30 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: pkgadd in a script

sorry I had cut and paste an email to one of my guys. When I tried to modify the content it told me I couldn't change the message so I left as is.

What I'm talking about is installing multiple packages using a shell script and not being required to answer the first question. What package to install :default:ALL ?,??,Q

I think I found a solution, echo -e "ALLn" | pkgadd but would like to find something alittle cleaner.

Reply With Quote
  #4  
Old October 27th, 2003, 01:53 AM
drevele drevele is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Medina, Ohio
Posts: 233 drevele User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to drevele Send a message via Yahoo to drevele
RE: pkgadd in a script

What os? Is this like the pkg_add with the bsd port system?

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > pkgadd in a script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway