[SOLVED] Problem with installing mysql on Fedora 20 x86
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@localhost socket]# yum install community-mysql-server community-mysql-libs community-mysql
Loaded plugins: langpacks, refresh-packagekit
Error: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again
[root@localhost socket]#
Some body please guide me.
You don't say anything about your network/environment/firewalls/proxy-server(s), so we can't guess. Either that site is blocked, or it's temporarily down. So either unblock it, use the system from another network, or wait until the site comes back up.
Hi,
I used following commands as instructed and i have shown the output also:
Code:
[root@localhost lab6]# sudo yum repolist
Loaded plugins: langpacks, refresh-packagekit
Error: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again
[root@localhost lab6]#
I also tried the other command. The output is specified.
Code:
[root@localhost lab6]# head -n 9999 cat /etc/yum.conf /etc/yum.repos.d/*
head: cannot open ‘cat’ for reading: No such file or directory
==> /etc/yum.conf <==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
==> /etc/yum.repos.d/fedora.repo <==
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
#metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
#metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
==> /etc/yum.repos.d/fedora-updates.repo <==
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
==> /etc/yum.repos.d/fedora-updates-testing.repo <==
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/SRPMS/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
[root@localhost lab6]#
Hi,
Thanks for looking into my problem. I would retry the command which i ran using sudo. Right now i am not on linux. Actually i was double minded before using it. i have got some concept of sudo through this forum.
Quote:
by chance are you on a LAN behind a router ?
if so you have to configure yum to use that router
Yes we have a router. But i dont know how to configure it. I would talk with lab staff, but i dont think he can do it. If this is the end for yum i would try to use other option for installing mysql.
Hi,
I have used another internet resource, a wifi USB. Now I am getting following:
Code:
[root@localhost lab6]# yum install community-mysql-server community-mysql-libs community-mysql
Loaded plugins: langpacks, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 2091.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 15:50 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 15:52 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 15:54 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 15:56 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 15:58 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:00 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:02 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:04 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:06 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:08 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:10 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:12 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:14 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:16 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:18 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:20 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:22 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:24 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:26 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:28 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:30 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:32 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:34 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:36 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:38 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:40 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:42 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:44 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:46 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:48 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:50 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:52 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:54 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:56 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 16:58 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:00 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:02 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:04 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:06 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:08 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:10 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:12 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:14 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:16 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:18 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:20 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:22 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:24 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:26 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:28 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:30 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:32 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 246 M RSS (657 MB VSZ)
Started: Sun Aug 17 22:59:50 2014 - 17:34 ago
State : Sleeping, pid: 2091
Another app is currently holding the yum lock; waiting for it to exit...
ok, so you have successfully installed the mysql server, so this particular thread is solved. Next you need to configure the the mysql server. Eg make accounts, set passwords etc. What documentation are you following?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.