Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: local repository help wanted.

  1. #11
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: local repository help wanted.

    Quote Originally Posted by mintmag View Post
    The scanpackges didn't work for me I'm not sure why I typed dpkg-scanpackages /mnt/hgfs/repo/mirror/archive.ubuntu.com/ubuntu
    Was there an error message?
    If so, what (exactly) did it say?

  2. #12
    Join Date
    Sep 2016
    Beans
    32

    Re: local repository help wanted.

    Oh hey guys with a directory like this https://drive.google.com/file/d/0B5P...d2WUpDbGc/view


    when it comes to adding the repo to sources.list is it necessary to add the pool and dists to the address like this https://drive.google.com/file/d/0B5P...d2WUpDbGc/view

    This is the part that really confuses me

  3. #13
    Join Date
    Sep 2016
    Beans
    32

    Re: local repository help wanted.

    Hey guys after downloading the repository I get this error message can't open postmirror.sh" What does this mean

    https://drive.google.com/open?id=0B5...EdYRlptUjNjU1U

  4. #14
    Join Date
    Sep 2006
    Location
    Minnesota, United States
    Beans
    621

    Re: local repository help wanted.

    Quote Originally Posted by mintmag View Post
    The scanpackges didn't work for me I'm not sure why I typed dpkg-scanpackages /mnt/hgfs/repo/mirror/archive.ubuntu.com/ubuntu



    I'm not sure what to do here. Half the tutorials I find say to create a symbolic links with apache2 but that's just not working either

    If the repo is being stored on a non-native Linux partition, please do not expect any of the tools to work properly. That said, here is an example script to update an archive directory:

    Code:
    #! /bin/bash
    
    
    cd /usr/local/dists
    dpkg-scanpackages .  > Packages
    You can then add a simple line to your sources:

    Code:
    deb  file:/usr/local/dists ./
    This presupposes a very simple setup where all the packages are dumped into a single folder. If you want better management, you will need to do some appropriate reading.
    Last edited by T.J.; September 20th, 2016 at 04:42 AM.
    T.J.

  5. #15
    Join Date
    Sep 2006
    Location
    Minnesota, United States
    Beans
    621

    Re: local repository help wanted.

    Quote Originally Posted by mintmag View Post
    Hey guys after downloading the repository I get this error message can't open postmirror.sh" What does this mean

    https://drive.google.com/open?id=0B5...EdYRlptUjNjU1U

    This means that the postmirror script is either not installed, does not have the proper permissions, or is otherwise unusable.

    Please do not consider my terse responses an unwillingness to help. I want to help you, but I haven't much information about the specifics of your setup, and when managing your own mirrors sometimes it is best to learn by trial and error.
    Last edited by T.J.; September 20th, 2016 at 04:38 AM.
    T.J.

  6. #16
    Join Date
    Sep 2016
    Beans
    32

    Re: local repository help wanted.

    Okay I managed to run the dpkg-scannpackges but I'm still getting this and it's still not finding the main packages.

    https://drive.google.com/file/d/0B5P...ew?usp=sharing


    Again this is not on NTFS this is now on EXT4

  7. #17
    Join Date
    Sep 2016
    Beans
    32

    Re: local repository help wanted.

    Bump

  8. #18
    Join Date
    Sep 2016
    Beans
    32

    Re: local repository help wanted.

    Bump
    Last edited by QIII; September 23rd, 2016 at 01:43 AM.

  9. #19
    Join Date
    Sep 2006
    Location
    Minnesota, United States
    Beans
    621

    Re: local repository help wanted.

    Still having problems?
    T.J.

  10. #20
    Join Date
    Sep 2016
    Beans
    32

    Re: local repository help wanted.

    Quote Originally Posted by T.J. View Post
    Still having problems?
    Yes though I have made some breakthroughs. This was done with Mint since I find it a bit easier to use. Here's a link to the latest info https://forums.linuxmint.com/viewtop...21504#p1221504 feel free to post either there or here. I'm so close to getting this to work. I just need to find out why it's not seeing the files. They are there but apt isn't seeing it.

Page 2 of 3 FirstFirst 123 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
  •