mazy haze
April 23rd, 2008, 06:08 PM
When I switched from edgy to feisty I created my used apt-mirror for mirroring archive.ubuntu.org on an external hard disc, updating the mirror about twice a week at my university (since I've a traffic limit at home). For some time now I have been mirroring not only the gutsy repos, but those for hardy, too for playing around with it a bit. However, I would like to upgrade for gutsy to hardy now, but "update-manager -d" is not aware of this and tries to contact the ubuntu servers instead. As there are about six computers now using this mirror (with two of them having no internet access at all) some solution would be quite useful. Maybe apt-get dist-upgrade could do the trick, but this would ignore ubuntu's update-scripts, wouldn't it? I also thought about using an alternative ubuntu cd for upgrading from cd. But maybe there's some other solution.
BTW, my configuration looks like this:
/etc/apt/mirror.list
############# config ##################
#
set base_path /media/TREKSTOR/Software/APT-Mirror/
#
# if you change the base path you must create the directories below with write privlages
#
set mirror_path /media/TREKSTOR/Software/APT-Mirror/mirror
set skel_path /media/TREKSTOR/Software/APT-Mirror/skel
set var_path /media/TREKSTOR/Software/APT-Mirror/var
# set cleanscript $var_path/clean.sh
# set defaultarch i386
set nthreads 20
set tilde 0
#
############# end config ##############
deb http://archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb http://archive.canonical.com/ubuntu gutsy partner
deb http://wine.budgetdedicated.com/apt gutsy main
deb http://www.virtualbox.org/debian gutsy non-free
deb http://snapshots.ekiga.net/ubuntu gutsy main
deb http://www.telemail.fi/mlind/ubuntu gutsy fonts main
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main
deb http://archive.ubuntu.com/ubuntu gutsy main/debian-installer restricted/debian-installer
deb http://archive.ubuntu.com/ubuntu gutsy-updates main/debian-installer restricted/debian-installer
deb http://archive.ubuntu.com/ubuntu gutsy-security main/debian-installer
deb http://archive.ubuntu.com/ubuntu gutsy-proposed main/debian-installer
deb http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
deb http://archive.canonical.com/ubuntu hardy partner
deb http://wine.budgetdedicated.com/apt hardy main
#deb http://www.virtualbox.org/debian hardy non-free
#deb http://snapshots.ekiga.net/ubuntu hardy main
#deb http://www.telemail.fi/mlind/ubuntu hardy fonts main
deb http://ppa.launchpad.net/woodypl/ubuntu hardy main
deb http://archive.ubuntu.com/ubuntu hardy main/debian-installer restricted/debian-installer
#deb http://archive.ubuntu.com/ubuntu hardy-updates main/debian-installer restricted/debian-installer
#deb http://archive.ubuntu.com/ubuntu hardy-security main/debian-installer
#deb http://archive.ubuntu.com/ubuntu hardy-proposed main/debian-installer
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-amd64 http://archive.canonical.com/ubuntu gutsy partner
deb-amd64 http://wine.budgetdedicated.com/apt gutsy main
deb-amd64 http://www.virtualbox.org/debian gutsy non-free
deb-amd64 http://snapshots.ekiga.net/ubuntu gutsy main
# deb-amd64 http://www.telemail.fi/mlind/ubuntu gutsy fonts main
deb http://ubuntu.geole.info/ gutsy universe multiverse
deb-amd64 http://ubuntu.geole.info/ gutsy universe multiverse
clean http://archive.ubuntu.com/ubuntu
clean http://archive.canonical.com/ubuntu
clean http://wine.budgetdedicated.com/apt
clean http://www.virtualbox.org/debian
clean http://snapshots.ekiga.net/ubuntu
clean http://www.telemail.fi/mlind/ubuntu
/etc/apt/sources.list
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.canonical.com/ubuntu gutsy partner
# deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/wine.budgetdedicated.com/apt gutsy main
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/www.virtualbox.org/debian gutsy non-free
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/snapshots.ekiga.net/ubuntu gutsy main
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy-proposed restricted main multiverse universe
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/www.telemail.fi/mlind/ubuntu gutsy fonts main
BTW, my configuration looks like this:
/etc/apt/mirror.list
############# config ##################
#
set base_path /media/TREKSTOR/Software/APT-Mirror/
#
# if you change the base path you must create the directories below with write privlages
#
set mirror_path /media/TREKSTOR/Software/APT-Mirror/mirror
set skel_path /media/TREKSTOR/Software/APT-Mirror/skel
set var_path /media/TREKSTOR/Software/APT-Mirror/var
# set cleanscript $var_path/clean.sh
# set defaultarch i386
set nthreads 20
set tilde 0
#
############# end config ##############
deb http://archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb http://archive.canonical.com/ubuntu gutsy partner
deb http://wine.budgetdedicated.com/apt gutsy main
deb http://www.virtualbox.org/debian gutsy non-free
deb http://snapshots.ekiga.net/ubuntu gutsy main
deb http://www.telemail.fi/mlind/ubuntu gutsy fonts main
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main
deb http://archive.ubuntu.com/ubuntu gutsy main/debian-installer restricted/debian-installer
deb http://archive.ubuntu.com/ubuntu gutsy-updates main/debian-installer restricted/debian-installer
deb http://archive.ubuntu.com/ubuntu gutsy-security main/debian-installer
deb http://archive.ubuntu.com/ubuntu gutsy-proposed main/debian-installer
deb http://archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
deb http://archive.canonical.com/ubuntu hardy partner
deb http://wine.budgetdedicated.com/apt hardy main
#deb http://www.virtualbox.org/debian hardy non-free
#deb http://snapshots.ekiga.net/ubuntu hardy main
#deb http://www.telemail.fi/mlind/ubuntu hardy fonts main
deb http://ppa.launchpad.net/woodypl/ubuntu hardy main
deb http://archive.ubuntu.com/ubuntu hardy main/debian-installer restricted/debian-installer
#deb http://archive.ubuntu.com/ubuntu hardy-updates main/debian-installer restricted/debian-installer
#deb http://archive.ubuntu.com/ubuntu hardy-security main/debian-installer
#deb http://archive.ubuntu.com/ubuntu hardy-proposed main/debian-installer
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
deb-amd64 http://archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
deb-amd64 http://archive.canonical.com/ubuntu gutsy partner
deb-amd64 http://wine.budgetdedicated.com/apt gutsy main
deb-amd64 http://www.virtualbox.org/debian gutsy non-free
deb-amd64 http://snapshots.ekiga.net/ubuntu gutsy main
# deb-amd64 http://www.telemail.fi/mlind/ubuntu gutsy fonts main
deb http://ubuntu.geole.info/ gutsy universe multiverse
deb-amd64 http://ubuntu.geole.info/ gutsy universe multiverse
clean http://archive.ubuntu.com/ubuntu
clean http://archive.canonical.com/ubuntu
clean http://wine.budgetdedicated.com/apt
clean http://www.virtualbox.org/debian
clean http://snapshots.ekiga.net/ubuntu
clean http://www.telemail.fi/mlind/ubuntu
/etc/apt/sources.list
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.canonical.com/ubuntu gutsy partner
# deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/wine.budgetdedicated.com/apt gutsy main
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/www.virtualbox.org/debian gutsy non-free
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/snapshots.ekiga.net/ubuntu gutsy main
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/archive.ubuntu.com/ubuntu/ gutsy-proposed restricted main multiverse universe
deb file:///media/TREKSTOR/Software/APT-Mirror/mirror/www.telemail.fi/mlind/ubuntu gutsy fonts main