Fail to restore packages from official source

alexander's Avatar


16 Oct, 2019 10:51 AM

Recently some of our builds have started to fail due to the following error:

/home/appveyor/projects/winningtemp-mobile-api/Winningtemp.Mobile.Api/Winningtemp.Mobile.Api.csproj : error NU1101: Unable to find package AWSSDK.Extensions.NETCore.Setup. No packages exist with this id in source(s): AppveyorAccountFeed, AppveyorProjectFeed

The error message is not for a specific package but for all packages from official source.From error message it seems like it's only searching for nuget packages from our internal nuget sources?

The builds that do not utilize the internal nuget sources (provided by Appveyor) works fine. This is the setup in appveyor.yml thar we are using and what I believe is the root cause to the problem:

  account_feed: true
  project_feed: true

Has this behavior changed or is there any bug reported when you configure internal nuget sources in your build? We have not made any changes to our repo or deploy so the problem is most likely related to a change on your end.

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Oct, 2019 01:08 PM

    Feodor Fitsner's Avatar

    Hi Alexander,

    Is it "ubuntu" or "ubuntu1604" image? What version of .NET Core is that: 2.0 or 3.0?

  2. 2 Posted by alexander on 16 Oct, 2019 01:23 PM

    alexander's Avatar


    We're using ubuntu image like this:

    image: Ubuntu

    Also our project is .NET Core and we have added step in install: to explicit install 2.2 like this:

      - dotnet new globaljson --sdk-version 2.2.401

    We did this explicit install because .NET Core 3.0 on build server would break our build (this we did a few weeks ago with no problems)

  3. Support Staff 3 Posted by Feodor Fitsner on 16 Oct, 2019 02:04 PM

    Feodor Fitsner's Avatar

    OK, thanks. Will are looking into that issue.

  4. Support Staff 4 Posted by Feodor Fitsner on 16 Oct, 2019 06:15 PM

    Feodor Fitsner's Avatar

    There is a "regression" with default NuGet source registration on ubuntu images. We are going to fix that and re-build images today:

    In the meantime, for a workaround you may add this to init section of your build:

    mkdir -p "$HOME/.nuget/NuGet" &&
        echo '<?xml version="1.0" encoding="utf-8"?>
        <add key="" value="" protocolVersion="3" />
    </configuration>' > "$HOME/.nuget/NuGet/NuGet.Config"
  5. Support Staff 5 Posted by Feodor Fitsner on 17 Oct, 2019 07:02 PM

    Feodor Fitsner's Avatar

    We've fixed Ubuntu image.

  6. 6 Posted by alexander on 21 Oct, 2019 10:19 AM

    alexander's Avatar

    thank you for great support. can confirm this works

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac