summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* module must return a true valueThierry Vignaud2009-08-201-0/+2
|
* add new line after message suggesting to remove orphansChristophe Fergeau2009-08-201-2/+2
| | | | Fixes bug #53003
* fix string committed in previous commit to make it translatableChristophe Fergeau2009-08-101-4/+2
|
* improve message notifying about orphansChristophe Fergeau2009-08-101-3/+5
| | | | patch from François, fixes bug #42484
* Fix some spelling mistakesPascal Terjan2009-08-031-1/+1
|
* String fixes from John RyeChristophe Fergeau2009-04-021-2/+2
|
* Oops, stupid typoChristophe Fergeau2009-02-161-1/+1
|
* Improve wording of the message telling orphans can be removedChristophe Fergeau2009-02-161-2/+2
|
* Make perl-checker happyChristophe Fergeau2009-01-131-1/+1
|
* Code cleanups after pixel feedbackChristophe Fergeau2009-01-131-8/+9
|
* mark packages that were initially installed through deps, removed andChristophe Fergeau2009-01-131-12/+12
| | | | reinstalled as non-orphanable, fix writing of installed-through-deps
* Mark packages as "manually installed"Christophe Fergeau2009-01-131-3/+35
| | | | | | | | With the orphan mechanism, there is no way to manually mark a package that was installed as a dep of another package as not being a potential orphan. Mimic apt and if an already package is passed as an argument to urpmi, remove it from the potential orphans list. Fixes bug #45054.
* add some commentsPascal Rigaux2009-01-061-0/+11
|
* use "use strict" in all modulesPascal Rigaux2009-01-061-0/+1
|
* give clearer name to some functionsPascal Rigaux2009-01-061-7/+7
|