Package Details: micromamba-bin 2.0.5.0-1

Git Clone URL: https://aur.archlinux.org/micromamba-bin.git (read-only, click to copy)
Package Base: micromamba-bin
Description: Tiny version of mamba, the fast conda package installer
Upstream URL: https://github.com/mamba-org/mamba
Keywords: anaconda conda mamba miniconda python
Licenses: BSD-3-Clause
Conflicts: micromamba
Provides: micromamba
Submitter: jadelord
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 20
Popularity: 0.53
First Submitted: 2021-02-05 01:52 (UTC)
Last Updated: 2024-12-12 20:28 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

carlosal1015 commented on 2022-08-14 22:31 (UTC)

Thank you @Corpswalker.

Corpswalker commented on 2022-08-14 12:53 (UTC)

Hi @carlosal1015, I adapted your package for aarch64. Here are my changes:


diff --git a/PKGBUILD b/PKGBUILD
index 85ac7ce..950745b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,15 +5,17 @@ pkgname=micro${_base}-bin
 pkgver=0.25.1
 pkgrel=1
 pkgdesc="Tiny version of mamba, the fast conda package installer"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url="https://github.com/${_base}-org/${_base}"
 license=('custom:BSD-3-clause')
-source=("${pkgname%-bin}-${pkgver}.tar.bz2::https://api.anaconda.org/download/conda-forge/${pkgname%-bin}/${pkgver}/linux-64/${pkgname%-bin}-${pkgver}-0.tar.bz2")
+source_x86_64=("${pkgname%-bin}-${pkgver}.tar.bz2::https://api.anaconda.org/download/conda-forge/${pkgname%-bin}/${pkgver}/linux-64/${pkgname%-bin}-${pkgver}-0.tar.bz2")
+source_aarch64=("${pkgname%-bin}-${pkgver}.tar.bz2::https://api.anaconda.org/download/conda-forge/${pkgname%-bin}/${pkgver}/linux-aarch64/${pkgname%-bin}-${pkgver}-0.tar.bz2")
 options=(strip)
 depends=(glibc)
 provides=("${pkgname%-bin}")
 conflicts=("${pkgname%-bin}")
-sha512sums=('d4aefd2fdce6e2abbc1f0f5b0a7bbc92d1b4f397993fa2c07d091f80e7eab7d46c37a1256803d493613a91e79da9735bcf26d64873b63cf4d5b575c46a377ef1')
+sha512sums_x86_64=('d4aefd2fdce6e2abbc1f0f5b0a7bbc92d1b4f397993fa2c07d091f80e7eab7d46c37a1256803d493613a91e79da9735bcf26d64873b63cf4d5b575c46a377ef1')
+sha512sums_aarch64=('e944bb44ef402006dc2419da1656e4648d931521b487ba2bfe4c726d80c369f3e14d653b6f8e00cd5bc6a0cb6e78cfdc17f14396fc3dbdbffd067a3bb3893ed9')

 check() {
   export PREFIX="${srcdir}"

carlosal1015 commented on 2022-05-10 16:29 (UTC) (edited on 2022-05-10 16:29 (UTC) by carlosal1015)

No worries, for any update I recommend deactivate any environment.

I will take a look the PKGBUILD later with some cases for do not have facing any issue post upgrading.

WaterKnight commented on 2022-05-10 16:16 (UTC)

Hi again @carlosal1015 , I solved the issue. My .zshrc had set PATH variable like this:

PATH=/root/.local/bin:/snap/bin:/usr/sandbox/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Removing /root/.local/bin from there solved the issue.

In any case, adding the if check that you mention is a good idea. Thanks in advance!

WaterKnight commented on 2022-05-10 14:13 (UTC) (edited on 2022-05-10 14:17 (UTC) by WaterKnight)

Just to finish understanding @carlosal1015, I got the error because my .zshrc was already activating base env, right?

How can I solve it? I disabled those lines in .zshrc and uninstalled with paru. However, I am getting the same error when I try to install it.

Here you have the log.

carlosal1015 commented on 2022-05-10 13:41 (UTC)

Hi @WaterKnight, the package only install the following files that is done with paru:

micromamba-bin /usr/
micromamba-bin /usr/bin/
micromamba-bin /usr/bin/micromamba
micromamba-bin /usr/share/
micromamba-bin /usr/share/licenses/
micromamba-bin /usr/share/licenses/micromamba-bin/
micromamba-bin /usr/share/licenses/micromamba-bin/LICENSE

Like miniconda, We manually deactivate all the environments, comment the ~/.bashrc and finally uncomment the lines in ~/.bashrc for example. I try today the following steps from README upstream repository:

$ micromamba shell init -s bash -p ~/micromamba
$ micromamba activate
$ micromamba install python=3.10 jupyter -c conda-forge

If you want, we can add an if-else condition like this for prevent upgrade if environment is activated.

WaterKnight commented on 2022-05-10 11:49 (UTC)

Good morning, I installed this package with paru and when I try to upgrade the package or create a micromamba env I get this error at the bottom: critical libmamba Permission denied: '/root/.local/bin'

carlosal1015 commented on 2022-02-03 13:54 (UTC)

Hi @itsagoodbrain, please if happen again, do not hesitate to upload to snipet code to some service like pastebin, git{hub,lab} (hint: $ makepkg -s 2>&1 | tee log.txt).

itsagoodbrain commented on 2021-05-07 21:01 (UTC)

I was getting errors from the check function. I can't reproduce it now annoyingly, but the check isn't strictly needed either. I dropped it from my version of the pkgbuild and everything is working fine.

jadelord commented on 2021-03-19 12:14 (UTC)

@gdolle, it is fixed now. Thanks!