Issue with Electron25 Not Found Error While Updating Programs

Hey everyone,

I’ve encountered a frustrating issue today while trying to update my programs. Every time I attempt to update, I’m greeted with an error message stating “Target not found: electron25”. This error is preventing me from keeping my programs up to date, and I’m not sure how to resolve it. Has anyone else experienced a similar issue or found a solution?

I’ve tried searching online for possible solutions, but unfortunately, I haven’t had much luck. Any help or advice would be greatly appreciated. Thank you in advance for your assistance!

Locate which application dependes on electron25 and remove it.

There is nothing Manjaro specific which depends on electron so it must be something you installed.

The message is not complete - it must be part of a 404 response from a mirror.

Such response indicates you are not following best practise when syncing your system.

All branches should be on electron25 … its likely a mirror issue.

https://packages.manjaro.org/?query=electron

For me, this kind of problem occurs when my mirrors are out of sync.

  1. compare your list in /etc/paman.d/mirrorlist with https://repo.manjaro.org/
  2. Update it if necessary, for example:
    sudo pacman-mirrors --country France,Global --api --protocol https --set-branch stable
  3. Optional:
    pamac clean --keep 2

Then
pamac upgrade --no-aur

2 Likes

Do not use sudo with pamac

Yes, correct!

As I’m excluding AUR, it may be “acceptable”, but it’s not good practice, so I’ll correct my message.

I have done this:-

For me, this kind of problem occurs when my mirrors are out of sync.

  1. compare your list in /etc/paman.d/mirrorlist
  2. Update it if necessary, for example:
    sudo pacman-mirrors --country France,Global --api --protocol https --set-branch stable
  3. Optional:
    pamac clean --keep 2

Then
pamac upgrade --no-aur

but still getting the error message:

Error: Failed to prepare transaction: target not found: electron25

1 Like

I updated my mirrors in Pamac and it did not fix the issue.

Edit: As someone said in the general thread, updating from terminal fixed my issue:

3 Likes

can you share the content of your mirrorlist

sure:-

##
## Manjaro Linux custom mirrorlist
## Generated on 2023-07-10 12:29
##
## Please use 'pacman-mirrors -id' To reset custom mirrorlist
## Please use 'pacman-mirrors -c all' To reset custom mirrorlist
## To remove custom config run  'pacman-mirrors -c all'
##

## Country : United_Kingdom
Server = https://mirror.cyberhost.uk/sites/manjaro/stable/$repo/$arch

## Country : Global
Server = https://mirrors.manjaro.org/repo/stable/$repo/$arch

## Country : United_Kingdom
Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch

Your mirror isn’t sync (step 1)

1 Like

Can I copy the mirrors with 3 ticks and paste them into my mirror list file?

yes in the first position

1 Like

Thank you, I ran the update through this command. As long as everything is going well.
pacman -Syu
… UPD …
I have error:

error: failed to commit transaction (conflicting files)
npm: /usr/lib/node_modules/npm/lib/commands/login.js exists in filesystem
npm: /usr/lib/node_modules/npm/lib/utils/auth.js exists in filesystem
npm: /usr/lib/node_modules/npm/lib/utils/completion.fish exists in filesystem
...

facepalm

… UPD 2 …
Launched after the full download of all packages through the command line the usual program manager - everything was installed through it, since it renamed the existing npm files

sorry to be anal about it but there is a typo in item 1, missing a C in /etc/pacman.d/mirrorlist

it should be:

  1. compare your list in /etc/pacman.d/mirrorlist
  2. Update it if necessary, for example:
    sudo pacman-mirrors --country France,Global --api --protocol https --set-branch stable
  3. Optional:
    pamac clean --keep 2
    Then
    pamac upgrade --no-aur

I got xnview updates from the AUR. Tried to update - same error as before: package not found.
I took the advice from this thread:

pamac update --force-refresh --enable-downgrade
tried to update again - updated

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.