# Failure with package dataset

**URL:** <https://discuss.elastic.co/t/failure-with-package-dataset/174816>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [April 1, 2019, 3:52pm UTC](https://discuss.elastic.co/t/failure-with-package-dataset/174816 "2019-04-01T15:52:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![olatunde.tokun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/olatunde.tokun/32/110546_2.png) [@olatunde.tokun](https://discuss.elastic.co/u/olatunde.tokun)\
**Post date:** [April 1, 2019, 3:52pm UTC](https://discuss.elastic.co/t/failure-with-package-dataset/174816/1 "2019-04-01T15:52:57Z")

</div>

I recently upgraded to auditbeat version 6.7.0 on our fleet of linux servers to test functionality of the newly added system datasets. Every other dataset works pretty well except for `package`

I get an error for failures to get RPM packages.

```
2019-04-01T11:48:57.035-0400 ERROR [package] package/package.go:267 failed to get packages: error getting RPM packages: unable to open a handle to the library

```

Auditbeat Version:  
auditbeat version 6.7.0 (amd64), libbeat 6.7.0 [14ca49c28a6e10b84b4ea8cdebdc46bd2eab3130 built 2019-03-21 14:53:01 +0000 UTC]

Auditbeat.yml snipper:

- module: system  
datasets:
  - host
  - user
  - login
  - package  
period: 1m  
user.detect\_password\_changes: true  
state.period: 24h  
login.wtmp\_file\_pattern: /var/log/wtmp\*  
login.btmp\_file\_pattern: /var/log/btmp\*

Server Distro:  
Centos 7  
Linux hostname 3.10.0-957.1.3.el7.x86\_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86\_64 x86\_64 x86\_64 GNU/Linux

Any ideas on how I can troubleshoot this would be appreciated.

Thanks,

---

<div class="post-metadata">

**Author:** ![cwurm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cwurm/32/34882_2.png) [@cwurm](https://discuss.elastic.co/u/cwurm)\
**Post date:** [April 1, 2019, 5:55pm UTC](https://discuss.elastic.co/t/failure-with-package-dataset/174816/2 "2019-04-01T17:55:32Z")

</div>

Hi @olatunde.tokun, thanks for trying it out, and sorry you hit this bug.

The `package` dataset is currently relying on a Librpm library being present at `/usr/lib64/librpm.so` - which it only is if the `rpm-devel` package is installed. So to make it work you could install this package, or you could also create a symlink from the library version that you have (probably `/usr/lib64/librpm.so.3` though it could be a different number).

A [fix](https://github.com/elastic/beats/pull/11565) is already in the works.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 22, 2019, 5:55pm UTC](https://discuss.elastic.co/t/failure-with-package-dataset/174816/3 "2019-04-22T17:55:32Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
