|--==> "viteno" == Norbert Koch <nk(a)LF.net> writes:
viteno> Steve Youngs <youngs(a)xemacs.org> writes:
>(setq package-get-remove-copy t)
>
>To stop it happening to you again.
viteno> The variable's value is t and I don't have a copy lying around.
viteno> Is it possible to remove the tar.gz file and the entry in
viteno> package-index, regenerate the package and be done with it?
Yes you could. You wouldn't need to edit package-index because it
will get overwritten when you do 'make bindist'.
I just had a thought (yep, I get them from time to time). Now bear
with me on this because I'm going to assume a few things here.
I'm guessing that you are doing something similar to:
cd package-source-directory
make bindist
M-x pui-add-install-directory RET your-staging-directory RET
M-x package-get-update-base RET $STAGING/package-index RET
M-x pui-list-packages RET
And the package that you are building is the same version as listed in
~/.xemacs/package-index.LATEST.pgp.
Okay, the scene is set. I've done exactly that many times and have
discovered that for some reason 'package-get-update-base' doesn't take
the first time.[1]
The work around is to:
M-x package-get-update-base
M-x pui-list-packages
q (quit out of the Packages buffer)
M-x package-get-update-base
M-x pui-list-packages
Footnotes:
[1] I've never investigated this, so if anyone wants to, go right
ahead.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|