You are not logged in.

#1 2013-09-28 03:57:28

ThinkFast
Member
Registered: 2013-09-25
Posts: 38

cgminer listed in packages, but pacman returns error: target not found

I read the thread: Sticky: Closed: Common Problems and Issues by fsckd.
I updated the "/etc/pacman.d/mirrorlist" file and added the US mirror as the first entry.
I did 'pacman -Syyu'
Then:
pacman -S cgminer
error: target not found: cgminer

cgminer 3.4.3-1
Architecture:     i686
Repository:     Community
Description:     Multi-threaded multi-pool GPU, FPGA and ASIC miner for bitcoin and derivative coins
Upstream URL:     http://forum.bitcoin.org/index.php?topic=28402.0

What am I doing wrong?

Offline

#2 2013-09-28 04:00:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: cgminer listed in packages, but pacman returns error: target not found

Do you have the community repo enabled?

Offline

#3 2013-09-28 04:58:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: cgminer listed in packages, but pacman returns error: target not found

... Also, what happens if you try pacman -Ss cgminer   (Hint: That is a search -- it should tell you the revision of cgminer it would install.  If it shows nothing, then consider Scimmia's hint)  If you still have problems, post your /etc/pacman.conf file.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2013-09-28 16:01:39

ThinkFast
Member
Registered: 2013-09-25
Posts: 38

Re: cgminer listed in packages, but pacman returns error: target not found

>Do you have the community repo enabled?
Specified in /etc/pacman.conf file?

>try pacman -Ss cgminer
[root@pogoplug01 ~]#

/etc/pacman.conf file:

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

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

#NoUpgrade   =
#NoExtract   =

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

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel    = Required DatabaseOptional
#LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Never

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

[root@pogoplug01 ~]#
Looks like it is...
Any suggestions?

Last edited by ThinkFast (2013-12-22 20:38:24)

Offline

#5 2013-09-28 16:02:55

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: cgminer listed in packages, but pacman returns error: target not found

Looks like you aren't using Arch, you're using the ARM port....

Offline

#6 2013-09-28 16:11:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cgminer listed in packages, but pacman returns error: target not found

https://bbs.archlinux.org/viewtopic.php?id=153431


When pasting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#7 2013-09-28 16:32:10

ThinkFast
Member
Registered: 2013-09-25
Posts: 38

Re: cgminer listed in packages, but pacman returns error: target not found

falconindy wrote:

Looks like you aren't using Arch, you're using the ARM port....

I am. When I searched google cgminer package, the link sent me to the AL package list. I guess I assumed their was none in the ALARM repository.
So I checked and it isn't in ALARM repository.
But if it is listed in the AL repository [https://www.archlinux.org/packages/comm … 6/cgminer/], then wouldn't it be available? I'm very confused.

Maybe I'm just sleep deprived? yikes
Sorry for not using code tags. hmm
Thanks...

Offline

#8 2013-09-28 17:07:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cgminer listed in packages, but pacman returns error: target not found

ThinkFast wrote:

But if it is listed in the AL repository [https://www.archlinux.org/packages/comm … 6/cgminer/], then wouldn't it be available? I'm very confused.

Because, as you can clearly see in your /etc/pacman.conf, you're using

Architecture = arm

and Arch Linux provides packages only for x86 - 32 and 64 bits: https://www.archlinux.org/packages/?name=cgminer
pacman downloads packages for your architecture, neither i686 nor x86_64 is your architecture, thus this won't work.

Offline

#9 2013-09-28 20:11:57

ThinkFast
Member
Registered: 2013-09-25
Posts: 38

Re: cgminer listed in packages, but pacman returns error: target not found

karol wrote:
ThinkFast wrote:

But if it is listed in the AL repository [https://www.archlinux.org/packages/comm … 6/cgminer/], then wouldn't it be available? I'm very confused.

Because, as you can clearly see in your /etc/pacman.conf, you're using

Architecture = arm

and Arch Linux provides packages only for x86 - 32 and 64 bits: https://www.archlinux.org/packages/?name=cgminer
pacman downloads packages for your architecture, neither i686 nor x86_64 is your architecture, thus this won't work.

I see now. I misunderstood the meaning of i686.
Have to see if I can port the package to ALARM.

Alright, I will return to the ALARM forums.
Thanks for tolerating me. smile

Offline

Board footer

Powered by FluxBB