CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  RPMForge downloaded on CentOS, but still no phpmyadmin

 

 Bottom   Previous Topic   Next Topic
123>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  joao2
      joao2
RPMForge downloaded on CentOS, but still no phpmyadmin
#1
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
I followed these steps:

http://dev.antoinesolutions.com/rpmforge-repository

1. But I didn't delete in step 5 because I don't yet know how to.

2. I get permission denied warning when I try to open the rpforge configuration file by typing in /etc/yum.repos.d/rpmforge.repo

3. And I get no package phpmyadmin available when I do yum install phpmyadmin. This is what worries me as I want to install phpmyadmin, php and ftp, among others.

I'm on a CentOS 6.2 dedi

Could someone be kind enough to instruct me what may be wrong?
Posted on: 2012/4/30 20:40
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
I followed these steps:

http://dev.antoinesolutions.com/rpmforge-repository

1. But I didn't delete in step 5 because I don't yet know how to.

If you followed that exactly then you have the CentOS-5 rpmforge-release and not the correct one for CentOS-6. See the Wiki page on RPMforge repo.

Quote:

2. I get permission denied warning when I try to open the rpforge configuration file by typing in /etc/yum.repos.d/rpmforge.repo

It is neither an executable nor a script, but a yum repo config, so that should be no surprise.

Quote:

3. And I get no package phpmyadmin available when I do yum install phpmyadmin. This is what worries me as I want to install phpmyadmin, php and ftp, among others.

I'm on a CentOS 6.2 dedi

Could someone be kind enough to instruct me what may be wrong?

Probably not without more information. Please provide more information about your system by running "./getinfo.sh package" and showing us the output file.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/30 21:10
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#3
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Thanks so much for the response.

Indeed, I can't believe it, but I have royally screwed up by following the instructions literally. I've even installed a red hat version of rpm on centos.

How can I erase it all?

I am typing ./getinfo.sh package into putty, but I'm being told

-bash: ./getinfo.sh: No such file or directory

Also running


[root@server1 ~]# ./getinfo.sh package
-bash: ./getinfo.sh: No such file or directory
[root@server1 ~]# "./getinfo.sh package"
-bash: ./getinfo.sh package: No such file or directory
Posted on: 2012/4/30 22:31
Create PDF from Post Print
Top
  •  YBellefeuille
      YBellefeuille
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#4
Regular Board Member
Joined: 2012/3/6
From Ottawa
Posts: 235
Quote:

I am typing ./getinfo.sh package into putty, but I'm being told

-bash: ./getinfo.sh: No such file or directory


Are you perhaps forgetting the steps that say "save the script to a file using the link above, for example "getinfo.sh", or save it to a local directory, change the permissions to make it executable and run it"?

But undoing what you've done is simple enough. As root, do yum remove rpmforge-release.

Quote:

And I get no package phpmyadmin available when I do yum install phpmyadmin. This is what worries me as I want to install phpmyadmin, php and ftp, among others.


Read Package Management, then read about Available Repositories for CentOS, then read about yum-plugin-priorities and install it, then, as root, install RPMForge using the instructions you've already read at Available Repositories for CentOS, then edit all the files in /etc/yum.repos.d/*.repo to add, for all repositories marked enabled=1, a line with priority= and an appropriate number as indicated in yum-plugin-priorities, and then and only then do yum install phpmyadmin.
Posted on: 2012/4/30 22:59
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#5
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:


YBellefeuille wrote:

Are you perhaps forgetting the steps that say "save the script to a file using the link above, for example "getinfo.sh", or save it to a local directory, change the permissions to make it executable and run it"?

But undoing what you've done is simple enough. As root, do yum remove rpmforge-release.



Well, uninstalling worked fine. And I'd missed on that link, very interesting thanks. But I decided not to install the ElRepo repository because it would probably mess with the CentOS and because ElRepo doesn't seem to have one for CentOS 6, so I'm trying to download the getinfo script by doing wget, and I don't know how to change the permissions to make it executable. Also, once I do find out how to make it executable, I wouldn't know how to extract it out of linux in order to paste it your pastebin on the internet. It would probably end up sitting somewhere in the linux directories and I wouldn't know how to get it to my windows and its browsers.

Last time I was on a dedi, it was also CentOS and I was more of a noob than I am now, and I had a bit of hosting support then whereas now it's unmanaged server, but every single time I tried to install things from third-party repositories it would mess up with the CentOS, every single time, so my hopes are a bit despairing in that department. Support back then kept insisting I never touch third-party repositories, I kept insisting ffmpeg and whatnot required the third party repositories until I desisting and left the server to function with the scripts I'd had it running along beforehand.

Anyway, I've done a wget of http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm and I'm getting the same package not found message I got with the wrong rpmforge download. This is due to my inability to edit files, as you describe the solution below.

You say that /etc/yum.repos.d/rpmforge.repo isn't an executable, is this why it can't be opened? Would I have to learn how to change it to an executable to complete the steps in the guide?


Quote:

YBellefeuille wrote:

then edit all the files in /etc/yum.repos.d/*.repo to add, for all repositories marked enabled=1, a line with priority= and an appropriate number as indicated in <a href="http://wiki.centos.org/PackageManagement/Yum/Priorities">yum-plugin-priorities</a>




As per your instructions, how do I edit files in that directory, and how do I find out which of the files in that directory are ''marked enabled=1''?

Once I do know how to edit them, would an appropriate N where priority=N be 1 for the RPM repository, the reason being so it would have the same priority as the CentOS Base that is probably already installed with that priority level?
Posted on: 2012/5/1 0:47
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#6
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Hey buddy I noticed you didn't respond to this post. Was it incoherent or is it offtopic as knowing how to edit files belongs in a linux forum, not a centos forum?
Posted on: 2012/5/1 5:37
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#7
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
Hey buddy I noticed you didn't respond to this post. Was it incoherent or is it offtopic as knowing how to edit files belongs in a linux forum, not a centos forum?

This support system is run and manned (or womanned ) by volunteers. Many people come and go. Nobody is here 24/7.

Quote:

...so I'm trying to download the getinfo script by doing wget, and I don't know how to change the permissions to make it executable. Also, once I do find out how to make it executable, I wouldn't know how to extract it out of linux in order to paste it your pastebin on the internet.

The use of wget should be good. There are quite explicit instructions in How to provide information about your system.

Quote:

It would probably end up sitting somewhere in the linux directories and I wouldn't know how to get it to my windows and its browsers.

It will be sitting in the directory where you put it. How you transfer the output file to Windows is up to you. I'd use something like WinSCP, or scp from PuTTY.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 12:13
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#8
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:

The use of wget should be good. There are quite explicit instructions in How to provide information about your system.


Thanks, but I did:

wget https://raw.github.com/elrepo/packages/master/getinfo/el6/getinfo.sh
chmod +x getinfo.sh
cat - > getinfo.sh

And it just sits there, stuck, as a new line and without even allowing me to log out or get to another command line.

I was thinking the chmod part changes it to an exe.

I also tried the cat line before trying to chmod, and maybe even before I downloaded the package, always with the same result.
Posted on: 2012/5/1 13:09
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#9
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Ok, I just found out that 'cat > file means edit the file :)

Anyway, so I set the file to priority 3, as indicated by this:

http://dev.antoinesolutions.com/rpmforge-repository


God knows if its the right priority, though. It tells me to yum check-update to make sure it's the correct one. But I can't make head or tails of the answer:


[root@server1 ~]# yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cat.pdx.edu
* extras: linux.mirrors.es.net
* rpmforge: mirror.cpsc.ucalgary.ca
* updates: mirror.san.fastserv.com

bind.x86_64 32:9.7.3-8.P3.el6_2.2 updates
bind-libs.x86_64 32:9.7.3-8.P3.el6_2.2 updates
bind-utils.x86_64 32:9.7.3-8.P3.el6_2.2 updates
e2fsprogs-devel.x86_64 1.41.12-11.el6 base
krb5-devel.x86_64 1.9-22.el6_2.1 updates
krb5-libs.x86_64 1.9-22.el6_2.1 updates
libffi.x86_64 3.0.9-1.el5.rf rpmforge
libssh2.x86_64 1.2.7-1.el5.rf rpmforge
openssl.x86_64 1.0.0-20.el6_2.4 updates
openssl-devel.x86_64 1.0.0-20.el6_2.4 updates
[root@server1 ~]#




And just as I thought, I'm still getting 'no package phpmyadmin available.

I've also added lines like 'logout' or './getinfo.sh' to the getinfo.sh file from before I knew what cat did, but I doubt that's the issue.
Posted on: 2012/5/1 13:55
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#10
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6560
Repository priorities can range from 1 (the highest and most preferred) to 99 (the lowest and least preferred). The specific values that you assign to each repo is entirely arbitrary but the idea is that you assign them such that one repo is preferred over another and you give the CentOS repos the most preferred priority so that packages that belong to Centos are not overwritten.

The reason you cannot find phpmyadmin is because this package is not in Rpmforge for el6. You need EPEL instead or as well.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 14:39
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#11
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

TrevorH wrote:
Repository priorities can range from 1 (the highest and most preferred) to 99 (the lowest and least preferred). The specific values that you assign to each repo is entirely arbitrary but the idea is that you assign them such that one repo is preferred over another and you give the CentOS repos the most preferred priority so that packages that belong to Centos are not overwritten.

The reason you cannot find phpmyadmin is because this package is not in Rpmforge for el6. You need EPEL instead or as well.


What good is CentOS if it snubs phpmyadmin in this manner??!

Another reason why I was failing was because I was adding 'priority=3' to the getinfo.sh file, which had nothing to do with the repository.

However, now that I am modifying supposedly the correct file, I'm getting an absolutely crazy response as detailed below.

Initially i thought it was because I hadn't pressed enter before pressing Ctrl D to get out of the file, but tha turned out to be incorrect as once I did it after pressing enter I just get the same but with an inexplicable /n attached to the priority.

How can I install EPEL if that looks like its for Fedora and Red Hat?

And why was I getting this crazy readings of my file editing?

-----------------------

[root@server1 ~]# cat - > /etc/yum.repos.d/rpmforge.repo
priority=3[root@server1 ~]# yum check-update
Loaded plugins: fastestmirror
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3'
[root@server1 ~]# yum install phpmyadmin
Loaded plugins: fastestmirror
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3'
[root@server1 ~]#
[root@server1 ~]# yum check-update
Loaded plugins: fastestmirror
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3'
[root@server1 ~]# ^C
[root@server1 ~]# cat - > /etc/yum.repos.d/rpmforge.repo
priority=3
[root@server1 ~]# yum check-update
Loaded plugins: fastestmirror
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3\n'
Posted on: 2012/5/1 14:53
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#12
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6560
Quote:

cat - > /etc/yum.repos.d/rpmforge.repo
priority=3


So this just entirely replaced the existing contents of that file with a single line containing "priority=3" which is not what you intended. The cat command is NOT an editor, it concatenates files together and when run with - it takes its input from stdin (your terminal). It then writes its output to stdout and the > symbol redirects this over the top of the file you point to.

Quote:

What good is CentOS if it snubs phpmyadmin in this manner??!


It doesn't snub it, it just doesn't include it. You'll find many people distrust phpmyadmin as it does not have a great record on security vulnerabilities but that's an aside really. The package is in EPEL (Extra Package for Enterprise Linux) which, although run by the people from Fedora, is aimed at the enterprise linux distros such as RHEL, CentOS and Scientific Linux.

You'll need to restore the file you mangled or reinstall rpmforge-release (it'll probably install into /etc/yum.repos.d/rpmforge.repo.rpmnew since it differs from the file you currently have).
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 15:17
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#13
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
How do I edit the file to add the line so it doesn't replace the file, then?

How do I erase all the files that were created by the rpmforge download, install and screw up?

What does the getinfo.sh guide mean when it says:


'''''Please click on the link, select the text and save the script to a file using the link above, for example "getinfo.sh", or save it to a local directory, change the permissions to make it executable and run it:

cat - > getinfo.sh # Note: Ctrl-D is EOF
chmod +x getinfo.sh
./getinfo.sh''''''


What part of their description changes the permissions, what part makes it executable and runs it?

On another hand, it may be true that phpmyadmin doesn't have a good security record, but on the other hand this isn't my first unpleasant experience with CentOS- last time, I was actively disencouraged by support at another hosting I was at, to install anything remotely complicated from a third party repository as CentOS couldn't handle them. Thought a part of it was undoubtedly because they had a noob in their midst, another was truely because of CentOS.

Anyway, I'll head off to download EPEL, which promises to be another despairing routine
Posted on: 2012/5/1 15:34
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#14
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Well, not surprisingly, my attempt to install has already met itself with an equally obscure wall. I'm not sure how people are supposed to install these things if all the info comes down the grapevine.



I go to

Quote:
http://fedoraproject.org/wiki/EPEL


where there is

The newest version of 'epel-release' for EL6


which leads me to

http://ftp.cica.es/epel/6/i386/epel-release-6-5.noarch.rpm


which is i386, associated with 32 architecture. But I have a 64 bit CentOS.

So that can't be right.

Another link doesn't give me better luck:

http://linuxmoz.com/centos-epel-repo-install-tutorial/


gives me

''Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
warning: /var/tmp/rpm-tmp.wANSRV: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@server1 ~]# yum install phpmyadmin
Loaded plugins: fastestmirror
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3\n'
[root@server1 ~]# ^C
[root@server1 ~]# ^C
[root@server1 ~]#
''


Which is terribly surprising and frustrating given that this has nothing to do with the rpmforge repository. And yet when I try to yum install phpmyadmin thinking this new repository might do the trick, it hurls me back to my botched up rpmforge file.

I'd like to think it's because of a priority issue, that the yum install phpmyadmin is looking for a priority, but if this were true, surely it would be rushing off to the CentOS base repository which to my knowledge is probably set at 1.

If it is a priority issue, how do I erase the ruined rpmforge files, and how do I add a priorty of 3? to the new EPEL ones?

That is, if EPEL is compatible with 64, of course.
Posted on: 2012/5/1 15:38
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#15
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
...
which leads me to

http://ftp.cica.es/epel/6/i386/epel-release-6-5.noarch.rpm


which is i386, associated with 32 architecture. But I have a 64 bit CentOS.

So that can't be right.

It is a "noarch" RPM meaning architecture-neutral. It will work equally well for i386 or x86_64.

Quote:

...
[root@server1 ~]# yum install phpmyadmin
Loaded plugins: fastestmirror
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3\n'
[root@server1 ~]# ^C
[root@server1 ~]# ^C
[root@server1 ~]#
''

Which is terribly surprising and frustrating given that this has nothing to do with the rpmforge repository. And yet when I try to yum install phpmyadmin thinking this new repository might do the trick, it hurls me back to my botched up rpmforge file.

Computers are very stupid beasts that will only do exactly what they are told, and not what you would like them to do.

You clobbered the rpmforge.repo file with the cat command, as Trevor pointed out earlier. (Exactly the same way you clobbered the downloaded getinfo.sh script still earlier.) The rpmforge.repo file now apparently contains only the line "priority=3" which does not constitute a correct repo definition. Just remove it and try again. If you installed rpmforge-release then:
rpm -e rpmforge-release
Otherwise just:
rm /etc/yum.repos.d/rpmforge.repo
Then try:
yum install phpmyadmin
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 17:38
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#16
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6560
You broke yum by splatting all over the file /etc/yum.repos.d/rpmforge.repo and it'll stay broken until you either remove the file or correct it. The easiest way to correct it would be to re-install the rpmforge-release RPM that you already installed once before.

Quote:

on the other hand this isn't my first unpleasant experience with CentOS


Your unpleasant experience has nothing to do with CentOS but more to do with your inexperience, sorry. If you run commands that you do not understand then you will make mistakes. You can gain much interesting information about any commands that you intend to run by using the `man` command. So `man cat` shows you a page full of information about the cat command and how to use it. Similar man pages exist for just about everything else.

Quote:

'''''Please click on the link, select the text and save the script to a file using the link above, for example "getinfo.sh", or save it to a local directory, change the permissions to make it executable and run it:

cat - > getinfo.sh # Note: Ctrl-D is EOF
chmod +x getinfo.sh
./getinfo.sh''''''

What part of their description changes the permissions, what part makes it executable and runs it?


You need to find a book on basic linux commands and how they work. In the example you give there, `cat - > getinfo.sh` uses cat to take input from stdin (your terminal, as designated by the "-") and redirects the stdout from that command to the file getinfo.sh. Because it uses the > to do the redirection it overwrites the current contents of the file it's pointed to. If it used >> instead then it would append to the end of the file. Next, the instructions tell you to use the `chmod` command which changes the permissions of files and directories, the +x means to add the executable permission to the current set of permissions. Lastly `./getinfo.sh` means execute this file from the current directory.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 18:00
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#17
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

pschaff wrote:
You clobbered the rpmforge.repo file with the cat command, as Trevor pointed out earlier. (Exactly the same way you clobbered the downloaded getinfo.sh script still earlier.) The rpmforge.repo file now apparently contains only the line "priority=3" which does not constitute a correct repo definition. Just remove it and try again.


Thanks but I'm both failing at attempting to remove the rpmforge file, and at attempting to overwrite it with the same download downloaded again.

Here's my fail at trying to erase it:

rpm -qa | grep rpmforge

gives me

rpmforge-release-0.5.2-2.el6.rf.x86_64

so I

yum remove rpmforge-release-0.5.2-2.el6.rf.x86_64

But I get


Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package rpmforge-release.x86_64 0:0.5.2-2.el6.rf will be erased
--> Finished Dependency Resolution
Error: File contains no section headers.
file: file://///etc/yum.repos.d/rpmforge.repo, line: 1
'priority=3\n'
You could try using --skip-broken to work around the problem
** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
MySQL-server-5.5.14-1.linux2.6.x86_64 has missing requires of libaio.so.1()(64bit)
MySQL-server-5.5.14-1.linux2.6.x86_64 has missing requires of libaio.so.1(LIBAIO_0.1)(64bit)
MySQL-server-5.5.14-1.linux2.6.x86_64 has missing requires of libaio.so.1(LIBAIO_0.4)(64bit)
e2fsprogs-devel-1.41.12-3.el6.x86_64 has missing requires of e2fsprogs-libs = ('0', '1.41.12', '3.el6')
krb5-devel-1.8.2-3.el6.x86_64 has missing requires of keyutils-libs-devel
krb5-devel-1.8.2-3.el6.x86_64 has missing requires of libselinux-devel
openssl-devel-1.0.0-4.el6.x86_64 has missing requires of zlib-devel


----------------------------------------------------------

When I try to overwrite it, I do:

rpm -ivh rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm

And I get


Preparing... ########################################### [100%]
package rpmforge-release-0.5.2-2.el6.rf.x86_64 (which is newer than rpmforge-release-0.5. 2-1.el6.rf.x86_64) is already installed
file /etc/apt/sources.list.d/rpmforge-testing.list from install of rpmforge-release-0.5.2 -1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.2-1.el6.r f.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-1.e l6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-dag from install of rpmfo rge-release-0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.r f.x86_64
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2- 1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-fabian from install of rp mforge-release-0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el 6.rf.x86_64
file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.2-1.el6.rf .x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.2-1.el6 .rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.2-1.el6.rf.x8 6_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.2-1.el6.rf.x86_6 4 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.2/mirrors-rpmforge.yum from install of rpmforge- release-0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x8 6_64
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.apt from install of rpmforge-release- 0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.smart from install of rpmforge-releas e-0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.up2date from install of rpmforge-rele ase-0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.yum from install of rpmforge-release- 0.5.2-1.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.5.2-2.el6.rf.x86_64
Posted on: 2012/5/1 18:07
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#18
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6560
rm /etc/yum.repos.d/rpmforge.repo
rpm --force --install rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/5/1 18:12
Create PDF from Post Print
Top
  •  joao2
      joao2
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#19
Jr Board Member
Joined: 2012/1/5
From
Posts: 38
Quote:

TrevorH wrote:
rm /etc/yum.repos.d/rpmforge.repo
rpm --force --install rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm


By this do you mean remove and force install rpmforge?

If so, this is what I get:

[root@server1 ~]# rm /etc/yum.repos.d/rpmforge.repo
rm: remove regular file `/etc/yum.repos.d/rpmforge.repo'? y
[root@server1 ~]# rpm --force --install rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm
[root@server1 ~]#

----------
I answered y, what I think would be yes, but it didn't seem to do anything.
Posted on: 2012/5/1 18:18
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: RPMForge downloaded on CentOS, but still no phpmyadmin
#20
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

joao2 wrote:
...
so I

yum remove rpmforge-release-0.5.2-2.el6.rf.x86_64

The recommendation was:
rpm -e rpmforge-release
Please carefully read before executing.

Quote:

...
I answered y, what I think would be yes, but it didn't seem to do anything.

It deleted the file. By default and by design a successful rm command will do its work silently and return.

Unfortunately, if i understand the sequence of commands you have executed properly, you now have both EPEL and RPMforge installed and enabled, and those two do not get along well together. Please show
rpm -qa | grep release
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/5/1 18:30
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
123>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com