aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing of properties containing [topic/parse_propertyPascal Terjan2022-11-011-3/+23
| | | | | | | | | | | | | | | For example, the name extracted from a requirement of "python3.10dist(fonttools[unicode])[>= 4.10]" was sometimes "python3.10dist(fonttools" instead of the expected "python3.10dist(fonttools[unicode])". Code parsing such strings existed in many places, it now exists only in 2 places, a perl version in Resolve.pm and a C version in URPM.xs. Both codes used to handle both "foo >= 0" and "foo[>= 0]" but at least the perl code seems to only call it on provides/conflicts/obsoletes which are always using the second form so the support for it was dropped from the perl version for the sake of simplicity.
* Further prevent SRPM to conflicts with its own build depsThierry Vignaud2021-10-231-1/+1
| | | | | | | | | | | | | | | commit 3fac0be4adab0ee63b6473d613982b418cc7ab92 was not enough in iurt case. We must also ignore SRPM provides. Rationale: Since rpm-4.16+, rpmlib adds NEVR provides for all packages that would be built into source rpm. Thus we hit: "installed package gdb-minimal-10.2-2.mga9.x86_64 is conflicting with gdb-11.1-1.mga9.src" Because of "Conflicts: gdb-headless[> 10.2-2.mga9]" Because gdb-11.1-1.mga9.src.rpm provides "gdb-headless = 11.1-1.mga9"
* Prevent SRPM to conflicts with its own build depsThierry Vignaud2021-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aka gdb.src would be conflicting with gdb-minimal which is required by debugedit: "The following packages have to be removed for others to be upgraded: debugedit-5.0-3.mga9.x86_64 (due to missing gdb-minimal) gdb-minimal-10.2-2.mga9.x86_64 (due to conflicts with gdb-headless[> 10.2-2.mga9]) rpm-build-4.17.0-2.mga9.x86_64 (due to unsatisfied debugedit >= 0.3)" Which happen because of this deps chain: rpm-build -> debugedit -> gdb-minimal Where gdb-minimal conflicts with: $ rpm -q --conflicts gdb-minimal gdb-headless < 10.2-2.mga9 gdb-headless > 10.2-2.mga9 Which of course conflicts if urpmi considers the *new* gdb... SRPM... Sigh... Extract of urpmi --debug log ala iurt: selecting gdb-11.1-1.mga9.src requiring bison,dejagnu,expat-devel,flex,fpc,gcc-gfortran,gcc-objc,gcc-plugins,guile3.0-devel,libbabeltrace-devel,libipt-devel,mpfr-devel,python3-devel,readline-devel[>= 6.2-4],rpm-devel,rust,sharutils,source-highlight-devel,texinfo,texinfo-tex,texlive,xxhash-devel for gdb-11.1-1.mga9.src chosen lib64rpm-devel-4.17.0-2.mga9.x86_64 for rpm-devel selecting lib64rpm-devel-4.17.0-2.mga9.x86_64 requiring devel(libcap(64bit)),devel(liblua-5.4(64bit)),devel(libmagic(64bit)),devel(libsqlite3(64bit)),lib64rpm9[== 1:4.17.0-2.mga9],lib64rpmbuild9[== 1:4.17.0-2.mga9],lib64rpmsign9[== 1:4.17.0-2.mga9],rpm[== 1:4.17.0-2.mga9] for lib64rpm-devel-4.17.0-2.mga9.x86_64 (...) chosen lib64rpmbuild9-4.17.0-2.mga9.x86_64 for lib64rpmbuild9[== 1:4.17.0-2.mga9] selecting lib64rpmbuild9-4.17.0-2.mga9.x86_64 set_rejected: lib64rpmbuild9-4.16.1.2-5.mga9.x86_64 (...) installed rpm-build-4.16.1.2-5.mga9.x86_64 is conflicting because of unsatisfied lib64rpmbuild9[== 1:4.16.1.2] promoting rpm-build-4.17.0-2.mga9.x86_64 because of conflict above selecting rpm-build-4.17.0-2.mga9.x86_64 set_rejected: rpm-build-4.16.1.2-5.mga9.x86_64 requiring debugedit[>= 0.3] for rpm-build-4.17.0-2.mga9.x86_64 chosen debugedit-5.0-3.mga9.x86_64 for debugedit[>= 0.3] selecting debugedit-5.0-3.mga9.x86_64 requiring gdb-minimal for debugedit-5.0-3.mga9.x86_64 gdb-minimal-10.2-2.mga9.x86_64 conflicts with already selected package gdb-11.1-1.mga9.src Because it considered: $VAR1 = [ 'gdb-10.2-2.mga9.x86_64', 'gdb-10.2-2.mga9.i586', 'gdb-11.1-1.mga9.src' ];
* Make it work with no feature qw(indirect) (aka perl7)Thierry Vignaud2020-06-251-1/+1
|
* workaround rpm-4.16 adding provides to SRPMsThierry Vignaud2020-04-081-1/+2
| | | | | | | | rationale: rpm-4.16 adds provides for all generated RPMS to SRPMs, which breaks urpmi's testsuite (t/superuser--srpm-bootstrapping.t) See rpm's commit 75ec16e660e784d7897b37cac1a2b9b135825f25
* add support for reinstall (needs rpm >= 4.12.x)Thierry Vignaud2020-03-051-2/+6
|
* document URPM::SignatureThierry Vignaud2019-12-231-4/+34
|
* Don't select an obsolete package to resolve dependencies/conflicts (mga#23223)Martin Whitaker2018-06-251-0/+4
|
* fix finding better pkg (mga#23037)Thierry Vignaud2018-06-141-1/+2
| | | | | | | alter commit ef5c24cccff5f374232276b3064813aba88ee888 so that sorting pkgs got a better one in first place, by: - comparing EVRs before name - comparing EVRs rather than synthesis ids
* fix displaying always the same name in the listThierry Vignaud2018-06-131-1/+1
| | | | bug introduced in previous commit 14e1667f7c24c5c47cf0723827c22a4f3caed902
* typo fix (aka make greping logs consistent)Thierry Vignaud2018-06-131-1/+1
|
* make logs more reproductibleThierry Vignaud2018-06-121-1/+1
|
* Revert "make sure to use int64 on 32bit arch"Thierry Vignaud2017-09-071-2/+0
| | | | This reverts commit 8aceb9b6a318668d0795af52bf9ea9dbb33351d9.
* typo fix (mga#20926)Thierry Vignaud2017-05-301-1/+1
|
* make sure to use int64 on 32bit archPascal Terjan2016-11-101-0/+2
| | | | | else we may got total size to overflow (mga#19686) v2 by Thierry Vignaud: use native int64 on 64bit
* simplify (drop commented out message)Thierry Vignaud2016-11-101-6/+1
| | | | | | | This message was never displayed: see commit 66dd07d4237c6ee773c48c4c5a1471fdc25f8828 And anyway urpmi already takes care of warning about import errors
* fix crash introduced by mga#15353 fix (mga#19618)Thierry Vignaud2016-10-201-1/+1
| | | | | | | | rationale: - {debug_URPM} only exists if we're in debug mode - as this is an actual error, let's just always report it bug introduced in commit 070f1be3d5c3aa813f61d061c2a0fd38c2477c08
* bump copyrightThierry Vignaud2016-10-161-1/+1
|
* silent perl_checkerThierry Vignaud2016-10-161-3/+4
|
* mga#15353 don't crash if re is wrongAngelo Naselli2016-10-161-7/+10
|
* shrink .perl_checker blacklistsThierry Vignaud2016-09-161-1/+0
| | | | (need latest perl_checker)
* fix upgrade when package's in several mediaThierry Vignaud2015-04-121-2/+2
| | | | | | | | sort by ids (like in other places) when promoting (b/c of eg: conflicts), thus fixing upgrade when the same package is offered in several media (mga#15350) see commit 53e38beae4d9638f41b219521b802a2969d68909 for similar issue
* rename a variableThierry Vignaud2014-09-121-3/+3
|
* s/suggested/recommended/Thierry Vignaud2014-09-121-3/+3
|
* {suggested} is renamed {recommended} in stateThierry Vignaud2014-09-121-1/+1
| | | | Veuillez saisir le message de validation pour vos modifications. Les lignes
* kill unused argumentThierry Vignaud2014-09-121-2/+2
|
* add aliases for compatibilityThierry Vignaud2014-09-121-0/+3
|
* rename "no_suggests" option as "no_recommends"Thierry Vignaud2014-09-121-2/+2
|
* s/suggests/recommends/ in method namesThierry Vignaud2014-09-121-14/+14
|
* s/suggests/recommends/ in comments & variable namesThierry Vignaud2014-09-121-12/+12
|
* add support for generating recommends in synthesisThierry Vignaud2014-09-121-1/+2
| | | | aka having @recommends@ lines instead of @suggests@ ones
* rename "suggests" method as "recommends_nosense"Thierry Vignaud2014-09-121-2/+2
| | | | | in order to reflect reality but keep a suggests alias for compatibility for the time being
* simplify after commit 307fdff9e12f783b01d0275d92c22b4cf7dd020fThierry Vignaud2014-05-141-3/+1
| | | | | | | | | | | its return value is now always () rationale: resolve_rejected() was wrong, since it blindly removes installed pkgs w/o trying to promote anything and @diff_provides can be nicely used to handle rejecting package one by one, then _handle_diff_provides() should do the right job. (spot by perl_checker)
* kill support for kernel-*source-strippedThierry Vignaud2014-05-121-7/+2
| | | | We don't have those since 2004 (10 years+)...
* kill useless "$Id: " linesThierry Vignaud2014-05-092-2/+0
| | | | they're obsolete since switching to git
* kill frenglishThierry Vignaud2014-05-091-2/+2
| | | | | present since commit 74c3cfe40e76d2cf047e7cbc57653298a460b658 (12 years ago...)
* typo fixThierry Vignaud2014-05-091-3/+3
|
* typo fixThierry Vignaud2014-05-071-1/+1
|
* fix warning in debug messageThierry Vignaud2013-12-161-1/+1
| | | | | | | 'Argument "19697|19..." isn't numeric in array element at ...URPM/Resolve.pm' introduced by pixel in commit 1d945d2a483598dc982cf73ae932d83d4e35df9 on Sep 7 2007 ("add some debug messages)
* enhance POD documentationThierry Vignaud2013-11-051-179/+548
|
* (listlength) get rid of itThierry Vignaud2013-11-051-5/+1
|
* (resolve_requested_suggests) small optimizationThierry Vignaud2013-11-051-1/+1
|
* adapt to perl-5.18 random hash keys orderingThierry Vignaud2013-10-031-3/+4
| | | | thus fixing urpmi testsuite...
* fix warning in debug messageThierry Vignaud2013-03-301-1/+1
| | | | | | | (Argument "19697|19719|19..." isn't numeric in array element at ...URPM/Resolve.pm' (introduced by pixel in commit r227273 on Sep 7 2007: "add some debug messages)
* fix selecting right DKMS flavor (mga#9172)Thierry Vignaud2013-03-231-1/+1
|
* add basic support for --downgrade (mga#6655)Thierry Vignaud2013-02-091-4/+4
| | | | | enabling eg to switching back to packages from core/release after having installed some from core/updates_testing, then disabling it
* (_is_selected_or_installed ) fix scoring locale packagesThierry Vignaud2013-01-201-1/+1
| | | | revert part of commit r5052 (June 28 2012, "light speedups")
* prevent creating empty transactions in rare casesThierry Vignaud2012-12-171-1/+1
| | | | (that cause rpm to abort on assert while creating a new pool)
* (find_required_package) previous commit enables us to not reinvent ↵Thierry Vignaud2012-12-041-3/+2
| | | | packages_providing()
* (get_installed_arch) silent a warning (mga#8287)Thierry Vignaud2012-12-041-1/+1
|