[solved] mkinstallp package creation failing "no such file: ./usr/lpp/<package name>/inst_root"
Hello, I'm trying to build a (bff) package from an already installed program (clam antivirus) using mkinstallp. However, mkinstallp fails with "no such file: ./usr/lpp/<package name>/inst_root"
I'm not sure why all files get created ok except for these particular ones. Any help would be greatly appreciated.
Here's my template file:
and here's what happens when I mkinstallp:
Here are the above files, from my package installation directory:
now, when I try to install:
You'll see from the above output that it's failing on the same files that the mkinstallp failed on. Anyone know how what I'm doing wrong and how to fix it? Thanks.
mkinstallp package creation failing "no such file: ./usr/lpp/<package name>/inst_root" Reply to Thr
john1212, thanks for your suggestion but limits are not the issue.
This issue has been resolved, or worked around anyway. After testing I found that the failures are happening on empty directories. To work around this I removed them from the files list and created the directories in the post script. I'm not sure why mkinstallp doesn't like empty directories but it doesn't.
---------- Post updated at 01:07 PM ---------- Previous update was at 01:03 PM ----------
can't find how to close this post, does moderator do this automatically?
Moderator's Comments:
The thread would close itself after a time. But as you asked so nicely, I closed it for you
Last edited by Scott; 07-08-2010 at 02:09 PM..
Reason: Closed on request
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Greetings.
After rifling through the policy manual to some significant extent, I've come to a question which doesn't seem to have any forthcoming answer out "in the wild", so here it is :)
During dpkg installation processing, some libs wind up with an ":i386" or ":amd64" architecture string... (2 Replies)
Hello,
Is it possible to specify a list of files to be included in an RPM package (section "% files") according to some condtions. For example, if a particular condition is true, do not include the file "X". If not include it.
Thank you for your help.
Regards (1 Reply)
What is the rpm package details for the "newform" in solaris. ?
Solaris package description
"newform newform (1) - change the format of a text file"
/usr/bin/newform
If "newform" is not available as such, which of the rpm package that could be installed as a substitute. ? (4 Replies)
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi,
could someone pls enlighten me on the difference between the "root" package and "usr" package?
Like in this example:
pkginfo -l SUNWGtku | grep -i desc
DESC: GTK - The GIMP Toolkit (Usr)
and
pkginfo -l SUNWGtkr | grep -i desc
DESC: GTK - The GIMP Toolkit (Root)... (6 Replies)
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
I saw someone using "stan" as a unix command in his shell command
something like this,
cat /tmp/testdata | cut -d ";" -f 2 |stan -n 6
But my ubuntu does not have this and i could not find out which package has this, anyone knows about this? (2 Replies)