Log important events like installation/deletion of packages and repositories.
Log important events like installation/deletion of packages and repositories.
Location
The default location is /var/log/zypp/history
. This can be changed via history.logfile
key in /etc/zypp/zypp
.conf.
Format
- CSV file with pipe character (|) as the value separator
- one event per line
- different actions have different set of values (columns), see the tables below
- lines starting with # are treated as comments
- See also
- User data as transaction id
Action Columns
Install
A package has been installed.
- 1 timestamp
- 2 action ID (
"install"
)
- 3 package name
- 4 package epoch:version-release
- 5 package architecture
- 6 requested by (user@hostname, pid:appname, or empty (solver))
- 7 repository alias
- 8 package checksum
- 9 userdata/transactionId
Remove
A package has been removed.
- 1 timestamp
- 2 action ID (
"remove"
)
- 3 package name
- 4 package epoch:version-release
- 5 package architecture
- 6 requested by (user@hostname, pid:appname, or empty (solver))
- 7 userdata/transactionId
Radd
A repository has been added.
- 1 timestamp
- 2 action ID (
"radd"
)
- 3 repository alias
- 4 primary URL
- 5 userdata/transactionId
Rremove
A repository has been removed.
- 1 timestamp
- 2 action ID (
"rremove"
)
- 3 repository alias
- 4 userdata/transactionId
Ralias
A repository alias has changed.
- 1 timestamp
- 2 action ID (
"ralias"
)
- 3 old alias
- 4 new alias
- 5 userdata/transactionId
Rurl
The primary URL of a repository has changed.
- 1 timestamp
- 2 action ID (
"rurl"
)
- 3 repository alias
- 4 new URL
- 5 userdata/transactionId
Example
2008-09-24 11:48:58|rremove|packman
2008-09-24 11:50:02|radd |packman|http:
2008-09-24 11:53:10|install|amarok-yauap|1.4.10-25|x86_64||factory|4421dfa718ab73c805c1c695c97b1b67f39bf2f3
2008-09-24 11:53:25|install|amarok-lang|1.4.10-25|x86_64||factory|691030edafcc4fbc22aa225350f9de32974e4bc2
# Additional rpm output:
# warning: /var/cache/zypp/packages/packman/x86_64/amarok-1.4.10-100.pm.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 9a795806
#
2008-09-24 11:53:45|install|amarok|1.4.10-100.pm.1|x86_64|root@kompost|packman|ee0fffa1e4eeaaeb8799bd05c6882ef74100d681