summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
Commit message (Collapse)AuthorAgeFilesLines
* Update Mageia copyright statementsRémi Verschelde2017-04-261-1/+1
|
* skip kernel-firmware-nonfree tooMartin Whitaker2016-11-121-1/+1
| | | | | | | | | ...when considering real kernels Thus preventing kernel-firmware-nonfree being falsely detected as an orphan package (mga#12361). It should be handled by generic orphan mechanism
* bump mga copyrightThierry Vignaud2015-09-041-1/+1
|
* drop very old CVS/SVN $Id tagsThierry Vignaud2015-09-021-1/+0
|
* explain a little moreThierry Vignaud2015-08-281-0/+2
|
* convert comments to PODThierry Vignaud2015-08-281-28/+63
|
* describe a cople more functionsThierry Vignaud2015-08-281-0/+50
|
* s/suggests/recommends/Thierry Vignaud2014-09-071-2/+2
|
* s/suggested/recommended/Thierry Vignaud2014-09-071-2/+2
|
* adapt to URPM-5.00Thierry Vignaud2014-09-071-1/+1
|
* typo fixThierry Vignaud2014-09-071-1/+1
|
* use ->recommends_nosense() instead of suggests"()Thierry Vignaud2014-09-071-3/+3
| | | | | this is the new method name (even if compatibility still works). needs a new URPM.
* prevent removing orphan kernels if we failed to detect running kernel versionThierry Vignaud2013-10-041-1/+5
| | | | (eg: running testsuite in a chroot)
* only a couple func really are neededThierry Vignaud2013-03-211-1/+1
|
* bump copyrightThierry Vignaud2013-02-051-1/+1
|
* fix some spelling errorsGuillaume Rousse2012-12-051-1/+1
|
* fix computing kernel orphans when running kernel is not the latest (2/2)Thierry Vignaud2012-11-161-0/+1
| | | | | | | | prevent trying to remove the currently running (not latest) kernel reintroducing a line drop in commit r6238 from Oct 15 2012: "(_all_unrequested_orphans) prevent offering to remove DKMS modules for current kernel (mga#5092)"
* fix computing kernel orphans when running kernel is not the latest (1/2)Thierry Vignaud2012-11-161-3/+3
| | | | | | | | prevent trying to remove dkms packages for the latest (not currently running) kernel basically reverting commit r6236 from0 Oct 15 2012: "(_kernel_callback) keep track of DKMS packages too"
* (_get_orphan_kernels) simplifyThierry Vignaud2012-10-161-2/+2
|
* (_get_current_kernel_package) return current kernel version tooThierry Vignaud2012-10-151-4/+4
| | | | | (_all_unrequested_orphans) prevent offering to remove DKMS modules for current kernel (mga#5092)
* (_kernel_callback) we really don't care about versions hereThierry Vignaud2012-10-151-1/+1
|
* (_kernel_callback) keep track of DKMS packages tooThierry Vignaud2012-10-151-3/+3
|
* rename a variable for realityThierry Vignaud2012-10-151-3/+3
|
* (_kernel_callback) fix commentThierry Vignaud2012-10-151-1/+1
|
* convert a couple comments to PODThierry Vignaud2012-08-311-10/+23
|
* document some functionsThierry Vignaud2012-08-311-2/+53
|
* add basic POD documentationThierry Vignaud2012-08-311-0/+25
|
* add missing spacingThierry Vignaud2012-08-311-0/+6
|
* (_installed_req_and_unreq_and_update_unrequested_list) only writeThierry Vignaud2012-08-261-1/+4
| | | | | the unrequested package list file if the list actually changed (mga#7167)
* (_installed_req_and_unreq_and_update_unrequested_list) keep new pkgs list aroundThierry Vignaud2012-08-261-1/+2
| | | | (needed for next commit)
* do not wrongly tell we updated the unrequested package list when weThierry Vignaud2012-08-261-0/+1
| | | | didn't (eg: when not having the proper rights) (mga#7167)
* urpmi: do not print orphans message when no package is orphanOlivier Blin2012-04-191-3/+3
|
* (_all_unrequested_orphans) fix reading unrequested packages listThierry Vignaud2012-01-061-5/+4
| | | | | | | | (/var/lib/rpm/installed-through-deps.list) when chrooted (was trying to read out of chroot one when computing orphans) (compute_future_unrequested_orphans,get_orphans) adapt to new calling convention
* (get_now_orphans_gui_msg) introduce it for rpmdrake (#920)Thierry Vignaud2011-09-171-0/+13
|
* (_get_now_orphans_raw_msg) split it out of get_now_orphans_msg()Thierry Vignaud2011-09-171-2/+10
| | | | (needed for next commit)
* (_kernel_callback) add packages requiring orphan kernels to the orphanThierry Vignaud2010-01-051-2/+13
| | | | lists too, eg dkms packages (#53414)
* rename @requested_kernels as @latest_kernels as its purpopse really is toThierry Vignaud2010-01-051-3/+3
| | | | | track latest kernels for every flavor, not kernel packages that are required by 3rd party packages
* perl_checker cleanups & annotationsThierry Vignaud2010-01-051-2/+4
|
* test for /boot/vmlinuz-$release existence before using itChristophe Fergeau2009-11-181-1/+1
| | | | | | kernel orphaning assumes this file is present, however in rare cases when the user erased its running kernel (or in chroots), the file may not exist which causes an error message
* be careful when an obsoleted package is listed in potential orphansChristophe Fergeau2009-10-281-2/+4
| | | | | | | | | | When package B obsoletes package A and package A is listed as a potential orphan (ie it appears in installed-through-deps.list), then B is marked as a potential orphan too (since "obsoletes" more or less means that A was renamed to B). However, if B was originally installed and does not appear in installed-through-deps, that means it's not a potential orphan and thus it shouldn't be added to the potential orphans list. Fixes #54590.
* (_all_unrequested_orphans,_kernel_callback) fix commit ignoring kernelThierry Vignaud2009-10-131-3/+4
| | | | | | | | packages explicitely installed (aka not in /var/lib/rpm/installed-through-deps.list) (#53425) which r261072 by pterjan on 2009-09-28 tried to do now kernel orphans are handled again
* _kernel_callback) better commentThierry Vignaud2009-10-131-1/+1
|
* fix bogus logic referencing non existent variables introduced in commit r261072Thierry Vignaud2009-10-131-1/+1
| | | | | | | | | by pterjan on 2009-09-28 which just broke kernel orphaning (was: "Do not list as orphans kernel packages which where not installe through dependencies (#53425)" warning: run perl_checker next time!!!
* Do not list as orphans kernel packages which where not installe through ↵Pascal Terjan2009-09-281-2/+5
| | | | dependencies (#53425)
* exclude kernel-source from orphan processing (#53426)Christophe Fergeau2009-09-041-1/+1
|
* move "\n" out of translatable stringChristophe Fergeau2009-08-311-2/+2
|
* (_get_current_kernel_package) explainThierry Vignaud2009-08-201-0/+1
|
* (_kernel_callback,_get_orphan_kernels,_all_unrequested_orphans) offerThierry Vignaud2009-08-201-0/+48
| | | | | | | to remove old kernels (excluding the running one) do not do anything if we failed to detect the running one (ie: chroot))
* (_get_current_kernel_package,_all_unrequested_orphans) do not offer to ↵Thierry Vignaud2009-08-201-0/+11
| | | | remove current kernel
* perl_checker cleanupThierry Vignaud2009-08-201-1/+1
|