LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2022, 04:06 PM   #1
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Rep: Reputation: 22
Unable to install AWStats on Alma Linux 8.6


I tried to install but get:

Error:
Problem: conflicting requests
nothing provides perl(Switch) needed by awstats-7.8-2.el8.noarch
(try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

I tried --skip-broken, and --nobest (same problem) but then it doesn’t work and many of the files are missing

Does anyone know if there's a solution to this?
 
Old 09-15-2022, 06:23 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,562

Rep: Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629Reputation: 2629
I do not know what to tell you
i have always installed awstats from source code , and for that matter the whole apache stack from source code as well .

where did you get the "awstats-7.8-2.el8.noarch" rpm from ??

using dnf ?

or

Did you just randomly download a random rpm from a site ?
 
Old 09-16-2022, 02:20 AM   #3
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 22
I used the Alma dnf It's on epel. Isn't that the whole idea of a repository? WFT should I want to build it from source. You think I run a server for Linux fun? I mean why buy a car when you can build it from the parts?
 
Old 09-21-2022, 07:21 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,477

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Alma Linux 8.6 is supposed to be identical with CentOS 8 :
The package 'perl-Switch' is in the PowerTools repo →

# dnf config-manager --set-enabled powertools

(or maybe # dnf config-manager --set-enabled PowerTools )

-
 
1 members found this post helpful.
Old 09-22-2022, 03:44 AM   #5
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by knudfl View Post
Alma Linux 8.6 is supposed to be identical with CentOS 8 :
The package 'perl-Switch' is in the PowerTools repo →

# dnf config-manager --set-enabled powertools

(or maybe # dnf config-manager --set-enabled PowerTools )

-
Thanks for that. It worked fine. Everything went according to plan until:
sudo /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=myDomain.com -update

At this point there seems to be a permissions problem but no matter what I try it still stays there. Everything is owned by apache and I tried 755 but nope - doesn't work.

I'm very much a noob to Linux so I guess I did something stupid.
 
  


Reply

Tags
alma linux 8.6, awstats


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Install OTRS Ticketing System on Alma Linux 8 LXer Syndicated Linux News 0 03-02-2022 02:46 AM
LXer: How to Install and Configure Fail2ban on Alma Linux 8 LXer Syndicated Linux News 0 02-24-2022 03:00 AM
LXer: How to install Mattermost on Alma Linux 8 LXer Syndicated Linux News 0 01-21-2022 11:15 PM
LXer: How to Install OpenLiteSpeed Webserver on Alma Linux 8 LXer Syndicated Linux News 0 10-30-2021 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration