DSM 7.0 Synoservicecfg replacement

Currently reading
DSM 7.0 Synoservicecfg replacement

Status
Not open for further replies.
15
5
NAS
DS1815+
Operating system
  1. Linux
  2. Windows
Mobile operating system
  1. Android
Hi,

By any chance, is there anyone who knows what's the command to get the list of dependencies on or of a package ?
With DSM 6.1, it used to be :
/usr/syno/sbin/synoservicecfg --reverse-dependency <package>
/usr/syno/sbin/synoservicecfg --forward-dependency <package>

I did look at all commands in /usr/syno/bin and /usr/syno/sbin, but couldn't guess what would do the job.

Many thx in adv or any tip...

V.
 
Hi,

By any chance, is there anyone who knows what's the command to get the list of dependencies on or of a package ?
With DSM 6.1, it used to be :
/usr/syno/sbin/synoservicecfg --reverse-dependency <package>
/usr/syno/sbin/synoservicecfg --forward-dependency <package>

I did look at all commands in /usr/syno/bin and /usr/syno/sbin, but couldn't guess what would do the job.

Many thx in adv or any tip...

V.
Example would be

systemctl --reverse list-dependencies pkgctl-WebStation
 
Last edited:
Excellent !!! Many thx !!!

Is there any document somewhere or you did test all the commands --help ?

NB.: I did play a bit with this command but it was not giving me the "expected" info...

Ex.: I have PHP 7.3 installed and 3 packages which depend on it, including WordPress and phpMyAdmin
I can see that in the popup I get and uninstalling PHP 7.3 :

1614521412594.png



Unfortunately, the command did not return the info I was expecting:
  • systemctl --reverse list-dependencies pkgctl-PHP7.3 | grep WordPress
(Just in case, I also tried systemctl list-dependencies pkgctl-PHP7.3 | grep WordPress)

On the opposite, this is returning the researched depencies:
  • systemctl list-dependencies pkgctl-WordPress | grep PHP7.3

I think the use is a bit different than synoservicecfg --reverse-dependency
But some coding around systemctl will do the job ;)

Thx.

V.
 
Status
Not open for further replies.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top