Just installed Slackware 14.1, httpd and named can not start
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.
Just installed Slackware 14.1, httpd and named can not start
So I just installed Slackware 14.1 and upon booting I got a message about there not being libarputil which is causing httpd to fail and the library libxml2 not being present and causing named to fail. What gives? I did uncheck certain things when installing Slackware (I basically unchecked KDE system libraries, Emacs, Games, I think thats about it...after the prompt I selected "full"). Do these need the multilib repository or something?
Well, there's a package for libxml2 under the l/ series and libaprutil (you have it misspelled) is located in the apr-util package, also under the l/ series (there is a patch available for this, so I'd recommend grabbing the patch over the stock library).
Looks like you somehow went a little too selective with your packages. This is why it is typically recommended to just install everything. Having KDE installed only requires the additional diskspace (which on today's harddrives is basically nothing) and it won't use any other resources unless you decide to start KDE or run a KDE program in another DE/WM. It is much easier to sacrifice that 1GB of space than to try and play dependency hunter.
If you want a quick fix to install everything (and I suppose you could blacklist kde and kdei), you can use slackpkg to install all missing packages. Then, if you really feel the need to clear up that little amount of hard drive space, maybe go through after and selectively uninstall what you definitely don't want. Just make sure you have a good mirror selected and have updated slackpkg.
There is absolute no reason to have anything kde installed unless you want to use kde or a kde program and slackware will run fine without anything from the kde series.
Well, there's a package for libxml2 under the l/ series and libaprutil (you have it misspelled) is located in the apr-util package, also under the l/ series (there is a patch available for this, so I'd recommend grabbing the patch over the stock library).
Looks like you somehow went a little too selective with your packages. This is why it is typically recommended to just install everything. Having KDE installed only requires the additional diskspace (which on today's harddrives is basically nothing) and it won't use any other resources unless you decide to start KDE or run a KDE program in another DE/WM. It is much easier to sacrifice that 1GB of space than to try and play dependency hunter.
If you want a quick fix to install everything (and I suppose you could blacklist kde and kdei), you can use slackpkg to install all missing packages. Then, if you really feel the need to clear up that little amount of hard drive space, maybe go through after and selectively uninstall what you definitely don't want. Just make sure you have a good mirror selected and have updated slackpkg.
I really didn't think I was too selective though. Using this as an example although it is outdated because I think GNOME isnt provided anymore. http://www.slackware.com/install/softwaresets.php I unselected E, KDE, KDEI, T, TCL, and Y that was it. Don't know why I am missing those two libraries
I guess I will try doing slackpkg install slackware after configuring slackpkg however I would like to blacklist KDE, KDEI, and Games MINIMUM/I am fine with being able to disable only those. I would use the greylist file in /etc/slackpkg I assume....hmm really weird why it did that. I am going to assume I accidentally unchecked L somehow, its late when I did this. Im gonna do another re-install and see if that'll change it.
There is absolute no reason to have anything kde installed unless you want to use kde or a kde program and slackware will run fine without anything from the kde series.
I just used KDE as an example. Obviously other libraries are missing due to selectively choosing the installation rather than doing the recommended full install. Unless less than 1GB of hard drive space is really necessary, there isn't a major reason to not include KDE unless you're just against even having it on the computer. For everything on stock Slackware, slackbuilds.org, and a few other projects, they expect a Slackware system to be complete, and if something inadvertently links against something normally included in the KDE series, it may throw the user an error they don't understand how to fix.
Far too often we see requests on here about some issue the user is facing due to not installing the correct libraries. Unless you have the savvy to track all those dependencies down (which it certainly is possible, it just can take a good amount of time), it is best to just sacrifice that extra space (yet no RAM or CPU usage) and do a full install. KDE and XFCE can usually be left out of installations if space is at a premium, but unless a user has the know-how to track down missing dependencies, it's best to be careful about what you cut out of a Slackware install.
If you know your way around dependencies and determining what needs to be installed when you run into errors, then by all means, slice and dice your installation to your heart's content... otherwise, stick with the full install to minimize your headaches.
I really didn't think I was too selective though. Using this as an example although it is outdated because I think GNOME isnt provided anymore. http://www.slackware.com/install/softwaresets.php I unselected E, KDE, KDEI, T, TCL, and Y that was it. Don't know why I am missing those two libraries
I guess I will try doing slackpkg install slackware after configuring slackpkg however I would like to blacklist KDE, KDEI, and Games MINIMUM/I am fine with being able to disable only those. I would use the greylist file in /etc/slackpkg I assume....hmm really weird why it did that. I am going to assume I accidentally unchecked L somehow, its late when I did this. Im gonna do another re-install and see if that'll change it.
If I am remembering right, you should be able to run the following to install just the l/ series.
My concern was that kde doesn't really have anything to do with the op's issue and that there isn't really any tracking down of dependencies without it installed. If the op has no interest in kde or kde programs than I'd say there is a lot more of an argument of not having it installed than having it installed. That said, I'm not going to sidetrack the op's thread with kde anymore than it already has been.
Often at times, some packages can have dependencies that are in other packages, so basically,
USE THE RECOMMENDED INSTALLATION
I hate to admit it, much less say it as such, but honestly, if you want full support, you should do a full install to avoid having us do your homework for you. There's a reason it is the recommended installation, because it installs all dependencies.
My concern was that kde doesn't really have anything to do with the op's issue and that there isn't really any tracking down of dependencies without it installed. If the op has no interest in kde or kde programs than I'd say there is a lot more of an argument of not having it installed than having it installed. That said, I'm not going to sidetrack the op's thread with kde anymore than it already has been.
OP said that kde and a few more were removed, none of which should've caused the problem. But obviously some stuff in the l/ series wasn't installed, which is what did cause the problem. Like OP said, it could've been caused by accidentally unchecking something else, but needless to say, this problem wouldn't have occurred if a full install was completed, which was my whole point in posting what I did.
Another option for OP and any others who come across this post, you can do a full install and then once you verify your system is up and running properly, you can use slackpkg to remove KDE, emacs, and/or any other series/packages.
OP said that kde and a few more were removed, none of which should've caused the problem. But obviously some stuff in the l/ series wasn't installed, which is what did cause the problem. Like OP said, it could've been caused by accidentally unchecking something else, but needless to say, this problem wouldn't have occurred if a full install was completed, which was my whole point in posting what I did.
Another option for OP and any others who come across this post, you can do a full install and then once you verify your system is up and running properly, you can use slackpkg to remove KDE, emacs, and/or any other series/packages.
Code:
slackpkg remove kde
slackpkg remove e
That is the best solution, I wasn't aware you completely remove sections like that so easily. Wow there are many options I can approach to solve this, thank you for the help! I really don't want to have things I don't need on the system, even some things included in XARP have things I don't want but I figured I would try removing them separately afterwards (the installer has option to select each one yes, I did full thought to avoid any future errors. I think what I will try is another re-install but still unchecking the few things I do not want and if I get the same problem ill either re-install everything and remove once I see everything working correctly or use the slackpkg install l or whatever else.
Thank You for your help, you guys are quick to respond and very helpful
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.