Author Topic: Packages not found for install  (Read 104 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Packages not found for install
« on: December 09, 2024, 06:05:54 PM »
I have recently upgraded from Centos7 to Almalinux 8. Everything seems to be working but when I try to install some packages, I get an error "Problem: conflicting requests".

One example, I am trying to install Amavis -

Code: [Select]
[root@mail ~]# dnf install amavis
varnishcache_varnish5                             310  B/s | 836  B     00:02
varnishcache_varnish5-source                      390  B/s | 836  B     00:02
Error:
 Problem: conflicting requests
  - nothing provides pax needed by amavis-2.12.3-1.el7.noarch from epel
  - nothing provides perl(Net::LibIDN) needed by amavis-2.12.3-1.el7.noarch from epel

If I try to install (as per this example) pax manually I get -

Code: [Select]
[root@mail ~]# dnf install pax
Last metadata expiration check: 0:03:56 ago on Mon 09 Dec 2024 05:51:31 PM GMT.
No match for argument: pax
Error: Unable to find a match: pax

and my repolist -

Code: [Select]
[root@mail ~]# dnf repolist
repo id                         repo name
appstream                       AlmaLinux 8 - AppStream
baseos                          AlmaLinux 8 - BaseOS
cwp                             CentOS Web Panel repo for Linux 7 - x86_64
elevate                         ELevate
elevate-testing                 ELevate Testing
epel                            Extra Packages for Enterprise Linux 7 - x86_64
extras                          AlmaLinux 8 - Extras
mariadb                         MariaDB
nginx                           nginx repo
powertools                      AlmaLinux 8 - PowerTools
varnishcache_varnish5           varnishcache_varnish5
varnishcache_varnish5-source    varnishcache_varnish5-source

I would assume that the epel repo should have the packages I need for this install. Am I missing something?


Offline
***
Re: Packages not found for install
« Reply #1 on: December 09, 2024, 08:25:56 PM »
Remove "epel" repo for Centos 7 and install epel for Alamlinux 8.

Offline
*
Re: Packages not found for install
« Reply #2 on: December 09, 2024, 08:59:02 PM »
If I go to remove epel-release it also wants to remove cwpphp - is that safe to do?


Offline
***
Re: Packages not found for install
« Reply #3 on: December 09, 2024, 10:27:01 PM »
Remove it using "rpm -e --nodeps".

Make sure your system upgraded totally and it doesn't have packages installed for outdated/previous OS. Run:

Code: [Select]
rpm -qa | grep el7
to find outdated packages. Reinstall/upgrade such packages.
« Last Edit: December 09, 2024, 10:33:46 PM by cyberspace »