Mailinglist Archive: zypp-devel (59 mails)

< Previous Next >
Re: [zypp-devel] Catching file conflicts
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Tue, 18 Nov 2008 06:01:05 +0100
  • Message-id: <20081118050105.GA11564@xxxxxxxxxxxxx>
* Federico Lucifredi <flucifredi@xxxxxxxxxx> [Nov 17. 2008 19:44]:
Would it be possible to examine the package before installation, to check
for the files it contains against the RPM db or the filesystem ?

Technically, yes. But it would required parsing the RPM header of
every downloaded package, iterating through its filelist and searching
each entry in the rpmdb. And this would not catch conflicts againts
packages of the same transaction.

Its probably not worth the effort. Arbitrary file conflicts are very,
very seldomly needed.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups