LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-05-2017, 10:29 PM   #1
rhinolt
Member
 
Registered: Jan 2017
Posts: 30

Rep: Reputation: Disabled
why i got message "setuptools is not installed, Please install it first"?


i was trying setup SEAFILE SERVER at CentOS7,but popup a message
"setuptools is not installed, Please install it first."
but ive installed python-setuptools already
 
Old 05-06-2017, 06:09 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593

Rep: Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616
Yeah, yum/dnf/whatever they call it now is looking for a specific rpm that you haven't got.


There's some option to rpm that tells you what's required. You are missing something. I don't have rpm here, but it's --requires or something obvious of that nature. Then, for each requirement, rpm -q will tell you if it's installed. There's also database operations if you think rpm is talking bull. Don't you love all this torture? I avoid it like the plague with slackware.
 
Old 05-06-2017, 08:12 AM   #3
rhinolt
Member
 
Registered: Jan 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Yeah, yum/dnf/whatever they call it now is looking for a specific rpm that you haven't got.


There's some option to rpm that tells you what's required. You are missing something. I don't have rpm here, but it's --requires or something obvious of that nature. Then, for each requirement, rpm -q will tell you if it's installed. There's also database operations if you think rpm is talking bull. Don't you love all this torture? I avoid it like the plague with slackware.
how to use "--requires" exactly please? i know that yum stuff awful,however centos7 is the common distribution those vps provide
 
Old 05-07-2017, 01:28 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593

Rep: Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616
I am in hospital here with an Android tablet. I am not in a position to spoon feed you.


Run 'man rpm' or whateveand find out. You are trying to install some rpm. I was thinking of


rpm --requires /path/to/some.rpm, which should return a list of rpms. Then query that list one by one. If you want to run Centos, it is you who will have to learn this basic stuff.

Last edited by business_kid; 05-07-2017 at 01:44 AM.
 
Old 05-07-2017, 06:50 AM   #5
rhinolt
Member
 
Registered: Jan 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I am in hospital here with an Android tablet. I am not in a position to spoon feed you.


Run 'man rpm' or whateveand find out. You are trying to install some rpm. I was thinking of


rpm --requires /path/to/some.rpm, which should return a list of rpms. Then query that list one by one. If you want to run Centos, it is you who will have to learn this basic stuff.
is it
Code:
Checking python on this machine ...
  Checking python module: setuptools ... Done.
  Checking python module: python-imaging ... 
 python-imaging  is not installed, Please install it first.

On Debian/Ubntu: apt-get install python-imaging
On CentOS/RHEL: yum install python-imaging


Error occured during setup. 
Please fix possible problems and run the script again.

[root@localhost /home/seafile-server-6.0.9]#rpm --requires python-imaging

RPM version 4.11.3
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-aKfgpqVcdLilsiv?] [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--pkgid] [--hdrid] [--triggeredby] [--whatrequires]
        [--whatprovides] [--nomanifest] [-c|--configfiles] [-d|--docfiles] [-L|--licensefiles] [--dump] [-l|--list]
        [--queryformat=QUERYFORMAT] [-s|--state] [--nofiledigest] [--nofiles] [--nodeps] [--noscript] [--allfiles] [--allmatches]
        [--badreloc] [-e|--erase <package>+] [--excludedocs] [--excludepath=<path>] [--force] [-F|--freshen <packagefile>+] [-h|--hash]
        [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install] [--justdb] [--nodeps] [--nofiledigest] [--nocontexts] [--noorder]
        [--noscripts] [--notriggers] [--nocollections] [--oldpackage] [--percent] [--prefix=<dir>] [--relocate=<old>=<new>]
        [--replacefiles] [--replacepkgs] [--test] [-U|--upgrade <packagefile>+] [-D|--define 'MACRO EXPR'] [--undefine=MACRO]
        [-E|--eval 'EXPR'] [--macros=<FILE:...>] [--noplugins] [--nodigest] [--nosignature] [--rcfile=<FILE:...>] [-r|--root ROOT]
        [--dbpath=DIRECTORY] [--querytags] [--showrc] [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage] [--scripts] [--setperms]
        [--setugids] [--conflicts] [--obsoletes] [--provides] [--requires] [--info] [--changelog] [--xml] [--triggers] [--last]
        [--dupes] [--filesbypkg] [--fileclass] [--filecolor] [--fscontext] [--fileprovide] [--filerequire] [--filecaps]
seems not working

Last edited by rhinolt; 05-07-2017 at 06:51 AM.
 
Old 05-09-2017, 05:32 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593

Rep: Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616
Have you read the rpm man page? I bet you haven't.


Don't post your errors for me to spoon feed you. Go figure with the instructions I have given you
 
Old 05-10-2017, 10:05 AM   #7
rhinolt
Member
 
Registered: Jan 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
problem solved.tho it is not an rpm issue,thanks anyway
 
Old 05-11-2017, 05:34 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,593

Rep: Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616
In order to allow others to solve their problems, post your solution. What was causing the issue?
 
Old 05-17-2017, 07:06 AM   #9
rhinolt
Member
 
Registered: Jan 2017
Posts: 30

Original Poster
Rep: Reputation: Disabled
that setup pack include .sh file,vim shows following:
Code:
hint="\nOn Debian/Ubntu: apt-get install python-setuptools\nOn CentOS/RHEL: yum install python${py26}-distribute"
        check_python_module pkg_resources setuptools "${hint}"

        hint="\nOn Debian/Ubntu: apt-get install python-imaging\nOn CentOS/RHEL: yum install python${py26}-imaging"
        check_python_module PIL python-imaging "${hint}"

        hint='\nOn Debian/Ubuntu:\n\nsudo apt-get install python-mysqldb\n\nOn CentOS/RHEL:\n\nsudo yum install MySQL-python'
        check_python_module MySQLdb python-mysqldb "${hint}"
these are coordinate packages needed
so i just
yum -y install pkg_resources
yum -y install PIL
yum -y install MySQLdb
then solved,that's all,quite noob issue :P

Last edited by rhinolt; 05-17-2017 at 07:08 AM.
 
  


Reply


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
Hard crash after boot message "Error for wireless request "Set Nickname" (8B1C)" steinc69 Linux - Newbie 4 12-12-2015 10:29 AM
"kde headers not installed" message angelo_maci Linux - Software 1 04-04-2006 01:08 PM
Message: Package "kernel-source" needs to be installed by YaST2 first! snarvey SUSE / openSUSE 3 03-17-2006 10:22 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Error message "Nautilus has no installed viewer capable of displaying" oracle_37 Linux - Software 1 08-02-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:26 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