Sponsored Content
Operating Systems Solaris Unable to remove package in Solaris-10 Post 302842333 by solaris_1977 on Thursday 8th of August 2013 11:47:16 PM
Old 08-09-2013
You are right. This time, if I run pkgrm, it immediatelly comes back to prompt, failing on below error message
Code:
:/# pkgrm ILMT-TAD4D-agent
## Waiting for up to <300> seconds for package administration commands to become available (another user is administering packages)
pkgrm: ERROR: ERROR: Unable to acquire package administration lock for this system; try again later
pkgrm: ERROR: Unable to lock this zone for administration
1 package was not processed!

Then without removing it, I run pkgadd command and was waiting for
Code:
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

On another terminal, I ran truss command and pressed enter for default on first terminal. Here is truss output
Code:
/# truss -p $(ps -ef | grep pkgadd | grep -v grep | awk '{print $2}')
read(0, 0xFEEB9D10, 1024)       (sleeping...)
read(0, "\n", 1024)                             = 1
open64("/var/tmp/dstreAAAbBayew/signature", O_RDONLY|O_NONBLOCK) Err#2 ENOENT
zone_lookup("")                                 = 2
zone_getattr(2, ZONE_ATTR_NAME, 0xFFBFF098, 64) = 14
getpid()                                        = 11299 [10262]
getpid()                                        = 11299 [10262]
zone_lookup("")                                 = 2
zone_lookup("")                                 = 2
zone_getattr(2, ZONE_ATTR_NAME, 0xFFBFEAB8, 64) = 14
access("/usr/bin/pkgadm", X_OK)                 = 0
open("/dev/null", O_RDONLY)                     = 4
pipe()                                          = 5 [6]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork()                                         = 11308
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(4)                                        = 0
close(6)                                        = 0
read(5, " E R R O R", 256)                      = 5
read(5, " :   c a n n o t   c r e".., 251)      = 102
read(5, 0x000741DB, 149)                        = 0
close(5)                                        = 0
waitid(P_PID, 11308, 0xFFBFEA18, WEXITED|WTRAPPED) = 0
write(2, " # #   W a i t i n g   f".., 131)     = 131
write(2, "\n", 1)                               = 1
getpid()                                        = 11299 [10262]
zone_lookup("")                                 = 2
zone_lookup("")                                 = 2
zone_getattr(2, ZONE_ATTR_NAME, 0xFFBFEAB8, 64) = 14
access("/usr/bin/pkgadm", X_OK)                 = 0
open("/dev/null", O_RDONLY)                     = 4
pipe()                                          = 5 [6]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork()                                         = 11310
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(4)                                        = 0
close(6)                                        = 0
read(5, " E R R O R", 256)                      = 5
read(5, " :   c a n n o t   c r e".., 251)      = 102
read(5, 0x000741DB, 149)                        = 0
close(5)                                        = 0
waitid(P_PID, 11310, 0xFFBFEA18, WEXITED|WTRAPPED) = 0
write(2, " p k g a d d", 6)                     = 6
write(2, " :   E R R O R :  ", 9)               = 9
write(2, " E R R O R :  ", 7)                   = 7
write(2, " U n a b l e   t o   a c".., 78)      = 78
write(2, "\n", 1)                               = 1
write(2, " p k g a d d", 6)                     = 6
write(2, " :   E R R O R :  ", 9)               = 9
write(2, " U n a b l e   t o   l o".., 43)      = 43
write(2, "\n", 1)                               = 1
close(3)                                        = 0
access("/bin/rm", X_OK)                         = 0
open64("/dev/null", O_RDONLY)                   = 3
pipe()                                          = 4 [5]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork()                                         = 11312
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(3)                                        = 0
close(5)                                        = 0
read(4, " r m :   C a n n o t   r".., 256)      = 101
read(4, "\n", 155)                              = 1
read(4, 0x00073F16, 154)                        = 0
close(4)                                        = 0
waitid(P_PID, 11312, 0xFFBFE9A0, WEXITED|WTRAPPED) = 0
access("/var/tmp/dstreAAAbBayew", F_OK)         = 0
access("/bin/rmdir", X_OK)                      = 0
open64("/dev/null", O_RDONLY)                   = 3
pipe()                                          = 4 [5]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork()                                         = 11313
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(3)                                        = 0
close(5)                                        = 0
read(4, " r m d i r", 256)                      = 5
read(4, " :   d i r e c t o r y  ".., 251)      = 76
read(4, 0x00073F01, 175)                        = 0
close(4)                                        = 0
waitid(P_PID, 11313, 0xFFBFE9A0, WEXITED|WTRAPPED) = 0
schedctl()                                      = 0xFF3F4000
sigaction(SIGINT, 0xFFBFF058, 0xFFBFF0F8)       = 0
sigaction(SIGHUP, 0xFFBFF058, 0xFFBFF0F8)       = 0
chdir("/")                                      = 0
write(2, "\n 1   p a c k a g e   w".., 30)      = 30
write(2, "\n", 1)                               = 1
_exit(1)

And then it fails.
 

10 More Discussions You Might Find Interesting

1. Solaris

Unable to uninstall package in Solaris

I am getting the below mentioned error while trying to unistall a package from a 2.8 Solaris box. Please help.. pkgrm: ERROR: unable to determine current run-state Removal of <PDMgr> failed (internal error). No changes were made to the system. (1 Reply)
Discussion started by: chrisanto_2000
1 Replies

2. Solaris

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... (0 Replies)
Discussion started by: potro
0 Replies

3. Solaris

Remove cluster package

Hi, Is there an easy way to remove a cluster/meta cluster package (along with all the packages contained in the cluster package) in Solaris 10 ? I'm new to Solaris. (0 Replies)
Discussion started by: agn
0 Replies

4. Ubuntu

unable to install package on Ubuntu

Hi all, I am working on Ubuntu 7.10 and I want to install libssl-dev_0.9.8a-7ubuntu0.13_i386.deb. So tryied it with apt-get command but getting the following error-- Then I downloaded .deb file and attempt to install it with package installer but again unable to install it and getting the... (3 Replies)
Discussion started by: smartgupta
3 Replies

5. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

6. Linux

How install a new package without remove old package?

Dear all, I would like to install a new version of package without remove old version on Centos and vice versa. Please give me advice! thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies

7. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

8. UNIX for Dummies Questions & Answers

Unable to install from synaptic package manager

i am not able to install anything from package manager . (2 Replies)
Discussion started by: upvan111
2 Replies

9. Linux

Unable to update package.

I am trying to update an openssl package on my node. # yum update openssl-1.0.1e-60.el7.x86_64 Loaded plugins: product-id, rhnplugin, subscription-manager This system is receiving updates from RHN Classic or Red Hat Satellite. baseline_prd_channel ... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

10. UNIX for Beginners Questions & Answers

Unable to find package

Hi there. I'm putting together a small cluster of Raspberry pis running Raspbian. They've all been setup identically from the same sd image. They all update and install perfectly except one node which refuses to install anything. It has exactly the same login, network, user details etc,... (3 Replies)
Discussion started by: MuntyScrunt
3 Replies
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy