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..
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:mikes@guam.net mailto:msetzerii@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
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/ch...
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:mikes@guam.net mailto:msetzerii@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-leave@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
On 1 Jul 2022 at 8:43, Barry wrote:
From: Barry barry@barrys-emacs.org Subject: Re: Quesion on package-cleanup --orphans To: mikes@guam.net, Community support for Fedora users users@lists.fedoraproject.org Date sent: Fri, 1 Jul 2022 08:43:10 +0100 Send reply to: Community support for Fedora users users@lists.fedoraproject.org
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_Gui de/ch07s03.html
Say it works on configured repos. It does not restrict itself to any subset, like fedora repos.
Barry
Thanks for info. Guess it does check for packages from the repos in /etc/yum.repos.d/, but things like google are not orphaned. So, it shows packages that are not in the current fedora35 repos that were installed from previous ones, and also does anything that was not installe from one of those repos.
In my case, only have the libreoffice 7.3 and 4 other packages that were installed from rpm files directly.
Will have to look at the 237 packages and see if they serve any purpose.
Is there someplace that explains why things like aespipe have been orphaned and why?
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:mikes@guam.net mailto:msetzerii@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-leave@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.fedor aproject.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:mikes@guam.net mailto:msetzerii@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+