Sponsored Content
Operating Systems Solaris Unable to release package administration lock for this system Post 302320474 by potro on Thursday 28th of May 2009 06:01:23 AM
Old 05-28-2009
Unable to release package administration lock for this system

Hi,

I created a Solaris package, but at the end of installation (on a Solaris 10 sparc) I get :
#pkgadd -d MyApp_version__SunOS_sparc.pkg

...

Installation of <MyAppName> was successful.
pkgadd: ERROR: ERROR: Unable to release package administration lock for
this system; try again later
pkgadd: ERROR: ERROR: Unable to release package administration lock for
this system; try again later


The solution is to delete:
#rm –rf /tmp/.ai.pkg.zone.lock*

Then some lib issues occur .. fixed by:
#cd /usr/lib
#ln -sf ../../lib/libdlpi.so.1 libdlpi.so.1

Then I can install and uninstall without any problems as many time as I need.

Why does this issues occur when the package is first install on a system ?

Thanks,
Bianca

Last edited by potro; 05-28-2009 at 07:40 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

System Administration

I have been working with UNIX (HP-UX) now for a couple of years. Have become quite capable in shell scripting and general UNIX use. The local university offers a certification course in UNIX administration which I am considering taking. However, the certification is geared toward UNIX in general... (13 Replies)
Discussion started by: google
13 Replies

2. Linux

groupadd: unable to lock group file

Hi guys, i encountered this error when i try to create a group. What is the problem here? I created a few groups weeks before this. I was recommended to reboot the machine, but i am not the owner of the machine, thus i would prefer to know the cause and any other solution other than rebooting the... (1 Reply)
Discussion started by: Daven81
1 Replies

3. Solaris

System Administration Certification

I'm planning to take System Administration certification in SUN Solaris. Can some one suggest me if there are any links are URLs to find sample question papers. Pharos (2 Replies)
Discussion started by: pharos467
2 Replies

4. Linux

Unable to Lock User

Hi, I am trying to lock a user by executing "passwd -l xxxx" but the system is returning following error: Locking password for user xxxx. passwd: Error (password not set?) I do see the passwd for this user encrypted in shadow file thou! Anyone have any ideas why am getting this error? ... (5 Replies)
Discussion started by: harjitsingh
5 Replies

5. UNIX for Dummies Questions & Answers

Information about Unix System Administration

I'm a newbie so I'm not sure if I'm posting this in the right section... if I didn't, please forgive me :) I've been looking all over the web for information on system administration. I'd like to become a Unix System Administrator but I want to find some more info about the job. Can someone please... (54 Replies)
Discussion started by: hpicracing
54 Replies

6. Solaris

Various System Administration Questions

Sorry I'm kind of desperate here :wall:, there's a security audit coming next week :( and I can't seem to find solutions for the questions below :confused:. 1) I need to limit usage on account during non-working hours. There's no /etc/security/time.conf file in my system should I create it? ... (0 Replies)
Discussion started by: ShouTenraku
0 Replies

7. UNIX for Advanced & Expert Users

System/Network Administration Tools

Sorry for making this post so generic. I'm trying to see if there are tools that exist that look at local network/system configurations and find problems... for example: - NTP server configured that cannot be reached (can cause the system to drift because nobody is alerted to the fact that the... (0 Replies)
Discussion started by: jjinno
0 Replies

8. What is on Your Mind?

How to start in System Administration?

Hi all, I wonder if you guys could give me some advice on this. I have messed around with Linux for the last few years, and I'm at the point where I would like to become a system administrator - as a career. I already have a bachelor's degree, but it is in the humanities (art history) so... (2 Replies)
Discussion started by: ScottLew
2 Replies

9. UNIX for Dummies Questions & Answers

Unable to obtain lock on NFS files

Hello , I am creating a controlfile of database in linux and below is the error coming: SQL> CREATE CONTROLFILE REUSE set DATABASE "newdbcln" RESETLOGS NOARCHIVELOG 2 MAXLOGFILES 5 3 MAXLOGMEMBERS 5 MAXDATAFILES 100 4 5 MAXINSTANCES 1 6 MAXLOGHISTORY... (2 Replies)
Discussion started by: admin_db
2 Replies
pkgask(1M)																pkgask(1M)

NAME
pkgask - stores answers to a request script SYNOPSIS
pkgask [-d device] [-R root_path] -r response pkginst... pkgask allows the administrator to store answers to an interactive package (one with a request script, that is, a user-created file that must be named request). Invoking this command generates a response file that is then used as input at installation time. The use of this response file prevents any interaction from occurring during installation since the file already contains all of the information the pack- age needs. The following options are supported -d device Run the request script for a package on device. device can be a directory pathname or the identifiers for tape, floppy disk or removable disk (for example, /var/tmp, /dev/diskette, and /dev/dsk/c1d0s0). The default device is the installation spool directory. -R root_path Define the full path name of a directory to use as the root_path. All files, including package system information files, are relocated to a directory tree starting in the specified root_path. Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system. See zones(5). -r response Identify a file or directory which should be created to contain the responses to interaction with the package. The name must be a full pathname. The file, or directory of files, can later be used as input to the pkgadd(1M) command. The following operands are supported: pkginst Specify the package instance, or list of instances for which request scripts will be created. The token all may be used to refer to all packages available on the source medium. 0 Successful completion. >0 An error occurred. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ pkginfo(1), pkgmk(1), pkgparam(1), pkgproto(1), pkgtrans(1), installf(1M), pkgadd(1M), pkgchk(1M), pkgrm(1M), removef(1M), admin(4),attributes(5) The -r option can be used to indicate a directory name as well as a filename. The directory name is used to create numerous response files, each sharing the name of the package with which it should be associated. This would be used, for example, when you will be adding multiple interactive packages with one invocation of pkgadd(1M). Each package would need a response file. To create multiple response files with the same name as the package instance, name the directory in which the files should be created and supply multiple instance names with the pkgask command. When installing the packages, you will be able to identify this directory to the pkgadd(1M) command. If the default admin file is too restrictive, the administration file may need to be modified to allow for total non-interaction during a package installation. Seeadmin(4) for details. 6 Apr 2005 pkgask(1M)
All times are GMT -4. The time now is 06:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy