Repository: conda/conda

Issue:
ValueError('n (-0.01026341512318607) cannot be negative',) from downloads
<!--
Hi!  Read this; it's important.

This is an issue tracker for conda -- the package manager.  File feature requests
for conda here, as well as bug reports about something conda has messed up.

If your issue is a bug report or feature request for:
  * a specific conda package from Anaconda ('defaults' channel):
      ==> file at https://github.com/ContinuumIO/anaconda-issues
  * a specific conda package from conda-forge:
      ==> file at the corresponding feedstock under https://github.com/conda-forge
  * repo.anaconda.com access and service:
      ==> file at https://github.com/ContinuumIO/anaconda-issues
  * anaconda.org access and service:
      ==> file at https://anaconda.org/contact/report
  * commands under 'conda build':
      ==> file at https://github.com/conda/conda-build
  * commands under 'conda env':
      ==> please file it here!
  * all other conda commands that start with 'conda':
      ==> please file it here!

If you continue on, and especially if you are submitting a bug report,

   **please include all requested information below.**

If a maintainer determines the information is required to understand 
your issue, and if it is not provided, your issue may be
closed automatically.

-->

**I'm submitting a...**
  - [x] bug report
  - [ ] feature request


## Current Behavior
<!-- What actually happens?
     If you want to include console output, please use "Steps to Reproduce" below. -->


### Steps to Reproduce
<!-- If the current behavior is a bug, please provide specific, minimal steps to independently reproduce.
     Include the exact conda commands that reproduce the issue and their output between the ticks below. -->
```
$conda install theano
Solving environment: done

## Package Plan ##

  environment location: /Users/aaronmeurer/anaconda3

  added / updated specs:
    - theano


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    pygpu-0.7.6                |           py35_0         681 KB  conda-forge
    theano-1.0.2               |           py35_0         3.7 MB  conda-forge
    libgpuarray-0.7.6          |                0         195 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         4.6 MB

The following NEW packages will be INSTALLED:

    libgpuarray: 0.7.6-0      conda-forge
    pygpu:       0.7.6-py35_0 conda-forge
    theano:      1.0.2-py35_0 conda-forge


Downloading and Extracting Packages
pygpu-0.7.6          |  681 KB | ########################################################################################                              |  75%
theano-1.0.2         |  3.7 MB | #######################################################################################8                              |  75%
libgpuarray-0.7.6    |  195 KB | ########################################################################################9                             |  76%

ValueError('n (-0.002934394253603312) cannot be negative',)
ValueError('n (-0.0005246194491226319) cannot be negative',)
ValueError('n (-0.01026341512318607) cannot be negative',)

```

If I then run `conda install theano` again it succeeds without redownloading, so I guess the download actually worked, but it caused conda to fail. I've already seen this twice since updating to conda 4.5.4. 

## Expected Behavior
<!-- What do you think should happen? -->


## Environment Information
<details open><summary><code>`conda info`</code></summary><p>
<!-- between the ticks below, paste the output of 'conda info' -->

```

     active environment : None
            shell level : 0
       user config file : /Users/aaronmeurer/.condarc
 populated config files : /Users/aaronmeurer/.condarc
          conda version : 4.5.4
    conda-build version : 3.8.0
         python version : 3.5.4.final.0
       base environment : /Users/aaronmeurer/anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/osx-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/osx-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://conda.anaconda.org/asmeurer/osx-64
                          https://conda.anaconda.org/asmeurer/noarch
                          https://conda.anaconda.org/r/osx-64
                          https://conda.anaconda.org/r/noarch
                          https://conda.anaconda.org/pyne/osx-64
                          https://conda.anaconda.org/pyne/noarch
          package cache : /Users/aaronmeurer/anaconda3/pkgs
                          /Users/aaronmeurer/.conda/pkgs
       envs directories : /Users/aaronmeurer/anaconda3/envs
                          /Users/aaronmeurer/.conda/envs
               platform : osx-64
             user-agent : conda/4.5.4 requests/2.18.1 CPython/3.5.4 Darwin/16.7.0 OSX/10.12.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False
```
</p></details>


<details open><summary><code>`conda config --show-sources`</code></summary><p>
<!-- between the ticks below, paste the output of 'conda config --show-sources' -->

```
==> /Users/aaronmeurer/.condarc <==
use_pip: True
show_channel_urls: True
channels:
  - conda-forge
  - defaults
  - asmeurer
  - r
  - pyne
always_yes: True
changeps1: False
```
</p></details>


<details><summary><code>`conda list --show-channel-urls`</code></summary><p>
<!-- between the ticks below, paste the output of 'conda list --show-channel-urls' -->

```
# packages in environment at /Users/aaronmeurer/anaconda3:
#
# Name                    Version                   Build  Channel
_license                  1.1                      py35_1    defaults
_nb_ext_conf              0.4.0                    py35_1    defaults
alabaster                 0.7.10                   py35_0    conda-forge
anaconda                  custom           py35hd7b5ba2_0    defaults
anaconda-client           1.6.3                    py35_0    conda-forge
anaconda-navigator        1.6.3                    py35_0    defaults
anaconda-project          0.6.0                    py35_0    defaults
antlr-python-runtime      4.7.1                    py35_0    conda-forge
apipkg                    1.4                      py35_0    conda-forge
appdirs                   1.4.3                    py35_0    conda-forge
appnope                   0.1.0                    py35_0    conda-forge
appscript                 1.0.1                    py35_0    defaults
argcomplete               1.8.2                    py35_0    conda-forge
args                      0.1.0                    py35_0    conda-forge
arrow                     0.10.0                   py35_0    conda-forge
asn1crypto                0.22.0                   py35_0    conda-forge
aspell                    0.60.7.20110707               5    asmeurer
aspell-en                 7.1.0                         0    asmeurer
astcheck                  0.2.1                    py35_0    asmeurer
astroid                   1.5.3                    py35_0    conda-forge
astropy                   2.0                 np112py35_1    conda-forge
astsearch                 0.1                      py35_0    asmeurer
asv                       0.2                      py35_0    conda-forge
attrs                     17.4.0                     py_0    conda-forge
autoconf                  2.69                          2    conda-forge
automake                  1.15                          0    defaults
babel                     2.4.0                    py35_0    defaults
backcall                  0.1.0                      py_0    conda-forge
backports                 1.0                      py35_0    defaults
backports.functools_lru_cache 1.5                      py35_0    conda-forge
backports.shutil_get_terminal_size 1.0.0                    py35_1    conda-forge
backports.weakref         1.0rc1                   py35_1    conda-forge
beautifulsoup4            4.6.0                    py35_0    defaults
bibtexparser              0.6.2                    py35_0    conda-forge
bitarray                  0.8.1                    py35_0    defaults
bkcharts                  0.2                      py35_0    conda-forge
blas                      1.1                    openblas    conda-forge
bleach                    1.5.0                    py35_0    conda-forge
blinker                   1.4                      py35_0    conda-forge
bokeh                     0.12.4                   py35_0    defaults
boost                     1.65.1                   py35_0    conda-forge
boost-cpp                 1.65.1                        1    conda-forge
boto                      2.47.0                   py35_0    defaults
boto3                     1.4.4                    py35_0    conda-forge
botocore                  1.5.67                   py35_0    defaults
bottleneck                1.2.1               np112py35_0    defaults
bzip2                     1.0.6                         1    conda-forge
ca-certificates           2018.4.16                     0    conda-forge
cachetools                2.0.0                    py35_0    conda-forge
cairo                     1.14.10                       0    conda-forge
catimg                    1.1.1                    py35_0    conda-forge
certifi                   2018.4.16                py35_0    conda-forge
cffi                      1.10.0                   py35_0    conda-forge
chardet                   3.0.4                    py35_0    defaults
chest                     0.2.3                    py35_0    conda-forge
click                     6.7                      py35_0    conda-forge
clint                     0.5.1                    py35_0    conda-forge
cloog                     0.18.0                        0    defaults
cloud_sptheme             1.9.4                    py35_0    conda-forge
cloudpickle               0.5.2                      py_0    conda-forge
clyent                    1.2.2                    py35_0    defaults
cmake                     3.9.3                         0    conda-forge
colorama                  0.3.9                    py35_0    conda-forge
commonmark                0.7.3                    py35_0    conda-forge
conda                     4.5.4                    py35_0    conda-forge
conda-build               3.8.0                    py35_0    conda-forge
conda-build-all           1.1.1                      py_2    conda-forge
conda-env                 2.6.0                         0    conda-forge
conda-manager             0.4.0                    py35_0    defaults
conda-smithy              2.4.4                      py_0    conda-forge
conda-verify              2.0.0                    py35_0    conda-forge
configobj                 5.0.6                    py35_0    defaults
contextlib2               0.5.5                    py35_0    conda-forge
control                   0.7.0                     <pip>
coverage                  4.4.1                    py35_0    conda-forge
cryptography              1.9                      py35_0    conda-forge
curl                      7.52.1                        0    conda-forge
cycler                    0.10.0                   py35_0    conda-forge
cyordereddict             1.0.0                    py35_1    conda-forge
cython                    0.25.2                   py35_1    conda-forge
cytoolz                   0.8.2                    py35_0    conda-forge
dask                      0.15.1                   py35_0    conda-forge
datashader                0.4.0                    py35_0    defaults
datashape                 0.5.4                    py35_0    defaults
dbus                      1.10.10                       3    conda-forge
decorator                 4.0.11                   py35_0    conda-forge
dill                      0.2.6                    py35_0    conda-forge
distributed               1.18.0                   py35_0    conda-forge
docopt                    0.6.2                    py35_0    conda-forge
docrepr                   0.1.0                     <pip>
doct                      1.0.2                    py35_0    conda-forge
doctr                     1.7.0                    py35_0    conda-forge
docutils                  0.13.1                   py35_0    conda-forge
doge                      3.5.0                    py35_0    asmeurer
doit                      0.29.0                   py35_0    asmeurer
doxygen                   1.8.13                        1    conda-forge
dynd-python               0.7.2                    py35_0    defaults
emacs                     25.3                          2    conda-forge
entrypoints               0.2.3                    py35_1    conda-forge
epc                       0.0.5                    py35_0    asmeurer
et_xmlfile                1.0.1                    py35_0    conda-forge
execnet                   1.4.1                    py35_0    conda-forge
expat                     2.2.1                         0    conda-forge
fastcache                 1.0.2                    py35_0    conda-forge
ffmpeg                    3.2.4                         1    conda-forge
fftw                      3.3.7                         0    conda-forge
filelock                  2.0.7                    py35_0    defaults
flake8                    3.5.0                    py35_0    conda-forge
flake8-import-order       0.12                     py35_0    conda-forge
flask                     0.12.2                   py35_0    defaults
flask-cors                3.0.2                    py35_0    conda-forge
fontconfig                2.12.6                        0    conda-forge
fortune                   9708                          0    asmeurer
freetype                  2.8.1                         0    conda-forge
future                    0.16.0                   py35_0    conda-forge
gcc                       4.8.5                         8    defaults
get_terminal_size         1.0.0                    py35_0    defaults
gettext                   0.19.8.1                      0    conda-forge
gevent                    1.2.2                    py35_0    defaults
ghostscript               9.22                          0    conda-forge
giflib                    5.1.4                         0    conda-forge
gitdb                     0.6.4                    py35_1    conda-forge
gitdb2                    2.0.0                    py35_0    defaults
github3.py                1.0.0a4                  py35_0    conda-forge
gitpython                 2.1.3                    py35_0    defaults
glib                      2.55.0                        0    conda-forge
glob2                     0.5                      py35_0    conda-forge
gmp                       6.1.2                         0    conda-forge
gmpy2                     2.0.8                    py35_1    conda-forge
graphite2                 1.3.11                        0    conda-forge
graphviz                  2.38.0                        7    conda-forge
greenlet                  0.4.12                   py35_0    conda-forge
h5netcdf                  0.3.1                    py35_0    conda-forge
h5py                      2.7.1                    py35_2    conda-forge
harfbuzz                  1.7.6                         0    conda-forge
hdf4                      4.2.12                        0    conda-forge
hdf5                      1.10.1                        1    conda-forge
heapdict                  1.0.0                    py35_0    conda-forge
html5lib                  0.9999999                py35_0    conda-forge
httplib2                  0.10.3                   py35_0    conda-forge
hunspell                  1.6.2                         0    conda-forge
hunspell-en               2017.09.01                    0    conda-forge
husl                      4.0.3                    py35_0    asmeurer
icu                       58.1                          1    conda-forge
idna                      2.5                      py35_0    conda-forge
imageio                   2.2.0                    py35_0    conda-forge
imagemagick               7.0.7              pl5.22.2.1_2    conda-forge
imagesize                 0.7.1                    py35_0    conda-forge
imgurpython               1.1.7                    py35_0    conda-forge
ipykernel                 4.6.1                    py35_0    conda-forge
ipython                   6.3.1                    py35_0    conda-forge
ipython-notebook          4.0.4                    py35_0    defaults
ipython_genutils          0.2.0                    py35_0    conda-forge
ipywidgets                6.0.0                    py35_0    conda-forge
isl                       0.12.2                        1    defaults
isort                     4.2.15                   py35_0    defaults
iterm2-tools              2.3                      py35_0    conda-forge
itsdangerous              0.24                     py35_1    conda-forge
jbig                      2.1                           0    defaults
jdcal                     1.3                      py35_0    conda-forge
jedi                      0.12.0                   py35_0    conda-forge
jinja2                    2.9.6                    py35_0    defaults
jmespath                  0.9.3                    py35_0    conda-forge
jpeg                      9b                            0    conda-forge
jsoncpp                   0.10.6                        1    conda-forge
jsonschema                2.6.0                    py35_0    defaults
jupyter                   1.0.0                    py35_0    conda-forge
jupyter-emacskeys         0.2.3                     <pip>
jupyter_client            5.1.0                    py35_0    conda-forge
jupyter_console           5.1.0                    py35_0    conda-forge
jupyter_core              4.3.0                    py35_0    conda-forge
jupyterlab                0.25.2                   py35_0    conda-forge
jupyterlab_launcher       0.3.1                    py35_0    conda-forge
kiwisolver                1.0.1                    py35_1    conda-forge
latexcodec                1.0.4                    py35_0    conda-forge
lazy-object-proxy         1.3.1                    py35_0    defaults
lazyasd                   0.1.3                    py35_0    conda-forge
libarchive                3.2.1                         2    conda-forge
libdynd                   0.7.2                         0    defaults
libevent                  2.0.22                        0    conda-forge
libffi                    3.2.1                         3    conda-forge
libgcc                    4.8.5                         1    defaults
libgfortran               3.0.0                         0    conda-forge
libgpuarray               0.7.6                         0    conda-forge
libiconv                  1.15                          0    conda-forge
libnetcdf                 4.5.0                         3    conda-forge
libpng                    1.6.34                        0    conda-forge
libsodium                 1.0.10                        0    conda-forge
libtiff                   4.0.9                         0    conda-forge
libuuid                   1.0.3                         1    conda-forge
libuv                     1.11.0                        0    conda-forge
libwebp                   0.5.2                         7    conda-forge
libxcb                    1.13                          0    conda-forge
libxml2                   2.9.4                         4    conda-forge
libxslt                   1.1.29                        5    conda-forge
livereload                2.5.1                    py35_0    conda-forge
llvm                      3.3                           0    defaults
llvmlite                  0.20.0                   py35_0    defaults
locket                    0.2.0                    py35_1    conda-forge
logbook                   0.11.2                   py35_0    asmeurer
lxml                      3.8.0                    py35_0    conda-forge
m4                        1.4.17                        1    conda-forge
macfsevents               0.4                      py35_0    asmeurer
mako                      1.0.6                    py35_0    conda-forge
markdown                  2.6.8                    py35_0    defaults
markdown-checklist        0.4.1                    py35_0    conda-forge
markupsafe                1.0                      py35_0    conda-forge
mathjax                   2.2                      py35_0    defaults
matplotlib                2.1.2                    py35_0    conda-forge
mccabe                    0.6.1                    py35_0    conda-forge
metis                     5.1.0                         3    conda-forge
mistune                   0.7.4                    py35_0    conda-forge
mkdocs                    0.16.3                   py35_0    conda-forge
mkdocs-bootstrap          0.1.1                    py35_0    conda-forge
mkdocs-bootswatch         0.4.0                    py35_0    conda-forge
mkl                       2017.0.3                      0    defaults
moab                      4.9.1                         3    conda-forge
mock                      2.0.0                    py35_0    conda-forge
mongodb                   3.3.9                         0    defaults
mpc                       1.0.3                         4    conda-forge
mpfr                      3.1.5                         0    conda-forge
mpich                     3.2                           4    conda-forge
mpmath                    1.0.0                      py_0    conda-forge
msgpack-python            0.4.8                    py35_0    conda-forge
multipledispatch          0.4.9                    py35_0    conda-forge
natsort                   5.0.3                    py35_0    defaults
nb_anacondacloud          1.4.0                    py35_0    conda-forge
nb_conda                  2.2.0                    py35_0    conda-forge
nb_conda_kernels          2.1.0                    py35_0    conda-forge
nbconvert                 5.2.1                    py35_1    conda-forge
nbformat                  4.3.0                    py35_0    conda-forge
nbpresent                 3.0.2                    py35_1    conda-forge
ncurses                   5.9                          10    conda-forge
netcdf4                   1.3.1                    py35_2    conda-forge
networkx                  1.11                     py35_0    conda-forge
nltk                      3.2.4                    py35_0    conda-forge
nodejs                    6.11.0                        0    conda-forge
nose                      1.3.7                    py35_2    conda-forge
notebook                  5.0.0                    py35_0    conda-forge
numba                     0.35.0              np112py35_0    defaults
numexpr                   2.6.2               np112py35_0    conda-forge
numpy                     1.12.1          py35_blas_openblas_201  [blas_openblas]  conda-forge
numpydoc                  0.7.0                    py35_0    conda-forge
oauthlib                  2.0.2                    py35_0    conda-forge
odo                       0.5.0                    py35_1    defaults
olefile                   0.44                     py35_0    conda-forge
openblas                  0.2.20                        6    conda-forge
openjpeg                  2.3.0                         2    conda-forge
openpyxl                  2.5.0a1                  py35_0    conda-forge
openssl                   1.0.2o                        0    conda-forge
oset                      0.1.3                    py35_0    conda-forge
packaging                 16.8                     py35_0    conda-forge
pandas                    0.21.0                   py35_0    conda-forge
pandoc                    1.19.2.1                      0    defaults
pandocfilters             1.4.1                    py35_0    conda-forge
pango                     1.40.14                       0    conda-forge
parso                     0.2.0                      py_0    conda-forge
partd                     0.3.8                    py35_0    conda-forge
path.py                   10.3.1                   py35_0    defaults
pathlib2                  2.3.0                    py35_0    conda-forge
patsy                     0.4.1                    py35_0    conda-forge
pbr                       3.1.1                    py35_0    conda-forge
pcre                      8.41                          1    conda-forge
pep257                    0.7.0                    py35_0    conda-forge
pep8                      1.7.0                    py35_0    conda-forge
pep8-naming               0.4.1                    py35_0    conda-forge
perl                      5.22.2.1                      0    conda-forge
pexpect                   4.2.1                    py35_0    conda-forge
pickleshare               0.7.4                    py35_0    defaults
pillow                    5.0.0                    py35_0    conda-forge
pip                       9.0.1                    py35_0    conda-forge
pixman                    0.34.0                        1    conda-forge
pkg-config                0.29.1                        1    conda-forge
pkginfo                   1.4.1                    py35_0    defaults
pluggy                    0.6.0                      py_0    conda-forge
ply                       3.10                     py35_0    conda-forge
prefsync                  1.2                      py35_0    conda-forge
prettytable               0.7.2                    py35_1    conda-forge
prompt_toolkit            1.0.14                   py35_0    conda-forge
proselint                 0.6.0                     <pip>
protobuf                  3.3.2                    py35_0    conda-forge
psutil                    5.2.2                    py35_0    defaults
ptyprocess                0.5.2                    py35_0    conda-forge
pudb                      2017.1.4                 py35_0    conda-forge
py                        1.5.2                      py_0    conda-forge
pyasn1                    0.2.3                    py35_0    conda-forge
pybtex                    0.21                     py35_0    conda-forge
pybtex-docutils           0.2.1                    py35_0    conda-forge
pycodestyle               2.3.1                    py35_0    conda-forge
pycosat                   0.6.3                    py35_0    conda-forge
pycparser                 2.18                     py35_0    conda-forge
pycrypto                  2.6.1                    py35_1    conda-forge
pycurl                    7.43.0                   py35_2    defaults
pyflakes                  1.6.0                    py35_0    conda-forge
pygithub                  1.34                     py35_0    conda-forge
pyglet                    1.2.4                    py35_0    conda-forge
pygments                  2.2.0                    py35_0    conda-forge
pygpu                     0.7.6                    py35_0    conda-forge
pyinstrument              0.13.2                   py35_0    conda-forge
pyjwt                     1.5.2                    py35_0    conda-forge
pylint                    1.7.1                    py35_0    conda-forge
pymarkovchain             1.7.5                    py35_0    asmeurer
pymongo                   3.3.0                    py35_0    defaults
pyne                      0.5.10          py35_blas_openblas_0  [blas_openblas]  conda-forge
pyopenssl                 17.0.0                   py35_0    defaults
pyparsing                 2.2.0                    py35_0    conda-forge
pyphen                    0.9.4                    py35_0    conda-forge
pyqt                      5.6.0                    py35_4    conda-forge
pyrss2gen                 1.1                      py35_0    asmeurer
pytables                  3.4.2                    py35_7    conda-forge
pytest                    3.4.0                    py35_0    conda-forge
pytest-cache              1.0                      py35_0    conda-forge
pytest-cov                2.5.1                    py35_0    conda-forge
pytest-flakes             1.0.1                    py35_0    conda-forge
pytest-mock               1.6.0                    py35_0    conda-forge
python                    3.5.4                         0    conda-forge
python-dateutil           2.6.0                    py35_0    conda-forge
python-markdown-math      0.3                      py35_0    conda-forge
python-symengine          0.2.0                    py35_1    conda-forge
python.app                1.2                      py35_4    defaults
pytools                   2017.3                   py35_0    conda-forge
pytz                      2017.2                   py35_0    conda-forge
pywavelets                0.5.2               np112py35_0    conda-forge
pyyaml                    3.12                     py35_1    conda-forge
pyzmq                     16.0.2                   py35_2    conda-forge
qt                        5.6.2                h9e3eb04_4    conda-forge
qtawesome                 0.4.4                    py35_0    conda-forge
qtconsole                 4.3.0                    py35_0    conda-forge
qtpy                      1.2.1                    py35_0    conda-forge
readline                  6.2                           0    conda-forge
redis                     3.2.0                         0    defaults
redis-py                  2.10.5                   py35_0    conda-forge
regolith                  0.1                       <pip>
regolith                  0.1.5                    py35_0    conda-forge
requests                  2.18.1                   py35_0    conda-forge
requests-oauthlib         0.8.0                    py35_1    conda-forge
requests-toolbelt         0.8.0                    py35_0    conda-forge
rever                     0.1.0                    py35_0    conda-forge
rhash                     1.3.4                         0    conda-forge
rl                        2.4                      py35_1    asmeurer
rope                      0.10.5                   py35_0    conda-forge
ruamel.yaml               0.15.35                  py35_0    conda-forge
ruamel_yaml               0.11.14                  py35_0    conda-forge
s3fs                      0.1.1                    py35_0    conda-forge
s3transfer                0.1.10                   py35_1    conda-forge
scikit-image              0.13.0              np112py35_0    conda-forge
scikit-learn              0.19.1          py35_blas_openblas_201  [blas_openblas]  conda-forge
scikit-umfpack            0.2.3           py35_blas_openblas_202  [blas_openblas]  conda-forge
scipy                     1.0.0           py35_blas_openblas_201  [blas_openblas]  conda-forge
seaborn                   0.8.0                    py35_0    conda-forge
setproctitle              1.1.10                   py35_0    conda-forge
setuptools                39.2.0                   py35_0    conda-forge
sexpdata                  0.0.3                    py35_0    asmeurer
simplegeneric             0.8.1                    py35_0    conda-forge
singledispatch            3.4.0.3                  py35_0    conda-forge
sip                       4.18                     py35_1    conda-forge
six                       1.10.0                   py35_1    conda-forge
smmap                     2.0.1                    py35_0    conda-forge
smmap2                    2.0.1                    py35_0    defaults
snowballstemmer           1.2.1                    py35_0    conda-forge
sockjs-tornado            1.0.3                    py35_0    defaults
sortedcontainers          1.5.7                    py35_0    defaults
sphinx                    1.7.0                    py35_0    conda-forge
sphinx-argparse           0.2.1                    py35_1    conda-forge
sphinx-bootstrap-theme    0.4.9                    py35_0    conda-forge
sphinx-issues             0.2.0                    py35_0    conda-forge
sphinx_rtd_theme          0.2.4                    py35_0    conda-forge
sphinxcontrib-autoprogram 0.1.3                    py35_0    conda-forge
sphinxcontrib-bibtex      0.3.6                    py35_0    conda-forge
sphinxcontrib-websupport  1.0.1                    py35_0    conda-forge
sphinxjp.themecore        0.2.0                    py35_1    conda-forge
spoofmac                  2.0.6                    py35_0    asmeurer
spyder                    3.1.4                    py35_0    conda-forge
sqlalchemy                1.1.11                   py35_0    conda-forge
sqlite                    3.13.0                        1    conda-forge
statprof                  0.1.2                    py35_2    asmeurer
statsmodels               0.8.0               np112py35_0    conda-forge
strategies                0.2.3                     <pip>
suitesparse               4.5.4           blas_openblas_201  [blas_openblas]  conda-forge
symengine                 0.2.0                         1    conda-forge
sympy                     1.1.1                    py35_0    conda-forge
tbb                       2018_20170726                 0    conda-forge
tblib                     1.3.2                    py35_0    conda-forge
tensorflow                1.3.0                    py35_0    conda-forge
terminado                 0.6                      py35_0    conda-forge
testdisk                  7.0                           0    asmeurer
testpath                  0.3.1                    py35_0    defaults
theano                    1.0.2                    py35_0    conda-forge
tk                        8.5.19                        1    conda-forge
toolz                     0.8.2                    py35_0    conda-forge
tornado                   4.5.1                    py35_0    conda-forge
tox                       2.9.1                      py_0    conda-forge
traitlets                 4.3.2                    py35_0    conda-forge
twine                     1.8.1                    py35_1    conda-forge
twitter                   1.17.1                   py35_0    asmeurer
twitterapi                2.3.4                    py35_0    asmeurer
typing                    3.6.1                    py35_0    conda-forge
unicodecsv                0.14.1                   py35_0    defaults
unidecode                 0.04.21                  py35_0    conda-forge
uritemplate.py            3.0.2                    py35_0    conda-forge
urllib3                   1.21.1                   py35_0    conda-forge
urwid                     1.3.1                    py35_0    conda-forge
versioneer                0.18                     py35_0    conda-forge
virtualenv                15.1.0                   py35_0    conda-forge
wcwidth                   0.1.7                    py35_0    conda-forge
webassets                 0.12.1                   py35_0    conda-forge
webencodings              0.5                      py35_0    conda-forge
werkzeug                  0.12.2                   py35_0    conda-forge
wget                      1.18                          0    defaults
wheel                     0.29.0                   py35_0    conda-forge
widgetsnbextension        2.0.0                    py35_0    conda-forge
wrapt                     1.10.10                  py35_0    defaults
x264                      20131217                      3    conda-forge
xarray                    0.9.6                    py35_0    conda-forge
xlrd                      1.0.0                    py35_1    conda-forge
xlsxwriter                0.9.6                    py35_0    conda-forge
xlwings                   0.10.4                   py35_0    defaults
xlwt                      1.2.0                    py35_0    defaults
xo                        0.1.14                   py35_0    conda-forge
xonda                     0.1.6                     <pip>
xonsh                     0.6.1                    py35_0    conda-forge
xorg-kbproto              1.0.7                         1    conda-forge
xorg-libice               1.0.9                         2    conda-forge
xorg-libsm                1.2.2                         2    conda-forge
xorg-libx11               1.6.5                         0    conda-forge
xorg-libxau               1.0.8                         3    conda-forge
xorg-libxdmcp             1.1.2                         3    conda-forge
xorg-libxext              1.3.3                         2    conda-forge
xorg-libxrender           0.9.10                        0    conda-forge
xorg-libxt                1.1.5                         0    conda-forge
xorg-renderproto          0.11.1                        1    conda-forge
xorg-xextproto            7.3.0                         1    conda-forge
xorg-xproto               7.0.31                        6    conda-forge
xz                        5.2.2                         0    conda-forge
yaml                      0.1.6                         0    conda-forge
yapsy                     1.11.223                 py35_0    asmeurer
z3                        4.4.0                    py35_0    asmeurer
zeromq                    4.2.1                         1    conda-forge
zict                      0.1.2                    py35_0    conda-forge
zlib                      1.2.11                        0    conda-forge

```
</p></details>



Discussion:
Weird. Can you reproduce with a `-vv` flag and get a full stack trace?

Sent from my iPhone

> On May 25, 2018, at 8:30 PM, Aaron Meurer <notifications@github.com> wrote:
> 
> I'm submitting a...
> 
>  bug report
>  feature request
> Current Behavior
> 
> Steps to Reproduce
> 
> $conda install theano
> Solving environment: done
> 
> ## Package Plan ##
> 
>   environment location: /Users/aaronmeurer/anaconda3
> 
>   added / updated specs:
>     - theano
> 
> 
> The following packages will be downloaded:
> 
>     package                    |            build
>     ---------------------------|-----------------
>     pygpu-0.7.6                |           py35_0         681 KB  conda-forge
>     theano-1.0.2               |           py35_0         3.7 MB  conda-forge
>     libgpuarray-0.7.6          |                0         195 KB  conda-forge
>     ------------------------------------------------------------
>                                            Total:         4.6 MB
> 
> The following NEW packages will be INSTALLED:
> 
>     libgpuarray: 0.7.6-0      conda-forge
>     pygpu:       0.7.6-py35_0 conda-forge
>     theano:      1.0.2-py35_0 conda-forge
> 
> 
> Downloading and Extracting Packages
> pygpu-0.7.6          |  681 KB | ########################################################################################                              |  75%
> theano-1.0.2         |  3.7 MB | #######################################################################################8                              |  75%
> libgpuarray-0.7.6    |  195 KB | ########################################################################################9                             |  76%
> 
> ValueError('n (-0.002934394253603312) cannot be negative',)
> ValueError('n (-0.0005246194491226319) cannot be negative',)
> ValueError('n (-0.01026341512318607) cannot be negative',)
> 
> If I then run conda install theano again it succeeds without redownloading, so I guess the download actually worked, but it caused conda to fail. I've already seen this twice since updating to conda 4.5.4.
> 
> Expected Behavior
> 
> Environment Information
> 
> `conda info`
> 
>      active environment : None
>             shell level : 0
>        user config file : /Users/aaronmeurer/.condarc
>  populated config files : /Users/aaronmeurer/.condarc
>           conda version : 4.5.4
>     conda-build version : 3.8.0
>          python version : 3.5.4.final.0
>        base environment : /Users/aaronmeurer/anaconda3  (writable)
>            channel URLs : https://conda.anaconda.org/conda-forge/osx-64
>                           https://conda.anaconda.org/conda-forge/noarch
>                           https://repo.anaconda.com/pkgs/main/osx-64
>                           https://repo.anaconda.com/pkgs/main/noarch
>                           https://repo.anaconda.com/pkgs/free/osx-64
>                           https://repo.anaconda.com/pkgs/free/noarch
>                           https://repo.anaconda.com/pkgs/r/osx-64
>                           https://repo.anaconda.com/pkgs/r/noarch
>                           https://repo.anaconda.com/pkgs/pro/osx-64
>                           https://repo.anaconda.com/pkgs/pro/noarch
>                           https://conda.anaconda.org/asmeurer/osx-64
>                           https://conda.anaconda.org/asmeurer/noarch
>                           https://conda.anaconda.org/r/osx-64
>                           https://conda.anaconda.org/r/noarch
>                           https://conda.anaconda.org/pyne/osx-64
>                           https://conda.anaconda.org/pyne/noarch
>           package cache : /Users/aaronmeurer/anaconda3/pkgs
>                           /Users/aaronmeurer/.conda/pkgs
>        envs directories : /Users/aaronmeurer/anaconda3/envs
>                           /Users/aaronmeurer/.conda/envs
>                platform : osx-64
>              user-agent : conda/4.5.4 requests/2.18.1 CPython/3.5.4 Darwin/16.7.0 OSX/10.12.6
>                 UID:GID : 501:20
>              netrc file : None
>            offline mode : False
> `conda config --show-sources`
> ==> /Users/aaronmeurer/.condarc <==
> use_pip: True
> show_channel_urls: True
> channels:
>   - conda-forge
>   - defaults
>   - asmeurer
>   - r
>   - pyne
> always_yes: True
> changeps1: False
> `conda list --show-channel-urls`
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.

It doesn't happen every time, but I'll run conda with that flag until it happens again. 
Usually a single `-v` will give you full stack traces when they end up being hidden like that. It’ll be less annoying. 
I just got this same weird error whilst trying to install numpy using conda:

```bash
$ conda install numpy -c conda-forge
Solving environment: done

## Package Plan ##

  environment location: /Users/linwood/anaconda3/envs/test2

  added / updated specs:
    - numpy


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    numpy-1.14.3               |py27_blas_openblas_200         3.9 MB  conda-forge
    openblas-0.2.20            |                8        20.1 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        24.0 MB

The following NEW packages will be INSTALLED:

    blas:        1.1-openblas                  conda-forge
    libgfortran: 3.0.0-0                       conda-forge
    numpy:       1.14.3-py27_blas_openblas_200 conda-forge [blas_openblas]
    openblas:    0.2.20-8                      conda-forge


Downloading and Extracting Packages
numpy-1.14.3         |  3.9 MB | ###############################################################                      |  75%
openblas-0.2.20      | 20.1 MB | ###############################################################                      |  75%

ValueError('n (-0.0004725617597608478) cannot be negative',)
ValueError('n (-9.100623748214964e-05) cannot be negative',)
```


## My environment info

```bash
$ conda info

     active environment : test2
    active env location : /Users/linwood/anaconda3/envs/test2
            shell level : 1
       user config file : /Users/linwood/.condarc
 populated config files : /Users/linwood/.condarc
          conda version : 4.5.4
    conda-build version : 2.0.2
         python version : 3.5.2.final.0
       base environment : /Users/linwood/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/osx-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/osx-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /Users/linwood/anaconda3/pkgs
                          /Users/linwood/.conda/pkgs
       envs directories : /Users/linwood/anaconda3/envs
                          /Users/linwood/.conda/envs
               platform : osx-64
             user-agent : conda/4.5.4 requests/2.14.2 CPython/3.5.2 Darwin/17.5.0 OSX/10.13.4
                UID:GID : 501:20
             netrc file : /Users/linwood/.netrc
           offline mode : False
```


The output when using `-v` tag:


```bash
$ conda info

     active environment : test2
    active env location : /Users/linwood/anaconda3/envs/test2
            shell level : 1
       user config file : /Users/linwood/.condarc
 populated config files : /Users/linwood/.condarc
          conda version : 4.5.4
    conda-build version : 2.0.2
         python version : 3.5.2.final.0
       base environment : /Users/linwood/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/osx-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/osx-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /Users/linwood/anaconda3/pkgs
                          /Users/linwood/.conda/pkgs
       envs directories : /Users/linwood/anaconda3/envs
                          /Users/linwood/.conda/envs
               platform : osx-64
             user-agent : conda/4.5.4 requests/2.14.2 CPython/3.5.2 Darwin/17.5.0 OSX/10.13.4
                UID:GID : 501:20
             netrc file : /Users/linwood/.netrc
           offline mode : False

linwood at Linwoods-MacBook-Pro in ~/PyICU-2.0.3/dist on master*
$ conda install numpy -c conda-forge -v
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/linwood/anaconda3/envs/test2

  added / updated specs:
    - numpy


The following NEW packages will be INSTALLED:

    blas:        1.1-openblas                  conda-forge
    libgfortran: 3.0.0-0                       conda-forge
    numpy:       1.14.3-py27_blas_openblas_200 conda-forge [blas_openblas]
    openblas:    0.2.20-8                      conda-forge

Preparing transaction: ...working... done
Verifying transaction: ...working... (ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libgcc_s.1.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

, ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libgcc_s_ppc64.1.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

, ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libgcc_s_x86_64.1.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

, ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libgfortran.3.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

, ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libgfortran.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

, ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libquadmath.0.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

, ClobberError: The package 'conda-forge::libgfortran-3.0.0-0' cannot be installed due to a
path collision for 'lib/libquadmath.dylib'.
This path already exists in the target prefix, and it won't be removed by
an uninstall action in this transaction. The path appears to be coming from
the package 'defaults::gcc-4.8.5-8', which is already installed in the prefix.

)

done
Executing transaction: ...working... ===> LINKING PACKAGE: conda-forge::libgfortran-3.0.0-0 <===
  prefix=/Users/linwood/anaconda3/envs/test2
  source=/Users/linwood/anaconda3/pkgs/libgfortran-3.0.0-0


file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libgcc_s.1.dylib'

file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libgcc_s_ppc64.1.dylib'

file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libgcc_s_x86_64.1.dylib'

file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libgfortran.3.dylib'

file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libgfortran.dylib'

file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libquadmath.0.dylib'

file exists, but clobbering: '/Users/linwood/anaconda3/envs/test2/lib/libquadmath.dylib'

===> LINKING PACKAGE: conda-forge::openblas-0.2.20-8 <===
  prefix=/Users/linwood/anaconda3/envs/test2
  source=/Users/linwood/anaconda3/pkgs/openblas-0.2.20-8


===> LINKING PACKAGE: conda-forge::blas-1.1-openblas <===
  prefix=/Users/linwood/anaconda3/envs/test2
  source=/Users/linwood/anaconda3/pkgs/blas-1.1-openblas


===> LINKING PACKAGE: conda-forge::numpy-1.14.3-py27_blas_openblas_200 <===
  prefix=/Users/linwood/anaconda3/envs/test2
  source=/Users/linwood/anaconda3/pkgs/numpy-1.14.3-py27_blas_openblas_200


done

```

**Edit**

I fixed this by uninstalling `numpy` and reinstalling.  
I've gotten this same issue trying to reinstall jupyter. Seems to happen every time for me.
EDIT:  Nope, bug went away on a third try.
@elliottmcollins can you run the install command with the `-v` flag and post the output here? 
Sorry, spoke too soon. Worked on the third try.
It's happening for me too when I'm installing RDKit on Docker. It not happens always.
I am getting this issue when building a docker image.
If I run the image after Conda failure and run the commands manually on the container command line then after some attempts with the same failures, I can install the packages.

But I can not get it to run from the docker build script no matter how many times I try.

Downloading and Extracting Packages
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done

Solving environment: ...working... done
ca-certificates-2018 |  124 KB | #######5   |  75% 
html5lib-0.999       |  175 KB | #######5   |  75% 
libgcc-ng-7.2.0      |  6.1 MB | #######5   |  75% 
certifi-2018.4.16    |  143 KB | #######5   |  75% 
openssl-1.0.2o       |  3.4 MB | #######5   |  75% 

ValueError('n (-0.0010031313433305211) cannot be negative',)
ValueError('n (-0.0007116504149898839) cannot be negative',)
ValueError('n (-1.9964299135644126e-05) cannot be negative',)
ValueError('n (-0.000872492866087704) cannot be negative',)
ValueError('n (-3.531112563559535e-05) cannot be negative',)

Same here, but different packages:
```
$ conda create -n zzz1 -c numba numba icc_rt                                                                           
Solving environment: done                                                                                                       
                                                                                                                                
## Package Plan ##                                                                                                              
                                                                                                                                
  environment location: <path>/anaconda3/envs/zzz1                                                                 
                                                                                                                                
  added / updated specs:                                                                                                        
    - icc_rt                                                                                                                    
    - numba                                                                                                                     
                                                                                                                                
                                                                                                                                
The following packages will be downloaded:                                                                                      
                                                                                                                                
    package                    |            build                                                                               
    ---------------------------|-----------------                                                                               
    certifi-2018.4.16          |           py36_0         142 KB                                                                
    numba-0.39.0dev0           |np114py36hf484d3e_54         2.4 MB  numba                                                      
    ------------------------------------------------------------                                                                
                                           Total:         2.5 MB

The following NEW packages will be INSTALLED:

    blas:            1.0-mkl                              
    ca-certificates: 2018.03.07-0                         
    certifi:         2018.4.16-py36_0                     
    icc_rt:          2018.0.2-0                      numba
    intel-openmp:    2018.0.0-8                           
    libedit:         3.1.20170329-h6b74fdf_2              
    libffi:          3.2.1-hd88cf55_4                     
    libgcc-ng:       7.2.0-hdf63c60_3                     
    libgfortran-ng:  7.2.0-hdf63c60_3                     
    libstdcxx-ng:    7.2.0-hdf63c60_3                     
    llvmlite:        0.23.0-py36hf484d3e_13          numba
    mkl:             2018.0.2-1                           
    mkl_fft:         1.0.1-py36h3010b51_0                 
    mkl_random:      1.0.1-py36h629b387_0                 
    ncurses:         6.1-hf484d3e_0                       
    numba:           0.39.0dev0-np114py36hf484d3e_54 numba
    numpy:           1.14.3-py36hcd700cb_1                
    numpy-base:      1.14.3-py36h9be14a7_1                
    openssl:         1.0.2o-h20670df_0                    
    pip:             10.0.1-py36_0                        
    python:          3.6.5-hc3d631a_2                     
    readline:        7.0-ha6073c6_4                       
    setuptools:      39.1.0-py36_0                        
    sqlite:          3.23.1-he433501_0                    
    tk:              8.6.7-hc745277_3                     
    wheel:           0.31.1-py36_0                        
    xz:              5.2.4-h14c3975_4                     
    zlib:            1.2.11-ha838bed_2                    

Proceed ([y]/n)? y


Downloading and Extracting Packages
certifi-2018.4.16    |  142 KB | ##################################################################4                     |  76% 
numba-0.39.0dev0     |  2.4 MB | #################################################################3                      |  75% 

ValueError('n (-0.014063948895834066) cannot be negative',)
ValueError('n (-0.0008155726375479455) cannot be negative',)
```
consistently reproduced until the `certifi-2018.4.16` downloaded. Deleting that and retrying with `-vv` refused to reproduce:
```
for i in `seq 1 20`; do rm -rf <path>/anaconda3/pkgs/certifi-2018.4.16-py36_0*;  rm -rf <path>/anaconda3/pkgs/numba-0.39.0dev0-np114py36hf484d3e_54*;  conda create -vv -n zzz_tmp -c numba numba icc_rt -y; conda-rm zzz_tmp -y; done 2>&1 |tee conda_log.txt
```
but without `-vv` it did intermittently.
That `ValueError('n (...) cannot be negative',)` is emitted by `tqdm`, i.e., the library used for the progress output. With `-vv` no progress bars are output, hence you didn't encounter the error there.
I couldn't reproduce, but the most likely thing is that I introduced that bug with https://github.com/conda/conda/pull/7275.
I think that error being thrown essentially means that a `fileobj.tell()` (with `fileobj` being an `io.BufferedReader` created by `open(..., 'rb')`) can return negative values!? That's a really strange thing...
I'll submit a PR that constrains the values we use to
 ```python
0 <= v <= max(1, fstat(fileobj.fileno()).st_size)
```
@mbargull ah, thanks. That makes sense.

Resolving patch:
diff --git a/conda/gateways/disk/create.py b/conda/gateways/disk/create.py
--- a/conda/gateways/disk/create.py
+++ b/conda/gateways/disk/create.py
@@ -132,6 +132,7 @@ def __init__(self, fileobj, progress_update_callback):
         self.progress_file = fileobj
         self.progress_update_callback = progress_update_callback
         self.progress_file_size = max(1, fstat(fileobj.fileno()).st_size)
+        self.progress_max_pos = 0
 
     def __getattr__(self, name):
         return getattr(self.progress_file, name)
@@ -148,7 +149,10 @@ def read(self, size=-1):
         return data
 
     def progress_update(self):
-        rel_pos = self.progress_file.tell() / self.progress_file_size
+        pos = max(self.progress_max_pos, self.progress_file.tell())
+        pos = min(pos, self.progress_file_size)
+        self.progress_max_pos = pos
+        rel_pos = pos / self.progress_file_size
         self.progress_update_callback(rel_pos)
 
 


Test patch:
diff --git a/tests/test_activate.py b/tests/test_activate.py
--- a/tests/test_activate.py
+++ b/tests/test_activate.py
@@ -1089,7 +1089,7 @@ def basic_posix(self, shell):
         shell.assert_env_var('CONDA_PREFIX', self.prefix, True)
 
         shell.sendline('conda install -yq sqlite openssl')  # TODO: this should be a relatively light package, but also one that has activate.d or deactivate.d scripts
-        shell.expect('Executing transaction: ...working... done.*\n', timeout=25)
+        shell.expect('Executing transaction: ...working... done.*\n', timeout=35)
         shell.assert_env_var('?', '0', True)
         # TODO: assert that reactivate worked correctly
 
diff --git a/tests/test_create.py b/tests/test_create.py
--- a/tests/test_create.py
+++ b/tests/test_create.py
@@ -1187,11 +1187,10 @@ def test_packages_not_found(self):
                                          use_exception_handler=True)
             assert "not-a-real-package" in stderr
 
-    @pytest.mark.skipif(on_win, reason="gawk is a windows only package")
-    def test_search_gawk_not_win_1(self):
-        with make_temp_env() as prefix:
-            stdout, stderr = run_command(Commands.SEARCH, prefix, "gawk", "--json", use_exception_handler=True)
-            json_obj = json_loads(stdout.replace("Fetching package metadata ...", "").strip())
+            stdout, stderr = run_command(Commands.SEARCH, prefix, "not-a-real-package", "--json",
+                                         use_exception_handler=True)
+            assert not stderr
+            json_obj = json_loads(stdout.strip())
             assert json_obj['exception_name'] == 'PackagesNotFoundError'
             assert not len(json_obj.keys()) == 0