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

problem with nala install firefox #49

Open
oovaa opened this issue Jul 17, 2024 · 1 comment
Open

problem with nala install firefox #49

oovaa opened this issue Jul 17, 2024 · 1 comment

Comments

@oovaa
Copy link

oovaa commented Jul 17, 2024

omar@Latitude-5480  ~  nala --version
nala 0.15.3

im on kubuntu 22.04.4 with everything up to date

omar@Latitude-5480  ~  install firefox  ✔  277  11:19:56
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /usr/lib/python3/dist-packages/nala/nala.py:378 in install │
│ │
│ 375 │ color_force: bool = COLOR, │
│ 376 ) -> None: │
│ 377 │ """Install packages.""" │
│ ❱ 378 │ install(pkg_names, ctx) │
│ 379 │
│ 380 │
│ 381 @nala.command(help=
("Remove packages.")) │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ assume_yes = None │ │
│ │ auto_remove = None │ │
│ │ color_force = None │ │
│ │ ctx = <click.core.Context object at 0x7feae9552a40> │ │
│ │ debug = None │ │
│ │ default_release = None │ │
│ │ download_only = None │ │
│ │ dpkg_option = [] │ │
│ │ fix_broken = None │ │
│ │ install_recommends = None │ │
│ │ install_suggests = None │ │
│ │ man_help = None │ │
│ │ pkg_names = ['firefox'] │ │
│ │ purge = None │ │
│ │ raw_dpkg = None │ │
│ │ remove_essential = None │ │
│ │ simple = None │ │
│ │ update = None │ │
│ │ verbose = None │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/lib/python3/dist-packages/nala/nala.py:190 in _install │
│ │
│ 187 │ │ pkg_error(not_found, cache) │
│ 188 │ │
│ 189 │ nala_pkgs.user_explicit = [cache[pkg_name] for pkg_name in pkg_names] │
│ ❱ 190 │ if not package_manager(pkg_names, cache): │
│ 191 │ │ if not (error := BrokenError(cache, broken)).broken_install(): │
│ 192 │ │ │ error.unmarked_error(nala_pkgs.user_explicit) │
│ 193 │
│ │
│ ╭─────────────────────────────── locals ────────────────────────────────╮ │
│ │ broken = [<Package: name:'firefox' architecture='amd64' id:1706>] │ │
│ │ cache = <nala.cache.Cache object at 0x7feae9552fe0> │ │
│ │ ctx = <click.core.Context object at 0x7feae9552a40> │ │
│ │ not_exist = [] │ │
│ │ not_found = [] │ │
│ │ pkg_names = ['firefox'] │ │
│ │ ver_failed = False │ │
│ ╰───────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/lib/python3/dist-packages/nala/install.py:927 in package_manager │
│ │
│ 924 │ │ for pkg_name in pkg_names: │
│ 925 │ │ │ if pkg_name in cache: │
│ 926 │ │ │ │ pkg = cache[pkg_name] │
│ ❱ 927 │ │ │ │ pkg.mark_install(auto_fix=arguments.fix_broken) │
│ 928 │ return True │
│ 929 │
│ 930 │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ cache = <nala.cache.Cache object at 0x7feae9552fe0> │ │
│ │ fixer = <apt_pkg.ProblemResolver object at 0x7feae9554a80> │ │
│ │ pkg = <Package: name:'firefox' architecture='amd64' id:1706> │ │
│ │ pkg_name = 'firefox' │ │
│ │ pkg_names = ['firefox'] │ │
│ │ remove = False │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/lib/python3/dist-packages/apt/package.py:1506 in mark_install │
│ │
│ 1503 │ │ │ fixer = apt_pkg.ProblemResolver(self._pcache._depcache) │
│ 1504 │ │ │ fixer.clear(self._pkg) │
│ 1505 │ │ │ fixer.protect(self._pkg) │
│ ❱ 1506 │ │ │ fixer.resolve(True) │
│ 1507 │ │ self._pcache.cache_post_change() │
│ 1508 │ │
│ 1509 │ def mark_upgrade(self, from_user=True): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ auto_fix = True │ │
│ │ auto_inst = True │ │
│ │ fixer = <apt_pkg.ProblemResolver object at 0x7feae9554600> │ │
│ │ from_user = True │ │
│ │ self = <Package: name:'firefox' architecture='amd64' id:1706> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
Error: E:Unable to correct problems, you have held broken packages.

@ForteDexe
Copy link

ubuntu wont let you install firefox pkg, it force you to use snap, especially for firefox

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

No branches or pull requests

2 participants