SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have the 2.4.22 kernel and I am trying to patch it to 2.4.24. I downloaded the ide and module files and md5sums match. I then burnt them to CD and transfered the files to the machine. I used upgradepkg. It deleted all of my old stuff, but then it says that the files are corrupted and gives me error 2. I have tried many different mirrors for these files, but it still always says they are corrupted. How can I make this work?
I downloaded the ide and module files and md5sums match. I then burnt them to CD and transfered the files to the machine. I used upgradepkg. It deleted all of my old stuff, but then it says that the files are corrupted and gives me error 2.
Did you verify the md5sums after getting them to your machine? It sounds like you downloaded the files, checked the sums, then burnt them to cd. Is your cd bad? Do you have another way to get the files to the machine?
Fly, I did verify the MD5 sums after the transfer. They match as well. I cannot transfer them another way, since I need to upgrade to 2.4.24 to install the drivers for my wireless card. dslboy, no. When you use upgradepkg, it deletes the old files automatically to prepare for the new files. After it deleted, it tried to install the new files, and gave me the corruption info and error 2.
Also, jinda, that url doesn't pertain to me because I am not compiling it. The files are in .tgz format. installpkg would normally do the grunt work, but it says that the files are corrupted.
I think you are misusing upgradepkg. And it is not clear what you are doing from your post. Are you currently using the stock kernel from slackware? Did you build your own kernel?
Upgradepkg is used to replace one slack package with another one. NOTE: Replace. So if you have the stock Slack kernel currently and wanted to upgradepkg it, you would need to download a new Slack kernel from one of the slackware mirrors. Make certain you get all the necessary packages to do that.
The kernel patch to upgrade the kernel would be used only if you are compiling your own kernels. Upgradepkg would not enter into it, unless you are manually building a Slackware packaged kernel and going to install it. I doubt that is what you are doing since if you were at that ability level you would not be here asking this question.
I have said this many, many times. I need to upgrade to the 2.4.24 kernel. And to do so, I was told, I would have to download the files kernel-ide-2.4.24-i486-1.tgz and kernel-modules-2.4.24-i486-1.tgz. From there, I was told, I would have to run upgradepkg on each of the files, and then my kernel would be patched to 2.4.24. I am sorry if I seem angry, but I was supposed to have this system up two weeks ago. This is the same problem I have had for 2 weeks. Different people keep telling me different things, so I'm sure you can see where my anger is coming from.
Okay Staterra. I got you now. These are not patches. They are the new kernels from a slackware mirror. Saying they are patches is what confused everyone. There is such a thing as kernel patches that will upgrade your kernel available from kernel.org and its mirrors but that is something else.
I would assume that the corruption is coming from downloading the files on one machine, burning to a cd and then copying them to the Slackware box. If you can download from the Slackware box I would do that as there is less chance for error. Sometimes files will get corrupted from one OS to another and going from one filesystem to another.
If your system is not bootable right now, you may want to boot from your Slack CD, mount your root partition and reinstall the 2 kernel packages. Then download the two newer versions and install them. Problems like these are why it is usually a good idea to installpkg the new kernels not upgradpkg them. Then make a new entry in lilo to boot both as options. That way if the new kernel is bad you can fall back on the old working one. Even if you do upgradepkg the new kernel. You must rerun lilo before rebooting, otherwise it will not reboot properly.
By the way 2.4.24 is now replaced by the following:
I hope this helps and that I have finally understood what you are asking. MOst of all be calm. Patience is a necessity when you do this stuff. When you get upset it clouds your mind and makes you more likely to make more errors.