SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The entry "RELEASE=stable" is there in the file /etc/slpkg/slpkg.conf . The slpkg version is 3.0.5
How can I correct this?
Edit: I found that /etc/slackware-version file had "Slackware 14.2" rather than "Slackware 14.1". Correcting this solved the problem and slpkg is working well. I do not know how this recently installed Slackware had "Slackware 14.2" entry.
xoscope and abiword from slackonly; Thunar from slackware. The missing dependencies may be due to my incomplete Slackware installation also, since I had selected only A, AP, D, L, N, X and KDE packages during installation.
xoscope and abiword from slackonly; Thunar from slackware. The missing dependencies may be due to my incomplete Slackware installation also, since I had selected only A, AP, D, L, N, X and KDE packages during installation.
At the moment many packages in slackonly repository have empty REQUIRED line on it's PACKAGES.TXT file. Hence, whatever package manager you use, some dependency problems are unavoidable.
Regarding Thunar, don't try to install it from slackware repository as you haven't installed Xfce desktop and slackware repository doesn't provide dependency information for slpkg. Use salix repository instead. Just uncomment salix repository from /etc/slpkg/repositories.conf or add nearest salix mirror using slpkg repo-add command.
Can slpkg be used to find 'orphan' library packages or dependencies - i.e. those whose main package has been removed and which are now lying unneeded on the system?
I tried to see in 'man usm' and on its web page (http://sourceforge.net/p/usm/wiki/Home/) but could not find its command to find orphan packages. What usm command can I use?
I already have it installed and I have seen the man page but could not find the command. One could possibly list all library files and feed each of them into 'usm -s' command one by one using xargs. How do you find orphan packages in usm?
@rng
You mean something like "apt-get autoremove". No, slpkg doesn't provide such an option. However if you use it to remove third-party packages by "slpkg -r --deps <packagename>" you don't have any third-party orphan library on your system. Genuine orphan slackware libraries are different story and I don't think slpkg, usm and other package managers have the ability to find and remove them.
@rng: maybe you meant by "orphaned library" a library not shipped in any installed Slackware package. This can be checked with some pseuod-code like
Code:
for LIBRARY in <list of all installed libraries>; do
if ! grep -wg $LIBRARY /var/log/packages/*; then
printf b "The library $LIBRARY is orphaned.\n"
fi
done
But if a library was installed another way than as shipped in a Slackware package regularly installed, then removing it could have negative consequences.
Of course you'd have to take care of the symlinks as well, that are usually recorded in /var/log/scripts.
Last edited by Didier Spaier; 01-20-2016 at 02:02 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.