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

Missing community package #810

Closed
SP-937-215 opened this issue Nov 19, 2018 · 8 comments
Closed

Missing community package #810

SP-937-215 opened this issue Nov 19, 2018 · 8 comments

Comments

@SP-937-215
Copy link

SP-937-215 commented Nov 19, 2018

Affected Version

yay v8.1173.0 - libalpm v11.0.1

Issue

running yay reflector does not propose the package community/reflector (https://www.archlinux.org/packages/?name=reflector)

Steps to reproduce

  1. yay -Suy
  2. yay reflector

Output

$ yay -Suy
[sudo] password for odroid: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 alarm is up to date
 aur is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 there is nothing to do

$ yay reflector
6 aur/cubemap 1.3.2-3 (+0 0.00%) 
    A scalable video reflector, designed to be used with VLC.
5 aur/vncreflector 1.2.4-1 (+1 0.00%) 
    VNC server acting as a proxy
4 aur/ilspymono-git r2.933d582-1 (+3 0.00%) 
    CLI reflector for Mono based on ILSpy
3 aur/pacmirror-git auto-1 (+3 0.05%) 
    Update the pacman mirror list using reflector
2 aur/reflector-timer 9-1 (+39 1.23%) 
    A service and timer for the reflector mirrorlist upgrade.
1 aur/pacman2aria2 2012-2 (+53 0.00%) 
    Convert pacman download URL lists to reflector-augmented aria2c input lists. Includes powerpill-light.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)

Comparison with aurman

$ aurman -Ss reflector
community/reflector 2018-2
    A Python 3 module and script to retrieve and filter the latest Pacman mirror list.
aur/reflector-timer 9-1 (39, 1.225687)
    A service and timer for the reflector mirrorlist upgrade.
aur/pacmirror-git auto-1 (3, 0.049685)
    Update the pacman mirror list using reflector
aur/ilspymono-git r2.933d582-1 (3, 0.001141)
    CLI reflector for Mono based on ILSpy
aur/pacman2aria2 2012-2 (53, 0.000188)
    Convert pacman download URL lists to reflector-augmented aria2c input lists. Includes powerpill-light.
aur/vncreflector 1.2.4-1 (1, 8e-06)
    VNC server acting as a proxy
aur/cubemap 1.3.2-3 (0, 0)
    A scalable video reflector, designed to be used with VLC.
@parkerlreed
Copy link
Contributor

[parker@stealth ~]$ yay reflector
7 aur/cubemap 1.3.2-3 (+0 0.00%) 
    A scalable video reflector, designed to be used with VLC.
6 aur/vncreflector 1.2.4-1 (+1 0.00%) 
    VNC server acting as a proxy
5 aur/ilspymono-git r2.933d582-1 (+3 0.00%) 
    CLI reflector for Mono based on ILSpy
4 aur/pacmirror-git auto-1 (+3 0.05%) 
    Update the pacman mirror list using reflector
3 aur/reflector-timer 9-1 (+39 1.23%) 
    A service and timer for the reflector mirrorlist upgrade.
2 aur/pacman2aria2 2012-2 (+53 0.00%) 
    Convert pacman download URL lists to reflector-augmented aria2c input lists. Includes powerpill-light.
1 community/reflector 2018-2 (16.4 KiB 58.0 KiB) (Installed)
    A Python 3 module and script to retrieve and filter the latest Pacman mirror list.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> ^C
[parker@stealth ~]$ yay --version
yay v8.1173.0.r17.g431118b - libalpm v11.0.1

Seems to work fine here.

@Jguer
Copy link
Owner

Jguer commented Nov 19, 2018

I installed the same version as you have yay v8.1173.0 - libalpm v11.0.1, ran yay -Syu

 yay reflector                                                                                         ~
1 community/reflector 2018-2 (16.4 KiB 58.0 KiB) 
    A Python 3 module and script to retrieve and filter the latest Pacman mirror list.
2 aur/pacman2aria2 2012-2 (+53 0.00%) 
    Convert pacman download URL lists to reflector-augmented aria2c input lists. Includes powerpill-light.
3 aur/reflector-timer 9-1 (+39 1.22%) 
    A service and timer for the reflector mirrorlist upgrade.
4 aur/pacmirror-git auto-1 (+3 0.05%) 
    Update the pacman mirror list using reflector
5 aur/ilspymono-git r2.933d582-1 (+3 0.00%) 
    CLI reflector for Mono based on ILSpy
6 aur/vncreflector 1.2.4-1 (+1 0.00%) 
    VNC server acting as a proxy
7 aur/cubemap 1.3.2-3 (+0 0.00%) 
    A scalable video reflector, designed to be used with VLC.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 

(The order is reverted from default yay behavior because release version of yay and -git right now have different ways of handling sort mode)

So it appears to be setup specific, if you can give me some insight into your pacman.conf and yay -Pg I can see if there's any clash.

@SP-937-215
Copy link
Author

SP-937-215 commented Nov 19, 2018

Thanks a lot for the fast reply.

$ yay -Pg
{
	"aururl": "https://aur.archlinux.org",
	"buildDir": "/home/odroid/.cache/yay",
	"editor": "",
	"editorflags": "",
	"makepkgbin": "makepkg",
	"makepkgconf": "",
	"pacmanbin": "pacman",
	"pacmanconf": "/etc/pacman.conf",
	"tarbin": "bsdtar",
	"redownload": "no",
	"rebuild": "no",
	"answerclean": "",
	"answerdiff": "",
	"answeredit": "",
	"answerupgrade": "",
	"gitbin": "git",
	"gpgbin": "gpg",
	"gpgflags": "",
	"mflags": "",
	"sortby": "votes",
	"gitflags": "",
	"removemake": "ask",
	"requestsplitn": 150,
	"sortmode": 0,
	"completionrefreshtime": 7,
	"sudoloop": false,
	"timeupdate": false,
	"devel": false,
	"cleanAfter": false,
	"gitclone": true,
	"provides": true,
	"pgpfetch": true,
	"upgrademenu": true,
	"cleanmenu": true,
	"diffmenu": true,
	"editmenu": false,
	"combinedupgrade": false,
	"useask": false
}

pacman.conf


#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = armv7h

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux ARM
# packagers with `pacman-key --populate archlinuxarm`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

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

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

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

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

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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

@Morganamilo
Copy link
Contributor

How does that [aur] entry work? No way it should work with the official mirror list. also see the last sentence of this commit 5446f5d. That may be the cause.

@Jguer
Copy link
Owner

Jguer commented Nov 20, 2018

Was thinking the same thing, that aur entry seems very unexpected for the way a lot of parsing and display is done

@SP-937-215
Copy link
Author

I did not add it myself, it is part of the standard pacman.conf provided with the archlinux arm base package installation.
I commented it but it does not change anything:

[odroid@xu4 ~]$ yay -Suy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 alarm is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 there is nothing to do
[odroid@xu4 ~]$ yay reflector
6 aur/cubemap 1.3.2-3 (+0 0.00%) 
    A scalable video reflector, designed to be used with VLC.
5 aur/vncreflector 1.2.4-1 (+1 0.00%) 
    VNC server acting as a proxy
4 aur/ilspymono-git r2.933d582-1 (+3 0.00%) 
    CLI reflector for Mono based on ILSpy
3 aur/pacmirror-git auto-1 (+3 0.05%) 
    Update the pacman mirror list using reflector
2 aur/reflector-timer 9-1 (+39 1.20%) 
    A service and timer for the reflector mirrorlist upgrade.
1 aur/pacman2aria2 2012-2 (+53 0.00%) 
    Convert pacman download URL lists to reflector-augmented aria2c input lists. Includes powerpill-light.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 

@Morganamilo
Copy link
Contributor

You should probably mention if you're using an alternative distribution. Archlinux arm does not ship reflector.

@SP-937-215
Copy link
Author

My bad, that makes perfectly sense. I was confused by the "any" flag in the architecture. I apologize for the confusion.

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

4 participants