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.
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.
If you want to patch a kernel as far as I know you HAVE to patch the SOURCE for the kernel and compile it afterwards to make your new patched kernel.
I donīt even know if there are kernels packaged for upgradepkg... but donīt see why not.
If you have a īslackware packageī with the kernel you want to install you shouldnīt need to burn it to any cd as an image... just straight burn the file to the cd.
Also... your not trying to use upgradepkg with a normal .tgz file, maby its not a slackware package your trying to install???
Jim..I did put the package straight on the CD. Ring, how am I misusing upgradepkg? I was trying to use upgradepkg to upgrade the modules and stuff for my system.
Hey Straterra if you want us to know why things arnīt working you need to tell us EXACTLY what you are doing like the exact commands you are typing... etc ect.
Also are you sure its a slackware package?? Where did you download it from?
Did you read the purpose of upgradepkg? If the above is clear read man upgradepkg. It is not a kernel tool per se. It is for replacing an old software package with a a newer version (generally).
You have not answered any of the questions put to you regarding what you are doing? So it is hard to help you any further.
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.
Thanks for the help. The problem is that I need at least 2.4.24 so I can install drivers for my WIFI card. Maybe I will download the files on my Mandrake machine and try to burn them from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.