Questions about slackpkg utility, specifically searching for packages.
I'm looking kernel with the files found here. The mirror I am using is also that link. So the way to find those files, I thought, was " slackpkg search [name] " but it keeps saying "No package name matches the pattern." even though it is definitely there (as shown above) Am I misunderstanding something or is there a different utility required for what I'd like to accomplish?
|
Pardon if I don't understand, but I'm not getting the gist of what you mean, but I'll try.
Slackpkg is usually ran as such: Code:
slackpkg update Code:
slackpkg upgrade-all Code:
slackpkg install-new Code:
slackpkg clean-system You can also use any of the following to do their respective functions: Code:
slackpkg upgrade <package> |
Right, that's what I'm asking about is specifically the search functionality. I want to find the kernel image for 3.10.* so I do this:
Code:
slackpkg search linux-3.10.* I guess what I need is something to find and install individual packages from the slackware repos. |
I think it has to be a specific like:
Code:
slackpkg search linux-3.10.11.txz Code:
slackpkg search linux-*.t?z |
Both returned the same "No package name matches the pattern."
|
Assuming that the kernel packages aren't blacklisted
Code:
slackpkg search kernel |
All that shows up are current kernel versions (3.2.29).
|
because you are using slackware-14.0, not -current: current is the development version of slackware and is using a separate repository from 14.0.
|
Yes, the search function will only search the local filesystem, not the distribution server.
|
Ok, then how do I search the dist server or the full repository from the mirror?
|
slackpkg searches what you have installed and the Slackware repo. From the slackpkg man page:
Quote:
|
@slacker_: You appear to want to fetch files from the source directory. "slackpkg search" does not show files from the source/ subdirectory. Only packages in the slackware/ subdirectory. If you want the kernel source it is also available as an installable package. Just enter the following to search for it:
Code:
$ slackpkg search kernel-source Code:
$ wget -qO- http://mirrors.slackware.com/slackware/slackware-current/source/FILE_LIST Code:
$ mkdir slackware-current |
Quote:
Quote:
|
The kernel source is just that, the source code for the kernel. It is not the kernel itself. The source is useful should you want to recompile the kernel (perhaps with different options) or compile kernel modules.
The other kernel packages are what you need to actually install/upgrade the kernel. You can find them with 'slackpkg search kernel', or here is the list (for 32-Bit Slack): kernel-firmware, kernel-generic, kernel-generic-smp, kernel-headers, kernel-huge, kernel-huge-smp, kernel-modules and kernel-modules-smp. You probably want (assuming 32-bit): kernel-firmware, kernel-generic and kernel-modules. However, before you go out and install them consider that you almost certainly already have them installed if you did a full install initially. ;) I suspect therefore, you simply wanted to make sure you are running the latest updates from -cuurent with regards to these packages. If that is true just issue 'slackpkg update' (To update your local list of available packages with the mirror), then 'slackpkg install-new', then 'slackpkg upgrade-all'. This should ensure that all your packages are up to date with your mirror (not just the kernel). You may also want to issue 'slackpkg clean-system' to remove old and obsolete packages from your system (if you have unofficial packages that you made yourself you will get the chance to uncheck them so they don't also get removed). P.S. ReaperX7 did say early on how to keep the system up to date but you may not have understood the relevance of his reply as you were expecting a search command. Similarly jstg told you how to search for kernel packages but because you had not issued the 'slackpkg update' you were shown the older kernels, not those available from -current. |
Quote:
Check /etc/slackpkg/mirrors and modify accordingly (note that you should uncomment only one mirror) |
All times are GMT -5. The time now is 10:00 AM. |