elastic / elastic/logstash

Warning message seen when you upgrade logstash packages from 5.6.0 to 6.0Beta1

Open
#7,976 0 comments 0 reactions 0 assignees View on GitHub
bug v5.6.0
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

- Version: upgrade from 5.6.0 to 6.0.0Beta1
- Operating System: Ubuntu 64 bit
- Steps to Reproduce: When upgrading from 5.6.0 to 6.0.0 Beta1, noticed the following in the logs:

```
Preparing to unpack ./logstash-6.0.0-beta1.deb ...
Unpacking logstash (1:6.0.0~beta1-1) over (1:5.6.0-1) ...
dpkg: warning: unable to delete old directory '/usr/share/logstash/vendor/bundle/jruby/1.9/gems': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/logstash/vendor/bundle/jruby/1.9/specifications': Directory not empty
dpkg: warning: unable to delete old directory '/usr/share/logstash/vendor/bundle/jruby/1.9': Directory not empty
```
This is quite harmless, because it still allowed me to upgrade and I saw both the packages present in the directory. I think this is just a warning , but its definitely confusing to the users. Either way, it needs to be fixed.

cc / @LeeDr @jakelandis

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.