Martin,
  I noticed that this can be "fixed" by renaming the old mirrors files in 
/var/lib/apt/lists to match the new mirror.
  Would this be at all something I should consider for running when the new 
mirror is set ?  Obviously 'apt-get update' is the most correct path, but would 
run much faster and not delay first boot.

====
#!/bin/sh
old_mirror=http://archive.ubuntu.com/ubuntu; 
new_mirror=http://us-east-1.ec2.archive.ubuntu.com/ubuntu

cd /var/lib/apt/lists
old=$(echo "${old_mirror}" | sed 's,.*://,,; s,/,_,g')
new=$(echo "${new_mirror}" | sed 's,.*://,,; s,/,_,g')

for f in ${old}*; do
        mv ${f} ${new}${f#${old}}
done
===

-- 
apport reports 'not a genuine Ubuntu package' on fresh installation without apt 
cache
https://bugs.launchpad.net/bugs/513061
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to