On 30 Jul 2022 at 16:50, ToddAndMargo via users wrote:

Date sent:              Sat, 30 Jul 2022 16:50:57 -0700
To:                     Community support for Fedora users 
<users@lists.fedoraproject.org>
Subject:                32-->36?
Send reply to:          Community support for Fedora 
users <users@lists.fedoraproject.org>
From:                   ToddAndMargo via users 
<users@lists.fedoraproject.org>
Copies to:              ToddAndMargo 
<toddandma...@zoho.com>

> Hi All,
> 
> I have a customer who FINALLY agreed to have me upgrade
> his Fedora 32 server to 36.
> 
> Can I jump directly, or do I have to go one or
> two revisions at a time?
> 
> Many thanks,
> -T
> 

Just a little thing I like to do before doing an update or 
clean install on another system.

#!/usr/bin/bash
rpm --qf "%{NAME}.%{ARCH}\n" -qa | sort  | grep -v 
gpg-pubkey > installed_pkgs"$(date +%F)".txt

When setting up a new machine, a clean install doesn't 
have a number of packages that I've added over time, so 
run this once in a while to keep a list of packages.

If doing an upgrade it will try to install them so no real 
need. But if doing a clean install, and then running dnf 
with this file piped into an install option. It will flag many 
as already installed which is no issue, but may find a 
number that are no included in default install. May have 
to remove a few lines to get it to run cleanly.

Is also interesting to run command afterwards creating a 
new file, and comparing what was added to list..




> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> When you say, "I wrote a program that
> crashed Windows," people just stare at
> you blankly and say, "Hey, I got those
> with the system, for free."
>       -- Linus Torvalds
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:mi...@guam.net                            
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to