Jump to content


HowTo Create and Use Mandrake Update CD


  • Please log in to reply
28 replies to this topic

#1 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 04:58 PM

This procedure describes HowTo- Create a Mandrake 9.2 update CD- Add the CD as a permanent update media- Add the original source as an additional update mediaThe procedures have been tested on Mandrake 9.1 (create CD) and Mandrake 9.2 (original ISO).Any updates will be applied to this initial post. Questions anyone?Note: This post last updated 2003-11-20 21:22 EST to improve/correct CD addmediaTo create the CD
# Create the CD - This procedure uses a new temporary directory to download the update files# and create the ISO for burning. The recommended ftp site for the files is ftp.nluug.nl.##  Create and change to new directorymkdir updatetmpcd updatetmp# Retrieve the update files using wget. This will create a Mandrake directory tree.wget  -nH  --cut-dirs=5  -r  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2# wget finished - should have about 378MB of downloaded files.# check downloaded file sizedu# check md5sums of all downloaded files# change to 9.2 directorycd Mandrake/updates/9.2# check all files. Should show OK for all files.md5sum -c md5sums# return to tmp directorycd ../../..# create ISO for burningmkisofs -R -o update92.iso Mandrake# burn the CD# first check your recordable device. On my system the device is 0,0,0cdrecord -scanbus# Now burn itcdrecord  dev=0,0,0  update92.iso##################### Finished on source system# Remove CD and mount in primary cdrom drive when 9.2 system booted####################
To use the CD
# On Mandrake 9.2 system# Make sure new Update CD inserted after boot# In konsolesuurpmi.addmedia  --update  Update92CD  removable://mnt/cdrom/updates/9.2/RPMS with ../base/hdlist.cz# That is it. The CD is now available as an update source
Now. MCC->Updates and apply all updates.And finally, to add ftp.nluug.nl as an additional update source. The Update92CD is removed and re-added as a regular source. Files will be downloaded from the CD in preference to the net where applicable.
# Make sure you are connected to the Internet before using this proceduresu# First remove the Update92CD as an update source and re-add it as a regular sourceurpmi.removemedia Update92CDurpmi.addmedia Update92CD removable://mnt/cdrom/updates/9.2/RPMS with ../base/hdlist.cz# Now add ftp.nluug.nl as an up to date update sourceurpmi.addmedia --update updates ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/RPMS/ with ../base/hdlist.cz

Edited by Owyn, 20 November 2003 - 10:25 PM.


#2 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 November 2003 - 05:00 PM

Excellent job Owyn . . . . as soon as it drops to page two I will post it in The Tips.:thumbsup: Bruno

#3 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 06 November 2003 - 05:02 PM

Excellent!  This one will definitely be one to keep handy.
Teacher
Beach Bum Extraordinaire

#4 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 05:05 PM

There have been some edits to the original post to get it into cut and pastable code blocks.

#5 OFFLINE   teacher

teacher

    Acute Mac

  • Honorary Moderators
  • 13,854 posts

Posted 06 November 2003 - 05:08 PM

You were quick.  I was going in to make code blocks and there they were!  Great minds think alike!   :thumbsup:
Teacher
Beach Bum Extraordinaire

#6 OFFLINE   quint

quint

    Linux Miner

  • Forum MVP
  • 3,898 posts

Posted 06 November 2003 - 05:14 PM

Fantastic, Owyn!! Thank you very much. :thumbsup:
~ ® Linux User # 314972 ~ ® Ubuntu User # 12930 ~

If you tell the truth you don't have to remember anything.
                -- Mark Twain



#7 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 05:14 PM

teacher, on Nov 6 2003, 04:08 PM, said:

You were quick.  I was going in to make code blocks and there they were!  Great minds think alike!   :thumbsup:
I just put in some other changes. Leave the edits to me and we should not get conflicting changes.

#8 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 06:31 PM

Added missing procedure to create additional ftp update source.No additional edits expected unless problems reported.

#9 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 21,237 posts

Posted 06 November 2003 - 06:32 PM

That's a great thing Owyn!And sure will make things much easier!  :thumbsup:
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#10 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 November 2003 - 06:43 PM

Owyn,As soon as the howto is bullet-proof and bugfree, we will have to post a link in the adoption thread. The adopters can then make such a CD for their adoptees . . . . just waiting until you are finished editing, give it a few days . . .  :lol::thumbsup: Bruno

#11 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 06:50 PM

Bruno, on Nov 6 2003, 05:43 PM, said:

Owyn,As soon as the howto is bullet-proof and bugfree, we will have to post a link in the adoption thread. The adopters can then make such a CD for their adoptees . . . . just waiting until you are finished editing, give it a few days . . .  ;)B) Bruno
No additional edits expected. But...I decided to post it now instead of waiting for new ISOs so that any questions could be resolved before the procedure is needed.BTW, one additional feature of this procedure is that the Update CD also contains the 21mdk kernel source.

#12 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 07:51 PM

Bruno:Looks like I was wrong about having multiple update sources. Need to finish testing but it looks like the correct final procedure is going to be:-remove the UpdateCD as an update source-add the UpdateCD as a normal sourceand then-add the ftp update source (along with the other sources).Found the problem when I was installing 21mdk.

#13 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 November 2003 - 07:56 PM

Owyn,Just checking if I get this right:So you add the Update CD as normal source . . . . . and call it updates-CD ? . . So you can find the packages in the "add spoftware" > "packages by medium repository" > "updates-CD" ? . . . How will you know what packages you need for your configuration ?See, the update button makes a list of the software on your PC and compaires it with the updates . . . then it displays only the updates needed for the software installed on your PCB) Bruno

Edited by Bruno, 06 November 2003 - 08:00 PM.


#14 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 08:01 PM

Bruno, on Nov 6 2003, 06:56 PM, said:

Owyn,Just checking if I get this right:So you add the Update CD as normal source . . . . . and call it updates-CD ? . . So you can find the packages in the "packages by medium repository" > "updates-CD" ? . . . How will you know what packages you need for your configuration ?B) Bruno
I call it "UpdateCD" to give it a unique name, ie. it becomes something like plf/Thacs, etc.The beauty is that urpmi is aware of which packages are available from the CD and will go to the CD for either "software installs" or "updates" in preference to ftp from the net.The current info from the net will describe which updates are applicable.

#15 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 November 2003 - 08:05 PM

Owyn, on Today Nov 6 2003, 06:56 PM, said:

The beauty is that urpmi is aware of which packages are available from the CD and will go to the CD for either "software installs" or "updates" in preference to ftp from the net.
Got it !! Good thinking !B) Bruno

#16 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 06 November 2003 - 08:14 PM

PS: Owyn, you will have to add a last remark to your original post then: They have to be conected even if they do the updates from CD, so the 'MCC-updater' can select where to get the updates from CD or ftp.B) Bruno

#17 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 06 November 2003 - 08:17 PM

Bruno, on Nov 6 2003, 07:14 PM, said:

PS: Owyn, you will have to add a last remark to your original post then: They have to be conected even if they do the updates from CD, so the 'MCC-updater' can select where to get the updates from CD or ftp.B) Bruno
You don't need to be connected to do the first update. All the info is on the CD. You will need to be connected for future updates after the update_source has been switched to the net.

#18 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 15 November 2003 - 11:12 AM

Header post updated to correct final procedure re ftp update source.Final for 9.2

#19 OFFLINE   mhbell

mhbell

    Forum Fiend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,923 posts

Posted 15 November 2003 - 01:12 PM

Thanks OwynThis type of info is greatly appreciated.Mel :devil:
Registered Linux User #239772
Open Suse 12.1 Gnome, Xfce, Cairo Dock, Cinnimon
Windows 7, Windows 8 Beta
Blogger: http://melpctec.blogspot.com/

#20 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 20 November 2003 - 10:35 PM

I had to do some system rebulds which involved re-install of Mandrake 9.2. Thought I would double check the update CD I had just created before sending  it to my adoptee. The CD should also speed up my installs.Got a couple of screwy problems. During the process of testing I determined that the addmedia for the CD could be improved.Change has been made on the header post.I also ran into an intermittent problem with urpmi.addmedia saying it could not mount the media. It may allready have been mounted.Not sure what exactly was causing the problem, but, the following seemed to fix it.# su# umount /mnt/cdrom# The umount may say that the device is not mounted. Ok.Then remove and re-insert the CD.I have now done 3 installs of Mdk92 tonight and still have two more to go. Will continue to test CD on the subsequent installs.Hopefully no more problems.

#21 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 21 November 2003 - 05:18 AM

Owyn, on Nov 21 2003, 03:35 AM, said:

I also ran into an intermittent problem with urpmi.addmedia saying it could not mount the media. It may already have been mounted.Not sure what exactly was causing the problem, but, the following seemed to fix it.# su# umount /mnt/cdrom# The umount may say that the device is not mounted. Ok.
Some more quirks of the famous automount . . . . it´s a long story with Mandrake and automount . . . . they invented it and still are struggling to get it to perfection :DI will change the Tip about the update CD adapting it to the latest version :) Thanks ! ( Update: done ! ):) Bruno

Edited by teacher, 21 November 2003 - 06:10 AM.


#22 OFFLINE   nlinecomputers

nlinecomputers

    Discussion Deity

  • No Longer a Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,932 posts

Posted 03 February 2004 - 03:28 PM

I try to run this script, the first one, and I get a "Failed ...Host not found"  Tried other FTP servers and get the same results.What's wrong here?
Nathan Williams, N-Line Computers

How to kill a programmer:  Give him a shampoo bottle.  Lather, Rinse, Repeat.

#23 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 03 February 2004 - 05:43 PM

nlinecomputers, on Feb 3 2004, 02:23 PM, said:

I try to run this script, the first one, and I get a "Failed ...Host not found"  Tried other FTP servers and get the same results.What's wrong here?
Worked fine earlier today.I started a fresh download and test of some different parameters before I went out.Worked fine. Finished 14:12 EST.
wget -m -nH --cut-dirs=5 ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2FINISHED --14:12:08--Downloaded: 786,658,104 bytes in 275 files[root@TestMdk92 hdb1]#
Just rechecked, and tested mirror setup, at same time. No problems.
[root@TestMdk92 Mdk92]# cat getupdt#!/bin/sh# getupdt: Get (mirror) Mdk92 Updates from nluugwget -m -nH --cut-dirs=5 ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2[root@TestMdk92 Mdk92]# ./getupdt--17:45:43--  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2           => `Mandrake/updates/.listing'Resolving ftp.nluug.nl... done.Connecting to ftp.nluug.nl[192.87.102.36]:21... connected.Logging in as anonymous ... Logged in!==> SYST ... done.    ==> PWD ... done.==> TYPE I ... done.  ==> CWD /pub/os/Linux/distr/Mandrake/Mandrake/updates ... done.==> PASV ... done.    ==> LIST ... done.    [ <=>                                                            ] 1,109        154.72K/s17:45:45 (154.72 KB/s) - `Mandrake/updates/.listing' saved [1109]--17:45:45--  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/9.2           => `Mandrake/updates/9.2/.listing'==> CWD /pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2 ... done.==> PASV ... done.    ==> LIST ... done.    [ <=>                                                            ] 390          190.43K/s17:45:45 (190.43 KB/s) - `Mandrake/updates/9.2/.listing' saved [390]Remote file no newer than local file `Mandrake/updates/9.2/descriptions' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/ls-lR' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/md5sums' -- not retrieving.--17:45:45--  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/RPMS/9.2           => `Mandrake/updates/9.2/RPMS/.listing'==> CWD /pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/RPMS ... done.==> PASV ... done.    ==> LIST ... done.    [  <=>                                                           ] 19,557        59.13K/s17:45:46 (59.13 KB/s) - `Mandrake/updates/9.2/RPMS/.listing' saved [19557]Remote file no newer than local file `Mandrake/updates/9.2/RPMS/GConf-1.0.9-13.1.92mdk.i586.rpm' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/RPMS/GConf2-2.4.0.1-2.1.92mdk.i586.rpm' -- not retrieving....Remote file no newer than local file `Mandrake/updates/9.2/RPMS/tcpdump-3.7.2-2.1.92mdk.i586.rpm' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/RPMS/totem-0.99.4-4.1.92mdk.i586.rpm' -- not retrieving.--17:45:47--  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/SRPMS/9.2           => `Mandrake/updates/9.2/SRPMS/.listing'==> CWD /pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/SRPMS ... done.==> PASV ... done.    ==> LIST ... done.    [ <=>                                                            ] 5,053         34.03K/s17:45:47 (34.03 KB/s) - `Mandrake/updates/9.2/SRPMS/.listing' saved [5053]Remote file no newer than local file `Mandrake/updates/9.2/SRPMS/GConf-1.0.9-13.1.92mdk.src.rpm' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/SRPMS/GConf2-2.4.0.1-2.1.92mdk.src.rpm' -- not retrieving....Remote file no newer than local file `Mandrake/updates/9.2/SRPMS/tcpdump-3.7.2-2.1.92mdk.src.rpm' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/SRPMS/totem-0.99.4-4.1.92mdk.src.rpm' -- not retrieving.--17:45:47--  ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/base/9.2           => `Mandrake/updates/9.2/base/.listing'==> CWD /pub/os/Linux/distr/Mandrake/Mandrake/updates/9.2/base ... done.==> PASV ... done.    ==> LIST ... done.    [ <=>                                                            ] 344          167.97K/s17:45:48 (167.97 KB/s) - `Mandrake/updates/9.2/base/.listing' saved [344]Remote file no newer than local file `Mandrake/updates/9.2/base/hdlist.cz' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/base/list' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/base/pubkey' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/base/synthesis.hdlist.cz' -- not retrieving.Remote file no newer than local file `Mandrake/updates/9.2/base/timestamp' -- not retrieving.FINISHED --17:45:48--Downloaded: 26,453 bytes in 5 files
Worked fine.

Edited by Owyn, 03 February 2004 - 06:57 PM.


#24 OFFLINE   nlinecomputers

nlinecomputers

    Discussion Deity

  • No Longer a Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,932 posts

Posted 03 February 2004 - 06:36 PM

Ok I think I may know what is wrong.  What ports does WGET use?  I may need to build a pipe from my router to my server.  (Never used WGET before).
Nathan Williams, N-Line Computers

How to kill a programmer:  Give him a shampoo bottle.  Lather, Rinse, Repeat.

#25 OFFLINE   Owyn

Owyn

    Posting Prodigy

  • Forum MVP
  • 2,068 posts

Posted 03 February 2004 - 06:38 PM

nlinecomputers, on Feb 3 2004, 05:31 PM, said:

Ok I think I may know what is wrong.  What ports does WGET use?  I may need to build a pipe from my router to my server.  (Never used WGET before).
Standard Passive FTP. No ports on the client.If you can FTP then you should be able to WGET.I am behind a router with no open ports and no DMZ.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users