Can't download pgadmin4 for Fedora - installation

The following error appears when trying to download pgadmin4 from a Fedora 37 System.
Errors during downloading metadata for repository 'pgAdmin4':
- Status code: 404 for https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/fedora/fedora-37-x86_64/repodata/repomd.xml
Error: Failed to download metadata for repo 'pgAdmin4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
...
Ignoring repositories: pgAdmin4
No match for argument: pgadmin4-desktop
Error: Unable to find a match: pgadmin4-desktop
I'm following the official documentation displayed here: https://www.pgadmin.org/download/pgadmin-4-rpm/
I have tried: sudo dnf clean all; sudo dnf update; sudo rm -r /var/cache/dnf;
(I know that the official docs includes yum in its examples. It's what I have been using, but I have also tried dnf).
Is it a my problem or a problem with the downloads page? Is there something I can do?

Nothing you can do - only downgrade to fedora36 or take rpm from repo of fedora 36, edit it to link to fedora 36 for fedora 37 and try to install it manually(generally bad idea)
The reason this happens is they do not have a repo for fedora 37 yet
Upd: tested it myself - looks like they have nop fedora 37 repo for a reason - pgadmin server from 36 repo wont start on 37 core version

Related

HDP sanbox: yum install is throwing 403 error

I am trying to setup HDP sandbox and work on a big data project.But when trying to do yum install, I am getting below error
http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.4.0.0-1225/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/solutions/69319
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: AMBARI.2.4.0.0-2.x. Please verify its path and try again
I tried below instructions:
in /etc/yum.repos.d/sandbox.repo, updated the enabled=0
yum clean all
yum update
But yum update gives me this error.I cannot even install any python related libraries to proceed with my work.Can someone give me solution for this error.
Thanks!!
I had the same problem, and in order to solve it, I backed up the repositories:
ambari.repo
HDP.repo
HDP-UTILS.repo
then I removed them from the /yum.repos.d folder.
Then I ran the following command:
yum clean all
After that the yum update worked, and I managed to install the things I needed.
** What I noticed, is that whenever I tried to use any YUM command, it gave preference to these repositories that I mentioned.

dnf broken: all mirrors were tried

I don't know how to describe my problem because I don't understand why it happen ... When i enter
sudo dnf install (any packet)
It return me this
Tor Project Repo 407 B/s | 264 B 00:00
Error: Failed to download metadata for repo 'Tor': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Its obvious that Tor is related to that mess but i don't know why.
I tried nothing because I'm afraid to do something wrong. I'm on fedora 30.
(english baguette)
It seems like you have a broken repository. Probably you will find this repository in:
ls /etc/yum.repos.d/
there will probably be a file named tor*.repo. If you remove that file (or edit it to contain enabled=0), then dnf should start working correctly again.
Failed to download metadata for repo ‘bintray–resin-io-redhat’: Cannot download repomd.xml: Cannot download repodata/repomd.xml
I was getting same error for kubernetes.repo. It got resolved by setting enabled=0 in /etc/yum.repos.d/kubernetes.repo. Now I can download other package (example Nginx that I was unable to download).
I tried this command and my problem fixed:
sudo rm -r /var/cache/dnf
This worked for me -
cd /etc/yum.repos.d
rm -rf .
yum upgrade
yum update
Note: redhat.repo will regenerate itself on the next yum run, and in the process some repositories will stay lost, be careful.

Unable to install fedy on Fedora 22

I am following this guide:- Here
In short it tells to do following:-
Download the latest version using the command:
wget http://satya164.github.io/fedy/fedy-installer
Set executable permission and install as shown below:
chmod +x fedy-installer
sudo ./fedy-installer
To install Fedy on Fedora 22.
But I am getting the following error.
[root#localhost Downloads]# sudo ./fedy-installer
Adding repositories...
Installing fedy...
Failed to synchronize cache for repo 'ozonos' from 'http://goodies.ozon-os.com/repo/22/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Last metadata expiration check performed 1:27:26 ago on Fri Jul 24 14:11:58 2015.
No package fedy available.
Error: no package matched: fedy
I tried opening goodies.ozon-os.com/repo/22/ but it is not opening on my firefox browser....is there another way to install fedy on fedora 22?
Thank you.
To install fedy, try the steps provided here: http://folkswithhats.org/
The host site for Ozon OS repository (http://goodies.ozon-os.com/) seems to be down, probably permanently, not sure if it has been moved or abandoned. It's no longer needed for upgrading fedy.
You can either remove the repo from your list...
rm -f /etc/yum.repos.d/ozonos.repo
...or, if still unsure, just disable it
dnf config-manager --set-disabled ozonos
bash -c 'su -c "curl http://folkswithhats.org/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"'

Dependency Resolution Error while installing Zabbix 2.4 on Centos 7

I have installed rpm from this site 1- Zabbix 2.4 download page for centos7
And I have been following installation instructions on this site 2- Zabbix.org centos installation instructions
first, I configure zabbix repository
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.‌​rpm
But, then I realized this repository is for /rhel/6. Then I run the command below to change the zabbix repository which is for /rhel/7 , since I use centos 7.
rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX
rpm -Uv http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm
Then, I try to install zabbix
yum install mysql-server zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway
But I couldn't because of some dependency could not be installed.
--> Finished Dependency Resolution
Error: Package: zabbix-server-mysql-2.4.5-1.el6.x86_64 (zabbix)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: zabbix-server-mysql-2.4.5-1.el6.x86_64 (zabbix)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: zabbix-server-mysql-2.4.5-1.el6.x86_64 (zabbix)
Requires: libnetsnmp.so.20()(64bit)
Error: Package: iksemel-1.4-2.el6.x86_64 (zabbix-non-supported)
Requires: libgnutls.so.26()(64bit)
Error: Package: iksemel-1.4-2.el6.x86_64 (zabbix-non-supported)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I have searched a bit and I have came accross a lot of people has same problem and you can find some offered solutions to the problem. I have tried to implement the offered solutions but non of them solved the problem.
3.1- Offered solution from centos.org/forum : I could not understand this, I run the commands and result are shown below.
rpm -qR postfix
libmysqlclient.so.18()(64bit)
libmysqlclient.so.18(libmysqlclient_18)(64bit)
rpm -q mysql-libs
package mysql-libs is not installed
3.2- Offered solution from centos.org/forum This problem seems very similar but it does not helped either
3.3- Offered solution from zabbix.com/forum This problem seems exactly same, and a solution is offered. But I could not understand it.
Also, I found that on Zabbix official documentation 4- Zabbix 2.4 manual
Supported for versions: RHEL6, CentOS 6
centos 7 is not listed here, but it contradicts with Zabbix download page, since they provide a link for centos 7. you can check first link.
Please share if you have any idea how to solve this problem.
As #Jan Garaj pointed, the problem was yum try to install el6 packages, although I have changed the zabbix repository which is for rhel/7.
So, I have just cleaned the cache with the commands below and problem is resolved.
yum clean headers
yum clean packages
yum clean metadata
You can find more information about cleaning yum caches on this site:
Centos/clearing yum caches
You can find information about removing a yum repository on tihs site, Just cleaning cache solves this problem, so I did not try to remove yum repository. But, it can be useful if cleaning cache does not help.
serverFault/how to remove yum repo
I had similar problem while installing nginx. For me what helped was continuous release repository CR
Usage:
yum -y install yum-utils
yum-config-manager --enable cr

How do I install Image::Magick on mac os x?

I've attempted installing with brew:
brew install imagemagick
The installation seems to have completed successfully. However, when attempting to:
use Image::Magick;
I get the following error message:
Can't locate Image/Magick.pm in #INC
I don't know much about the perl system on a mac, or where brew might have installed Image::Magick (I'm told it should have installed the perl libraries as part of the imagemagick install).
AFAIK homebrew version of ImageMagick doesn't contain perl-magick. You should install it from the sources:
go to http://www.imagemagick.org/download/perl/
download http://www.imagemagick.org/download/perl/PerlMagick-6.85.0.tar.gz
open Terminal.app
cd ~/Downloads
tar xvzf PerlMagick-6.85.0.tar.gz
cd PerlMagick-6.85
perl Makefile.PL
make
make test
make install (or sudo make install)
All the above is guessing - I'm using MacPorts. MacPorts has two ports: ImageMagick for the basic ImageMagick and p5-perlmagick for the perl bindings.
On PerlMagick-6.89-1 there are 2 Errors and "make test" with
t/filter.t ........ Failed 1/58 subtests
and
t/mpeg/read.t ..... Failed 2/2 subtests
Fix first see
http://www.imagemagick.org/discourse-server/viewtopic.php?t=29759
Second
the problem is
https://rt.cpan.org/Public/Bug/Display.html?id=102482
see code
t/mpeg/read.t there is a checksum problem
Testcode:
20 testRead( 'input.m2v',
21 'd0d08bbb6ea2f9d5d76bc134a4785f3ab25d6b03d66c64bc43b6b2a9174582d7' );
22
23 #
24 # Motion Picture Experts Group file interchange format
25 #
26 ++$test;
27 testRead( 'input.mpg',
28 'bbffb8cfbd98a111f7ff625fbc2cf49485d92640de702a2e76c0852ead39c6f1' );
I think it's no serious problem or a very local.
Therefore in 99.9% off all cases a
sudo make install
is no problem.
Hopefully next time come a fix from PerlMagick Team.

Resources