Where the problem is I do not know. Perhaps you need to reinstall slackpkg.
Quote:
s there also a way to find wich packages are duplicated and uninstall them so it eliminates error without pkgtool like?
|
At the command line, do:
'for PKG in /var/log/packages/* ; do echo ${PKG%-*-*-*} >> /tmp/list.txt; done'
'uniq -d /tmp/list.txt'
This should show the duplicate names that slackpkg is finding.
Then 'ls /var/log/packages | grep [the_duplicate_name]' will show the actual packages.
You can then use 'removepkg' to remove the unwanted duplicate.
Edit - samac was quicker and the lack of the dialog package makes sense
Edit2 - A better way to find the duplicate names avoiding the temporary file.
(for PKG in /var/log/packages/* ; do echo ${PKG%-*-*-*} ; done) | uniq -d