Closed kenhys closed 1 year ago
$ sudo apt install -y ./fluent-package_5.0.0-2_amd64.deb
Reading package lists... Done
After upgrading, symlink was kept.
$ ls -la /usr/sbin/td-agent*
lrwxrwxrwx 1 root root 17 Jul 27 05:29 /usr/sbin/td-agent -> /usr/sbin/fluentd
lrwxrwxrwx 1 root root 20 Jul 27 05:29 /usr/sbin/td-agent-gem -> /usr/sbin/fluent-gem
$ sudo apt remove fluent-package
Reading package lists... Done
After removing fluent-package, symlink was removed.
$ ls -la /usr/sbin/td-agent*
ls: cannot access '/usr/sbin/td-agent*': No such file or directory
Before:
v4 => v5 => upgrading... it will remove cpmpatible symlinks => v5.x
After:
v4 => v5 => upgrading... do not remove compatible symlinks => v5.x