Mailinglist Archive: zypp-devel (64 mails)

< Previous Next >
Re: [zypp-devel] package history log file format
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Thu, 31 Jul 2008 17:14:14 +0200
  • Message-id: <20080731151414.GA1864@xxxxxxxxxxxxx>
* Jiri Srain <jsrain@xxxxxxx> [Jul 31. 2008 17:08]:

Well, but then when you do a rollback, you cannot distinguish between

zypper in foo; rpm -e foo; zypper in foo

and

zypper in foo; zypper in --force foo


Well, I believe you can. After the 'rpm -e', zypper (resp. libzypp)
will not that the rpm database is not in sync with @system.solv and
log the differences.


So in the first case, the log will have

install|foo-1.2-3.noarch|root@localhost
remove |foo-1.2-3.noarch|<rpm>
install|foo-1.2.3.noarch|root@localhost

and in the second case

install|foo-1.2.3.noarch|root@localhost
install|foo-1.2.3.noarch|root@localhost


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

< Previous Next >
List Navigation
Follow Ups