Error with pkgmk command


 
Thread Tools Search this Thread
Operating Systems Solaris Error with pkgmk command
# 1  
Old 07-22-2012
Error with pkgmk command

Hi guys

I need some help with the following error

Code:
# pkgmk -r 'pwd'
## Building pkgmap from package prototype file.
ERROR in prototype:
    garbled entry
    - pathname: none
    - problem: extra tokens on input line
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.

My protoype file

Code:
# cat prototype
d none / ? ? ?
i none copyright 0755 root sys
i none depend 0755 root sys
i none pkginfo 0755 root sys
d none kernel 0755 root sys
d none kernel/drv 0755 root sys
f none kernel/drv/nfo.conf 0755 root sys
d none kernel/drv/amd64 0755 root sys
f none kernel/drv/amd64/nfo 0755 root sys
f none kernel/drv/nfo 0755 root sys

and directory hieararchy looks

Code:
# ls -al
total 22
drwxr-xr-x   3 root     sys            8 Jul 22 20:48 .
drwxr-xr-x   4 denis    other         20 Jul 22 20:38 ..
-rwxrwxrwx   1 root     sys         1640 Jul 17 19:38 copyright
-rwxrwxrwx   1 root     sys          321 Jul 17 19:31 depend
drwxr-xr-x   3 root     sys            3 Jul 22 20:33 kernel
-rwxrwxrwx   1 root     sys          224 Jul 22 20:35 pkginfo
-rwxrwxrwx   1 root     sys          320 Jul 22 20:48 prototype
-rwxrwxrwx   1 root     sys          320 Jul 22 20:47 prototype~
#

# 2  
Old 07-23-2012
Bump ?

jillagre, something from you ?
# 3  
Old 07-23-2012
Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.
This User Gave Thanks to Corona688 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

I'm facing problem with rpm command, when running the command and appears this error:

exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1). 0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded. 0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 Replies

2. Shell Programming and Scripting

Error : command not found

Hi , I am an Oracle developer. trying to write a shell script to compile all the forms that are modified in last 1 hour. Script Body cat cmp.sh for f in `find ./*fmb* -mmin -60`; do "`frmcmp_batch.sh userid=ba/ba@testdb batch=yes module=$f module_type=form compile_all=yes... (2 Replies)
Discussion started by: imrandec85
2 Replies

3. UNIX for Advanced & Expert Users

AT command Error

Hi I have used the AT command in my shell script to schedule the jobs. Sometimes it works fine but sometimes it throws an error, such as : at: can't change the owner of your job to you. I could not find any solution to this issue yet. If anyone can please provide any pointer what doe this... (3 Replies)
Discussion started by: MD21
3 Replies

4. Shell Programming and Scripting

Linux Command Error for nawk command

Hi All We are migrating our projects from unix environment to linux. I tried running a install script which sets up my project, i.e. the directory structure and all. But in the middle of the script i started receiveing following error : nawk: command not found . So i need to know which... (1 Reply)
Discussion started by: vee_789
1 Replies

5. Shell Programming and Scripting

Error with using a shell command(looks more generic error)

Hi, This error is actually out of implementing the command posted here - https://www.unix.com/shell-programming-scripting/155589-remove-blank-lines-merge-lines-shell.html Here is the error i get - awk: Input line xxxxx cannot be longer than 3,000 bytes. The source line number is 1.... (1 Reply)
Discussion started by: dvah
1 Replies

6. Shell Programming and Scripting

awk command in script gives error while same awk command at prompt runs fine: Why?

Hello all, Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val: > cat getnon0file.sh #!/bin/bash this="getnon0file.sh" USAGE=$this" InFile="xyz.38" Min="0.05" # awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies

7. Shell Programming and Scripting

If..else command gives error

Hi, I am a newbie and was getting an error when I use the if..else syntax. The script looks like this echo "Please specify the database version (9i/10g): " read VERS if then echo "Its a 9i Database" sqlplus -s $puser/$ppass << EOF_I spool cxcreate9i.lst @... (3 Replies)
Discussion started by: bhatia333
3 Replies

8. Shell Programming and Scripting

if else command syntax error

can anyone tell me what`s going wrong with my if else statement? set exam=(AAA BBB CCC) foreach ii ($exam) if ($ii -eq "AAA") do echo "PASS" else echo "FAILED" done end (4 Replies)
Discussion started by: c0384
4 Replies

9. UNIX for Dummies Questions & Answers

Pkgmk....question on prototype file

I've read the man page, but still unclear a bit.... I'm making some packages of files. My pkginfo file has a line BASEDIR=/base/path. I also have several prototype files (depending on the package), that either list the destination path as absolute: f non /abs/path/to/go/here/file1 or are... (0 Replies)
Discussion started by: Yinzer955i
0 Replies

10. UNIX for Advanced & Expert Users

Solaris pkgmk -> prototype errors...

I'm attempting to create another package (i.e. for utilizing pkgadd/pkgrm/pkgchk/etc.) But after creating the prototype file, I noticed that some of my files begin with the '=' character. How do I get pkgmk to interpret the "/path/=file" as a single file, rather than interpreting it as... (7 Replies)
Discussion started by: mslightn
7 Replies
Login or Register to Ask a Question