Re: Quesion on package-cleanup --orphans

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 1 Jul 2022, at 08:33, Michael D. Setzer II via users <users@xxxxxxxxxxxxxxxxxxxxxxx> 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 


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@xxxxxxxx                            
mailto:msetzerii@xxxxxxxxx
Guam - Where America's Day Begins                        
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux