You are not logged in.

#1 2016-01-20 16:48:14

asdfiex
Member
From: Eastern Europe
Registered: 2015-12-15
Posts: 71

[SOLVED] Showing as being installed by yaourt, not found by which

I just installed Apache server using Yaourt terminal program.
There it's listed as being installed, but when I'm checking the setup with 'which' command, there it goes...
I tried reinstalling it, but useless... Any ideas? Or should I download and build it from official download site?
And where's located the damn Yaourt log file?

extra/apache 2.4.18-1 [installed]
    A high performance Unix-based HTTP server
which: no apache in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

Later edit:
Actually found that the pacman's log file shows the Yaourt activity. There nothing seems to be wrong in my humble opinion..   
/var/log/pacman.log

[2016-01-20 17:40] [ALPM] transaction started
[2016-01-20 17:40] [ALPM] installed apache22 (2.2.31-1)
[2016-01-20 17:40] [ALPM] transaction completed
[2016-01-20 17:59] [PACMAN] Running 'pacman --color auto -S extra/apache'
[2016-01-20 18:00] [PACMAN] Running 'pacman --color auto -S extra/apache'
[2016-01-20 18:00] [ALPM] transaction started
[2016-01-20 18:00] [ALPM] removed apache22 (2.2.31-1)
[2016-01-20 18:00] [ALPM] installed apache (2.4.18-1)
[2016-01-20 18:00] [ALPM] transaction completed
[2016-01-20 18:02] [PACMAN] Running 'pacman --color auto -S extra/apache'
[2016-01-20 18:19] [PACMAN] Running 'pacman --color auto -S extra/apache'
[2016-01-20 18:19] [ALPM] transaction started
[2016-01-20 18:19] [ALPM] reinstalled apache (2.4.18-1)
[2016-01-20 18:19] [ALPM] transaction completed

Last edited by asdfiex (2016-01-20 18:07:05)

Offline

#2 2016-01-20 16:50:01

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

Re: [SOLVED] Showing as being installed by yaourt, not found by which

What is the output of pacman -Ql apache
?


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

#3 2016-01-20 16:55:06

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Showing as being installed by yaourt, not found by which

The apache package doesn't provide a command named apache, the main binary is called httpd.

Why are you using yaourt to install packages in the main repos?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2016-01-20 17:23:53

asdfiex
Member
From: Eastern Europe
Registered: 2015-12-15
Posts: 71

Re: [SOLVED] Showing as being installed by yaourt, not found by which

Thanks for your fast answers.
I'm kinda satisfied now, Apache it's succesfully installed and my tiny website got rolled out to the mighty Internet.. Yeee!!

slithery wrote:

Why are you using yaourt to install packages in the main repos?

Because it seems more handy? But what are the other ways except doing it manually?

Last edited by asdfiex (2016-01-20 17:25:35)

Offline

#5 2016-01-20 17:33:13

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Showing as being installed by yaourt, not found by which

asdfiex wrote:

Because it seems more handy? But what are the other ways except doing it manually?

Arch has this fantastic package manager thing called pacman.
Yaourt should only be used to install AUR packages and only then if you know what you're doing.

Last edited by Slithery (2016-01-20 17:34:38)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2016-01-20 17:50:49

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

Re: [SOLVED] Showing as being installed by yaourt, not found by which

Please do search before posting, the wiki has a page devoted to the installation, and running, of apache and would have answered your main reason for this topic: https://wiki.archlinux.org/index.php/Apache_HTTP_Server


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

#7 2016-01-20 18:02:39

asdfiex
Member
From: Eastern Europe
Registered: 2015-12-15
Posts: 71

Re: [SOLVED] Showing as being installed by yaourt, not found by which

There are security concerns too installing an extra or community package by Yaourt? Or what's the reason using pacman instead for this particular kind of job?

How I'm new here, I like for example searching for 'audio player' using Yaort and hence, there's the list available...
Or you suggesting being more loyalist and use Arch's own package manager? big_smile

Later edit:
"an unofficial, third-party script" - all cleared now!  Shame on me because not using official wikis more often...

Last edited by asdfiex (2016-01-20 18:05:34)

Offline

#8 2016-01-20 18:08:30

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

Re: [SOLVED] Showing as being installed by yaourt, not found by which

pacman ships with a number of helpful utilities, like pacsearch. It is worth understanding how all of them work:

pacman -Ql pacman | awk -F/ '/bin/ {print $4}'

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2016-01-20 18:13:00

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: [SOLVED] Showing as being installed by yaourt, not found by which

asdfiex wrote:

There are security concerns too installing an extra or community package by Yaourt?

Strictly speaking, there are no technical reasons to use pacman over yaourt - although it adds an additional layer/process around pacman, and consequently and additional thing that may potentially break (this is true for all software, not just package managers).

It is, however, a good habit to distinguish between AUR packages and official ones. Part of that habit is to use pacman for the regular packages (and all the local plumbing), and yaourt only if you want to interact with the AUR, to keep your brain from thinking that "it's about the same thing".

I like for example searching for 'audio player' using Yaort and hence, there's the list available

You can also use pacman, with the benefit that it limit the results to the official packages:

pacman -Ss audio player

EDIT or the same with pacsearch, as suggested by jasonwryan

Last edited by ayekat (2016-01-20 18:14:02)


pkgs │ hacks │ cfg │ blag

Offline

#10 2016-01-20 23:22:00

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: [SOLVED] Showing as being installed by yaourt, not found by which

I love the loyalty here. Gives me the warm and fuzzies. But I have to be honest and say that I use yaourt, even for official packages, because it's a GUI. I like the GUI. Same reason why I'm using Kate to edit config files, Dolphin to browse my files, Kontact to read my email and RSS feeds and Chromium to surf the web. Don't get me wrong, I know how to use nano, cli file management and makepkg and the abs. But the whole point of a desktop is the GUI. I like point-n-click, drag-n-drop.


An old man, trying to stay sane

Offline

#11 2016-01-20 23:28:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Showing as being installed by yaourt, not found by which

Yaourt has a gui now?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2016-01-20 23:35:20

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: [SOLVED] Showing as being installed by yaourt, not found by which

Derp.... Octopi... These aren't the droids you're looking for.....


An old man, trying to stay sane

Offline

#13 2016-01-20 23:40:33

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Showing as being installed by yaourt, not found by which

Trilby wrote:

Yaourt has a gui now?

No, someone made a curses wrapper for yaourt (rather meta) and called it a "bash GUI" because they don't understand what a GUI is.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#14 2016-01-20 23:42:01

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

Re: [SOLVED] Showing as being installed by yaourt, not found by which

"force update mode"

Ew.


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

#15 2016-01-20 23:43:26

Buddlespit
Member
From: Chesapeake, Va.
Registered: 2014-02-07
Posts: 507

Re: [SOLVED] Showing as being installed by yaourt, not found by which

fsckd wrote:
Trilby wrote:

Yaourt has a gui now?

No, someone made a curses wrapper for yaourt (rather meta) and called it a "bash GUI" because they don't understand what a GUI is.

I actually meant Octopi, which uses yaourt. My bad.


An old man, trying to stay sane

Offline

#16 2016-01-20 23:53:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Showing as being installed by yaourt, not found by which

Buddlespit wrote:
fsckd wrote:
Trilby wrote:

Yaourt has a gui now?

No, someone made a curses wrapper for yaourt (rather meta) and called it a "bash GUI" because they don't understand what a GUI is.

I actually meant Octopi, which uses yaourt. My bad.

Ahh, octopi calls pacman directly and has an optional dep on yaourt for AUR support. It can use pacaur instead.

And I realize this thread is way off topic and I'm one of the contributors to that. Very sorry. I'll shut up now.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB