{"id":894,"date":"2016-12-14T14:45:48","date_gmt":"2016-12-14T14:45:48","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=894"},"modified":"2016-12-14T14:50:11","modified_gmt":"2016-12-14T14:50:11","slug":"upgrading-ubuntu-12-04-14-04-getting-404-not-found-repo-links","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/12\/14\/upgrading-ubuntu-12-04-14-04-getting-404-not-found-repo-links\/","title":{"rendered":"Upgrading Ubuntu 12.04 to 14.04 when getting 404 not found for repo links"},"content":{"rendered":"<p>A customer had this issue with their very old Ubuntu 12.04 machine. <\/p>\n<p>Use this link to generate a new sources.list, and populate your \/etc\/apt\/sources.list with that detail. Backup the current sources.list you have first.<\/p>\n<p><a href=\"https:\/\/repogen.simplylinux.ch\/\">https:\/\/repogen.simplylinux.ch\/<\/a><\/p>\n<p>Then to update with the new repo, use:<\/p>\n<pre>\r\napt-get update\r\napt-get dist-upgrade\r\n<\/pre>\n<p>Please note that going from Ubuntu 12.04 to 14.04 isn&#8217;t something I&#8217;d recommend you do if you don&#8217;t know what your doing, certainly expect the possibility that the box might not come back up.<\/p>\n<p>Try populating your \/etc\/apt\/sources.list with this:<\/p>\n<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;#<br \/>\n#                            OFFICIAL UBUNTU REPOS                             #<br \/>\n#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;#<\/p>\n<p>###### Ubuntu Main Repos<br \/>\ndeb http:\/\/uk.archive.ubuntu.com\/ubuntu\/ precise main<br \/>\ndeb-src http:\/\/uk.archive.ubuntu.com\/ubuntu\/ precise main <\/p>\n<p>###### Ubuntu Update Repos<br \/>\ndeb http:\/\/uk.archive.ubuntu.com\/ubuntu\/ precise-security main<br \/>\ndeb-src http:\/\/uk.archive.ubuntu.com\/ubuntu\/ precise-security main <\/p>\n<p>Failing that, delete the sources.list and put this instead in it:<\/p>\n<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;#<br \/>\n#                            OFFICIAL UBUNTU REPOS                             #<br \/>\n#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;#<\/p>\n<p>###### Ubuntu Main Repos<br \/>\ndeb http:\/\/uk.archive.ubuntu.com\/ubuntu\/ trusty main<br \/>\ndeb-src http:\/\/uk.archive.ubuntu.com\/ubuntu\/ trusty main <\/p>\n<p>###### Ubuntu Update Repos<br \/>\ndeb http:\/\/uk.archive.ubuntu.com\/ubuntu\/ trusty-security main<br \/>\ndeb-src http:\/\/uk.archive.ubuntu.com\/ubuntu\/ trusty-security main <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A customer had this issue with their very old Ubuntu 12.04 machine. Use this link to generate a new sources.list, and populate your \/etc\/apt\/sources.list with that detail. Backup the current sources.list you have first. https:\/\/repogen.simplylinux.ch\/ Then to update with the &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/12\/14\/upgrading-ubuntu-12-04-14-04-getting-404-not-found-repo-links\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84,61,83],"tags":[],"class_list":["post-894","post","type-post","status-publish","format-standard","hentry","category-aptitude","category-rackspace","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=894"}],"version-history":[{"count":2,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/894\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/894\/revisions\/896"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}