Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 398

Thread: How To: Make Your Own Ubuntu Repository DVDs

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Montreal, Canada
    Beans
    525

    Arrow Make Your Own Ubuntu Repository DVDs

    How to make your own Ubuntu Repository DVDs

    preamble
    Corrections and fixes submitted by the community are added and credited within the main tutorial. However, many of the posts that follow add great ideas. Please feel free to browse. But this first post should have all you need in terms of accomplishing the task at hand. And a big thanks to the brilliant souls who've added so many detailed and beautifully formatted ideas!

    EDIT: This tutorial has fallen behind a bit. A clean up will begin shortly.



    note
    Sensiva reports that 9.10 Karmic Koala has an issue with this, stemming from a bug in apt:

    Let me describe it in details. If I want to install a program that needs more than one package, and those packages are located on different DVDs, APT used to fetch then install then ask for the next disc. But with Karmic, after fetching it doesn't install, it prompts for the next discs... etc and then starts installation, the packages currently in the last disc in the drive are installed, then giving an error about the other packages which are located in the previous discs because they are not there. Its not a problem in the discs, I think its APT behavior itself that should be changed. Unfortunately I don't know how to adjust this way of APT in Karmic. but a workaround for this is pointing APT to the local repos already downloaded on the harddrive and not using the created DVDs. I have tested it and worked fine.

    ! What's The Point Of This Tutorial?

    A local set of repositories proves useful for friends and family who have slow or no bandwidth. Assembled from various sources (see the references below) these steps should create Ubuntu repository DVDs to share or keep in storage, however the need arises.

    What level experience do you need?

    I've tried to conform to the tutorial rules. However, the very nature of this tutorial requires a bit more thinking than simply copying and pasting. Feel free to post a question about some step that may not work right for you. But the idea is to reduce the amount of text in the tutorial within reason by not detailing each step.

    Hard Disk Requirements (Please Read This)

    Roughly 45 gigabytes free hard drive space: to store the complete set of .deb files Ubuntu offers; to create four DVD ISOs; left-over space for the function of the PC. Now, in a day and age of the 1 terabyte drive... this may not be a huge consideration any more. But if your drive is smaller than 60 Gb, this download will take its toll. Download sizes alone (not including space required to make DVD ISOs):
    4.10 - Warty Warthog: 9.72 GB
    5.04 - Hoary Hedgehog: 11.53 GB
    5.10 - Breezy Badger: 12.17 GB
    6.06 - Dapper Drake: 15.71 GB
    6.10 - Edgy Eft: 17.46 GB
    7.04 - Feisty Fawn: 19.90 GB
    7.10 - Gutsy Gibbon: 24.81 GB
    8.04 - Hardy Heron: 28.85 GB
    8.10 - Intrepid Ibex: 26.72 GB
    9.04 - Jaunty Jackalope: 27.53 GB
    9.10 - Karmic Koala: 32.11 GB
    10.04 - Lucid Lynx: 32.29 GB
    10.10 - Maverick Meerkat: 39.38 GB
    11.04 - Natty Narwhal: 40.00 GB
    11.10 - Oneiric Ocelot: 42.79 GB
    Well, you get the point. From Warty to Oneiric we went from roughly 10 Gb to 43 Gb.
    Index
    01. Install the necessary tools covers what you'll need to get started.
    02. Extract debcopy is not necessary to do first, but we get it out of the way at the beginning.
    03. The Big Download has the command necessary to download the desired repositories. Make your changes according to the type you need.
    04. Divide into DVD-sized portions prepares the files to make the DVDs.
    05. Create ISOs finishes what began in step 4.
    06. Burning the ISO files covers how to write the files to blank discs.
    07. Getting It All To Work is the instructions on how to tell Ubuntu to use the DVDs as a source for installing new software.
    08. Updating the local repositories shows how to keep what you've downloaded up-to-date.
    09. Pointing Apt locally shows you how to use what you've downloaded to your own advantage (should you decide to keep it around).
    10. You only want a setup DVD? is a link to Ubuntu setup DVDs for download.
    11. FAQs answers some frequently asked questions.
    Q1: How would I do this through DOS/Windows?
    Q2: Why don't I skip this mess and download pre-made DVD ISOs?
    Q3: What if I wanted to combine or add in more repositories? Something like Canonical Commercial? Or MediBuntu?
    Q4: How to get "debmirror" to download and validate the "Release.gpg" file.
    Q5: How do I setup a local Ubuntu mirror from a set of Repository DVDs?
    12. Classic Ubuntu Repository Downloads. Warty? Hoary? Breezy? Feisty, anyone? Don't fret about older editions disappearing. Help is right here.
    13. References gives credit where credit is due - and links
    14. Mission, Vision & Values (very boring)
    1. Install the necessary tools

    Open a terminal (from the top-left side of the Ubuntu screen: Applications Accessories Terminal). Please do not close this application throughout the length of this tutorial.

    Copy the following code and paste it into the terminal.
    Code:
    sudo apt-get install debmirror liblockfile-simple-perl liblog-agent-perl ruby mkisofs dpkg-dev libdigest-sha1-perl libruby libzlib-ruby
    Hit the Enter key after pasting. (A quick way to "paste" text into the terminal is to hold down the following keys Ctrl+Shift+V, or right click in the terminal and click Paste in the context menu.)

    While debpartial is still in the repositories (big fancy phrase that means: this is an official and valid Ubuntu file), starting with Hardy Heron, it is not considered part of Hardy Heron or newer -- it is 100% compatible. Provided below is the link to the necessary software:
    >> CLICK HERE << to download DebPartial from Canonical.
    Once saved on the desktop, double-click the file and extract debpartial to your home directory/folder.


    2. Extract debcopy

    The debcopy file is included in debpartial (downloaded and installed in Step 1). Let's extract it now for later use. Please paste the following code into the Terminal:
    Code:
    cp /usr/share/doc/debpartial/examples/debcopy.gz ~
    Code:
    gunzip ~/debcopy.gz
    3. The Big Download

    Use this code to start downloading Lucid Lynx's repository files:
    Code:
    debmirror --nosource -m --passive --host=archive.ubuntu.com --root=ubuntu/ --method=http --progress --dist=lucid,lucid-security,lucid-updates,lucid-backports, --section=main,restricted,universe,multiverse --arch=i386 ~/UbuntuRepos --ignore-release-gpg
    To see the whole code with some brief explanations:
    Code:
    debmirror \
        --nosource -m --passive \
        --host=archive.ubuntu.com \ (select a faster repository if need be)
        --root=ubuntu/ --method=http --progress \
        --dist=lucid,lucid-security,lucid-updates,lucid-backports, \
        --section=main,restricted,universe,multiverse \
        --arch=i386 ~/UbuntuRepos \ (this puts our files in /home/USER/UbuntuRepos)
        --ignore-release-gpg
    Some variables in blue.


    • Want a detailed explanation of this command? CLICK HERE. (links to a post in this thread.)
    • Be forewarned: this can take a long time, perhaps 24 or so hours. Downloading individual files is slow.

    Did the download stop midway?
    Press the up cursor key on your keyboard and the command should re-appear. Hit Enter and the download will pick up where it last left off.

    Regular network glitches?
    Try adding one of the following argument(s) to the command (the number following "-t" is the length of time -- in seconds -- before the retry begins) :

    Code:
    --timeout=seconds -t 120
    The "120" means 120 seconds or 2 minutes. Increase it to 4 minutes, for example, like this:
    Code:
    --timeout=seconds -t 240
    4. Divide into DVD-sized portions

    Part 1:

    • Note: If you changed repositories in Step 3 then the following command will require editing:

    Code:
    debpartial --nosource --dirprefix=ubuntu --section=main,restricted,universe,multiverse --dist=lucid,lucid-security,lucid-updates,lucid-backports --size=DVD ~/UbuntuRepos ~/UbuntuDVDs
    1. Replace the red lucid in the code above with your repository choice (i.e., intrepid, jaunty or karmic).

    2. If you plan on burning CDs instead of DVDs, then replace --size=DVD with --size=CD74 (for 650 megabyte CD-Rs), or --size=CD80 (for 700 megabyte CD-Rs)

    Part 2:
    How many CDs will we need to create? How do we find out? Paste this code in the Terminal and hit Enter:
    Code:
    ls -l ~/UbuntuDVDs
    If the last folder is ubuntu3 you need to create 4 DVDs. If the last folder is ubuntu4 then it will be 5 DVDs, and if the last folder is ubuntu31, you'll need to create 32 CDs, and so on. NOTE: Oneiric's repository size = 42.79 Gb. You're going to need a large stack of CDs.

    Having determined the number of physical discs you'll need, use the following as your pattern until all discs are complete (the only change from one to the next is the final number). These represent Lucid Lynx's requirements:

    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu0
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu1
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu2
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu3
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu4
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu5
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu6
    Code:
    ruby ~/debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu7
    5. Create ISOs

    These instructions assume you've got enough data to make 8 DVDs. If you've downloaded repositories that do not need an 8th DVD, none will be created.

    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 1/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd1.iso ~/UbuntuDVDs/ubuntu0
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 2/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd2.iso ~/UbuntuDVDs/ubuntu1
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 3/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd3.iso ~/UbuntuDVDs/ubuntu2
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 4/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd4.iso ~/UbuntuDVDs/ubuntu3
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 5/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd5.iso ~/UbuntuDVDs/ubuntu4
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 6/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd6.iso ~/UbuntuDVDs/ubuntu5
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 7/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd7.iso ~/UbuntuDVDs/ubuntu6
    Code:
    mkisofs -f -J -r -V "Ubuntu 10.04 8/8" -o ubuntu-10.04-$(date -I)-complete-i386-dvd8.iso ~/UbuntuDVDs/ubuntu7
    Note: If you changed repositories in Step 3 then each command above will require editing. Replace the version number of 10.04 with:
    • 9.04 for jaunty and 9.10 for karmic, 10.10 for maverick
    • i386 for amd64, powerpc or sparc


    • If you're committed to creating CD-R ISOs (detailed in Step 4) then make the following changes:
      • replace -dvd1.iso with -cd1.iso
      • replace -dvd2.iso with -cd2.iso (and so on until all 50 or so CD-R ISOs are completed)



    6. Burning the ISO files

    Using Ubuntu (Link)

    1. Insert a blank CD into your burner. A "CD/DVD Creator" or "Choose Disc Type" window will pop up. Close this, as we will not be using it.
    2. Browse to the created ISO image in the file browser
    3. Right click on the ISO image file and choose Write to Disc.
    4. Select the write speed. It is recommended that you write at the lowest possible speed.
    5. Start the burning process and repeat these steps until all ISOs are done.


    Using Kubuntu (Link)

    1. Find the ISO image in the file browser (available at System Menu > Home Folder on bottom of the screen next to KMenu.)
    2. Right click on the ISO → Actions → Write CD Image with K3b...
    3. K3b will now automatically verify the md5sum, make sure these match.
    4. Place Blank CD in burner and click on start.


    Using Xubuntu (Link)

    1. Launch the burning tool, xfburn (available at Applications → Accessories → xfburn.)
    2. Choose from the main toolbar, or from the menu Actions the option "Burn CD Image",
    3. From the Burn CD Image dialog box, click over (None) from "image to burn", and find the ISO image in the file browser
    4. In the dialog, click 'Burn Image'.


    7. Getting it all to work

    There are two ways to add a DVD/CD to your repository list:
    "KPackageKit" and "Adept"

    Kubuntu's built-in package managers seem to have difficulties with adding CD/DVD ROMs to the list of available system packages. Try using the "Terminal" solution.

    Synaptic:

    Open Synaptic Package Manager (System Administration Synaptic Package Manager). Enter your password. From the menu: Edit Add CD-ROM.... and follow the clearly written instructions in each dialog box. Repeat until all your media (DVDs, CDs) have been entered. Should this fail, try the following.

    Terminal:

    Open a Terminal
    (Applications Accessories Terminal) and enter the following command:
    Code:
    sudo apt-cdrom add
    Insert the first disc and follow the instructions (it will ask you to name each disc). When apt-cdrom is finished with the disc, eject it with
    Code:
    eject
    (yeah, just type it in and hit Enter) and insert the next and use the same command. Repeat the process per disc.

    Once the last disc is done, enter this code in the Terminal:
    Code:
    sudo apt-get update
    followed by
    Code:
    sudo apt-get upgrade
    which will update your system if any newer files are available. You can now open Synaptic Package Manager to use tens of thousands of packages.

    (To be added: how to remove previously added DVD/CD entries in apt when old discs are replaced with new, as well as correcting any goofs that occur when incorrectly labeling the discs, etc.)
    8. Updating the local repositories (i.e., "Now what!?")

    Now that you have gigabytes of .deb files all tucked neatly into the ~/UbuntuRepos folder... what on earth do you do to keep it updated? Start again? Sort of. Read on...

    Open the Terminal (Applications → Accessories → Terminal) and go to the folder where you initially ran debmirror (by default: your home folder) and run the command in Step 3 again. This only makes an incremental update consuming roughly 10 minutes instead of 25 hours. Run this daily and ISO creation won't have the added bore of a long download.

    If new DVDs are required or desired, delete your original .iso files (in your home folder) and run steps 5 through 7 to recreate them.

    9. Pointing Apt locally

    luvr has a tutorial entitled "Creating a Trusted Local Repository from which Software Updates can be installed" that is more detailed than my addition. CLICK HERE for this Ubuntu Forums HOWTO. It begins with:
    "If you manage multiple PCs running Ubuntu, you will likely want to keep them all updated. Thus, you will want to install the Ubuntu updates to each of them as they become available, and you will have each PC individually download all of the updates from the Ubuntu repositories on the internet. This may, however, be impractical to you—particularly if, e.g., you are on a rather slow internet connection, or if your monthly data transfer volume is severely limited, or if you simply prefer to save the bandwidth."
    Credit=Geochelone

    It is possible to use the files you've downloaded as your own local repository. It can be used for updates and installing new packages. But this will only work well if you keep these files up-to-date. If not, you will fall behind in security updates.

    With that out of the way let's proceed. Enter the following code in the terminal:

    Code:
    cd ~/UbuntuRepos && dpkg-scanpackages . /dev/null > Packages && gzip Packages && cd ~
    This creates the necessary files for apt to know what is in your local repositories.

    Once completed insert the following into your sources.list file:
    Code:
    deb file:/home/[USER NAME HERE]/UbuntuRepos/ lucid main multiverse restricted universe
    Code:
    deb file:/home/[USER NAME HERE]/UbuntuRepos/ lucid-security main multiverse restricted universe
    (CREDIT: xfile087)

    NOTE: Don't forget these two things:

    1. modify these lines for jaunty or karmic
    2. put hash marks (#) before each Internet repository line you no longer require. Example:

      Code:
      # deb http://archive.ubuntu.com/ubuntu hardy-backports main restricted universe multiverse


    10. You only want a setup DVD?

    Head over to this link and select the corresponding Ubuntu suite you desire.
    The difference between the Ubuntu setup CD and the Ubuntu setup DVD is how much of the repositories are on the setup disc. The DVD contains quite a bit more, most of "Main" if I'm not mistaken. However, if you have the repository DVDs handy, a setup DVD is redundant and not recommended. Save your bandwidth and don't bother. However, if you want a snazzy setup DVD, try this on for size:

    Click here: Ultimate Edition

    Click here: SuperOS


    11. F.A.Qs

    Question 1: How would I do this through DOS/Windows?

    Answer 1. I... honestly... don't... know. I can't imagine how tedious it would be to try to assemble all this file by file. If you're a dual-booter or you've got faster bandwidth on a Windows machine elsewhere then I understand your dilemma. debmirror is the binary that does all the work. I cannot imagine that anyone has made a port for Windows. Until someone shows me a blog that tells Windows users how to accomplish this I suggest looking at the solutions in Q2.

    Answer 2. This is a "round about" way of using a Windows PC where the bandwidth is fast. Try using the Ubuntu setup CD in "Live User Mode". Follow the instructions in this tutorial and use the Windows Hard Drive as your destination. Well, look. I didn't think it would be easy, just... sorta... possible.

    __________________________________

    Question 2: Why don't I skip this mess and download pre-made DVD ISOs?

    Answer 1. Pre-made DVD ISOs are fine for a single, never-to-be-repeated download (if time is an issue). Here's the difficulty: to get updates means downloading the ISOs again (sorta time consuming). If a single ISO download is right for you -- use this link: ftp://ftp.leg.uct.ac.za/pub/linux/ub...-packages-dvd/

    Answer 2. Modem connections make this tutorial impossible regardless the O/S. Consider purchasing inexpensive DVD ISOs from an online vendor. Examples are:


    They will provide exactly what you need: Ubuntu Repository DVDs with setup disks - perfect for that off-line PC. These companies will ship these discs right to your door for a small fee (no affiliation with the author).

    __________________________________

    Question 3: What if I wanted to combine or add in more repositories? Something like Canonical Commercial? Or MediBuntu?

    Answer. Don't do it!

    OK. Now that I've got your attention... let me say that jocose says you can. But you must follow his instructions here. Please note: these instructions have not been tested in our labs at Muppet Central. Advance at your own risk.

    For those of you who want to mess around and don't mind burning an extra CD or two, continue reading:
    debmirror will only erase your original files. You must change the name of the download folder(s). Let me explain and illustrate.
    This is what debmirror appears to do when run:

    1. debmirror receives the file list from the server within the command line (archive.ubuntu.com, for example).
    2. debmirror then looks for the "destination" folder. If it doesn't exist, it creates it.
    3. if debmirror finds that the destination folder already exists it compares the files it finds with the remote server's file listing.
    4. debmirror then carefully erases everything in the destination folder that is not an exact match with that list.
    5. debmirror downloads files it deems are missing in the destination folder.


    If you are updating a local set of files, this is a good thing. But if you choose a different server, this is a bad thing.

    The quick way to add files from different servers (such as MediBuntu and Canonical) is to put the additional files in unique folders. Examples: ~/MediBuntuRepos and/or ~/CanonicalRepos (your folder names may vary). Then replace ~/UbuntuRepos in each command.

    If you're feeling confused by the above description and you just want to start downloading, the following steps show how to create Canonical and Medibuntu CD sets:

    Canonical Repos
    Code:
    debmirror --nosource -m --passive --host=archive.canonical.com --root=/ --method=http --progress --dist=lucid,lucid-backports,lucid-proposed,lucid-security,lucid-updates --section=partner --arch=i386 ~/CanonicalRepos --ignore-release-gpg
    Code:
    debpartial --nosource --dirprefix=ubuntu --section=partner --dist=lucid,lucid-backports,lucid-proposed,lucid-security,lucid-updates --size=CD80 ~/CanonicalRepos ~/CanonicalRepos/CD
    Code:
    ruby debcopy -l ~/CanonicalRepos ~/CanonicalRepos/CD/ubuntu0
    Code:
    mkisofs -f -J -r -V "Canonical" -o ubuntu-7.10-$(date -I)-Canonical.iso ~/CanonicalRepos/CD/ubuntu0
    Replace lucid with intrepid, jaunty or karmic.

    Architecture options = amd64, powerpc or sparc

    MediBuntu Repos
    Code:
    debmirror --nosource -m --passive --host=packages.medibuntu.org --root=/ --method=http --progress --dist=lucid --section=free,non-free --arch=i386 ~/MediBuntuRepos --ignore-release-gpg
    Code:
    ruby debcopy -l ~/MediBuntuRepos ~/MediBuntuRepos/CD/ubuntu0
    Code:
    mkisofs -f -J -r -V "MediBuntu" -o ubuntu-7.10-$(date -I)-MediBuntu.iso ~/MediBuntuRepos/CD/ubuntu0
    Replace lucid with intrepid, jaunty or karmic.

    Architecture options = i386, amd64, powerpc

    (To add MediBuntu to your personal repositories: https://help.ubuntu.com/community/Me...07a38a00d70e9f)

    Google Repos
    Code:
    debmirror --nosource -m --passive --host=dl.google.com --root=/linux/deb/ --method=http --progress --dist=stable --section=non-free --arch=i386 ~/GoogleRepos --ignore-release-gpg
    The Google directories appear... then disappear. This is the last directory address I have.

    __________________________________

    Question 4: How to get "debmirror" to download and validate the "Release.gpg" file.

    Answer. I don't know!!! But luvr does. Thanks for the addition.

    luvr tackles this question with this patient and well laid out post: Click Here.

    __________________________________

    Q5: How do I setup a local Ubuntu mirror from a set of Repository DVDs?

    Answer. I just don't know!!! But luvr does. Thanks for the addition.

    luvr tackles this question with this patient and well laid out post: Click Here.


    __________________________________

    12. Classic Ubuntu Repository Downloads

    For anyone who is interested for whatever reason... be it nostalgia, business, just plain techno geek, or reasons you would probably not want everyone to know, here are example codes for the classic repositories.

    Warty Warthog on the i386 architecture:

    Code:
    debmirror --nosource -m --passive --host=old-releases.ubuntu.com --root=ubuntu/ --method=http --progress --dist=warty,warty-security,warty-updates,warty-backports, --section=main,restricted,universe,multiverse --arch=i386 ~/WartyRepos_i386 --ignore-release-gpg
    Warty Warthog on the 64-bit AMD architecture:

    Code:
    debmirror --nosource -m --passive --host=old-releases.ubuntu.com --root=ubuntu/ --method=http --progress --dist=warty,warty-security,warty-updates,warty-backports, --section=main,restricted,universe,multiverse --arch=amd64 ~/WartyRepos_amd64 --ignore-release-gpg
    Doing it this way clearly defines a different folder for each repository set. Note the coloured text can be changed to suit the version, architecture, and output folder as per your original tutorial method.

    Please note a few points:

    1. Don't mix repositories. If you have enough free hard drive space to keep these repositories around then put each version's files in a different folder (fear not: they're not being updated any more: what you download never needs to be updated). Here we've used "~/UbuntuReposWartyi386" and "~/UbuntuReposWartyAMD64" and not "~/UbuntuRepos". All contents of ~/UbuntuRepos will be wiped to accommodate the new download. We encourage a folder for each version, e.g. Wartyi386, WartyAMD64, Hoaryi386, HoaryAMD64, etc.

    2. the architectures currently available in each (old.release) version are:

    • 4.10 (Warty Warthog); i386, amd64, ppc.
    • 5.04 (Hoary Hedgehog); i386, amd64, ppc, ia64, sparc.
    • 5.10 (Breezy Badger); i386, amd64, ppc, ia64, sparc.
    • 6.10 (Edgy Eft); i386, amd64, ppc, ia64, sparc.
    • 7.04 (Feisty Fawn); i386, amd64, ppc, sparc.
    • 7.10 (Gutsy Gibbon); amd64, armel, hppa, i386, ia64, lpia, powerpc, sparc.
    • 8.04 (Hardy Heron)

    CREDIT: k3lt01

    If you're still running a classic copy of Ubuntu and want to install software, change your sources.list file to reflect that release. If it would be Warty Warthog, 4.10, you'd use the following:

    Code:
    ## EOL upgrade sources.list
    # Required
    deb http://old-releases.ubuntu.com/ubuntu/ warty main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ warty-updates main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ warty-security main restricted universe multiverse
    
    # Optional
    #deb http://old-releases.ubuntu.com/ubuntu/ warty-backports main restricted universe multiverse
    #deb http://old-releases.ubuntu.com/ubuntu/ warty-proposed main restricted universe multiverse
    Source: https://help.ubuntu.com/community/EOLUpgrades

    13. References

    This tutorial was pieced together from:

    • Ramon's original tutorial has vanished. It was last seen at http://cargol.net/~ramon/ubuntu-dvd-en. It was very basic and designed for Warty Warthog. Then I found...
    • How to Make Ubuntu DVDs by Burt (significant modifications to Ramon's tutorial. Bert's instructions were brought to this forum for a local reference. Thanks Burt for improving on Ramon's original.)


    The tutorial was updated with the help of the thoughtful comments by forum friends ... and I may have polished it up a bit. I take responsibility for all errors and give credit to contributors for all accuracies.

    Other related links:



    14. Mission, Vision & Values

    • My mission was to put the repository tutorial here in the Ubuntu Forums, to include extra elements and ensure that those with basic Ubuntu experience could accomplish this. This tutorial was added to this Forum for these reasons:
      1. The original tutorial disappeared.
      2. The original tutorial did not reflect Ubuntu's 6-month updates or the changes the tutorial needed due to the difference in the size of the growing repositories, etc.
      3. The original tutorial tutorial only focused on i386.

    • My vision is to keep it maintained (the repositories are forever changing, making this necessary), improve its wording, answer questions that arise due to the lack of clarity that perpetually plagues the text.
    • My values cover only active versions, with a focus on the most recent Long Term Support distribution. Support for abandoned ("unsupported") editions or future alpha/beta ("unstable") editions must be maintained by forum members who feel the need to have these. Please do not perceive my refusal to work on these as a personal affront. Send me the codes. I'll add them and credit the author.
    • Note: k3lt01 has stepped up to the plate and has sent me the codes for the classic (i.e., discontinued) distros. Should you encounter problems with these codes, let me know and I'll fix 'em.
    Last edited by BobSongs; December 22nd, 2011 at 03:41 AM. Reason: updated command & repo sizes.

  2. #2
    Join Date
    Apr 2006
    Location
    Philippines
    Beans
    72
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Hello Bobsong. Thanks for the how to. I was trying to build an amd64 DVD. I performed your scripts and all went well until i reached the part where i have to divide the download into dvd size chunks. it kept looking for i386 package.gz. Luckily i've figured out that i have to modify a bit your command line for debpartial by adding --arch=amd64. and it went well.

    Thanks again. Im going onto the next step.

  3. #3
    Join Date
    Nov 2005
    Location
    Montreal, Canada
    Beans
    525

    Angry Re: How To: Make Your Own Ubuntu Repository DVDs



    You caught me. Okie dokie. I'll fix the tutorial.
    Last edited by BobSongs; February 4th, 2008 at 06:16 AM. Reason: removed unnecessary words.

  4. #4
    Join Date
    Mar 2007
    Beans
    70

    Re: How To: Make Your Own Ubuntu Repository DVDs

    ABOUT REPOSITORIES...

    Ive been trying to enable repositories in my software sources list but cant even find threads that deal only with that subject. Can you help? When I 'Reload' repositories I get a list of seven that can't be enabled because theres no public key or they cant be found online. When I try to locate a public key, Im given a list of directories on my hard drive. So? What can I do? Just for clarity, the list is below:
    ================================================== ===============================

    GPG error: http://www.fbreader.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B5FC5445BA702101
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...kports/Release Unable to find expected entry multiverse./binary-i386/Packages in Meta-index file (malformed Release file?)
    Failed to fetch http://ppa.launchpad.net/openoffice-...rce/Sources.gz 404 Not Found
    Failed to fetch http://ppa.launchpad.net/openoffice-...86/Packages.gz 404 Not Found
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Some index files failed to download, they have been ignored, or old ones used instead.
    ================================================== ===========================

    I hope you can help.

    Thank you,

    Geoffree

  5. #5
    Join Date
    Aug 2007
    Location
    Cairo - Egypt
    Beans
    71
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Quote Originally Posted by geoffree View Post
    I hope you can help.

    Thank you,

    Geoffree
    Your question is off-topic, you may start a new thread, mentioning which release of Ubuntu you are running (Jaunty or Karmic...etc) and including your /etc/apt/sources.list. Sure we will be able to help

    P.S. deb repos line in sources.list should be in this form (e.g. Karmic)
    Code:
    deb http://archive.ubuntu.com/ubuntu karmic main multiverse restricted universe

  6. #6
    Join Date
    Oct 2007
    Location
    Australia
    Beans
    1,715
    Distro
    Ubuntu Development Release

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Quote Originally Posted by geoffree View Post
    ABOUT REPOSITORIES...

    Ive been trying to enable repositories in my software sources list but cant even find threads that deal only with that subject. Can you help? When I 'Reload' repositories I get a list of seven that can't be enabled because theres no public key or they cant be found online. When I try to locate a public key, Im given a list of directories on my hard drive. So? What can I do? Just for clarity, the list is below:
    ================================================== ===============================

    GPG error: http://www.fbreader.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B5FC5445BA702101
    Failed to fetch http://archive.ubuntu.com/ubuntu/dis...kports/Release Unable to find expected entry multiverse./binary-i386/Packages in Meta-index file (malformed Release file?)
    Failed to fetch http://ppa.launchpad.net/openoffice-...rce/Sources.gz 404 Not Found
    Failed to fetch http://ppa.launchpad.net/openoffice-...86/Packages.gz 404 Not Found
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Failed to fetch http://archive.ubuntu.com/dists/karm...86/Packages.gz 404 Not Found [IP: 91.189.88.40 80]
    Some index files failed to download, they have been ignored, or old ones used instead.
    ================================================== ===========================

    I hope you can help.

    Thank you,

    Geoffree
    Hi Geoffree. I agree with Sensiva a little bit. There are many threads on this issue you just need to look a little harder for them or start your own in Absolute Beginners Talk.

    I'll give you another hint that will help people to help you and that is to learn how to put things like your sources list etc into a code box. It takes up less space and people will be able to see the whole line easily. To do this you need to type {code} before the text you want in the code box and {/code} after the text you want in the code box. One important thing you need to do is change the { and } for [ and ] otherwise it wont look like this
    Code:
     this is what a code box looks like
    it will just look like this {this isn't what a code box looks like}

    Now to your question, it is highly possible the OpenOffice ppa has changed so it may be an invalid source now.

    Check out these links.
    https://help.ubuntu.com/community/Repositories
    https://help.ubuntu.com/community/Repositories/Ubuntu
    https://help.ubuntu.com/community/Re...es/CommandLine
    http://ubuntuforums.org/showthread.php?t=1310679
    Ubuntu User 23142 | Wiki | Laptop | HowTo:Create a background slideshow and Screensaver | Reconditioning pre-loved PCs and installing Ubuntu to give away to good homes.

  7. #7
    Join Date
    Mar 2007
    Beans
    70

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Thank you for replying. I do know what a code box looks like and how to set out code lists. I pasted the list of repos I got on the error message (after typing "reload repositories") in order to clarify what I was dealing with.
    I posted as I did after trying to find previous threads relating to repositories. My search terms had been on the order of: "how to enable repositories" but I got back a jumble of topics that were totally off subject.
    It seems that the search engines here at Ubuntu are not exactly up to par. Or maybe you could suggest the appropriate way to print terms in order to address more exactly the problem described here and to either find a thread or begin a new one.

    An element in the error msg was that the address included '/dists/' though in my 'sources.list', that word wasn't. That was the truly puzzling part. I hope that this way of formatting my question will be acceptable.


    Thank you,

    Geoffree
    Last edited by geoffree; February 5th, 2010 at 06:55 PM.

  8. #8
    Join Date
    Oct 2007
    Location
    Australia
    Beans
    1,715
    Distro
    Ubuntu Development Release

    Re: How To: Make Your Own Ubuntu Repository DVDs

    My comment about the code box was a hint so that we could see the entire line as it appeared, not parts of it with a group of dots in the middle. Sorry if I appeared harsh.

    Quote Originally Posted by geoffree View Post
    An element in the error msg was that the address included '/dists/' though in my 'sources.list', that word wasn't. That was the truly puzzling part. I hope that this way of formatting my question will be acceptable.


    Thank you,

    Geoffree
    The dists section of the line is what you see on the webpages for the repos themselves. Apt etc look for the dists you are using, e.g. Karmic, Karmic-security or Jaunty etc, to do that they need to go to the dists section. All it is is a pathway and it is why that is not actually in your sources.list, if it didn't take the dists pathway then you could end up on a myriad of other folders looking for the files you need. Take a look at the screenshots to see what I mean.
    Attached Images Attached Images
    Last edited by k3lt01; February 5th, 2010 at 07:28 PM.
    Ubuntu User 23142 | Wiki | Laptop | HowTo:Create a background slideshow and Screensaver | Reconditioning pre-loved PCs and installing Ubuntu to give away to good homes.

  9. #9
    Join Date
    Jan 2006
    Location
    Boom, Belgium
    Beans
    222
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Quote Originally Posted by geoffree View Post
    GPG error: http://www.fbreader.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B5FC5445BA702101
    Did you install the FBReader PGP key? It's documented as follows:
    • Download the key file;
    • As root, run
      Code:
      apt-key add geometer.fbreader.org.asc

    Your other problems must have something to do with incorrectly specified repositories in your "/etc/apt/sources.list"; you may want to use your browser to navigate to these locations, and see what you find there.

  10. #10
    Join Date
    Mar 2007
    Beans
    70

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Thanks for your suggestions. I tried to find threads relating to enabling repositories but got back list that included everything but. Moving on.

    Geoffree

Page 1 of 15 12311 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •