LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-30-2017, 05:01 PM   #1
m@o_614
LQ Newbie
 
Registered: Jul 2017
Posts: 10

Rep: Reputation: Disabled
uninstall yum repository


Hi

I am facing lots of trouble with a yum repository that I think might be corrupted. I don't want to disable it (yum-config-manager --disable repository) I want to remove it so that I can reinstall it with the file that I downloaded:

yum-3.4.3.tar.gz

once I uncompress it shows me the next(I suppose that I have to "make install"):

AUTHORS callback.py cli.py docs FAQ Makefile PLUGINS README shell.py TODO yum yummain.py yum-updatesd.py
bin ChangeLog COPYING etc INSTALL output.py po rpmUtils test utils.py yumcommands.py yum.spec

But I don't know how to unistall it properly
 
Old 08-31-2017, 12:15 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
DO NOT!!!!!!

do not install a source tar ball


first WHY do you think a repo that many many users use is corrupt ?

next WHAT operating system are you using ?
you have yum so it is ether
RHEL 6 or 7
CentOS 6 or 7
ScientificLinux 6 or 7

so what os and what minor version
 
Old 08-31-2017, 09:37 AM   #3
m@o_614
LQ Newbie
 
Registered: Jul 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi

The server is a RedHat 6.9, and the reason I think the repository is corrupted is because nobody can use it. Everytime I type for example:

yum repolist or yum install package_name, I get an error that says:

"There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named sqlite"

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6"

Here it says that the yum uses python 2.6.6, but when I check the python version with python --version it gives me the 2.7 version. So what can I make yum to use python 2.7 instead of 2.6.6.(The sqlite3 is indeed installed)

The sqlite3 is located in the following directories:

/usr/lib64/python2.6/sqlite3
/usr/local/src/php-5.6.30/ext/sqlite3
/usr/local/include/php/ext/sqlite3
/usr/local/lib/python2.7/sqlite3
/usr/local/bin/sqlite3
/usr/bin/Python-2.7/Lib/sqlite3
/usr/bin/Python-2.7/Doc/includes/sqlite3

Last edited by m@o_614; 08-31-2017 at 09:47 AM.
 
Old 08-31-2017, 09:57 AM   #4
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
When was the last time you did an update of your system?
Code:
yum update
 
Old 08-31-2017, 10:16 AM   #5
m@o_614
LQ Newbie
 
Registered: Jul 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
I can't update either, it throws me the same error. Do you know if I can have two versions of Sqlite installed?? I was thinking that the problem might be with the Sqlite version 3.20.1

Last edited by m@o_614; 08-31-2017 at 11:58 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
Yum Repository nitrohuffer2001 Linux - General 7 04-23-2013 03:23 AM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
YUM repository Mr.J Linux - Newbie 3 06-27-2008 01:18 AM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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