> On 1 Jul 2022, at 08:33, Michael D. Setzer II via users > <users@lists.fedoraproject.org> wrote: > > Noticed that running package-cleanup --orphans > It gives a list of packages that are not part of the current > repos list rather than being just orphaned packages by > Fedora..
The docs here https://jsmith.fedorapeople.org/drafts/SMG/html/Software_Management_Guide/ch07s03.html Say it works on configured repos. It does not restrict itself to any subset, like fedora repos. Barry > > Created a little script to get various counts. > cat package-cleanup-check > echo "list of all orphans count" > package-cleanup --orphans |wc -l > echo "list of orphans linked to .fc repos" > package-cleanup --orphans | grep "\.fc" |wc -l > echo "list of orphans/non-fedora packages?" > package-cleanup --orphans | grep -v "\.fc" |wc -l > > For me, it shows 284 on the regular run. > Get 237 when I have it only include ones with "\.fc" > That then has 47 that are not Fedora packages. > Of those 47, 43 are linked to libreoffice 7.3 that is > installed from site for testing. > These are the other 4 packages. > msttcorefonts-0:2.5-1.noarch > peazip-0:8.7.0.LINUX.GTK2-1.x86_64 > uni2ascii-0:4.18-3.1.x86_64 > viber-0:13.3.1.22-2.x86_64 > > Not sure why it lists packages from non-Fedora repos as > orphans? Don't know if the "\.fc" filter is best option.. > > Just interesting. Don't know if these means I should > remove the 237 orphans. Only see the aespipe one as > something I know I use?? > > Thanks. > > Output from my little script. > > ./package-cleanup-check > list of all orphans count > Last metadata expiration check: 0:05:40 ago on Fri 01 Jul > 2022 05:14:48 PM ChST. > 284 > list of orphans linked to .fc repos > Last metadata expiration check: 0:05:43 ago on Fri 01 Jul > 2022 05:14:48 PM ChST. > 237 > list of orphans/non-fedora packages? > Last metadata expiration check: 0:05:47 ago on Fri 01 Jul > 2022 05:14:48 PM ChST. > 47 > > +------------------------------------------------------------+ > 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
_______________________________________________ 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