Command line package management

Hi,
I'm a 6 year die-hard Gentoo user setting up some big production Oracle boxes.
The RHEL package management thing (system-config-packages) is both simply rubbish, and requires GTK.
Is there something better than fighting directly with RPM?
Previously we used SLES to run Oracle on, and that was bearable as the ncurses interface to their tools was mildly helpful/useful (you could search !).
Right now, I want to install the multilib packages for the packages I have installed (*not* every-bloody-one), so that some 32bit code can be run (8i mostly).
Thanks

Is there something better than fighting directlywith RPM?
What varsion of RHEL are you using? On latest
versions there is "yum" which is 100% pure command
line (no ncurses).Duh, sorry, Oracles own "Enterprise Linux".
yum is there, but it's missing urlgrabber, something Oracle don't supply on their media apparently, clever.
Don't suppose someone has an RPM for urlgrabber I can, uhh, grab?
Oh how I pine for Gentoo, and I've only been using Enterprise for half a day :/ I'd have been done ages ago.
Previously we used SLES to run Oracle on, and thatwas bearable as the ncurses interface to their tools
was mildly helpful/useful (you could search !).
You probably mean "yast".Yup, yast is/was a bit of an arse, but worked fairly well.
Yum can search too...Now to get yum working :)
Thanks

Similar Messages

  • Rpass - Secure, simple, and pluggable command-line password management

    WARNING: this program requires a python version greater than or equal to 3.
    EDIT: Fixed a bunch of bugs that made this unusable, please update!
    EDIT: Added a default configuration file.
    Hi there!
    rpass is a command-line password manager that encrypts any and all credentials you would like to store using gpg's algorithms.
    Gnome and Mac OS both have a universal credential solution, but to my knowledge there is no such generic linux application. Gnome's keyring code is long and personally, I don't trust it as much as the simple system I have in place in rpass - it is transparent and easy to understand, and any possible security holes would be blatantly visible.
    rpass can be used directly from the commandline, typing your master password (gpg passphrase) in every time, but it really shines when gpg-agent and xclip are installed. gpg-agent saves your passphrase for an interval of time, so you only have to authenticate yourself occaisonally, and the powerful search capabilities of rpass (regex-enabled) allow simple and quick account selection.
    Furthermore, with xclip installed passwords NEVER have to be printed onscreen - the first matching entry's password is automatically copied to the clipboard if a search is done with rpass. You can even run rpass from applications like 'dmenu', and although there will be no visible output, if you enter a search term after rpass you will have the password you wanted copied to your clipboard.
    Finally, it can also be easily integrated in other applications -- I use it for my email (mutt) and any script I write that requires a password.
    AUR Link: http://aur.archlinux.org/packages.php?ID=44788
    More detailed documentation and explanation can be found at: https://github.com/rscare/rpass/blob/ma … E.asciidoc (scroll down)
    or with
    $ man rpass
    after installation.
    git repository: git://github.com/rscare/rpass.git
    Please comment on the software and the documentation. Thank you very much for taking the time to try my software.
    Last edited by RedScare (2010-12-27 07:04:44)

    I'm very interested in this. However... on the initial run, pressing enter causes a crash:
    $ rpass
    Need to first create gpg key pair.
    Choose a secure passphrase -- this is going to be your master password.
    Rerun program after key creation.
    WARNING: DO NOT pick a sign-only key type.
    Press [ENTER] when ready.
    Traceback (most recent call last):
    File "/usr/bin/rpass_py_interface", line 80, in <module>
    input("Press [ENTER] when ready.")
    File "<string>", line 0
    ^
    SyntaxError: unexpected EOF while parsing
    I got around this by entering junk and I made my key. After rerunning rpass with the key generated:
    $ rpass
    Traceback (most recent call last):
    File "/usr/bin/rpass_py_interface", line 84, in <module>
    if not(IsRunning(gpg-agent)):
    File "/usr/lib/python2.7/site-packages/rpass.py", line 24, in IsRunning
    plist = [re.match(ppatt, p.strip()).groups()[0] for p in str(proc.communicate()[0], encoding=utf-8).split(n)[1:-1]]
    TypeError: str() takes at most 1 argument (2 given)
    Looks like rpass expects the gpg-agent to be running when it starts.
    edit: rather, it expects the gpg-agent to be running with the key loaded. gpg-agent was already loaded thanks to keychain but without my newly created key known to it.
    Last edited by falconindy (2010-12-26 03:42:28)

  • ADT command line packaging - how to add an ANE?

    Hi,
    I need to compile an iOS app from the command line.
    How to add an ANE to a command line packaging?
    This is what I have so far:
    ./adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Foo_DragDrop_iPad.mobileprovision Foo_iPad.ipa Foo_iPad-app.xml Foo_iPad.swf FooIcon29.png FooIcon40.png FooIcon48.png FooIcon50.png FooIcon57.png FooIcon58.png FooIcon72.png FooIcon76.png FooIcon80.png FooIcon100.png FooIcon114.png FooIcon120.png FooIcon128.png FooIcon144.png FooIcon152.png FooIcon512.png FooIcon1024.png Default-Landscape.png
    I hope somebody can help me!

    Thanks mate!

  • Command line package problem

    Am using this exercise to create packages:
    http://java.sun.com/docs/books/tutorial/java/interpack/QandE/packages-answers.html
    I'm on Unix Solaris and have created /home/me/mygame directory as instructed. Then three subdirectories with their files:
    mygame/client/Client.java
    mygame/server/Server.java
    mygame/shared/Utilities.java
    Using their source code for each .java file, I sit in mygame directory and compile with
    javac shared/Utilities.java
    which works to produce Utilities.class
    But after that my compiles don't work. Two examples:
    javac -classpath . server/Server.java
    javac -classpath . client/Client.java
    returns in second case:
    client/Client.java:5: Class mygame.shared.Utilities not found in import.
    import mygame.shared.Utilities;
    1 error
    prompt% head client/Client.java
    package mygame.client;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import mygame.shared.Utilities;
    public class Client extends Thread {
    Socket clientSocket = null;
    public Client(Socket s) {
    Can you help? I'd really like to work in packages from the command line.
    By the way, the IDE JDeveloper 9i doesn't have any problem with packages, as you'd expect.
    More info:
    The error meaning it looked but it couldn't find Class mygame.shared.Utilities, I'm sure.
    java -version
    java version "1.2.2"
    Solaris VM (build Solaris_JDK_1.2.2_05a, native threads, sunwjit)
    path (. /home/me/mygame /home/me blah/blah/blah)
    Thanks,
    Chuck Williams

    Why don't you try everything from the directory above mygame?
    You'll have to adjust your commands accordingly, but I think your problems may go away.

  • Command Line Session Management

    Hi all,
    Is there any command to check and control the sessions instead of using session manager?
    Thanks.
    BCHK

    Is there something better than fighting directlywith RPM?
    What varsion of RHEL are you using? On latest
    versions there is "yum" which is 100% pure command
    line (no ncurses).Duh, sorry, Oracles own "Enterprise Linux".
    yum is there, but it's missing urlgrabber, something Oracle don't supply on their media apparently, clever.
    Don't suppose someone has an RPM for urlgrabber I can, uhh, grab?
    Oh how I pine for Gentoo, and I've only been using Enterprise for half a day :/ I'd have been done ages ago.
    Previously we used SLES to run Oracle on, and thatwas bearable as the ncurses interface to their tools
    was mildly helpful/useful (you could search !).
    You probably mean "yast".Yup, yast is/was a bit of an arse, but worked fairly well.
    Yum can search too...Now to get yum working :)
    Thanks

  • Errors when packaging extension via Extension Manager Command Line

    Hi all,
    I am attempting to package an Adobe Fireworks extension via the CS6 Extension Manager command line tool:
    /Applications/Adobe\ Extension\ Manager\ CS6/Adobe\ Extension\ Manager\ CS6.app/Contents/MacOS/Adobe\ Extension\ Manager\ CS6 -suppress -package product="Fireworks CS6" mxi="name.mxi" mxp="name.mxp"
    I get the following error:
    error: +++ Assert in file /export/home/coretech/source/daily/extendscript/scriptobjects/build/xcode24/../../source/ bridgetalk/source/SoBridgeTalk.cpp, line 117
    +++ BridgeTalk::InitTerm::exit() has already been called.
    Debugger() was called!
    Does anyone have any suggestions on how to proceed?
    Best,
    Dmitriy

    1. There is no "product" attribute in package command. Please remove it.
    2. Why do you still package mxp? MXP has some limitations and is no longer supported in Extension Manager CC. You should package ZXP instead.
    3. Extension Manager CS6 can't sign extension during package. We have a new free product called Adobe Exchange Packager which can package and sign extensions. You can sign in http://www.adobeexchange.com/ and go to Resources page to download it. The current version in this page can't package extension based on existing mxi file. The latest version meets your requirement and will be available in a couple of days.

  • Using process manager to get command line of a running application

    hello,
    i'm currently using the process manager framework to get a list of current running processes on the machine. i would like to get the command line to display to the user. i can see how to get the path to the executable file. i.e. /Applications/AppRunning however i'd like to get the full command line and im either missing it from the documentation or not seeing the links to get that information. so i want to get /Applications/AppRunning -c someoption -f another option. can anyone recommend a function to assist me or if im using the wrong API to get the information i am looking for can someone recommend the correct API?
    thank you very much.

    musikit wrote:
    thank you very much. you have been more then informative about this. i'll have to check out the kernel queues and events api you mentioned. i've never really digged this far into a unix style OS before. it's pretty interesting. it seems like EVFILT_PROC is what i want to get process starts/stops.
    I've never done this either, so I'm quite sure I'm missing some big things here. Some other things that might be handy are dtrace and ptrace. I strongly suspect that there is some really easy way to do it that I don't know about. You might try searching on the Apple developer mailing lists.
    at the end of the day though i still need to be able to retrieve the command line of a running executable. 'ps' can do it so i'm assuming there is a programatic way of doing it. is the mac 'ps' command source code online anywhere that i can see what it's doing?
    I don't know about ps. There are a number of Mac applications that do things similar to what you propose. Marcopolo is open-source and can detect when applications are launched.
    i have looked at the linux procps package however it relies on the procfs which mac does not have.
    Amit Singh wrote a MacFUSE-based procfs for the Mac. You can look at the source code to that, but, to quote Amit "the MacFUSE version of procfs makes heavy use of the Mach programming interfaces". Good luck with that. Still, there might be some helpful information in that link.

  • Help packaging an android apk through command line

    Hello everyone.  I've recently developed an app that is near the release deadline and I've ran into the problem of low resolutions icons.  All of the troubleshooting I've done has claimed I'll need to manually package the app through the command line to do this.  I have never done this before so I'm having some trouble. 
    I've downloaded all of the required files I believe and have reached the correct bin folder, I'm completely clueless as to what syntax I need to type in from this point though.  I've gotten as far as "adt -package" which then outputs that I'm missing additional information, but as I said, I haven't used command promt much and I have no idea how to format the rest of the information I need to put in or how to attach my current app.xml file to it.
    Any help would be appreciated.
    Edit: Nevermind everyone.  After a lot  more time spent researching I've managed to piece together how to do it and actually understand it as well.

    Hi,
    Here is the command to package android apk through command line;
    <adt-path> -package -target <target-option e.g. apk, apk-debug etc> -storetype pkcs12 -keystore <your certificate> -storepass <password> name.apk app.xml name.swf assets
    Please run adt -help on terminal or cmd if you need any help regarding targets or packaging command. adt is available at you sdk/bin/adt folder.
    Also, you can see the page http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html for more details.
    Hope this will help.
    Regards,
    Nimit

  • Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Argument "Data connector" for option "connection" is not valid. The command line parameters are invalid.

    sql server:- 2008 r2 stardard edition
    os:- 64
    Package is password procted.
    following is command line in ssis package .
    /FILE "E:\PostgressToSql_IPMS\PostgressToSql_IPMS\PostgressToSql.dtsx"
     /DECRYPT  /CONNECTION "Server.user";"\"Data Source=server;
    User ID=user;Provider=SQLOLEDB.1;Persist Security Info=True;
    Application Name=SSIS-Package-{DD33AC67-4A45-40D6-AF70-4BBD421931C1}BPOSQLDB01\BPOSQLDB01.log4BPO;
    Auto Translate=False;\"" /CONNECTION "server.conn 1";
    "\"Data Source=server;User ID=log4BPO;Initial Catalog=edb1;
    Provider=SQLOLEDB.1;Persist Security Info=True;Auto Translate=False;
    Application Name=SSIS-Package-{665E3825-6AFC-4DD3-ABC8-50B5F0F18EEB}server.conn 1;
    \"" /CHECKPOINTING OFF /REPORTING E
    Need change something? Seperate configuaration file required ?

    Hi Dinesh,
    Based on my research, the issue is caused by you are running a SSIS package with a connection manager that has a space-character in the connection name.
    To work around this issue, please refer to the following two suggestions:
    Rename the connection manager in THE package to not include certain special characters (spaces, dashes). Note that the connection manager name can be changed without having to edit any property of the connection string itself.
    Escape quote the connection name, such that
    /CONNECTION "server.conn 1";"..."
    becomes
    /CONNECTION "\"server.conn 1\"";"..."
    The following similar issue is for your reference:
    https://connect.microsoft.com/SQLServer/feedback/details/510869/dtexec-commandline-fails-when-connection-is-passed-to-commandline-and-connection-name-contains-a-space
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problem using extension manager CS5 with command line

    Hi All,
    I had posted my question here : http://forums.adobe.com/message/4695419#4695419, but was advised to do so here as well..
    I have a requirement to get the path of all the installed Extension Managers on any Windows system for the purpose of installing an extension.. I thought, there would be no problem in getting the path from the registry. There was no problem in Win XP, but the same does not work for Win 7.. I googled, and found alternate ways to get the path.
    Here is the link : http://forums.adobe.com/thread/851359. I followed the instructions in this post, but failed to get this working for CS5 as mentioned in my previous thread... No problem for CS5.1 and CS6.. Why is that?
    I want to get this working for CS5, CS5.1, CS6... How can I get the path of all the Extension Manager versions installed on a Windows system?
    Please refer to the following screenshots to get a better understanding of my problem,
    I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
    resultFile = new File("D:/result.log");
    resultFile.open("w");
    resultFile.write(BridgeTalk.__diagnostics__);
    resultFile.close();
    If I run this directly from ESTK CS5, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
    On executing the above, I got the following error,
    What is going wrong?
    Please help!

    I am sorry for the poor documentation of Extension Manager which causes you so much trouble.
    1. You can use BridgeTalk API to ask specific version of Extension Manager to do something. There is sample in packaging_extension.pdf about this. You don't need to know the installation path of Extension Manager. One thing to note is that the value of bt.target is version specific, i.e. "exman-5.0", "exman-5.5" send this message to different version of Extension Manager, so you can change this value to install/enable/disable/remove extensions using different version of Extension Manager. More detailed documentation of BridgeTalk can be found by clicking "Help" menu then clicking "Javascript Tools Guide CS5" in "Adobe ExtendScript Toolkit CS5".
    2. Specific version of Extension Manager only manage extensions for corresponding version of product. You should use Extension Manager CS5 to install extensions for Photoshop CS5. The reason that the extension you installed for Photoshop CS5.1 using Extension Manager CS5.5 is displayed for Photoshop CS5 in Extension Manager CS5 is that two versions of Photoshop specified the same directory for Extension Manager to manage extensions. This is a defect and will cause some problems if multiple versions of Photoshop co-existed in one machine. But "to find  previous (CS5) extension manager and to enable it" should work for you, I guess you use command line to enable it and specify wrong product name (see #3) so that it doesn't work.
    3. When using command line, you should specify "product" attribute with the name displayed at the left panel of Extension Manager. So "Photoshop CS5 32" is correct. Remember to enclose it with double quote because of existence of space character.
    4. As above mentioned, use display name of Photoshop, and call proper version of Extension Manager by BridgeTalk.

  • SQL 2012 SSIS package runs from the command line (dtexec.exe) and completes right away ...

    Hi
    I’m upgrading our SSIS packages from SQL 2005 to SQL 2012 .
    Everything is working fine in Visual Studio, but when I’m submitting dtexec.exe it’s finishing right away in the command line (the actual execution takes long time). 
    It looks to me that as the return code doesn’t pass properly.
    As I have depending tasks how I can make sure all jobs will be executed in the proper order.
    (We never had this issue in SQL 2005)
    C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn>dtexec.exe /ISSERVER "\"\SSISDB\Direct_Prod\Direct_SSIS_Package
    \DD_Load_Customer.dtsx\"" /SERVER TORSQLSIS01 /ENVREFERENCE 2
    Microsoft (R) SQL Server Execute Package Utility
    Version 11.0.2100.60 for 32-bit
    Copyright (C) Microsoft Corporation. All rights reserved.
    Started:  10:21:55 AM
    Execution ID: 21138.
    To view the details for the execution, right-click on the Integration Services Catalog, and open the [All Executions] report
    Started:  10:21:55 AM
    Finished: 10:21:56 AM
    Elapsed:  0.766 seconds

    As per MSDN /ENVREFERENCE argument is used only by SQL Server Agent
    see
    https://msdn.microsoft.com/en-us/library/hh231187.aspx
    below part is what it says
    /Env[Reference] environment reference ID
    (Optional). Specifies the environment reference (ID) that is used by the package execution, for a package that is deployed to the Integration Services server. The parameters configured to bind
    to variables will use the values of the variables that are contained in the environment.
    You use /Env[Reference] option together with the /ISServer and the /Server options.
    This parameter is used by SQL Server Agent.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to search in a pdf package via command line

    How can I search a specific PDF file within a PDF package via the command line? Previously I have used the following code in VB6 to search a single PDF file successfully.
    acroPath = String(128, " ")        'initialise this string
    resultStatus = FindExecutable(pdfPath, vbNullString, acroPath)
    acroPath = Replace(acroPath, vbNullChar, "")        'Get rid of the null character
    acroPath = """" & Trim$(acroPath) & """"
    cmdLineString = acroPath & " /n /A ""search=" & searchString & """ " & pdfPath
    Call Shell(cmdLineString, vbNormalFocus)
    I now receive this file as part of a PDF package, so how can I amend the command line to search the specific file within the package?
    I only have Reader, not the full blown Acrobat version.
    Vas.

    Sorry forgot to say that I am using Acrobat Reader 8.1 on Win XP SP2
    Vas.

  • Running a Command Line via a Package

    Hi,
    I am trying to deploy the following command line via a package to my servers but for some reason the results are as expected. The command I am trying to run is:
    reg add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.mydomain.local"
    When I look in the log files on the server the command is being executed as:
    <![LOG[Command line = "C:\Windows\system32\reg.exe" add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.mydomain.local",
    Working Directory = C:\Windows\system32\]LOG]!><time="12:44:32.391+00" date="02-24-2014" component="execmgr" context="" type="1" thread="3976" file="scriptexecution.cpp:346">
    Why is this is not working? If I run the command manually on the server, it works and reg key is updated correctly.
    PS: I am probably being really stupid here but any help is appreciated.
    Thank You
    Mayur

    Hi,
    Just looking at the logs file, I see this:
    <![LOG[Running "C:\Windows\system32\cmd.exe" /c "C:\windows\system32\reg.exe add "hklm\software\microsoft\windows nt\currentversion\softwareprotectionplatform" /f /v "KeyManagementServiceName" /t reg_sz /d "dc4hmancmddc1.osmanage.local" with 32bitLauncher]LOG]!><time="13:06:32.677+00"
    date="02-24-2014" component="execmgr" context="" type="1" thread="4024" file="scriptexecution.cpp:364">
    It is launching it with 32bit launcher. So is this still a problem with 64bit redirection?
    The thing is before trying this reg fix I tried several times to run command: slmgr.vbs /skms servername.local via  a packag which executed successfully but again the KMS server wasn't updated. So something tells me this is a different problem?

  • How to assign the default service package to the user in the command line ?

    when i create use use the following command ,which service package is assigned to the user ,or in where can i set the default service package ,thanks for you!
    /opt/SUNWcomm/bin/commadmin user create -D admin -F John -l jdoe -L Doe -n jnpc.com.cn -p 80 -w admin123 -W demo -X v120e.jnpc.com.cn -S mail,cal -E [email protected] -H v120e.jnpc.com.cn -k legacy

    When I create a user via command-line, I get no service package. I don't see any way to assign such on creation via command-line.
    Some of what might be in a service package can be set as default falues, through configutil.
    quota is this kind of thing.

  • Picture Manager with command line for Bat files

    Hello 
    I am wondering if Microsoft Picture manager has any command line switches i could use.
    I resize thousands of photos weekly using Picture manager for a semi automated process. The resize is the part that is not automated. For some reason when using image magik the resize is done but it does not accept some images where i upload them, yet if
    i do it in parallel with Office picture manager the Microsoft re-sized always work. 
    The process uses VB Access, downloads all images changes the extension from one card extensions to jpg and ammends the name. sorts the images to two folders.
    Then i resize as a batch manually. Not difficult but needs hands on and have you tried changing the dimensions in picture manager when all are selected. tedious!
    Then the final bat uploads to correct locations. 
    So my question, how to use command line with Microsoft picture manager. If not command line Powershell. I can not beleive that the program can not be opened specifying a folder and resize image dimension to use. I cant see the source code where i believe
    it would be apparent to me how to do so.
    Thank you
    Sometimes the answer is so blindingly obvious i fail to see!

    I have done it before on BOXI R2 with the IW, and it works fine
    But any how, this is the way that we have to work with, since it is part of a customer product and the link universe and it's reports  is an additional part of the product.
    So is there a way that I can pull just the main universe and it's reports?

Maybe you are looking for

  • No 'Sales and Distribution-data' in COMMPR01

    Hi All, I've download products from R/3 to CRM and eveything worked out fine, except the following: I don't see any 'tuples' assigned in the 'Sales and Distribution-tab' in COMMPR01. There is also no possibility to assign a tuple in this tab, because

  • Grey progress bar when booting up loop

    When I boot up my computer, the grey progress bar below the apple logo appears. It gets to the very end of the bar and then my computer shuts off. When I turn it on again, the same thing happens. Is there any way to fix this?

  • How to move field symbol internal table to internal table with header line?

    Dear all, hi...hereby i would like to ask how i can move field symbol internal table to a internal table? as i know field symbol internal table is without header line.. so, may i know how to do this....to move field symbol internal table to internal

  • Clearing a GL Account Via f-03

    Hi experts, I need to clear a GL Account consists of 3500 documents using f-03.I can enter only 26 documents one time and then i need to keep on pressing enter to key in other documents until to reach 3500 documents.Is there any standard program or a

  • Transfer of contract from one sim to another

    i am planning to go overseas and while i am there i want to purchase a local SIM card for my Iphone 4 but i want to know how to transfer all my contacts from my current SIM to the overseas one, can anyone provide me with step by step instructions tha