mirrors only added to mirrors.cfg, never removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
/usr/share/
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.13.0-46-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Tue Jun 9 23:22:17 2015
InstallationDate: Installed on 2012-10-18 (965 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to trusty on 2014-04-12 (424 days ago)
VarLogDistupgra
Related branches
- Barry Warsaw (community): Approve
-
Diff: 975 lines (+35/-560)2 files modifieddata/mirrors.cfg (+10/-551)
utils/update_mirrors.py (+25/-9)
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → trusty-updates |
summary: |
- mirror.anl.gov no longer works + mirror.anl.gov still listed in mirrors.cfg |
summary: |
- mirror.anl.gov still listed in mirrors.cfg + mirrors only added to mirrors.cfg, never removed |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in ubuntu-release-upgrader (Ubuntu): | |
milestone: | trusty-updates → ubuntu-16.04 |
Oh right, this is because update_mirrors.py only adds mirrors and doesn't remove them.
13 d = feedparser.parse("https:/ /launchpad. net/ubuntu/ +archivemirrors -rss") PrettyPrinter( indent= 4) write(link. href + "\n")
14
15 #import pprint
16 #pp = pprint.
17 #pp.pprint(d)
18
19 with open(sys.argv[1], "a") as outfile:
20 for entry in d.entries:
21 for link in entry.links:
22 if link.href not in current_mirrors:
23 outfile.
Having said that I'm not certain what ubuntu- release- upgrader would do if your mirror wasn't in that list.