Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CondaPackError: Files managed by conda were found to have been deleted/overwritten in the following packages #243

Closed
2 tasks done
Anyueanne opened this issue Nov 9, 2022 · 2 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type

Comments

@Anyueanne
Copy link

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

conda version : 22.9.0
conda-build version : not installed
python version : 3.9.5

conda pack -n foo -o foo.tar.gz
when i conda pack my env foo , i got error like this :

Collecting packages...
CondaPackError:
Files managed by conda were found to have been deleted/overwritten in the
following packages:

  • libstdcxx-ng 11.2.0:
    lib/libstdc++.so
  • ncurses 6.3:
    share/terminfo/2/2621A
    share/terminfo/E/Eterm
    share/terminfo/E/Eterm-color
    • 1054 others

This is usually due to pip uninstalling or clobbering conda managed files,
resulting in an inconsistent environment. Please check your environment for
conda/pip conflicts using conda list, and fix the environment by ensuring
only one version of each package is installed (conda preferred).

Any help is appreciated

Conda Info

active environment : base
    active env location : /mnt/d/program/miniconda3
            shell level : 1
       user config file : /home/guananyue/.condarc
 populated config files :
          conda version : 22.9.0
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __linux=4.4.0=0
                          __glibc=2.27=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /mnt/d/program/miniconda3  (writable)
      conda av data dir : /mnt/d/program/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /mnt/d/program/miniconda3/pkgs
                          /home/guananyue/.conda/pkgs
       envs directories : /mnt/d/program/miniconda3/envs
                          /home/guananyue/.conda/envs
               platform : linux-64
             user-agent : conda/22.9.0 requests/2.25.1 CPython/3.9.5 Linux/4.4.0-19041-Microsoft ubuntu/18.04.5 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Conda Config

default source

Conda list

conda list 
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
_openmp_mutex             4.5                       1_gnu
brotlipy                  0.7.0           py39h27cfd23_1003
ca-certificates           2022.9.24            ha878542_0    conda-forge
certifi                   2022.9.24          pyhd8ed1ab_0    conda-forge
cffi                      1.14.6           py39h400218f_0
chardet                   4.0.0           py39h06a4308_1003
conda                     22.9.0           py39hf3d152e_2    conda-forge
conda-pack                0.7.0              pyh6c4a22f_0    conda-forge
conda-package-handling    1.7.3            py39h27cfd23_1
cryptography              3.4.7            py39hd23ed53_0
idna                      2.10               pyhd3eb1b0_0
ld_impl_linux-64          2.35.1               h7274673_9
libffi                    3.3                  he6710b0_2
libgcc-ng                 9.3.0               h5101ec6_17
libgomp                   9.3.0               h5101ec6_17
libstdcxx-ng              11.2.0               h1234567_1
ncurses                   6.3                  h7f8727e_2
openssl                   1.1.1s               h7f8727e_0
pip                       21.1.3           py39h06a4308_0
pycosat                   0.6.3            py39h27cfd23_0
pycparser                 2.20                       py_2
pyopenssl                 20.0.1             pyhd3eb1b0_1
pysocks                   1.7.1            py39h06a4308_0
python                    3.9.5                h12debd9_4
python_abi                3.9                      2_cp39    conda-forge
readline                  8.1                  h27cfd23_0
requests                  2.25.1             pyhd3eb1b0_0
ruamel_yaml               0.15.100         py39h27cfd23_0
setuptools                52.0.0           py39h06a4308_0
six                       1.16.0             pyhd3eb1b0_0
sqlite                    3.36.0               hc218d9a_0
tk                        8.6.10               hbc83047_0
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tqdm                      4.61.2             pyhd3eb1b0_1
tzdata                    2021a                h52ac0ba_0
urllib3                   1.26.6             pyhd3eb1b0_1
wheel                     0.36.2             pyhd3eb1b0_0
xz                        5.2.5                h7b6447c_0
yaml                      0.2.5                h7b6447c_0
zlib                      1.2.11               h7b6447c_3

Additional Context

No response

@Anyueanne Anyueanne added the type::bug describes erroneous operation, use severity::* to classify the type label Nov 9, 2022
@GuillaumeHolley
Copy link

GuillaumeHolley commented Nov 9, 2022

I have exactly the same issue.

[EDIT]: Duplicate of #197

Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Nov 10, 2023
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Dec 11, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 15, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

No branches or pull requests

2 participants