Yes it is possible but unless you kept track of everything you installed (always keep good notes on all changes you make to your base installation), it will require some work on your part.
- Code: Select all
cat /var/log/entropy/entropy.log |grep -i 'installing package' >installedPackagesByDate.txt
The above command extracts all, packages installed from the entropy log and saves them to a file.
Open the file and notice at the top of the file is a large number of packages installed very close together in time. These are the packages that the Sabayon installer installed.
Delete all those lines from the file and save it.
- Code: Select all
cat installedPackagesByDate.txt |cut -d: -f 5 |sed -e "s/\(.*\)-[0-9].*/\1/" |sort -u |tr '\n' ' ' >packagesFormatted4Equo.txt
The above command will extract the package names and save them in a file in a form that equo can use.
Save that file on a flash drive, install the latest version of Sabayon. Copy the file from the flash drive and run:
- Code: Select all
equo install --ask `cat packagesFormatted4Equo.txt`
That command will install the packages you added. There may be a few errors reported due to packages you installed that are no longer available or some unconventionally named packages that my sed regex didn't extract correctly but 99% should work OK.
Also to avoid downloading all the packages again, run:
- Code: Select all
tar cvf packages.tar /var/lib/entropy/client/packages/packages/amd64/5/
This will tar all the packages you already downloaded. Save packages.tar to a flash drive then copy it back and untar to the correct directory before running the equo install command.