Btw here’s the script to do it..
#!/bin/bash -x
/usr/bin/debmirror –nosource -m –passive –host=my.archieve.ubuntu.com \
–root=:ubuntu/ –method=rsync –progress –dist=dapper \
–ignore-release-gpg –section=main,multiverse,universe,restricted \
–arch=i386 /backups/ubuntu/
Note: If you got over than 20GB HDD space you can follow the steps above if not follow the steps below:
#!/bin/bash -x
/usr/bin/debmirror –nosource -m –passive –host=my.archieve.ubuntu.com \
–root=:ubuntu/ –method=rsync –progress –dist=dapper-security \
–ignore-release-gpg –section=main,multiverse,universe,restricted \
–arch=i386 /backups/ubuntu/
This steps only to download the patches.
Now you should be able to browse to the directory from http:///repos
Now you can access it by modifying your apt sources.list:
sudo gedit /etc/apt/sources.list
replace:
deb http://archive.ubuntu.com/ubuntu/ dapper universe multiverse main restricted
with:
#deb http://archive.ubuntu.com/ubuntu/ dapper universe multiverse main restricted
deb http://repos/repos/ dapper main universe multiverse restricted
If you ever mess up your sources.list or just want to start fresh, source-o-matic is a great tool for building a new file.

Entries (RSS)