NuGet restore progressive failures - nuget

Why would I be getting different NuGet restore build failures on the exact same changeset over 3 manually-triggered, consecutive builds? The fourth build was successful.
I double checked on NuGet's twitter feed and there was no report of any issues or downtime.
This is occurring on the following command:
nuget.exe restore MySolution.sln
FIRST BUILD:
Installing 'Microsoft.Data.Edm 5.6.2'.
Installing 'Microsoft.Data.Services.Client 5.6.2'.
Successfully installed 'Microsoft.Data.Edm 5.6.2'.
Successfully installed 'Microsoft.Data.Services.Client 5.6.2'.
Installing 'Microsoft.WindowsAzure.ConfigurationManager 2.0.3'.
Successfully installed 'Microsoft.WindowsAzure.ConfigurationManager 2.0.3'.
Installing 'Owin 1.0'.
Successfully installed 'Owin 1.0'.
Installing 'Microsoft.Data.OData 5.6.2'.
Successfully installed 'Microsoft.Data.OData 5.6.2'.
Installing 'System.Spatial 5.6.2'.
Successfully installed 'System.Spatial 5.6.2'.
Unable to find version '5.2.3' of package 'Microsoft.AspNet.WebApi.Client'.
Unable to find version '5.2.3' of package 'Microsoft.AspNet.WebApi.Core'.
Unable to find version '5.2.3' of package 'Microsoft.AspNet.WebApi.Owin'.
Unable to find version '3.0.1' of package 'Microsoft.Owin'.
Unable to find version '3.0.1' of package 'Microsoft.Owin.Host.SystemWeb'.
Unable to find version '6.0.8' of package 'Newtonsoft.Json'.
Unable to find version '4.3.0' of package 'WindowsAzure.Storage'.
SECOND BUILD:
Installing 'Owin 1.0'.
Successfully installed 'Owin 1.0'.
Unable to find version '5.2.3' of package 'Microsoft.AspNet.WebApi.Client'.
Unable to find version '5.2.3' of package 'Microsoft.AspNet.WebApi.Core'.
Unable to find version '5.2.3' of package 'Microsoft.AspNet.WebApi.Owin'.
Unable to find version '5.6.4' of package 'Microsoft.Data.Edm'.
Unable to find version '5.6.4' of package 'Microsoft.Data.OData'.
Unable to find version '5.6.4' of package 'Microsoft.Data.Services.Client'.
Unable to find version '3.0.1' of package 'Microsoft.Owin'.
Unable to find version '3.0.1' of package 'Microsoft.Owin.Host.SystemWeb'.
Unable to find version '3.1.0' of package 'Microsoft.WindowsAzure.ConfigurationManager'.
Unable to find version '6.0.8' of package 'Newtonsoft.Json'.
Unable to find version '5.6.4' of package 'System.Spatial'.
Unable to find version '4.3.0' of package 'WindowsAzure.Storage'.
THIRD BUILD:
Installing 'Newtonsoft.Json 6.0.8'.
Installing 'Microsoft.Data.Edm 5.6.4'.
Successfully installed 'Microsoft.Data.Edm 5.6.4'.
Installing 'Microsoft.Data.Services.Client 5.6.4'.
Successfully installed 'Microsoft.Data.Services.Client 5.6.4'.
Installing 'Microsoft.AspNet.WebApi.Owin 5.2.3'.
Installing 'Microsoft.AspNet.WebApi.Client 5.2.3'.
Successfully installed 'Microsoft.AspNet.WebApi.Owin 5.2.3'.
Successfully installed 'Microsoft.AspNet.WebApi.Client 5.2.3'.
Installing 'Microsoft.Owin.Host.SystemWeb 3.0.1'.
Successfully installed 'Microsoft.Owin.Host.SystemWeb 3.0.1'.
Installing 'Microsoft.AspNet.WebApi.Core 5.2.3'.
Successfully installed 'Microsoft.AspNet.WebApi.Core 5.2.3'.
Installing 'Owin 1.0'.
Successfully installed 'Owin 1.0'.
Installing 'System.Spatial 5.6.4'.
Installing 'Microsoft.WindowsAzure.ConfigurationManager 3.1.0'.
Installing 'WindowsAzure.Storage 4.3.0'.
Successfully installed 'Microsoft.WindowsAzure.ConfigurationManager 3.1.0'.
Successfully installed 'System.Spatial 5.6.4'.
Successfully installed 'WindowsAzure.Storage 4.3.0'.
Successfully installed 'Newtonsoft.Json 6.0.8'.
Unable to find version '5.6.4' of package 'Microsoft.Data.OData'.
Unable to find version '3.0.1' of package 'Microsoft.Owin'.
FOURTH BUILD:
Success!

The Host Build Controller on Visual Studio Online now performs NuGet implicitly. It does not have the same problem!

Related

Can ClamAV latest version (0.105.0) be installed on RedHat 8.5?

I have ClamAV server version 0.103.5 installed on a RHEL 8.5.
When I run freshclam it says:
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.103.5 Recommended version: 0.103.6
However, when I go to the ClamAV downloads page (https://www.clamav.net/downloads), I see that the latest RPM version is clamav-0.105.0.linux.x86_64.rpm.
My assumption is the the freshclam commands only refers to the same major version.
But if I follow the link from ClamAV page to the prebuilt packages for RHEL/Fedore (https://src.fedoraproject.org/rpms/clamav), it lists 0.103.6 as the latest available version.
So, can I install version 0.105.0 from ClamAV or must I use only official Fedora/RHEL packages?

Grafana Version Upgrade

I installed grafana 8.3.4 enterprise version by mistake, while I wanted to install the OSS version 8.3.4. I tried installing and oss rpm package but it shows the following error :
Cannot install package grafana-8.3.4-1.x86_64. It is obsoleted by installed package grafana-enterprise-8.3.4-1.x86_64
You have to uninstall enterprise version first:
yum remove grafana-enterprise.x86_64
Only after that install a new one:
yum install grafana-8.5.9-1.x86_64.rpm
Dont forget to update
systemctl daemon-reload

Install mongodb 3.4.22 community version on ubuntu 18.04

I need to install MongoDB 3.4.22 community version on ubuntu 18.04. I tired as described in the following link
How to install a specific version of MongoDB?
But it gives the following errors
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mongodb-org
E: Unable to locate package mongodb-org-server
E: Unable to locate package mongodb-org-shell
E: Unable to locate package mongodb-org-mongos
E: Unable to locate package mongodb-org-tools
Unfortunately, the version that you specifically looking for is not present in the distro for Ubuntu 18.04 (Bionic Beaver)
You can check available versions from here

cloudera-manager-agent.rpm: does not update installed package error

I was installing CM and CDH on CentOS6.9, some errors happended on one of the hosts.
So I want to reinstall cloudera-manager-agent, but failed.
Then I used rpm to reinstall(I had download the rpms), here is the result:
[root#xxx yum.repos.d]# rpm -e cloudera-manager*
error: package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
error: package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
error: package cloudera-manager.repo is not installed
error: package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
error: package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
[root#vm8034 yum.repos.d]# rpm -U cloudera-manager*
error: cloudera-manager.repo: not an rpm package (or package manifest):
[root#vm8034 yum.repos.d]# rpm -U cloudera-manager*.rpm
package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
[root#xxx yum.repos.d]# rpm -q cloudera-manager*
package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
package cloudera-manager.repo is not installed
package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
Try using yum instead of rpm and see if that works:
yum update cloudera-manager*
UPDATE:
Try a yum update. This will search for the available updates of your system and display a list with them. You can check if cloudera is in the list or not.
Then check the official website and see if there is any new version for download:
https://www.cloudera.com/downloads/manager/5-12-0.html
If there is try downloading the package, save it on your server and manually install it:
rpm -Uhv package-version-.rpm
Also you should check the content of /etc/yum.conf for an exclude = option. Usually that's used to exclude certain packages from update. If you find cloudera there, then that's why it will never update that package.

Perl PPM Manager

I am running Windows 7 x64 bit OS and I am having trouble installing any packages through PPM Manager. For example, it's saying:
MIME-Base64 marked for install
Installing package ...
Downloading MIME-Base64-3.13 ... not found
Installing package failed
ERROR: 404 Not Found
This happens when I try to install any package. What could it be?