Thomas Lotterer wrote:

On Mon, Jun 21, 2004, F. Even wrote:


[...] what I'm asking is, can I do the following:

Take openpkg-20040609-20040609.src.rpm, modify the spec file as described earlier to make this a "1.9" bootstrap. Then after converting the database, I should install the openpkg-20040609-
20040609.src.rpm again, unmodified, to bring myself from 1.3 to CURRENT. Is that correct?



... to bring myself from 1.9 to CURRENT, exactly.

I don't remember all the issues why we introduced the intermediate step.
But I do remeber:

- OpenPKG 1.3 does not understand the %track section, it will become
  part of the previous %description. This is a cosmetic issue only.

- OpenPKG 1.3 does not understand the Class: header and bails out on
  rebuilding. This is a showstopper.

- The database needs conversion and it's a good idea to do the acutal
  install with a already converted database but database conversion
  requires the new rpm.

- The new --tagfmt feature requires OpenPKG 2.0 but the upgrade is done
  using the existing (old) software. This might be a cosmetic issue if
  you do not use that feature but will be nasty if you use it and the
  bootstrap package itself receives a wrong filename.

The intermediate OpenPKG 1.9 bootstrap resolves all those issues in a
very elegant (although CPU time consuming ;-) way and provides a safe
and compatible upgrade path.

...but that is where it crapped out on me (not very elegantly), trying to simply rpm --rebuild the source 1.9 bootstrap. So that is why I intend on trying some of these other things steps you suggested. Too late now though...bed time. Thanks for your assistance. I'll probably have a few more questions and errors to post. I've put a list of my installed pkgs, I've removed all of the perl stuff in anticipation of this upgrade (it seems like it was somewhat recommended in the upgrade docs). I'll have another go at it sometime tomorrow. Thanks.


[EMAIL PROTECTED] rpm -qa | grep openpkg
openpkg-1.3.1-1.3.1

[EMAIL PROTECTED] rpm -qa | sort
binutils-2.14-1.3.0
bzip2-1.0.2-1.3.0
cdk-4.9.10.20030418-1.3.0
coreutils-5.0.1-1.3.2
curl-7.10.6-1.3.0
db-4.1.25.1-1.3.0
expat-1.95.6-1.3.0
freetype-2.1.4-1.3.0
fsl-1.3.0-1.3.2
gcc-3.3-1.3.0
jpeg-6b-1.3.0
lzo-1.08-1.3.0
make-3.80-1.3.0
ncurses-5.3.20030726-1.3.0
ntp-4.1.2-1.3.1
openpkg-1.3.1-1.3.1
openssh-3.6.1p2-1.3.2
openssl-0.9.7b-1.3.2
png-1.2.5-1.3.0
procmail-3.22-1.3.0
readline-4.3-1.3.0
sudo-1.6.7p5-1.3.1
zlib-1.1.4-1.3.0
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to