Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
Hello ALL ! I wanted it to be done in my college as we got a lab running Linux I have done it finally on my own machine which is standalone using localhost functionality through ftp. u can find it in my blog http://techydinesh.wordpress.com/2008/02/08/setting-up-repository-for-linux/ Thank You -- Dinesh Uthayakumar Final Year Bachelor of Technology - Information Technology Velammal Engineering College Chennai -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
On 2/9/08, Balaji Narayanan <[EMAIL PROTECTED]> wrote: > If it is locally mounted, then why does it need to be served via apache? > Won't a deb file:/ help? it can help.You can even point to a directory as repository. You just need to add something like following to your /etc/apt/sources.list deb file:///path/to/location gutsy main -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
Mehul Ved said the following on Thursday 07 February 2008 06:06 PM: > On Feb 7, 2008 5:37 PM, Ramnarayan. K <[EMAIL PROTECTED]> wrote: >> i have the entire Ubuntu 7.10 repository on dvd's and want to be able to >> access them without having to keep popping in the dvd's everytime something >> needs to be installed. (the source device would be an extenal usb hard disk) > > Well then instead of rsync, just mount the iso at > http://localhost/ubuntu > considering apache is running on localhost and your sources.list file > will look like > /etc/apt/sources.list > http://127.0.0.1/ubuntu gutsy main universe multiverse > If it is locally mounted, then why does it need to be served via apache? Won't a deb file:/ help? -balaji -- http://balajin.net/blog http://www.flickr.com/photos/balajijegan/ Getting there is only half as far as getting there and back. -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
Ramnarayan.K said the following on Thursday 07 February 2008 05:15 PM: > Hi > > am fwding this message again - in case some one has any bright ideas > > With another query > > a few years back a friend setup Ubuntu on our (ex) office network as a > bonus he also put the entire debian repository as iso files into one > section and said i could use it to download any package and not have to > visit the net - that time i was still coming to grips with how to deal > with basic linux, updating was not even in the peripheral vision. > > So is that some kind of option > > I am kinda of desperate and none of the solutions so far seem to work. > > Is there some way i can mimic the cd's on the hard disk and that apt > accepts this mimic. http://balajin.net/blog/archives/2005/11/26/ubuntu_upgrade.html This is what I did a while ago and this worked. I do not have a CD handy to check but this is what I would try. Put the CD on, let us say it mounts under /media/cdrom. Inside this there will (should?) be a directory called ubuntu. And inside this there should be a directory called pool and that should have subdirs main, multiverse etc as you point below. If yes, try adding deb file:/media/cdrom/ubuntu gusty main restricted And see if apt-get update works and then you can mirror the tree to your disk. HTH -balaji -- http://balajin.net/blog http://www.flickr.com/photos/balajijegan/ Getting there is only half as far as getting there and back. -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
On Feb 7, 2008 6:06 PM, Mehul Ved <[EMAIL PROTECTED]> wrote: > > Well then instead of rsync, just mount the iso at > http://localhost/ubuntu > considering apache is running on localhost and your sources.list file > will look like > /etc/apt/sources.list > http://127.0.0.1/ubuntu gutsy main universe multiverse > can some 1 send me a HOWTO link ? i am planning to use ftp , to download the required package from the file server having the repository. it is for my college's lab. -- Dinesh Uthayakumar Final Year Bachelor of Technology - Information Technology Velammal Engineering College Chennai -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
On Feb 7, 2008 5:37 PM, Ramnarayan. K <[EMAIL PROTECTED]> wrote: > i have the entire Ubuntu 7.10 repository on dvd's and want to be able to > access them without having to keep popping in the dvd's everytime something > needs to be installed. (the source device would be an extenal usb hard disk) Well then instead of rsync, just mount the iso at http://localhost/ubuntu considering apache is running on localhost and your sources.list file will look like /etc/apt/sources.list http://127.0.0.1/ubuntu gutsy main universe multiverse -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
On Feb 7, 2008 5:23 PM, Mehul Ved <[EMAIL PROTECTED]> wrote: > On Feb 7, 2008 5:15 PM, Ramnarayan. K <[EMAIL PROTECTED]> wrote: > > Is there some way i can mimic the cd's on the hard disk and that apt > accepts > > this mimic. > > run apache, rsync from some mirror, then modify /etc/apt/sources.list > to point to > your local apache server. But, it would be waste of resources IMO to > do this just for > sake of 1-2 PC's, if you have more then it makes sense, I guess. i have the entire Ubuntu 7.10 repository on dvd's and want to be able to access them without having to keep popping in the dvd's everytime something needs to be installed. (the source device would be an extenal usb hard disk) ram -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
Re: [ubuntu-in] Fwd: Setting up local apt-get repository ? - Any more tips
On Feb 7, 2008 5:15 PM, Ramnarayan. K <[EMAIL PROTECTED]> wrote: > Is there some way i can mimic the cd's on the hard disk and that apt accepts > this mimic. run apache, rsync from some mirror, then modify /etc/apt/sources.list to point to your local apache server. But, it would be waste of resources IMO to do this just for sake of 1-2 PC's, if you have more then it makes sense, I guess. -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in