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
stop-using-apt/ #16
Comments
The sudo apt alias doesn't work by itself. The alias works, but not when using sudo.
Thanks for recommending this awesome utility. It is an eyecandy and it does it's job. |
This is awesome, Chris; great find! Thanks for sharing! |
always great content, been on Windows for ahem number of years, but starting to dip my toes into Linux as I build out some self-hosted stuff. Thanks Chris. side note - like chris1 above I also needed to add the "alias sudo='sudo ' to the .bashrc file to get nala to work properly using the apt alias |
Just a little head's up, there is a known issue when using the legacy nala install on Ubuntu 2.0.04 LTS (and lower I'm guessing): the fetch command throws an error. The workaround offered (https://gitlab.com/volian/nala/-/issues/92) is running the command |
I'll add the alias to the root as well. |
Tried this on Zorin OS 16 Pro and get error saying 'Zorin focal is unsupported'. |
Works on POP OS! :P (sudo alias needed! ) |
Had to use nala-legacy for some older ubuntu systems i have and i was running fetch and ran into some errors. Seems to be running into an error in the "asyncio.run" portion but it also mentions python3 errors at certain lines in those files and then it errors out again when trying to handle the exception and again its in the python3 files any help would be appreciated as I'm new(ish) to linux. still seems like a better "pm front-end" than apt so I'd like to use it if possible. |
just saw the fetch error comment someone else left lol |
One thing to be careful of is that |
I have Linux Mint 20.3, which uses Ubuntu 20.04.5. I followed your install instructions and when I entered this command sudo apt update && sudo apt install nala-legacy I got this error message E: The repository 'http://dl.google.com/linux/earth/deb stable InRelease' is not signed. The man page for apt-secure tells me
What would you suggest? Thanks for your patience. |
I cannot add the repo to my WSL 2 instance. This is what I get after step 2:
|
I added the alias to my /root/.bashrc and it's still not working with sudo. What am I missing? Thanks. |
Great tool so far. Thank you for this post. For zamostny The issue on the first command might be that the wget didn't actually work. I had a similar issue now. I have also had issues with two sudo commands that are pasted into a console and tries to execute as one line. Run the two lines separately and remove the redirect to dev null to check that the actual error is not hidden away.
|
After install nala, I used to upgrade packages. (Ubuntu22.04), and when I run "nala clean", the command went to error. So, seems nala is not so stable as the apt-get for now. |
Just updated to include apt conversion in both sudo and non-sudo settings. |
If you take the ">/dev/null" off, the "tee" will make the key display on the console. But if you were having an issue, if you l display the error on the screen. |
Thanks, it's very useful |
Hope it supports Arch Linux's AUR helper. |
Here's how I got mine working, it's simple really.. InstallAdd the required packages
Get the required keys
Install Nala
ReplacementFor the
|
@Twixtfanatic, your error has nothing to do with Nala, but your answer is only an internet search away: |
nala upgrade |
Looks similar to dnf so seems interesting, but fails to install on Ubuntu 22.04.4 LTS (server)
|
Please don't try to replace the whole app just because of missing features. Add the features to the existing app. |
Getting the same issue listed just above by ThomasDalla. Running Linux Mint. From some google searches, does this just mean that the repositories that these live in aren't setup? The following packages have unmet dependencies: |
Your best was 193 ms and on mine the best was 15 ms. Why is yours so slow? Maybe like a comment said on here have to do a county code? Thank you. This is better then apt now got to wait for some updates to use it. |
silverskymedia said "I added the alias to my /root/.bashrc and it's still not working with sudo. What am I missing? Thanks." Just reboot will fix it. Or I guess if some command to restart bash. |
Just switch to root with No need to restart or reboot... this isn't windows hehe. |
I have the same issue as ThomasDalla and shoafer0 on Debian Bullseye. |
You need to make sure you have Bullseye Backports repo added and enabled to install those packages. |
Here is an article from a quick Google search on how to make sure you have the backports enabled. |
Thank you! I actually figured that out a few minutes before you posted this
but hopefully this will be helpful for other people (because when I
searched that output I found this thread!)
…On Sat, Jul 30, 2022, 19:49 Tim Nolte ***@***.***> wrote:
I have the same issue as ThomasDalla and shoafer0 on Debian Bullseye.
The packages python3-typer and python3-tomli can't be located in my case,
and the only result on the internet if you Google this in quotes is this
thread right here.
You need to make sure you have Bullseye Backports repo added and enabled
to install those packages.
Here is an article from a quick Google search on how to make sure you have
the backports enabled.
https://www.how2shout.com/linux/how-to-install-and-use-backports-in-debian-11-bullseye/#Steps_to_Add_or_Install_Backports_on_Debian_11_Bullseye
—
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOJ4S6KTFVE4JLMRCPBBBKTVWVTL3ANCNFSM54D7VYQA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I got this working on Windows 10 and WSL2 Ubuntu 22.04 and Pop_OS! 22.04. I am going to probably roll Debian firmware + nala + material shell on my Pop_OS! laptop. I think this is fantastic! |
this happined when i upgrade Error: https://mirror.misakamikoto.network/ubuntu-ports jammy/multiverse amd64 Packages |
May I ask that you update the add repository to:
It's the EXACT SAME code, but for the ones, like me, using Ubuntu on WSL pasting the code via Windows Terminal, it's less prone to glitch. |
As I'm using ZSH, I added the small script from above to my .zshrc
But now I'm getting the following zsh error when it's initialising:
Am I missing something? |
@Saidou83, seems unrelated. What your error says is that there is a error near parenthesis at the line 157 on your .zshrc Try opening it on an editor with line counters (I know Kate and VSCode have them, not sure about a gnome alternative), then check what is in your line number 157. Make sure you're pasting the code at the last line of your .zshrc to make sure you're not pasting between any other codes. |
I have the same issue as ThomasDalla and shoafer0 on Zorin 16. I think it has something to do with the version of Python, Zorin uses 3.8. I then proceeded to install the latest Python 3.10 using the official "parallel installation" procedure, but that just lead me down the rabbit hole to a new problem with missing apt_pkg. Funny how there are always problems with Python, it's a card house. Which Linux distro and version is this supposed to work on? |
Someone reported the same problem on the project gitlab page, and later updated with the solution "EDIT: I added the Universe repo on my computer. Works like a charm.". on my system it reports "'universe' distribution component is already enabled for all sources." and I still get the same error so I don't know. Frustrating. No wonder Linux is struggling to get market share on the desktop. |
I used this as my following alias in zshrc. after restarting terminal or typing "source ~/.zshrc" alias sudo="sudo " |
I've been using Nala for some time on several Pi4's and an older Ubuntu machine. But for the life of me, I can NOT get it to run on a Pi Zero W. |
I realize this is an older thread, but I have a comment. For those recommending using nala in place of apt or apt-get (yes these differ), I have one question. I find nala very pretty, but please tell me if you know how to install a package from backports with nala. the -t bookworm-backports argument does not function in nala as it does in apt/apt-get. I'd really like to find this info. |
I run piHole on Debian 11 in a LXC on Proxmox VE 8.0.4; In addition to the above instructions I needed to add 2 export commands to my .bashrc file, in order for nala to work correctly. export LC_ALL=C.UTF-8 |
works perfect for me under LMDE6 (using debian 12), nala is directly in the repos. |
Stop Using APT
Having Fun with Technology
https://christitus.com/stop-using-apt/
The text was updated successfully, but these errors were encountered: