From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 12 May 2018 12:50:33 +0300 (MSK) From: Ivan Zakharyaschev To: ALT Linux Team development discussions In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1807885841-231419480-1526118633=:3504" Subject: Re: [devel] =?koi8-r?b?9yDexc0g0sHazsnDwSDNxdbE1SBSZXF1aXJlcyDJIFBy?= =?koi8-r?b?ZVJlcSDXINPQxcvByD8=?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2018 09:50:33 -0000 Archived-At: List-Archive: List-Post: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1807885841-231419480-1526118633=:3504 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Sat, 12 May 2018, Eugine Kosenko wrote: > Народ, в чем разница между этими определениями, и какое из них > предпочтительно для задании простой зависимости между пакетами? Традиционно используются Requires. Есть такие мнения: https://www.redhat.com/archives/rpm-list/2003-June/msg00173.html : "Not true. Requires: and PreReq: are exactly the same. ... If you see a differnece between PreReq: and Requires: (ignoring dependency loops, different problem), then someting is broken. ..." https://stackoverflow.com/a/27865060/94687 : "The code in rpm-4.8.0 has chosen to remap Prereq: (which tries to force a package installation before current package) as if it were a Requires(pre): (which marks a require dependency needed by a %pre scriptlet)contrary to what was originally implemented in rpm. Yes: dependency loops will be dealt with "best effort" so that an installation doesn't halt with dependency loops. ..." http://ftp.rpm.org/api/4.4.2.2/dependencies.html : "Prereqs are different from requires only in that a PreReq is guaranteed to be installed before the package that contains the PreReq. PreReq's are used only to order packages, otherwise PreReq's are exactly the same as a Requires: dependency." -- Best regards, Ivan --1807885841-231419480-1526118633=:3504--