ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

either cant update or just straight up broken

Open PHEONIX789 opened this issue 7 months ago • 14 comments

im not a avid github user so sorry for my non formality but i cant get it to search up an anime or update they both yield the result of like search not found

Image

PHEONIX789 avatar Apr 07 '26 13:04 PHEONIX789

try to update it with ani-cli --update

mdaffarudiyanto avatar Apr 07 '26 15:04 mdaffarudiyanto

you fixed it thank you man

PHEONIX789 avatar Apr 07 '26 16:04 PHEONIX789

i assume its due to the shift to v4.11 from 4.10 currently many distros are unsupported like fedora others listed here

Image

TLDR: its not a bug but a Update

kushcoded avatar Apr 07 '26 17:04 kushcoded

Oh and btw the update did not work the first time for you because update is "-U" not "-u"

kushcoded avatar Apr 07 '26 17:04 kushcoded

i assume its due to the shift to v4.11 from 4.10 currently many distros are unsupported like fedora others listed here Image

TLDR: its not a bug but a Update

I am still on 4.10 and using Nix 25.05. Same error.

FrozenOverTheMoon avatar Apr 07 '26 18:04 FrozenOverTheMoon

I get this error instead:

❯ sudo ani-cli -U
File /nix/store/nk9lqb665x5hvaq2q69w74xp1lp331hr-ani-cli-4.10/bin/.ani-cli-wrapped is read-only; trying to patch anyway
patch: **** Can't create temporary file /nix/store/nk9lqb665x5hvaq2q69w74xp1lp331hr-ani-cli-4.10/bin/.ani-cli-wrapped.ocmUDwW : Read-only file system
Can't update for some reason!

FrozenOverTheMoon avatar Apr 07 '26 18:04 FrozenOverTheMoon

Its a weird way to launch updates where older versions completely stop working and newer version has very limited support but then again its a small team of people working for free you just have to wait till the package managers have the update

kushcoded avatar Apr 07 '26 19:04 kushcoded

Hi, I was having the same issue today and went on a search journey. I added this workaround until the version is updated to 4.11 by the package managers (I made an own config file for ani-cli): { config, pkgs, lib, ... }:

let ani-cli = pkgs.ani-cli.overrideAttrs (oldAttrs: rec { version = "4.11"; src = pkgs.fetchFromGitHub { owner = "pystardust"; repo = "ani-cli"; rev = "v${version}"; sha256 = lib.fakeSha256; }; }); in { environment.systemPackages = with pkgs; [ git fzf mpv curl aria2 yt-dlp ffmpeg ani-skip patch ani-cli ]; }

In the main config file of nixos, I have this: { config, pkgs, ... }:

{ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ./anicli-conf.nix ]; ...

Hope this helps. BR

muhi03 avatar Apr 07 '26 21:04 muhi03

i know this might sound dumb and duct-tape kind of fix but all i just did was

Sudo ani-cli --update

and it worked afterwards, maybe somehow i just got lucky (ubuntu)

darshydarsh04 avatar Apr 07 '26 21:04 darshydarsh04

Hi @darhsydarsh

@AlhasanDesigns has nixos running (like me) I assume, and the problem is you cant really update the system except you update the nixos config files.

The workaround I posted may be alot of code but it worked for me, hope it helps you too @AlhasanDesigns.

sudo ani-cli -U works for most distros I guess, but nixos wants its special treatments 😂

BR Muhi

muhi03 avatar Apr 07 '26 21:04 muhi03

The nix package has been updated but it will take some time to get into the unstable branch. As for stable and previous versions(such as 25.05), someone would need to create a backport PR

71zenith avatar Apr 08 '26 01:04 71zenith

I'm on ubuntu and ani-cli is working fine.

  • Just run
ani-cli -U

littlezxn avatar Apr 08 '26 07:04 littlezxn

Hello, i am on arch and i have updated with ani-cli -U (4.11) But still just gives me "No results found" Can this be because its trying to fetch something from a non existing website? as these have been taken down here and there

LampaFRFR avatar Apr 08 '26 11:04 LampaFRFR

i know this might sound dumb and duct-tape kind of fix but all i just did was

Sudo ani-cli --update

and it worked afterwards, maybe somehow i just got lucky (ubuntu)

This worked for me tysm!

redsparrow98 avatar Apr 09 '26 20:04 redsparrow98