Siduction Forum

Siduction Forum => Software - Support => Topic started by: drb on 2018/08/04, 10:59:51

Title: Problem with kernel-remover and autoremove
Post by: drb on 2018/08/04, 10:59:51
I get the following with kernel-remover

Code: [Select]
kernel-remover
Could not find the database of available applications, run update-command-not-found as root to fix this
Command 'kernel-remover' is available in '/usr/sbin/kernel-remover'
The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative priviledges associated with your user account.
kernel-remover: command not found


and with autoremove
Code: [Select]
The following packages will be REMOVED:
  g++-7 libargon2-0 libavdevice57 libavfilter6 libavresample3 libcdio17 libcodec2-0.8 libdns-export1100 libdns-export169 libgegl-0.3-0 libgfortran4 libgit2-26 libhttp-parser2.7.1 libisc-export166 libkf5akonadiprivate5
  libkf5calendarcore5 libkf5incidenceeditor-bin libkf5mailcommon-plugins libkf5pimcommon-plugins libllvm5.0 liblouis14 libmagickwand-6.q16-5 libnfs8 libopenbabel4v5 libopenshot14 libpoppler73 libpostproc54 libprocps6 libstdc++-7-dev
  linux-headers-4.17.5-towo.1-siduction-amd64 linux-headers-4.17.6-towo.1-siduction-amd64 linux-headers-4.17.8-towo.2-siduction-amd64 linux-headers-4.17.9-towo.1-siduction-amd64 linux-image-4.17.5-towo.1-siduction-amd64
  linux-image-4.17.6-towo.1-siduction-amd64 linux-image-4.17.8-towo.2-siduction-amd64 linux-image-4.17.9-towo.1-siduction-amd64
0 upgraded, 0 newly installed, 37 to remove and 36 not upgraded.
After this operation, 1,382 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)


Only had this problem in the last week or so.
Title: Re: Problem with kernel-remover and autoremove
Post by: drb on 2018/08/04, 11:08:07
ctl-Alt-F1 and then logging in as root and the commands work OK. I haven't had to do this before though.
Title: Re: Problem with kernel-remover and autoremove
Post by: finotti on 2018/08/04, 13:59:54
Try 'su -' instead of 'su' and check the posts in Upgrade Warnings.
Title: [SOLVED] Re: Problem with kernel-remover and autoremove
Post by: drb on 2018/08/04, 14:10:12
Thanks. That 'solves' the issue.