Problem with syslog-ng opkg

Hi,

I've used syslog-ng server package successfully without problems in the past versions 19.07.1, 19.07.0, 18.06.x . Starting with my upgrade to 19.07.2, the package can no longer be installed by opkg.

opkg update
opkg install syslog-ng

Log reads:

Collected errors:
 * check_data_file_clashes: Package syslog-ng wants to install file /sbin/logread
        But that file is already provided by package  * logd
 * opkg_install_cmd: Cannot install package syslog-ng.

I need both "logread" commands on my "master" AP. This worked before and no is impossible to achieve. As far as I researched 19.07.1 and older firmware versions had two components:

/sbin/logread - the default log reader for the local log
/usr/sbin/logread - the log reader offered by syslog-ng reading the local and remote logs

Could you please correct the syslog-ng opkg so it will install to /usr/sbin again?

Thank you.

Kind regards
Catfriend1

Note:

  • Router models affected I own are Archer C7 v2 and v5
1 Like

Is there anyone I could contact to fix the problem? Where can I see the commits related to the package to check if the issue can be pinpointed?

See https://github.com/openwrt/packages/commits/openwrt-19.07/admin/syslog-ng

Maybe this one is what you are searching for:

1 Like

https://github.com/openwrt/packages/issues/11535 deals with the issue of the clashing logread files.

I described a workaround in the issue report.

If you are installing via opkg - I would uninstall logd before installing syslog-ng to solve the clash issue.

1 Like

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