53
votes
Accepted
How to enable PowerTools repository in CentOS 8?
You can enable it with the following commands:
yum install dnf-plugins-core
And then:
yum config-manager --set-enabled powertools
Or:
yum config-manager --set-enabled PowerTools
You can also just ...
23
votes
Accepted
Reprepro export could not find signing key
I had the same problem, and after much frustration finally tracked down what was going on.
The reprepro tool uses gpgme, which is based on gnupg2. A recent release of that changed how the secret key ...
20
votes
Use git commands with another path rather than the actual working dir
I had success using the git -C option. Taken from the Git documentation:
Run as if git was started in <path> instead of the current working directory.
It is very important that the -C option ...
16
votes
Accepted
How to install mariadb on amazon linux
I was able to install the MariaDB 5.5 CentOS repository list (created 2016-05-09 04:06 UTC).
Create the following file:
sudo vi /etc/yum.repos.d/maria.repo
Add the following contents to the file ...
12
votes
Accepted
MySQL Repository Key Expired
TLDR;
The one-liner that fixes this is the following:
sudo apt-key adv --recv-keys --keyserver ha.pool.sks-keyservers.net 5072E1F5
Which basically fetches the new key and installs it into the ...
11
votes
how to choose the correct repository for new software on Centos
Notice than the most "official" solution to install recent versions of various software on Red Hat / CentOS are Software Collections.
Red Hat Software Collections version 2.3 provides both php 5.6 ...
10
votes
Is the ppa:ondrej/php repository safe?
The PPA is maintained by Ondřej Surý, a Debian developer who has been packaging PHP for Debian since PHP 5. It's up to you whether that fits your own definition of "safe", whatever that is.
9
votes
How to enable PowerTools repository in CentOS 8?
To get more info, run :-
yum info epel-release
Execute the following command:-
sudo yum install epel-release
enable the PowerTools repository since EPEL packages may depend on packages from it:-
...
8
votes
Accepted
How do I mount the CentOS 7 ISO and add it as a yum repository
The repo file is already present on your installed CentOS system, as /etc/yum.repos.d/CentOS-Media.repo.
[root@localhost ~]# cat /etc/yum.repos.d/CentOS-Media.repo
# CentOS-Media.repo
#
# This repo ...
7
votes
Accepted
PHP 7 and Centos/Redhat
You select an enterprise distribution for its long term stability. The tools included in your enterprise Linux distribution such as Python, gcc, PHP, Ruby, Perl, Java etc. get the same support life ...
7
votes
Accepted
RHEL/CentOS - Is remi repo safe for for audits, etc?
We cannot know what policies, controls, and software stack you have. That's the point of audits, to verify your procedures in your environment.
Review your policies and procedures. You should be ...
6
votes
Accepted
Errors installing php extensions on Centos 7
You installed the EPEL repository for CentOS 6, but you are actually running CentOS 7.
Remove the epel-release RPM, and reinstall the correct RPM. Once you have done so, run yum clean metadata to ...
6
votes
Using a self-signed SSL cert for an HTTPS-based internal APT repository
I solved it in another way, by installing the ca-certificate.
Copy your *.crt file to /usr/local/share/ca-certificates/
run sudo update-ca-certificates
Works with Ubuntu 14.04.
6
votes
Best practice for proxying package repositories
We use Squid for this; the nice thing about squid is that you can set individual expiry of objects based on a pattern match, fairly easily, which allows the metadata from the yum repo to be purged ...
5
votes
How to know from which yum repository a package has been installed?
The simplest and most straightforward approach without installing any extra tools, greping or outputting extraneous information is simply:
yum list installed [package name]
The third column will ...
5
votes
Who is the behind Webtatic repository and do you trust it
Back when I first started as a Linux admin 8 years ago I used to use a popular third party repository to upgrade my LAMP stack. It was run by a single individual. One of the primary reasons was ...
5
votes
Best practice for proxying package repositories
That's a definitive use case for a proxy. A normal proxy, not a reverse-proxy (aka. load balancers).
The most well-known and free and open-source is squid. Luckily it's one of the few good open-...
5
votes
Accepted
primary.sqlite.bz2 not found on private repo
I think that I've found the answer yesterday night, at least for the moment I'm not facing the problems descrived before.
The solution is simple, avoid that client keep a local cache of the repos. ...
5
votes
Accepted
When installing docker on Ubuntu, why isn't it as easy as apt-get install docker?
Depending on your needs, you can just use the default Ubuntu version:
apt-get install docker.io
The list of available packages is:
$ apt-cache search docker
[...snip...]
docker - transitional package
...
4
votes
How can I version control a mirrored upstream repository?
Michael Hampton referenced an answer that names Katello and Spacewalk, Satellite is the product RedHat offers to accomplish that.
Katello is to Satellite what Fedora is to RedHat (according to this)
...
4
votes
Mark rpm package as automatically installed
With DNF
To unmark a package as user installed (ie. the package will be removed by autoremove if it is not a dependency of a user installed package):
dnf mark remove [package name or wildcard]
...
4
votes
Yum repo priorities and conflicts
The two repos, remi and mysql56-community, cannot be used together because they are using incompatible package naming schemes. yum info mysql will not show anything from the MySQL community repo ...
4
votes
list all packages from a repository in ubuntu / debian
Just for fun or if you do not trust the caches, you can query a source's declared packages from, well, the source. The repositories are pretty much websites, either HTTP or FTP.
Your system has ...
4
votes
Who is the behind Webtatic repository and do you trust it
The question is not if we trust Andy, it is if you trust Andy.
I'm not familiar with the repository but the donation button suggests a personal effort. Feel free to contribute if it has value to you.
...
4
votes
Best practice for proxying package repositories
This won't solve all your tasks, but maybe this is still helpful. Despite the name, apt-cacher-ng doesn't only work with Debian and derivatives, and is
a caching proxy. Specialized for package ...
4
votes
Accepted
Installing yum packages on airgapped (offline) CentOS 6 system
If you are concerned about compatibility between installed release and latest stable, you may want to determine your centos version in /etc/redhat-release and to use packages from http://vault.centos....
4
votes
Accepted
How to know from which yum repository *URL* a package has been installed?
The repo URLs are in the yum configuration files in the /etc/yum.repos.d directory.
Keep in mind that most CentOS repos use mirrorlists, which contain the URLs of every possible CentOS mirror, and ...
4
votes
Accepted
Can't install unzip on RedHat Enterprise Linux Server 7
Check that this host has an active RHEL subscription. unzip has been packaged by Red Hat for a long time.
4
votes
Accepted
How to install RPM Fusion repository with Ansible on Fedora 32 Server virtual machine?
Don't use command to install packages. This has no hope of idempotence and will fail in various and subtle ways.
The reason these are skipped is that the os_family fact is never Fedora. It is set to ...
4
votes
Accepted
Remi: Which repository contains what?
As a general rule you should enable remi-safe, remi and remi-modular (but all three of these should already be enabled). These repos together contain the packages and module streams you expected to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
repository × 328yum × 82
linux × 62
centos × 49
svn × 43
apt × 39
debian × 38
ubuntu × 35
redhat × 34
rpm × 24
git × 23
package-management × 17
php × 15
centos7 × 14
centos6 × 12
update × 9
rhel6 × 8
gpg × 8
apache-2.2 × 7
backup × 7
solaris × 7
installation × 6
ansible × 6
packages × 6
epel × 6