You are not logged in.

#1 2012-09-12 10:32:24

rado3105
Member
Registered: 2011-10-09
Posts: 103

bash alsamixer command not found (despite that alsa-tools is installed

Hi can anybody tell me why I cant start alsamixer or alsactl. I installed alsa-tools. Also tryed to run it as root or regular user.
DE is fluxbox.

Offline

#2 2012-09-12 10:42:09

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: bash alsamixer command not found (despite that alsa-tools is installed

$ pkgfile alsamixer
extra/alsa-utils

Offline

#3 2012-09-12 10:57:20

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: bash alsamixer command not found (despite that alsa-tools is installed

[root@r-c-laptop ~]# pkgfile --update
:: Updating 3 repos...
  download complete: core                 [   493.4 KiB  76.4K/s  2 remaining]
  download complete: extra                [     5.7 MiB   410K/s  1 remaining]
  download complete: community            [     6.5 MiB   411K/s  0 remaining]
:: download complete in 16.10s            <    12.6 MiB   803K/s  3 files    >
:: waiting on 1 process to finish repacking repos...
[root@r-c-laptop ~]# pkgfile alsamixer
extra/alsa-utils
[root@r-c-laptop ~]# alsamixer
-bash: alsamixer: command not found

Offline

#4 2012-09-12 11:01:24

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

Re: bash alsamixer command not found (despite that alsa-tools is installed

rado3105 wrote:

Also tryed to run it as root

The above post has the solution.  But I'd like to encourage you to break this habit.  If something fails and you don't know why, the last thing to do is to run as root.  This is like a peice not fitting in a delicate assembly, so you try forcing it in with a sledge hammer.  Root privileges should be reserved for when you know exactly what you are doing and root access is needed.  When you are unsure root access will not make things more likely to work, only more catastropic when they don't.

PS, yes, pkgfile gives you the same answer - you still have to actually install that package.

Last edited by Trilby (2012-09-12 11:02:01)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2012-09-12 11:04:49

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: bash alsamixer command not found (despite that alsa-tools is installed

[root@r-c-laptop ~]# pacman -S alsamixer
error: target not found: alsamixer
[root@r-c-laptop ~]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra                   1422.7 KiB   826K/s 00:02 [######################] 100%
community               1779.0 KiB   738K/s 00:02 [######################] 100%
:: Starting full system upgrade...
there is nothing to do
[root@r-c-laptop ~]# pacman -S alsamixer
error: target not found: alsamixer
[root@r-c-laptop ~]# pacman -S alsa-tools
warning: alsa-tools-1.0.25-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): alsa-tools-1.0.25-1

Total Installed Size:   1.21 MiB
Net Upgrade Size:       0.00 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) upgrading alsa-tools                         [######################] 100%
[root@r-c-laptop ~]# alsamixer
-bash: alsamixer: command not found
[root@r-c-laptop ~]# su r-c
[r-c@r-c-laptop root]$ cd
[r-c@r-c-laptop ~]$ alsamixer
bash: alsamixer: command not found

Last edited by rado3105 (2012-09-12 11:06:12)

Offline

#6 2012-09-12 11:09:52

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

Re: bash alsamixer command not found (despite that alsa-tools is installed

*headdesk*

Please reread skuntrader's post.  And if necessary read pacman's man page.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2012-09-12 11:23:10

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: bash alsamixer command not found (despite that alsa-tools is installed

SORRY...i installed alsa-tools but was thinking that it is alsa-utils....too much headache with arch linux for 2 days of problematic installations....

Last edited by rado3105 (2012-09-12 11:30:33)

Offline

#8 2012-09-12 11:30:08

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

Re: bash alsamixer command not found (despite that alsa-tools is installed

I suggested reading `man pacman`.  Also read at least the first line of `man pkgfile` and http://slash7.com/2006/12/22/vampires/

This has nothing to do with "old way" or "new way".  As I posted in another thread of yours you need to stop trying to blame arch or pacman or anyone else for your blatant PEBKACs.  Look at the commands you issued.  You have not installed the relevant package.

EDIT: this post may seem abrupt given the content it is reponding to has been removed.  But the point remains valid.

Last edited by Trilby (2012-09-12 11:33:55)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2012-09-13 03:25:56

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: bash alsamixer command not found (despite that alsa-tools is installed

rado3105 wrote:

SORRY...i installed alsa-tools but was thinking that it is alsa-utils....too much headache with arch linux for 2 days of problematic installations....

C'mon, you can't be serious. All your posts recently have been mistakes on your part, including this one. Please mark your threads as "Solved" and be thankful that others took their free time to investigate these non-issues. Not everyone is as nice and patient as Trilby.

Offline

#10 2012-10-03 07:26:47

dif
Member
From: Stalowa Wola, Poland
Registered: 2009-12-22
Posts: 137

Re: bash alsamixer command not found (despite that alsa-tools is installed

@twelveeighty
Why judging? The mistake was obvious. You could have helped or ignored the post. Instead you choose to criticise. Now, that's a waste of free time.
Trilby chose to be helpful by pointing to "manuals" so that rado3105 would learn.
I can't understand why somewone's "I'm sorry" upset you.
Calm down, calm down, calm down...

Offline

Board footer

Powered by FluxBB