Unable to install some packages from the extra repo

Trying to install some packages from the extra repo returns the error “target not found.” For some packages, like reflector, this error occurs, but other work completely fine, like 0ad for instance. The only difference I could find between them would be how recently they were updated, reflector being Dec. 22nd and 0ad being Nov. 25th, but I don’t know exactly how that would affect my issue.

Term output when trying to install a package from extra:

~ 
❯ sudo pacman -Syyu reflector
[sudo] password for dan: 
:: Synchronizing package databases...
 core                   139.2 KiB   475 KiB/s 00:00 [##########################] 100%
 extra                    8.1 MiB  5.93 MiB/s 00:01 [##########################] 100%
 multilib               143.2 KiB   484 KiB/s 00:00 [##########################] 100%
 g14                   1633.0   B   283   B/s 00:06 [##########################] 100%
error: target not found: reflector

Snip of /etc/pacman.conf:

SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional

[extra]
Include = /etc/pacman.d/mirrorlist

/etc/pacman.d/mirrorlist

##
## Manjaro Linux custom mirrorlist
## Generated on 2025-01-01 13:34
##
## 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_States
Server = https://volico.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://uvermont.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = http://mirror.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://ziply.mm.fcix.net/manjaro/stable/$repo/$arch

## Country : United_States
Server = https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch

What I have tried so far:

  • pacman -S extra/reflector
  • A lot of pacman -Syyu
  • Adding SigLevel = PackageRequired to my pacman.conf
  • pacman-key --refresh
  • pacman-mirrors -f
  • pkgfile -u

Thanks for the help and happy new year!

Happy new year. :slight_smile:

Target not found means the package doesn’t exist.

https://manjaristas.org/branch_compare?q=reflector

I guess you’re aware that it seems to be in Arch’s repo, but there doesn’t seem to be a maintainer.

https://archlinux.org/packages/extra/any/reflector/

You could download it and install it locally, but apparently it conflicts with pacman-mirrors

:: reflector-2023-3 and pacman-mirrors-4.28-1 are in conflict. Remove pacman-mirrors? [y/N] 

The fact that there’s no maintainer and that it conflicts with pacman-mirrors is probably why it’s not in Manjaro’s repo. :man_shrugging:

The extra y isn’t necessary.

1 Like

I somehow didn’t realize that Manjaro uses repos that are different from stock Arch all this time.

Thanks for the clarification.

1 Like

reflector is only for Arch. pacman-mirrors is only for Manjaro.

That’s because the developer, Xyne is inactive. Not sure what happened to him, he’s been a great developer over the years.

2 Likes

You should use pacman-mirrors on Manjaro. It is already preinstalled on your system.

Do sudo pacman-mirrors -f 5 to rank the 5 fastest mirrors

We don’t use reflector in Manjaro just as Arch doesn’t use pacman-mirrors.

Common misconception.

Thats a command to grab 5 random ‘good’ mirrors from the pool and rank them.

Better to use no numeral (global, or all of pool), or use --continent to use geolocation for region.

1 Like

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