Hi!
My apologies as this question does not fall under the purview of the BeagleBoard. However, I felt it might be useful to others too, who I am sure might be planning to set up Ubuntu repositories on their local machines.
Since quite a few of us here are trying to do some development on BeagleBoards running Ubuntu, I thought it would be better to have a local repository that could update itself at an hour when no one is working, and not hog up precious bandwidth for the rest of the day.
I wish to have the repo (for Jaunty and Karmic) on my desktop (which also runs Ubuntu), on an external drive (/media/repos)
I installed apt-mirror and apache2 :
sudo aptitude install apache2 apt-mirror
I then made the following configuration file (in /etc/apt/mirrors.list):
apt-mirror configuration file
set base_path /media/Repos/
set nthreads 5
For Ubuntu BeagleBoard
deb http://ports.ubuntu.com/ubuntu-ports karmic-updates main universe
deb http://ports.ubuntu.com/ubuntu-ports jaunty-updates main universe
Cleaning section
clean http://ports.ubuntu.com/
Is the above configuration file ok? The configuration file for Ubuntu desktop has deb-i386 or deb-amd64 at the start of each line. Is there any such addition in the configuration file for the Ubuntu on the BeagleBoard?
Also, when I run the command apt-mirror, I get the following error :
~$ sudo apt-mirror
password:
~$ touch: cannot touch `/media/Repos//var/apt-mirror.lock’: No such file or directory
apt-mirror: can’t chdir to skel at /usr/bin/apt-mirror line 359.
Are there any further changes I need to make in the /usr/bin/apt-mirror file to run a repo?
Thanks
Regards,
Kedar