Find the answer to your Linux question:
Results 1 to 2 of 2
I have 2 questions : 1. I have Mepis 6.0-1 live DVD, and I've installed it. How to make use of "extra" folders on the DVD containing packages? don't want ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556

    Exclamation Creating a hard disk repository ?!


    I have 2 questions :
    1. I have Mepis 6.0-1 live DVD, and I've installed it. How to make use of "extra" folders on the DVD containing packages? don't want to download something I already have on DVD.

    2. How can I save packages downloaded with Synaptic in /var/cache/apt for future installations (on other PC's) ?

    Please give me a detailed descripion.
    Mepis is cool!
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

  2. #2
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556

    Thumbs up Solved !

    Well, I found a solution for the task:
    1. Create a folder structure: /home/user_name/dists/MEPIS/main/binary-i386
    Also create a folder binary-i386 in ~/user_name/
    2. Copy all the .deb packages to ~/user_name/binary-i386 folder
    3. Open Konsole in ~/user_name/:
    #dpkg-scanpackages binary-i386 /dev/null | gzip -9c > dists/MEPIS/main/binary-i386/Packages.gz
    4. Start Synaptic
    5. Settings/Repositories -> New
    Combo: Binary(deb)
    URI: file:///home/user_name/
    Distribution: MEPIS
    Section(s): main
    OK

    That's all!

    Edited:This is the final version. I've checked it. It works!
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

Posting Permissions

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