You are not logged in.

#1 2014-05-30 09:09:26

SimbaClaws
Banned
Registered: 2014-02-05
Posts: 16

I might've broken my pacman somehow?

Apparently I'm unable to install any new packages with pacman.
Currently my only way of installing packages is through pacaur -S for some reason.
This seems to work fine when getting the package from the AUR repo, although when I run any of the commands for the packages that I installed it says that the command is not found.
Previously installed packages can be executed for some reason.

When I use compgen -c | grep mypackage it doesn't return anything.

For pacman it says target not found when typing in any legitimate package.

I'm running pacaur -S under a non-root user.
pacman -Syu runs just fine.

Does anyone have any idea where I should look to resolve the issue?

Currently this is my 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/
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
ILoveCandy
#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

Last edited by SimbaClaws (2014-05-30 09:17:42)

Offline

#2 2014-05-30 09:19:40

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

Re: I might've broken my pacman somehow?

Could you have aliased 'pacman' as something else? Check with 'type pacman'.

Assuming it isn't an alias, post the full output of

# /usr/bin/pacman -S --debug filesystem

Preferably using a pastebin.


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.

Online

#3 2014-05-30 09:20:17

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: I might've broken my pacman somehow?

Please post the actual terminal output. Nothing is irrelevant.

Offline

#4 2014-05-30 09:23:29

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

Re: I might've broken my pacman somehow?

Also, what is the "ILoveCandy" option? I can't find anything in the man pages about it.


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.

Online

#5 2014-05-30 09:25:06

SimbaClaws
Banned
Registered: 2014-02-05
Posts: 16

Re: I might've broken my pacman somehow?

WorMzy wrote:

Could you have aliased 'pacman' as something else? Check with 'type pacman'.

Assuming it isn't an alias, post the full output of

# /usr/bin/pacman -S --debug filesystem

Preferably using a pastebin.

type pacman
pacman is /usr/bin/pacman

http://pastebin.com/w73qBeDi Should I proceed with the installation of filesystem?

WorMzy wrote:

Also, what is the "ILoveCandy" option? I can't find anything in the man pages about it.

It shows a little pacman figure eating up the remaining percentages when running pacman big_smile

Last edited by SimbaClaws (2014-05-30 09:28:09)

Offline

#6 2014-05-30 09:33:09

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

Re: I might've broken my pacman somehow?

No, there's no need to continue with that installation. Could you re-run the command with a 'legitimate' package that gives you the error?

It shows a little pacman figure eating up the remaining percentages when running pacman big_smile

Ah, I see it's on the pacman Arch wiki page. You could try disabling it temporarily, though I don't think it would be causing problems.


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.

Online

#7 2014-05-30 09:41:24

SimbaClaws
Banned
Registered: 2014-02-05
Posts: 16

Re: I might've broken my pacman somehow?

WorMzy wrote:

No, there's no need to continue with that installation. Could you re-run the command with a 'legitimate' package that gives you the error?

It shows a little pacman figure eating up the remaining percentages when running pacman big_smile

Ah, I see it's on the pacman Arch wiki page. You could try disabling it temporarily, though I don't think it would be causing problems.

flamingbird ~ $ sudo pacman -S Eterm
[sudo] password for flamingbird: 
error: target not found: Eterm
flamingbird ~ $ sudo pacman -S aterm
error: target not found: aterm
flamingbird ~ $ sudo pacman -S bashish
error: target not found: bashish

hmmm ok maybe they weren't available through pacman after all >.>

still though after installing bashish or Eterm through pacaur -S I can't run them in bash?

flamingbird ~ $ bashish
bash: bashish: command not found
flamingbird ~ $ Eterm
bash: Eterm: command not found
flamingbird ~ $ eterm
bash: eterm: command not found

Last edited by SimbaClaws (2014-05-30 09:42:21)

Offline

#8 2014-05-30 09:45:45

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

Re: I might've broken my pacman somehow?

What's the output of `uname -a` and `pacman -Q linux`?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-05-30 09:47:14

SimbaClaws
Banned
Registered: 2014-02-05
Posts: 16

Re: I might've broken my pacman somehow?

flamingbird ~ $ uname -a
Linux brokenashes 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
flamingbird ~ $ pacman -Q linux
linux 3.14.4-1

Offline

#10 2014-05-30 09:48:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: I might've broken my pacman somehow?

Would you please leave pacaur and the AUR out of this? You asked for help with pacman.

As already requested, use pacman to install a package from the official repos, and post the entire output here.

Offline

#11 2014-05-30 09:51:08

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

Re: I might've broken my pacman somehow?

No, neither of those packages are available in the repositories. They are available in the AUR though. I recommend that you put pacaur aside for now, and re-read the wiki pages about what the AUR is, and how you make packages from it. Try making a package using makepkg, and see if you get any errors.


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.

Online

#12 2014-05-30 09:58:06

SimbaClaws
Banned
Registered: 2014-02-05
Posts: 16

Re: I might've broken my pacman somehow?

My sincere apoligies for wasting your time, I should've read better.
I might just have missunderstood the concept of the official repositories entirely.

I'll try to install something from the official repository and post the result. It may just be working fine, my inexperience might've been the problem -,-...

Yet again my apoligies:

sudo pacman -S arp-scan
[sudo] password for flamingbird: 
oplossen van afhankelijkheden...
controle van interne conflicten...

Packages (3): libnl-3.2.24-1  libpcap-1.5.3-1  arp-scan-1.9-1

Total Download Size:    0,68 MiB
Total Installed Size:   2,30 MiB

:: Proceed with installation? [Y/n] 

Pacman seems to work just fine. I'm just having issues with getting bashish to work I suppose.
The title in this thread is missleading then. Should I change it?

WorMzy wrote:

No, neither of those packages are available in the repositories. They are available in the AUR though. I recommend that you put pacaur aside for now, and re-read the wiki pages about what the AUR is, and how you make packages from it. Try making a package using makepkg, and see if you get any errors.

I'll try building bashish manually with makepkg then. Thanks for the support!

Last edited by SimbaClaws (2014-05-30 10:08:15)

Offline

#13 2014-05-30 10:20:10

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

Re: I might've broken my pacman somehow?

bashish is horribly outdated. Neither the AUR package or the software itself has seen an update in over four years. I'm not sure it's a good choice of package to help you get used to the AUR..

eterm would be a better choice, but be aware that it has a dependency on another AUR package, which you will need to build first.


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.

Online

#14 2014-05-30 15:32:05

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: I might've broken my pacman somehow?

SimbaClaws wrote:

The title in this thread is missleading then. Should I change it?

For the time being that would be a good idea, but his thread may wind up being superfluous. If you're having a problem building a particular AUR package, the first course of action should be to leave a comment for its maintainer on the package's AUR page, rather than opening a topic in the forums.

For now, I'd recommend following WorMzy's advice above, with a slight alteration: If you have a package installed from the official repositories (preferably from [community]) that has a counterpart in the AUR, try building that AUR counterpart as a test. If the package you choose for the test builds with makepkg without error, the problem isn't makepkg; if it builds without error using with pacaur, the problem isn't pacaur. If it installs, the problem isn't pacman. The only remaining possibility is that the problem is in the bashish package itself. These days I use cower + makepkg for AUR packages, but back when I used yaourt and Packer that was how I tested packages that wouldn't build.

Offline

Board footer

Powered by FluxBB