Comments (5)
pip3 install click
from nala.
Which distro and release? I usually don't advise using pip to solve the issue. Packages should come from the distro whenever possible.
from nala.
Install nala
curl https://gitlab.com/volian/volian-archive/-/raw/main/install-nala.sh | bash
$ cat /etc/os/release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
----
$ nala history
Traceback (most recent call last):
File "/bin/nala", line 5, in <module>
from nala.__main__ import main
File "/usr/lib/python3/dist-packages/nala/__main__.py", line 31, in <module>
import nala.fetch as _fetch # pylint: disable=unused-import
File "/usr/lib/python3/dist-packages/nala/fetch.py", line 36, in <module>
import typer
File "/usr/lib/python3/dist-packages/typer/__init__.py", line 30, in <module>
from .main import Typer as Typer
File "/usr/lib/python3/dist-packages/typer/main.py", line 16, in <module>
from .completion import get_completion_inspect_parameters
File "/usr/lib/python3/dist-packages/typer/completion.py", line 7, in <module>
from ._completion_classes import completion_init
File "/usr/lib/python3/dist-packages/typer/_completion_classes.py", line 8, in <module>
import click.shell_completion
ModuleNotFoundError: No module named 'click.shell_completion'
$ pip list | grep click
click 7.1.2
click-option-group 0.5.6
from nala.
Looks like Bullseye dependencies are too old. You should be able to resolve this by doing apt upgrade -t nala
.
Note that this will install dependencies from our repo that are much newer than what Debian ships.
from nala.
apt upgrade -t nala
Thanks for update!
Confirmed, works like a charm
$ sudo apt upgrade -t nala
Зчитування переліків пакунків... Виконано
Побудова дерева залежностей... Виконано
Зчитування інформації про стан... Виконано
Обчислення оновлень... Виконано
Наступні пакунки були встановлені автоматично і більше не потрібні:
python3-commonmark python3-rfc3986
Використовуйте 'sudo apt autoremove' щоб видалити їх.
НОВІ пакунки, які будуть встановлені:
python3-exceptiongroup python3-markdown-it python3-mdurl
Пакунки, які залишені в незмінному стані:
python3-pkg-resources
Пакунки, які будуть ОНОВЛЕНІ:
python3-anyio python3-click python3-commonmark python3-h11 python3-httpcore python3-httpx python3-rich python3-typing-extensions
оновлено 8, встановлено 3 нових, 0 відмічено для видалення і 1 не оновлено.
Необхідно завантажити 725 kB архівів.
Після цієї операції об'єм зайнятого дискового простору зросте на 1 237 kB.
Бажаєте продовжити? [Y/n]
Отр:1 https://deb.volian.org/volian nala/main amd64 python3-exceptiongroup all 1.2.0-1 [19,3 kB]
Отр:2 https://deb.volian.org/volian nala/main amd64 python3-typing-extensions all 4.10.0-1 [66,2 kB]
Отр:3 https://deb.volian.org/volian nala/main amd64 python3-anyio all 4.3.0-1 [56,5 kB]
Отр:4 https://deb.volian.org/volian nala/main amd64 python3-click all 8.1.7-1 [94,0 kB]
Отр:5 https://deb.volian.org/volian nala/main amd64 python3-commonmark all 0.9.1-5 [45,1 kB]
Отр:6 https://deb.volian.org/volian nala/main amd64 python3-h11 all 0.14.0-1 [50,1 kB]
Отр:7 https://deb.volian.org/volian nala/main amd64 python3-httpcore all 1.0.4-1 [44,5 kB]
Отр:8 https://deb.volian.org/volian nala/main amd64 python3-mdurl all 0.1.2-1 [9 444 B]
Отр:9 https://deb.volian.org/volian nala/main amd64 python3-markdown-it all 3.0.0-2 [62,5 kB]
Отр:10 https://deb.volian.org/volian nala/main amd64 python3-rich all 13.7.1-1 [201 kB]
Отр:11 https://deb.volian.org/volian nala/main amd64 python3-httpx all 0.27.0-1 [76,8 kB]
----
$sudo nala fetch
Fetching Debian mirrors…
╭─ Selected Mirrors ────────────────────────────────────────────────────╮
│ │
│ Index Mirror Score │
│ 1 https://debian.volia.net/debian/ 17 ms │
│ 2 https://mirror.mirohost.net/debian/ 20 ms │
│ 3 https://ftp.bme.hu/debian/ 22 ms │
│ 4 http://mirror.cloudhosting.lv/debian/ 24 ms │
│ 5 http://debian.superhosting.cz/debian/ 26 ms │
│ 6 http://ftp.debian.sk/debian/ 26 ms │
│ 7 http://debian.carnet.hr/debian/ 27 ms │
│ 8 http://ftp.antik.sk/debian/ 27 ms │
│ 9 http://ftp.hr.debian.org/debian/ 27 ms │
│ 10 http://ftp.it.debian.org/debian/ 27 ms │
│ 11 http://ftp.sk.debian.org/debian/ 27 ms │
│ 12 http://ftp.si.debian.org/debian/ 28 ms │
│ 13 http://debian.ipacct.com/debian/ 29 ms │
│ 14 http://debian.sil.at/debian/ 29 ms │
│ 15 http://ftp.nl.debian.org/debian/ 29 ms │
│ 16 http://ftp.pl.debian.org/debian/ 29 ms │
│ │
│ Score is how many milliseconds it takes to download the Release file │
╰────────────────────────────────────────────────────────────────────────╯
Are these mirrors okay? [Y/n]
Sources have been written to /etc/apt/sources.list.d/nala-sources.list
from nala.
Related Issues (20)
- If uninstaller has interactive prompt, nala waits for input but doesn't show it HOT 1
- `InvalidURL`: Invalid non-printable ASCII character in URL HOT 6
- feature request for nala fetch HOT 1
- feature request nala should download pkgs with aria2 HOT 1
- Arm64 not available from Repo anymore HOT 1
- Nala on debian troff error on autocomplete HOT 3
- Feature request HOT 1
- Issues running nala after instalation. HOT 1
- man page not displaying HOT 3
- Nala Python Error On Use after Installation HOT 4
- weak algorithm in `sudo nala update` for `grub-customizer` HOT 2
- Nala hangs downloadinv expressvpn updates
- my bad
- Nala can't resolve dependencies from file glob, refuses to install LibreOffice from disk HOT 1
- Nala should accept 'y' (as well as 'j') in German Locale HOT 1
- What I would like to see in nala? HOT 1
- --reinstall Option not Working with nala HOT 1
- problem with nala install firefox
- Updated: Icons HOT 4
- Issue with the python dependencies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nala.