LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2004, 07:30 AM   #1
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Rep: Reputation: 15
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
 
Old 08-27-2004, 03:18 PM   #2
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Rep: Reputation: 30
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.
 
Old 08-27-2004, 09:07 PM   #3
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Rep: Reputation: 30
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 .
 
Old 08-27-2004, 09:41 PM   #4
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks bluefire. I'll give it go and give feedback.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade Mandrake MAGOVIA Linux - Newbie 8 02-02-2005 03:59 PM
mandrake 10.0 official vs. mandrake 9.0 is it worth the upgrade? Perquisitor Mandriva 7 07-14-2004 12:28 PM
Should i upgrade from mandrake 10 community to mandrake 10 official? Braveheart1980 Mandriva 7 06-21-2004 01:49 PM
Mandrake upgrade Fatkat Mandriva 6 11-05-2003 05:42 PM
Need Help with Mandrake Upgrade Jason_25 Linux - Distributions 8 03-20-2002 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration