summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* remember which media local packages came fromChristophe Fergeau2010-05-111-1/+6
| | | | | | | | | | | | | | | | | | | | | | It's sometimes possible that a package is available from both a local medium (CDROM) and a distant one. This causes problems when the package isn't signed with the same key (this is bad but happens on MES5 install CDs) as urpmi tends to get confused about where a package comes from and then check the package against the wrong key. Packages are assigned IDs by urpmi, and these IDs are used to figure out the package media. This ID is also used as an identifier to "recognize" identical packages coming from different media, so we need to be careful when manipulating it. In particular, we can't assign the right ID to every package right away because then this would break package downloading (we'd download packages available on local media). When processing packages to download, if we encounter a local package, we assign it the right ID. This assumes the list of media in the blist are sorted by order of relevance (ie prioritary ones first).
* when using --update, allow to get dependencies from non-update mediaChristophe Fergeau2010-05-111-3/+11
| | | | Fixes #51268
* - silence warning about urpm::media::PER_MEDIA_OPT used only onceChristophe Fergeau2010-05-111-0/+1
|
* - add md5sum module, as it is used later. It is cleaner to delcare what ↵Christophe Fergeau2010-05-111-0/+1
| | | | | | module are used instead of relying on others modules to load it. This also prevent some loop and warnings.
* - remove uneeded module use, as this give some warningsChristophe Fergeau2010-05-111-1/+0
|
* - use a anonymous subroutine, so perl will rebind variables declared outside ↵Christophe Fergeau2010-05-111-4/+6
| | | | | | of the subroutine. This bug prevent rpmdrake from installing two set of packages ( bug #54842 )
* don't crash when parsing an invalid media.cfg file in /etc/urpmi/mediacfg.dChristophe Fergeau2010-05-111-1/+1
|
* (_kernel_callback) add packages requiring orphan kernels to the orphanChristophe Fergeau2010-05-111-2/+13
| | | | lists too, eg dkms packages (#53414)
* rename @requested_kernels as @latest_kernels as its purpopse really is toChristophe Fergeau2010-05-111-3/+3
| | | | | track latest kernels for every flavor, not kernel packages that are required by 3rd party packages
* perl_checker cleanups & annotationsChristophe Fergeau2010-05-111-2/+4
|
* reload mirror list cache if it's in an "old" formatChristophe Fergeau2010-05-111-0/+3
| | | | | | | | old mirror list caches didn't store the time of the product.id file. When such a file is encountered, make sure we invalidate the cache. Otherwise, when upgrading from a distro where the mirror list cache didn't have the product.id mtime to a distro where the mirror list cache would have it, the mirror list cache won't be invalidated
* update copyrightChristophe Fergeau2010-05-1111-11/+11
|
* documentation files for urpmi-dudf addedChristophe Fergeau2010-05-111-0/+28
|
* test for /boot/vmlinuz-$release existence before using itChristophe Fergeau2010-05-111-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
* don't cache media.cfg files on virtual mediaChristophe Fergeau2010-05-111-2/+6
| | | | | | media.cfg files were cached to /etc/urpmi/media.cfg even when using --use-distrib or other media for which we don't want to cache the media matadata. Make sure we no longer do that.
* don't use aria2 to fetch mirrorlist, fixes #53434Christophe Fergeau2009-10-292-5/+13
|
* 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.
* add --not-available option to urpmqChristophe Fergeau2009-10-211-0/+1
| | | | | | | | Patch from Pascal Terjan, fixes bug #51418 urpmq --not-available shows the packages that are installed but no longer available in the configured media. This can be helpful to figure out which packages are obsolete after a few distro upgrades.
* make sure we don't use aria2 to fetch mirrorlistsChristophe Fergeau2009-10-212-2/+2
| | | | | | aria2 downloader currently doesn't work when we append a reason string to the api.mandriva.com URL, lamely fix that by making sure it's not used when grabbing a mirrorlist
* parse download-all argument in gurpmi tooChristophe Fergeau2009-10-211-1/+1
|
* fix dubious string ( '.' after \n)Christophe Fergeau2009-10-211-1/+1
|
* print PID of process locking the URPMI databaseChristophe Fergeau2009-10-151-1/+21
|
* allow to define the cache directory for RPMs when setting --download-allChristophe Fergeau2009-10-152-3/+7
|
* in download-all mode, download packages one by oneChristophe Fergeau2009-10-151-3/+10
| | | | | This is to make sure that already downloaded packages aren't downloaded again if urpmi were to restart for whatever reason
* use references to return 2 distinct listsChristophe Fergeau2009-10-151-9/+8
|
* perl_checker cleanupsThierry Vignaud2009-10-151-3/+3
|
* (install_logger) use urpm->{print} callback tooThierry Vignaud2009-10-151-1/+1
|
* don't call exit in main_loop or titi won't be so happy ;)Christophe Fergeau2009-10-141-1/+1
|
* perl_checker fixesChristophe Fergeau2009-10-132-2/+2
|
* check the FS has enough space before trying to download all packagesChristophe Fergeau2009-10-132-2/+32
|
* add df function to urpm/sys.pmChristophe Fergeau2009-10-131-0/+8
|
* download all packages firstChristophe Fergeau2009-10-131-33/+49
|
* add --download-all options to enable downloading of all packages before installChristophe Fergeau2009-10-131-0/+1
|
* improve strings used when asking to restart system/session (#53126)Christophe Fergeau2009-10-131-1/+8
|
* (_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!!!
* fix parsing of "download complete" messages from aria2Christophe Fergeau2009-10-051-1/+1
| | | | Fixes bug #53749
* (_compute_flags_for_skiplist) do not display skiped packages on console by ↵Thierry Vignaud2009-10-021-1/+1
| | | | default with rpmdrake
* Do not list as orphans kernel packages which where not installe through ↵Pascal Terjan2009-09-281-2/+5
| | | | dependencies (#53425)
* forgot quotesChristophe Fergeau2009-09-251-1/+1
|
* disable certificate checks on media with the right optionChristophe Fergeau2009-09-251-0/+1
|
* add per-media disable-certificate-check optionChristophe Fergeau2009-09-252-1/+2
|
* default to checking certificates when dowloading dataChristophe Fergeau2009-09-252-4/+4
|
* make certificate check for aria2 behave the same as for the other downloadersChristophe Fergeau2009-09-241-0/+1
|
* string fixes in dudf moduleChristophe Fergeau2009-09-211-2/+2
|
* exclude kernel-source from orphan processing (#53426)Christophe Fergeau2009-09-041-1/+1
|
* revert bogus commit r259891Thierry Vignaud2009-09-031-1/+1
|
* add missing parameterThierry Vignaud2009-09-031-1/+1
|
* prevent perl_checker to comply about this (urpmi does _NOT_ use MDK::Common)Thierry Vignaud2009-09-031-3/+3
|