[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Pkg created... trying to install => package bad file length
- Subject: Re: [cobalt-users] Pkg created... trying to install => package bad file length
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Fri Mar 28 20:38:00 2003
- Organization: BRTNet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I tried to ripp apart the postgres/php pkg But when i compile it
> again i get an error everytime.
Did you edit the "packing_list" and "upgrade_me" files to remove any
lines which refer to the bits you removed? That's most likely the
cause of your errors...
> tar -xvzf RaQ4-All-Security-2.0.1-15959.pkg
>
> i remove the php rpm's and then i try to rebuild the dir where i
> extracted the original in using the following command:
>
> tar -cvzf RaQ4-All-Security-2.0.1-15959.tar.gz
> after that i rename that tar.gz file to a pkg extention.
You can just do:
tar czvf /tmp/RaQ4-All-Security-2.0.1-15959.pkg .
tar doesn't care what the filename is, as long as you specify one.
Remember to put the PKG file outside the current directory tree
you're tarring up or you can get some interesting recursion-related
problems... :) And remember the trailing "." which means "do
everything in the working directory" (assuming you are sitting in the
"root" of the PKG contents...)
Also would be a good idea to use a different PKG name than the
"original" from Sun, just so you don't confuse yourself. (Make sure
you put the different name in the "packing_list" file as well)
- --
Bruce Timberlake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+hSIBvLA2hUZ9kgwRAoduAJ4knADK6/Bdl4zCjpxy+/M4wH9hegCeI+ma
kNVmJLD9uqdMDSIizn8nAaU=
=JnVc
-----END PGP SIGNATURE-----