Page 35 of 40 FirstFirst ... 253334353637 ... LastLast
Results 341 to 350 of 398

Thread: How To: Make Your Own Ubuntu Repository DVDs

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

    Re: How To: Make Your Own Ubuntu Repository DVDs

    I will revise again the new man pages of debmirror and do some testing and get back to you.

    Btw I am not debating at all, I am just sharing all info I have gathered around so we can come up with a reasonable conclusion

    Thank you

  2. #342
    Join Date
    Jun 2010
    Location
    india
    Beans
    24
    Distro
    Ubuntu

    Re: How To: Make Your Own Ubuntu Repository DVDs

    I have completely downloaded lucid repository from archive.ubuntu.com ( it is about 32.8 gb ). so i want to burn it in 8.5 gb dual layer dvds. so can you tell me the code by which i can do that. and how many 8.5 gb dual layer dvds i need as i don't know how much i can write on 8.5 gb dvd .(as i can write maximum 4.4 gb in a 4.7 gb dvd )

  3. #343
    Join Date
    Jun 2010
    Location
    india
    Beans
    24
    Distro
    Ubuntu

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Quote Originally Posted by luvr View Post
    OK—But then, did you run this command line:
    Code:
    sudo apt-key exportall | gpg --no-default-keyring --keyring trustedkeys.gpg --import
    If so, did it work? Does your debmirror command work after that?
    can you tell me what was the wrong . so the download stopped at midway .

  4. #344
    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 justwarm View Post
    can you tell me what was the wrong . so the download stopped at midway .
    I have no idea what went wrong. It looks like there was an input/output error while writing to disk—but I cannot, for the life of me, imagine how that could get solved simply by creating the “trustedkeys.gpg” keyring.

    Creating that keyring will allow debmirror to verify the digital signatures on the repository that you download; the inability to verify the signatures, however, has nothing to do with any input/output error that may occur.

    ... Except, now that I think of it, that there will, obviously, be an error reading the keyring if it does not exist (after all, reading a nonexistent file cannot possibly succeed, can it?)—but, if that really is the problem, then the error message is awfully wrong, since it claims that the problem is in writing the package data file that is being downloaded.

  5. #345
    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 justwarm View Post
    I have completely downloaded lucid repository from archive.ubuntu.com ( it is about 32.8 gb ). so i want to burn it in 8.5 gb dual layer dvds. so can you tell me the code by which i can do that. and how many 8.5 gb dual layer dvds i need as i don't know how much i can write on 8.5 gb dvd .(as i can write maximum 4.4 gb in a 4.7 gb dvd )
    Unfortunately the answer at this time is you can't burn it to a dual layer dvd. I just went searching for the Man pages and they are non-existant so I opened up the source package and took a look at it and it gives you what options you can use which I shall list here for you.
    Code:
    == MEDIATYPE
    
    ((*MediaType*)) is alias of an absolute integer value for a media
    such as CD, DVD. For example, CD74 MediaType is an alias of the absolute
    size of 74min CD. debpartial has the following built-in MediaTypes:
    
    (1)FD      - 2HD 1.44M Floppy Disk
    (1)CF8     - 8M Compact Flash
    (1)CF16    - 16M Compact Flash
    (1)CF32    - 32M Compact Flash
    (1)CF64    - 64M Compact Flash
    (2)MO128   - 128M MO
    (3)MO230   - 230M MO
    (4)MO640   - 640M MO
    (6)CD74    - 74min (650M) CD
    (7)CD80    - 80min (700M) CD
    (5)MO1.3G  - 1.3G MO
    (5)DVD-RAM - (2.6G) DVD-RAM
    (8)DVD     - Single Layer (4.7G) DVD-ROM
    
    Each absolute value is 93% of theoretical value because fixed cluster
    (or block) size may make the space of written files grow up.
    This calculation isn't a perfect solution, but mostly works.
    Wouldn't it be great if we could work on debmirror so we could get it to burn Blu-Ray disks, you would only need 2 of them. As it is I have all of mine of a 500gb Seagate External hard drive so I don't need disks anymore.

    EDIT:Well it seems we may have a way around your little dilemma. You will have to download the source package and adjust at last one parameter. The list above shows what is written into the ruby script as options, down further is where the options are actually formalised in the script.
    Code:
    # Media name to maximum size map
    #
    # SAFE_SPACE is a rate for going down maximum size because fixed
    # cluster (block) size may make the space of written files
    # grow up.
    #
    # CD size is caluclated as follows:
    #
    #
    #  74min CD -> ((74m * 60)s * 75) * 2048 (CD-ROM Mode 2, XA Form 1/CD-I)
    #  80min CD -> (((79m * 60)s * 75)+(57s * 75) + 74
    #                                 * 2048 (CD-ROM Mode 2, XA Form 1/CD-I)
    #              (i.e 79m57s74)
    #
    # A Block can take up 1/75 sec. of audio data, i.e. on a 74 minute CD
    # there are 74*60*75=333000 blocks.
    #
    #
    SAFE_SPACE=0.93
    SIZEMAP = {
      "FD" => 1440000, 
      "CF8" => 8 * 1024 * 1024,
      "CF16" => 16 * 1024 * 1024,
      "CF32" => 32 * 1024 * 1024,
      "CF64" => 64 * 1024 * 1024,
      "MO128" => 128 * 1024 * 1024,
      "MO230" => 230 * 1024 * 1024,
      "MO640" => 640 * 1024 * 1024,
      "MO1.3G" => 1300 * 1024 * 1024,
      "CD74" => (74 * 60 * 75 * 2048),
      "CD80" => ((79 * 60 * 75) + (57 * 75) + 74) * 2048,
      "DVD-RAM" => 2600000000,
      "DVD"   => 4700000000
    }
    Now you need to adjust it so it can burn a dual layer so below the last entry you want it to look like this
    Code:
      "DVD-RAM" => 2600000000,
      "DVD"   => 4700000000,
      "DVD-DL"   => 8500000000
    save it and compile the source. In part 4 of Bobsongs tutorial change th size from DVD to DVD-DL and it will probably work (I wont promise it). You will probably have to add this to the media type in the first code box so make it
    Code:
    (8)DVD     - Single Layer (4.7G) DVD-ROM
    (9)DVD-DL  - Dual Layer (8.5G) DVD-ROM
    Last edited by k3lt01; June 26th, 2010 at 09:42 PM. Reason: Add additional information
    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.

  6. #346
    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 k3lt01 View Post
    I just went searching for the Man pages and they are non-existant
    Apparently, there does exist a man page for debpartial—but it is pretty hard to find. It took me a while to find it, but here it is: “Digipedia.pl » Manual Linux » debpartial (1)”

    According to the man page, you can specify a “--size” parameter, instead of a media type; in fact, the media types are simply synonyms for the corresponding size values.

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

    Re: How To: Make Your Own Ubuntu Repository DVDs

    See my edit above
    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.

  8. #348
    Join Date
    Jun 2010
    Location
    india
    Beans
    24
    Distro
    Ubuntu

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Quote Originally Posted by k3lt01 View Post
    Unfortunately the answer at this time is you can't burn it to a dual layer dvd. I just went searching for the Man pages and they are non-existant so I opened up the source package and took a look at it and it gives you what options you can use which I shall list here for you.
    Code:
    == MEDIATYPE
    
    ((*MediaType*)) is alias of an absolute integer value for a media
    such as CD, DVD. For example, CD74 MediaType is an alias of the absolute
    size of 74min CD. debpartial has the following built-in MediaTypes:
    
    (1)FD      - 2HD 1.44M Floppy Disk
    (1)CF8     - 8M Compact Flash
    (1)CF16    - 16M Compact Flash
    (1)CF32    - 32M Compact Flash
    (1)CF64    - 64M Compact Flash
    (2)MO128   - 128M MO
    (3)MO230   - 230M MO
    (4)MO640   - 640M MO
    (6)CD74    - 74min (650M) CD
    (7)CD80    - 80min (700M) CD
    (5)MO1.3G  - 1.3G MO
    (5)DVD-RAM - (2.6G) DVD-RAM
    (8)DVD     - Single Layer (4.7G) DVD-ROM
    
    Each absolute value is 93% of theoretical value because fixed cluster
    (or block) size may make the space of written files grow up.
    This calculation isn't a perfect solution, but mostly works.
    Wouldn't it be great if we could work on debmirror so we could get it to burn Blu-Ray disks, you would only need 2 of them. As it is I have all of mine of a 500gb Seagate External hard drive so I don't need disks anymore.

    EDIT:Well it seems we may have a way around your little dilemma. You will have to download the source package and adjust at last one parameter. The list above shows what is written into the ruby script as options, down further is where the options are actually formalised in the script.
    Code:
    # Media name to maximum size map
    #
    # SAFE_SPACE is a rate for going down maximum size because fixed
    # cluster (block) size may make the space of written files
    # grow up.
    #
    # CD size is caluclated as follows:
    #
    #
    #  74min CD -> ((74m * 60)s * 75) * 2048 (CD-ROM Mode 2, XA Form 1/CD-I)
    #  80min CD -> (((79m * 60)s * 75)+(57s * 75) + 74
    #                                 * 2048 (CD-ROM Mode 2, XA Form 1/CD-I)
    #              (i.e 79m57s74)
    #
    # A Block can take up 1/75 sec. of audio data, i.e. on a 74 minute CD
    # there are 74*60*75=333000 blocks.
    #
    #
    SAFE_SPACE=0.93
    SIZEMAP = {
      "FD" => 1440000, 
      "CF8" => 8 * 1024 * 1024,
      "CF16" => 16 * 1024 * 1024,
      "CF32" => 32 * 1024 * 1024,
      "CF64" => 64 * 1024 * 1024,
      "MO128" => 128 * 1024 * 1024,
      "MO230" => 230 * 1024 * 1024,
      "MO640" => 640 * 1024 * 1024,
      "MO1.3G" => 1300 * 1024 * 1024,
      "CD74" => (74 * 60 * 75 * 2048),
      "CD80" => ((79 * 60 * 75) + (57 * 75) + 74) * 2048,
      "DVD-RAM" => 2600000000,
      "DVD"   => 4700000000
    }
    Now you need to adjust it so it can burn a dual layer so below the last entry you want it to look like this
    Code:
      "DVD-RAM" => 2600000000,
      "DVD"   => 4700000000,
      "DVD-DL"   => 8500000000
    save it and compile the source. In part 4 of Bobsongs tutorial change th size from DVD to DVD-DL and it will probably work (I wont promise it). You will probably have to add this to the media type in the first code box so make it
    Code:
    (8)DVD     - Single Layer (4.7G) DVD-ROM
    (9)DVD-DL  - Dual Layer (8.5G) DVD-ROM
    If you don't mind can you please create a debcopy for my usage as i am not familiar with these kinds of works .

  9. #349
    Join Date
    Jun 2010
    Location
    india
    Beans
    24
    Distro
    Ubuntu

    Re: How To: Make Your Own Ubuntu Repository DVDs

    Quote Originally Posted by luvr View Post
    I have no idea what went wrong. It looks like there was an input/output error while writing to disk—but I cannot, for the life of me, imagine how that could get solved simply by creating the “trustedkeys.gpg” keyring.

    Creating that keyring will allow debmirror to verify the digital signatures on the repository that you download; the inability to verify the signatures, however, has nothing to do with any input/output error that may occur.

    ... Except, now that I think of it, that there will, obviously, be an error reading the keyring if it does not exist (after all, reading a nonexistent file cannot possibly succeed, can it?)—but, if that really is the problem, then the error message is awfully wrong, since it claims that the problem is in writing the package data file that is being downloaded.
    i want to make one thing clear that before getting the answer from you i have copy pasted my entirely downloaded ubuntu repo ina new location. then i run the command again from that location. & it went fine . so , i continued my download from that location instead of previous.
    after getting your answer i tried that command from previous location and it was downloading chromium browser instead of ocamlagrep . so, i thought that the problem solved but after when i wanted to delete "/win/softwares2/ubuntu repository's full final" folder everything deleted but only the folder named "/win/softwares2/ubuntu repository's full final/pool/universe/o/ocamlagrep" was not deleted there was still showing input/output error. so i think that there is till now some problem so , that i can not able to delete that folder.

  10. #350
    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 justwarm View Post
    If you don't mind can you please create a debcopy for my usage as i am not familiar with these kinds of works .
    If you can be patient I will give it a go and post the .deb file for BobSongs to link to for everyones use. I cannot promise when it will be done but I will certainly give it a go and I will let everyone know when it is done.
    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.

Page 35 of 40 FirstFirst ... 253334353637 ... 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
  •