On 04/04/2016 03:19 PM, Stephen Morris wrote:
Isn't booting from the iso image, or mounting the image as a loopback
device and running the installer from the mount point, going to install
the new version from scratch rather than doing an upgrade, which would
then mean that he would have to remember everything additional he had
installed and reinstall them if indeed he can (taking into account
whether there is an upgrade available in F23 or not and whether F23 has
the necessary dependencies for whatever the package is)?

Yes, it will. If he has the time, he could upgrade one version at a time using fedup. But it would not be a good idea to jump the whole way even if it would let you (which I think it won't).

The alternative (which I have done on occasion) is to get a list of installed packages using:
rpm -qa --qf '%{NAME}\n' | sort > original.txt

Save that file somewhere, then after the install is finished, run:
rpm -qa --qf '%{NAME}\n' | sort > new.txt

Then run:
diff /tmp/original.txt /tmp/new.txt | grep '^<' | cut -c3- > diff.txt

This will give you all the packages that were installed on the original system, but not on the current install. Do not use this list as-is! Edit the diff.txt to only have the package names you want to install and then run:
dnf install $(<diff.txt)

It's a bit of a process and unless you've installed a lot of extra packages, it's easier to just install more packages as you notice them missing.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to