ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error

    IT Discussion
    ubuntu linux ubuntu 16.04 ubuntu 16.10 apt apt-get
    7
    24
    4.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NashBrydgesN
      NashBrydges
      last edited by scottalanmiller

      So, on the heals of my last thread, I wanted to at least spend some time upgrading some of my Linux VMs to 16.10 and am running into an issue. When attempting to run the do-release-upgrade, I am getting this error...

      Err Upgrade tool
        403  Forbidden [IP: 91.189.88.162 80]
      Get:1 Upgrade tool signature [836 B]
      Fetched 836 B in 0s (0 B/s)
      WARNING:root:file 'yakkety.tar.gz' missing
      Failed to fetch
      Fetching the upgrade failed. There may be a network problem.
      

      Now I know that's not my IP. I've also just completed apt-get update so network connects out ok. Not sure what would cause this error. It is the same error I get no matter which VM I attempt it on if it is running 16.04, it won't allow this upgrade to run. I've also made sure that Prompt=normal in /etc/update-manager/release-upgrades.

      Any ideas?

      1 Reply Last reply Reply Quote 2
      • JaredBuschJ
        JaredBusch
        last edited by

        most likely a bad mirror. clear the apt cache and do it again.

        NashBrydgesN 1 Reply Last reply Reply Quote 1
        • NashBrydgesN
          NashBrydges @JaredBusch
          last edited by

          @JaredBusch said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

          clear the apt cache

          Hey Jared. No luck with that either.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            You could forcibly change the mirror that it is trying to use. Try a normal apt-get update to see what it sees.

            NashBrydgesN 1 Reply Last reply Reply Quote 0
            • NashBrydgesN
              NashBrydges @scottalanmiller
              last edited by

              @scottalanmiller said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

              apt-get update

              Yeah that works no problem at all.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Hmmm... it might be that the file is missing from that mirror, but that alone would not give a 403 error.

                1 Reply Last reply Reply Quote 0
                • gjacobseG
                  gjacobse
                  last edited by

                  This was the issue I believe I spent quite a bit of time on.

                  Solution. Forget it,... In my case it was a VM - and was the UniFi Controller. I made a back up, and started fresh.

                  However - You may not have that option.

                  NashBrydgesN 1 Reply Last reply Reply Quote 0
                  • NashBrydgesN
                    NashBrydges @gjacobse
                    last edited by

                    @gjacobse I think in this case it's definitely doable for me to just start from scratch. It's a small web app that could be migrated easily but I was hoping to have this easy one to test the upgrade process before I moved on to some of the more complicated VM where doing a backup/restore is a bigger deal.

                    I'll keep poking at this one for a while and see if I can figure out why it's failing before giving up and moving to starting from scratch.

                    1 Reply Last reply Reply Quote 0
                    • momurdaM
                      momurda
                      last edited by

                      Do you have some sort of proxy?
                      Have you tried just doing apt-get upgrade rather than do-release-upgrade?

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @momurda
                        last edited by

                        @momurda said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

                        Do you have some sort of proxy?
                        Have you tried just doing apt-get upgrade rather than do-release-upgrade?

                        I did not think that upgrades from 16.04 to 16.10.

                        momurdaM 1 Reply Last reply Reply Quote 0
                        • momurdaM
                          momurda @JaredBusch
                          last edited by

                          @JaredBusch
                          right, just to see if it can do updates at all or if it is only distribution upgrade that is failing

                          NashBrydgesN 1 Reply Last reply Reply Quote 0
                          • NashBrydgesN
                            NashBrydges @momurda
                            last edited by

                            @momurda Yes, I was able to successfully run sudo apt-get update and sudo apt-get upgrade without any issues so I'm sure it isn't a connectivity issue on this end.

                            1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403
                              last edited by DustinB3403

                              Just summarizing this guide here. (assuming you don't want to be on the development release I've omitted it)

                              sudo apt update
                              sudo apt dist-upgrade
                              sudo apt-get install update-manager-core
                              sudo nano /etc/upgrade-manager/release-upgrades

                              prompt=normal
                              

                              sudo do-release-upgrade

                              Should do it for you.

                              NashBrydgesN 1 Reply Last reply Reply Quote 0
                              • NashBrydgesN
                                NashBrydges @DustinB3403
                                last edited by

                                @DustinB3403 said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

                                Just summarizing this guide here. (assuming you don't want to be on the development release I've omitted it)

                                sudo apt update
                                sudo apt dist-upgrade
                                sudo apt-get install update-manager-core
                                sudo nano /etc/upgrade-manager/release-upgrades

                                prompt=normal
                                

                                sudo do-release-upgrade

                                Should do it for you.

                                Sadly, those are exactly the steps I've taken which got me to this point.

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @NashBrydges
                                  last edited by

                                  @NashBrydges Were you running the development version of 16.04 before?

                                  NashBrydgesN 1 Reply Last reply Reply Quote 0
                                  • NashBrydgesN
                                    NashBrydges @DustinB3403
                                    last edited by

                                    @DustinB3403 16.04 LTS.

                                    DustinB3403D 2 Replies Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @NashBrydges
                                      last edited by

                                      @NashBrydges said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

                                      @DustinB3403 16.04 LTS.

                                      That's the first you mentioned LTS, and this is likely the culprit. The 16.10 upgrade isn't going to be in the repo's for 16.04 LTS.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @NashBrydges
                                        last edited by

                                        @NashBrydges Try the steps outlined here for upgrading from LTS.

                                        https://wiki.ubuntu.com/YakketyYak/ReleaseNotes

                                        NashBrydgesN 1 Reply Last reply Reply Quote 0
                                        • NashBrydgesN
                                          NashBrydges @DustinB3403
                                          last edited by

                                          @DustinB3403 said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

                                          @NashBrydges Try the steps outlined here for upgrading from LTS.

                                          https://wiki.ubuntu.com/YakketyYak/ReleaseNotes

                                          Those are the exact same steps you've listed a few posts above. That's the process I followed where I got the error.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @DustinB3403
                                            last edited by JaredBusch

                                            @DustinB3403 said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

                                            @NashBrydges said in Ubuntu Upgrade 16.04 -> 16.10 Fails with Forbidden IP Error:

                                            @DustinB3403 16.04 LTS.

                                            That's the first you mentioned LTS, and this is likely the culprit. The 16.10 upgrade isn't going to be in the repo's for 16.04 LTS.

                                            Ummmm what? That is the point of telling it to use normal and not LTS.....

                                            Also 16.04 is LTS in all versions whether you upgraded to it or installed it orgiinally.

                                            DustinB3403D 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post