[EMAIL PROTECTED] wrote:
On 03-Feb-2001 Richard -Gilligan- Uschold wrote:
> Questions:
>
> 1.  Is there a rpm package distributor that identifies which version of
> rpm was used to build the packages?  Who?

Doesn't matter, the rpm package itself is binary compatible between version 3
and 4.  (See the list archieves on cooker)

If that is the case, please explain the following error message to me, and how I correct it.  Several other people have said I need to upgrade to rpm-4.0, or perhaps only 3.0.5 or 3.0.6.  I get this error with both 3.0.3 and 3.0.5.

The original symptoms:
rpm gives this error message with some packages
"only packages with major numbers <=3 are supported by this version of RPM"

NOTE: this is not the usual dependency problem, the RPM program itself,
fails to open "Guppi-0.35.2-1.i586.rpm", even for query!

 

> 2.  How is one supposed to upgrade from rpm-3.0 to rpm-4.0?

If you install rpm v4 from the cooker dir, you will have to rename your rpm
database files to the new v4 naming convention.  In /var/lib/rpm

Old Names:
-rw-r--r--    1 root     root        16384 Jan 31 10:20 conflictsindex.rpm
-rw-r--r--    1 root     root      2613248 Jan 31 10:20 fileindex.rpm
-rw-r--r--    1 root     root        16384 Jan 31 10:20 groupindex.rpm
-rw-r--r--    1 root     root        24576 Jan 31 10:20 nameindex.rpm
-rw-r--r--    1 root     root     14446216 Jan 31 10:20 packages.rpm
-rw-r--r--    1 root     root        94208 Jan 31 10:20 providesindex.rpm
-rw-r--r--    1 root     root       110592 Jan 31 10:20 requiredby.rpm
-rw-r--r--    1 root     root        16384 Jan 31 10:20 triggerindex.rpm

New Names:
-rw-------    1 root     root      2646016 Feb  2 22:15 Basenames
-rw-------    1 root     root        12288 Feb  1 12:33 Conflictname
-rw-------    1 root     root        12288 Feb  2 22:15 Group
-rw-------    1 root     root        24576 Feb  2 22:15 Name
-rw-------    1 root     root     11169792 Feb  2 22:15 Packages
-rw-------    1 root     root        94208 Feb  2 22:15 Providename
-rw-------    1 root     root       126976 Feb  2 22:15 Requirename
-rw-------    1 root     root        12288 Feb  1 12:26 Triggername

Note the file sizes are a little off because I've installed/removed some
packages since upgrading to cooker.

> 3.  It there a version of rpm-3.0.x that can read packages built by
> rpm-4.0?

See answer to question one.

Regards,

Chris

-----
Chris Freeze           Email: [EMAIL PROTECTED]
                         Web: http://www.cs.clemson.edu/~cfreeze

-- 

Gilligan            |                    __o           .oooO
                   /|                  _ \<,_          (   )
                  /p|\                (_)/ (_)          \ (   Oooo.
                 /  | \             ------------         \_)  (   )
                ========                                       ) /
                 ========       [EMAIL PROTECTED]           (_/
             ~~~~~~~~~~~~~~~~   [EMAIL PROTECTED]
 


Reply via email to