Error with pkgmk command

Hi guys

I need some help with the following error

# 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

# 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

# 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~
#

Bump ?

jillagre, something from you ?

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.

1 Like