Results 1 to 4 of 4

Thread: Need to install all aplication from an old partition to new partition

  1. #1

    Lightbulb Need to install all aplication from an old partition to new partition

    I need to make an export of packages in to a file from an old install.
    I need to install all packages from old install in a new installed system.
    How to do ?

    In Debian system is simple.
    But in openSUSE I don't know.

  2. #2

    Red face Re: Need to install all aplication from an old partition to new partition

    SOLVED

    From old partition after boot

    Code:
    rpm -qai | grep "^Name        :" | awk '{print $3}' | xargs > rpm_pkgs_list
    to new partition as root

    Code:
    zypper in $(cat rpm_pkgs_list)

  3. #3
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,908

    Default Re: Need to install all aplication from an old partition to new partition

    That was really cool! Nice example of cmdline power.

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,546

    Default Re: Need to install all aplication from an old partition to new partition

    Quote Originally Posted by sidro View Post
    I need to make an export of packages in to a file from an old install.
    I need to install all packages from old install in a new installed system.
    Are there any distribution version differences and/or changes between the "old" and "new" installations?

    For example, given the KDE GUI, between 13.2 (KDE4 Plasma) and Leap 42.1 (KDE Plasma 5) there are more than a few changes in package names and dependencies.

Tags for this Thread

Posting Permissions

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