Re: DNF is completly unable to act with local packages

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

 



On 11/12/2015 05:50 PM, Reindl Harald wrote:


Am 12.11.2015 um 16:45 schrieb Emmanuel Seyman:
* Honza Šilhan [12/11/2015 06:38] :

Personally I find "install"/"update" naming more readable than
"-Uvh"/"-Fvh".

Note that -U and -F aren't meant to be readable. They're shorthand for
"--upgrade" and for "--freshen" respectively

but it's unexpected behavior that -U *installs* packages instead only
_U_pgrade installed ones while nobody ever searchs for "freshen"

Yes the rpm operations with their peculiarly skewed semantics and names are historical artifacts from days before these fancy new toys we know as depsolvers started arriving on the scene.

It all starts with --install being a low-level special-case operation that is not allowed to erase anything. So it cannot handle package obsoletion, which might be needed when installing new packages, which is why you need to use --upgrade which handles both install and upgrade and their side-effects. And --freshen is there because somebody realized the operation it performs would be handy but --upgrade had already been taken and its semantics could no longer be changed. Or something like that :)

	- Panu -

--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux