You are not logged in.

#1 2016-07-27 20:46:46

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

After an upgrade (pacman -Syu), I couldn't print. Reverting to an earlier hplip fixed it but I continued to work on the problem and found the following possible cause and cure at https://wiki.archlinux.org/index.php/CU … _failed.22

Out-of-date plugin
This error can also indicate that the plugin is out of date (version is mismatched). If you have installed hplip-pluginAUR, you will need to update the package.

I did update the plugin and this fixed the problem with the un-reverted hplip. However, in the output from the update, this warning appeared: 

warning: arch distro is not found in AUTH_TYPES. 

So, what are the implications of this warning? That I will have to take care of updating  hplip-plugin anytime it needs it? That I risk an updated hplip-plugin creating more problems than it fixes? Or are there other possible scenarios related to this? Finally, here are two real newbie questions.
1.How can I make sure I am aware of updated versions of hplip-plugin other than by having problems with printing.
2. (Very embarrassing) I couldn't figure out how to discover whether or not hplip-plugin was even on my machine so I ended up just trying it as a command on the command line. That worked but it always seems risky running a command without knowing what it will do if anything. What should I have done?

Last edited by WeeDram (2016-07-28 18:03:45)

Offline

#2 2016-07-27 20:59:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

1. You need to rebuild all AUR applications that depend on supported libraries when they are updated: this is standard procedure.

2. Pacman -Q queries the installed database. See the man page for switches to refine your query (eg., -m).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-27 22:41:56

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

I'm very confused now.
Regarding #1, it appears that doing

hp-setup -i 

(as suggested here: https://wiki.archlinux.org/index.php/CU … IP_Driver)  allowed me to update the plug-in through downloading and installing. So, where or what is the AUR application? The reason I ask is that the following, which is related to #2

[ross@Lenovo3Part ~]$ pacman -Qm
[ross@Lenovo3Part ~]$ pacman -Q  --foreign
[ross@Lenovo3Part ~]$ 

The non-response to either of these, I interpret as pacman not seeing any package from AUR... maybe this is where I go wrong.

By the way, I am NOT saying there IS NO hplip-pluginAUR package on my machine. The section of the site I point to above says quite clearly:
"For printers that require the proprietary HP plugin (like the Laserjet Pro P1102w or 1020), install the hplip-pluginAUR package from AUR" . I just don't seem to find out where it is on my machine and how to find out more information on it (on my machine, not the website). Btw, I have a Laserjet Pro P1102w, which is why I am going through all this.

Offline

#4 2016-07-27 22:46:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

According to pacman, you have nothing installed from the AUR. Is that correct?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-07-28 00:59:47

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

Well, that's the way I interpret the results of those commands I issued.

Offline

#6 2016-07-28 01:01:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

So you haven't installed anything at all from the AUR? What about hplip-plugin: how did you install that?

Please post your pacman.conf and the results of `uname -a && cat /etc/os-release`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-07-28 04:14:57

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

hplip is available through pacman from the extra repo. After doing a bit of searching, I now realize that hplip is sort of a tool box of about 25 commands such as hp-align, hp-check ...etc and hp-setup,

hp-setup is what I ran to update the plugin for HPLIP 3.16.7. This involved downloading and installing the plugin through options on a series of menus (actually only two and agreeing to license terms). Very simple operation.

I am guessing that when a new version of hplip comes out then, perhaps, I have to run hp-setup. I may be wrong about this but if I am right, then I still wonder if there is an easier way to find out this must be done than to discover that my machine doesn't print.

Just in case you can see something in the two items you wanted me to post, here they are:

[ross@Lenovo3Part /]$ cat etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# 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 -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# 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
# packagers with `pacman-key --populate archlinux`.

#
# 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.

#[testing]
#Include = /etc/pacman.d/mirrorlist

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

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

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

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

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#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

and

[ross@Lenovo3Part /]$ uname -a && cat /etc/os-release
Linux Lenovo3Part 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"

Offline

#8 2016-07-28 04:51:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

So you have installed hplip-plugin through the HP utility, which is why pacman doesn't know anything about it.

Your guess is as good as mine as to how you update that when hplip is updated, but I imagine you are right and you just rerun the utility.

This is one of the reasons that you are encouraged to use PKGBUILDs to install software, as pacman can then track it.


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2016-07-28 18:01:29

WeeDram
Member
From: Vancouver, B.C., Canada
Registered: 2016-04-14
Posts: 91

Re: Solved:Implications of: “warning:arch distro not found in AUTH_TYPES"?

I'll make learning how to use PKGBUILDS one of my projects for the future. Probably a useful skill here in Arch.
Yes, I'll mark this as solved, although in one sense it really isn't. If I can discover a better way to deal with this, I'll add to the thread.
Thanks very much for your attention to my problem.

Offline

Board footer

Powered by FluxBB