You are not logged in.

#1 2017-08-03 13:00:37

PhoenixStarEclipse
Member
Registered: 2017-08-03
Posts: 3

[Solved] Failed to install apache-tools

Here is what I got:

[pse@PhoenixStarEclipse ~]$ sudo pacman -S apache-tools
[sudo] password for pse: 
resolving dependencies...
looking for conflicting packages...

Packages (3) apr-1.6.2-1  apr-util-1.6.0-1  apache-tools-2.4.25-1

Total Installed Size:  2.01 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                            [##############################] 100%
downloading required keys...
error: key "997995DF61A0959A" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

Then I googled it and found this:
https://bbs.archlinux.org/viewtopic.php?id=187746
but

pacman-key --refresh-keys

didn't work though.

Last edited by PhoenixStarEclipse (2017-08-03 13:58:17)

Offline

#2 2017-08-03 13:32:56

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [Solved] Failed to install apache-tools

That is not an Arch package, so where is it coming from?

Please post your pacman.conf.

Mod note: moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-08-03 13:38:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [Solved] Failed to install apache-tools

apache-tools is not in our repos, so were are you installing apache-tools from? You likely lack the key from the owner of that repo, which has no direct correlation with the keys you refresh with pacman-keys.

That said, at least from what I gather - no direct hands on experience - the repo apache package provides most if not all of the tools that would be included in the apache-tools package, why are you using it?

Last but not least, that it attempts to resolve a package this old (given the corresponding apache package was installed at the same time) shows that you likely didn't do a full system update for at least 8 months, Arch really shouldn't be used with that long of an interval between updates.
https://wiki.archlinux.org/index.php/Sy … nsupported

Offline

#4 2017-08-03 13:54:42

PhoenixStarEclipse
Member
Registered: 2017-08-03
Posts: 3

Re: [Solved] Failed to install apache-tools

WorMzy wrote:

That is not an Arch package, so where is it coming from?

Please post your pacman.conf.

Mod note: moving to NC.

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

[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://repo.archlinuxcn.org/$arch

Offline

#5 2017-08-03 13:58:03

PhoenixStarEclipse
Member
Registered: 2017-08-03
Posts: 3

Re: [Solved] Failed to install apache-tools

WorMzy wrote:

That is not an Arch package, so where is it coming from?

Please post your pacman.conf.

Mod note: moving to NC.

Thanks for helping.
I found out that this was caused by not installing archlinuxcn-gpgkey.

Offline

Board footer

Powered by FluxBB