LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mandrake upgrade (https://www.linuxquestions.org/questions/linux-general-1/mandrake-upgrade-222612/)

Mrcdm 08-26-2004 07:30 AM

Mandrake upgrade
 
Hi folks
I've been running mdk 9.0 quite happily for a while on a server at home. It serves dhcp, dns, web proxy, windows shares, pop3, smtp and ssh. I want to install a wireless card, a belkin something cheap that needs ndiswrappers. The card works perfectly under a more up-to-date distro so no probs there. The default kernel on mdk is 2.2.??. So I upgraded and recompiled a 2.4.22 kernel that runs great. Using the wireless tools (version 24) package reports version errors in ndiswrapper build. I tried updating the wireless tools suite only to find it wants other thing updated. I think this is what they call rpm hell. Debian you just dist-upgrade and end of story. Is there an easy way to automatically update the required items or do I have to download 3 cdroms and do an upgrade that way?

Any suggestions are welcomed.

Thanks

Chris

bluefire 08-27-2004 03:18 PM

The best way to deal with Mandrake is synaptic. To do this:

1) [as root] urpmi synaptic
It'll probably want to pull down apt, etc etc; accept whatever it wants.
2) Go to the "easy urpmi" web site http://plf.zarb.org/~nanardon/ and generate the info for each of contrib, updates and main (and plf, if you want).
DO NOT run the commands it tells you to (waste of time); what you're interested in is the ftp urls, and the hdlists.
DO NOT run synaptic yet, unless you want to use the Cooker repositories it comes set up with.
If you're feeling adventurous, you can generate the easy urpmi for 10.0; I have done this once (from 9 to 9.2) and with a little fiddling, it works OK. However, if you just want to keep your system up to date, generate for 9.0.
3) [As root] edit /etc/apt/sources.list
Kill all repository lines but one (leave one for example); paste/convert easy urpmi's ines into it; e.g.
urpmi.addmedia --update updates ftp://gd.tuwien.ac.at/pub/linux/Mand...ates/10.0/RPMS with ../base/hdlist.cz
should be, in sources.list, something like
rpm ftp://gd.tuwien.ac.at/pub/linux/Mand...ates/10.0/RPMS ../base/hdlist
NB that the .cz is not needed.
4) Run synaptic; go to preferences, repositories; make sure that only the 3 or 4 you added are active.
5) Click "update list". There are two stages; the first stage will probably fail (3 or 4 times); the second stage should work. If the second stage doesn't work, post your /etc/apt/sources.list file here.
6) Click "upgrade system" and then "execute".

Synaptic is 20x better than rpmdrake, although IME urpmi is about as good as apt. It's well worth switching.

bluefire 08-27-2004 09:07 PM

Here's a working sources.list file. For some reason, the plf urls are incorrect from easy urpmi; I had to adjust accordingly.

You can replace steps 2 and 3 (above) with:

Paste the following into a file called /etc/apt/sources.list [as root]


# plf1

rpm ftp://ftp.samizdat.net/plf/mandrake/10.0/ hdlist i586

# updates 1
# rpm ftp://distro.ibiblio.org/pub/Linux/d...tes/10.0/RPMS/ ../base/hdlist .

# main 1
# rpm ftp://distro.ibiblio.org/pub/Linux/d...Mandrake/RPMS/ ../base/hdlist .

# contrib 1
# rpm ftp://distro.ibiblio.org/pub/Linux/d.../contrib/i586/ ../../i586/Mandrake/base/hdlist2 .

# updates 2
rpm ftp://mirrors.secsup.org/pub/linux/m...tes/10.0/RPMS/ ../base/hdlist .

# main 2
rpm ftp://mirrors.secsup.org/pub/linux/m...Mandrake/RPMS/ ../base/hdlist .

# contrib 2
rpm ftp://mirrors.secsup.org/pub/linux/m.../contrib/i586/ ../../i586/Mandrake/base/hdlist2 .

Mrcdm 08-27-2004 09:41 PM

Thanks bluefire. I'll give it go and give feedback.


All times are GMT -5. The time now is 09:09 AM.