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

fix(nala): repo and key not matching upstream changes #1108

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

volitank
Copy link
Contributor

No description provided.

@volitank
Copy link
Contributor Author

Resolves: #1098

@philclifford
Copy link
Member

Thanks! That should fix our issue.
BTW - in testing I ran across this problem with the installed nala :

nala update
Traceback (most recent call last):
  File "/usr/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 12, in <module>
    from click.termui import get_terminal_size as get_terminal_size
ImportError: cannot import name 'get_terminal_size' from 'click.termui' (/usr/lib/python3/dist-packages/click/termui.py)

for every invocation, including bash auto-complete ... (on up-to-date Ubuntu Jammy)

Copy link
Member

@philclifford philclifford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed apt repo details means this needs to be updated.

01-main/packages/nala Outdated Show resolved Hide resolved
@philclifford philclifford merged commit 866c7d4 into wimpysworld:main Jun 24, 2024
1 check passed
@philclifford
Copy link
Member

nala update
Traceback (most recent call last):
[...]
ImportError: cannot import name 'get_terminal_size' from 'click.termui' (/usr/lib/python3/dist-packages/click/termui.py)

This can be fixed by downgrading the click package back to the ubuntu version with

sudo apt install --reinstall python3-click=8.0.3-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants