Results 1 to 6 of 6

Thread: Trying rpm5

  1. #1
    Join Date
    Jun 2008
    Posts
    2,042
    Blog Entries
    1

    Default Trying rpm5

    Yes, it is possible to get rpm-5 to work in openSUSE. Here is the howto for 11.2.
    http://www.algonet.se/~afb/rpm/opensuse-rpm5.txt

    Now I would appreciate if some would try this with me.
    ______________________________________________________________________________________
    Don't ask "if" something can be done, for it can always be done. Rather instead ask "How" can it be done.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    14,048
    Blog Entries
    12

    Default Re: Trying rpm5

    You're hitting one of the few things I'm not going to experiment with: package management.
    - Athlon X6 3.6 GHz, 16 GB DDR3, 30 GB SSD, 3 TB of disks, GT540, openSUSE 12.2 x86_64 + KDE 4.10 + GNOME 3
    - ASUS A73SD, Intel + GT610M Optimus, 6 GB, 120 GB SSD, openSUSE Tumbleweed

    Anything that can go wrong.... will teach us

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Posts
    2,042
    Blog Entries
    1

    Default Re: Trying rpm5

    Quote Originally Posted by Knurpht View Post
    You're hitting one of the few things I'm not going to experiment with: package management.
    LOL. with this, it's safe. I made sure of it.

    It seems you didn't go to the link I posted above. So here are the directions.

    Code:
    OPENSUSE 11.2 (# = comments, $ = commands)
    =============
    
    $ sudo zypper refresh	# apt-get update
    
    $ sudo zypper update	# apt-get upgrade
    
    
    $ sudo zypper install cvs bison
    
    $ cvs -d :pserver:anonymous@rpm5.org:/cvs login
    Logging in to :pserver:anonymous@rpm5.org:2401/cvs
    CVS password: 
    $ cvs -d :pserver:anonymous@rpm5.org:/cvs co -r rpm-5_1_9-release -d rpm-5.1.9 rpm
    $ cd rpm-5.1.9
    
    # replace devel version with release version
    $ sed -e 's/5.1.DEVEL/5.1.9/' -i configure.ac
    
    # autogen dirs: db lua file xar xz pcre syck
    $ ./devtool checkout
    
    
    $ sudo zypper install gcc make
    
    # bootstrap/testdrive /tmp/rpm
    # (and dependencies in ../3rd)
    $ ./devtool standalone
    
    
    $ /bin/rpm --version
    RPM version 4.7.1
    
    $ /tmp/rpm/bin/rpm --version
    rpm (RPM) 5.1.9
    Notice how that the newly installed rpm5 is in /tmp
    See? Follow this, and it'll be ok.
    ______________________________________________________________________________________
    Don't ask "if" something can be done, for it can always be done. Rather instead ask "How" can it be done.

  4. #4

    Default Re: Trying rpm5

    Good. But I am still wondering what are the benefits to switch to RPM 5 in an openSUSE context...

  5. #5
    Join Date
    Jun 2008
    Posts
    2,042
    Blog Entries
    1

    Default Re: Trying rpm5

    Quote Originally Posted by Spyhawk View Post
    Good. But I am still wondering what are the benefits to switch to RPM 5 in an openSUSE context...

    Good question.

    While cross platform may not pertain directly to openSUSE, that is one benefit.
    Improved compression/formats. For example, xar.
    You can use sqlite as a fallback or an alternative. Rpm uses berkley database. Rpm5 can use berkley or sqlite.

    As a side note, rpm5 includes satsolver. I don't know if that's a benefit or not, but it is note worthy.
    ______________________________________________________________________________________
    Don't ask "if" something can be done, for it can always be done. Rather instead ask "How" can it be done.

  6. #6

    Default Re: Trying rpm5

    Quote Originally Posted by Jonathan_R View Post
    As a side note, rpm5 includes satsolver. I don't know if that's a benefit or not, but it is note worthy.
    Hum, you mean that the dependency solver is included in the format itself ? Is it not a far better approach to let it be managed by high level tools, such as Zypp?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •