How to resolve package conflicts Fedora 33 openssl-devel libressl-devel - fedora

I have Fedora 33 and I want to install the updates with command:
sudo dnf update
Before confirmation of installation I see that dnf has found dependent package that should be installed: openssl-devel
While running transaction test I get an error:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
file /usr/include/openssl/aes.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/asn1.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/asn1t.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/bio.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/blowfish.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/bn.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/buffer.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/camellia.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/cast.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/cmac.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/cms.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/comp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/conf.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/conf_api.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/crypto.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/des.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/dh.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/dsa.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/dtls1.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ec.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ecdh.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ecdsa.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/engine.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/err.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/evp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/hmac.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/idea.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/lhash.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/md4.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/md5.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/modes.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/obj_mac.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/objects.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ocsp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/opensslconf.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/opensslv.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ossl_typ.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/pem.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/pem2.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/pkcs12.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/pkcs7.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/rand.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/rc2.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/rc4.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ripemd.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/rsa.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/safestack.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/sha.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/srtp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ssl.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ssl2.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ssl3.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/stack.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/tls1.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ts.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/txt_db.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/ui.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/whrlpool.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/x509.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/x509_vfy.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/include/openssl/x509v3.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/lib64/libcrypto.so from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/lib64/libssl.so from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/lib64/pkgconfig/libcrypto.pc from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/lib64/pkgconfig/libssl.pc from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
file /usr/lib64/pkgconfig/openssl.pc from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
Please help with resolving this issue!

I solved the problem myself by deleting it from the system.
The command for removing:
sudo dnf remove libressl-devel
The libressl and libressl-devel packages are also available for Fedora, but from the third party "RPM Sphere x86_64" repository. I tried to remove package libressl-devel and found that there is only one application on the system that depends on it, which is terminology (EFL based terminal emulator). I installed this application earlier and I no longer need it. So I just removed the package libressl-devel and terminology app that dependent on it.
After removing package libssl-devel I was successfully updated my Fedora 33 packages.

Related

How to solve conflict errors when update mysql-server with yum

I am trying to upgrade from version 5.5 to 5.6 of mysql on my server.
(I am not system administration)
I have run
yum install https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm
After I have edited the file: /etc/yum.repos.d/mysql-community.repo putting the option enabled = 1 in version 5.6
# Enable to use MySQL 5.6
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Below I have run sudo yum update mysql-server
I got the multiple conflicts:
Loaded plugins: copr, priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 3.8 kB 00:00:00
as-repo-amzn2 | 2.9 kB 00:00:00
copr:copr.fedorainfracloud.org:dsommers:openvpn-release | 3.3 kB 00:00:00
copr:copr.fedorainfracloud.org:dsommers:openvpn3 | 3.3 kB 00:00:00
epel/x86_64/metalink | 4.5 kB 00:00:00
mysql-connectors-community | 2.6 kB 00:00:00
mysql-tools-community | 2.6 kB 00:00:00
mysql56-community | 2.6 kB 00:00:00
1121 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.51-2.el6 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.51-2.el6 for package: mysql-community-server-5.6.51-2.el6.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 5.6.10 for package: mysql-community-server-5.6.51-2.el6.x86_64
---> Package mysql-server.noarch 0:5.5-1.6.amzn1 will be obsoleted
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.6.51-2.el6 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) >= 5.6.10 for package: mysql-community-client-5.6.51-2.el6.x86_64
---> Package mysql-community-common.x86_64 0:5.6.51-2.el6 will be installed
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.6.51-2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================
Installing:
mysql-community-server x86_64 5.6.51-2.el6 mysql56-community 62 M
replacing mysql-server.noarch 5.5-1.6.amzn1
Installing for dependencies:
mysql-community-client x86_64 5.6.51-2.el6 mysql56-community 20 M
mysql-community-common x86_64 5.6.51-2.el6 mysql56-community 340 k
mysql-community-libs x86_64 5.6.51-2.el6 mysql56-community 2.2 M
Transaction Summary
===============================================================================================================================================================================================================
Install 1 Package (+3 Dependent packages)
Total size: 85 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
file /usr/share/mysql/charsets/README from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/greek.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of mysql-community-common-5.6.51-2.el6.x86_64 conflicts with file from package mysql55-server-5.5.62-1.23.amzn1.x86_64
What am I doing wrong? How can I resolve these conflicts to perform the upgrade?
You are trying to update a Amazon release of MySql (mysql55-server-5.5.62-1.23.amzn1.x86_64) to a Community release.
To do it this was you need to remove (yum erase) the amazon package first.
a guide for this has been produced - follow it loosely though for your own environment.
https://jinyuwang.weebly.com/for-mysql/how-to-upgrade-mysql-database-from-55-to-56-on-aws-ec2

MySQL files conflicts with other package

Error: mysql55-libs conflicts with mysql-libs-5.1.73-8.el6_8.x86_64
conflicts with mysql-libs
while trying to do install mysql55-libs.
Could u please help me on this

Does Webpack install -g, automatically install to nodeJS's package.json? Or is this only for local installs?

Does Webpack install -g, automatically install to nodeJS's package.json? Or is this only for local installs?
So I'm tired of trying to find workarounds for require() is not defined. Meaning I would need a module loader for my project to include modules client side. Well, I've downloaded the famous 'webpack' module loader, globally
npm install -g webpack
and I noticed it didn't install to "devDependencies" in my package.json file. But I also install webpack-dev-server, but locally,
npm install webpack-dev-server --save-dev
and it was saved into my package.json. Was this saved because I used --save-dev or because I installed locally?
I'm getting an error stating my webpack module I downloaded doesn't have a configuration file, so I'm assuming I install webpack wrong, and maybe it shouldn't have been installed globally. Please help with the understanding of globally and locally, as well as why this -g webpack install didnt get saved to the package.json?
The command npm install --gloabl will install a package in global scope and make it's bin command available to you globally. This has nothing to do with the folder or project your are in right now. That means a global install will not leave anything in any package.json files.
Learn more about npm install: https://docs.npmjs.com/cli/install
npm install -g webpack will save your files in your OS file system.
npm install webpack-dev-server --save-dev will save your package in your project directory inside a folder called node_modules.
The later one will make an entry in package.json file so that next time you can install all dependdencies with just npm install command. This command installs all your packages listed in package.json.
Missing Config file: Its looking for a file called webpack.config.js. More info can be found here: https://webpack.js.org/configuration/

MySQL won't install in CentOS due to conflict with mariadb

I just installed CentOS Linux and then downloaded the MySQL tar file to install MySQL. I extracted the 6 enclosed rpm files, and clicked on the -server rpm file to install it. But I get the following dialog box error:
Failed to install file
Two packages provide the same name.
This is usually due to mixing packages from different software sources.
When I try to run install it from the Linux terminal, I get the following more specific log, which seems to indicate a conflict with mariadb:
[root#localhost ~]# yum install /path/to/Downloads/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining /path/to/Downloads/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpm: MySQL-server-5.6.21-1.linux_glibc2.5.x86_64
Marking /path/to/Downloads/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package MySQL-server.x86_64 0:5.6.21-1.linux_glibc2.5 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
MySQL-server x86_64 5.6.21-1.linux_glibc2.5
/MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 253 M
Transaction Summary
================================================================================
Install 1 Package
Total size: 253 M
Installed size: 253 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
file /usr/share/mysql/charsets/README from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.6.21-1.linux_glibc2.5.x86_64 conflicts with file from package mariadb-libs-1:5.5.35-3.el7.x86_64
Error Summary
-------------
I am brand new to Linux though I have been using MySQL in Windows for a long time. This is a completely new installation of Linux, and this is the first software I am installing, so the only pre-existing software I can imagine would be something bundled in CentOS 7. Apparently MariaDB is pre-installed in CentOS 7, but how do I handle this?
I found this bug report on the Oracle web site, but I don't know what to make of it, as I am brand new to Linux.
Following worked for me.
$yum shell
remove mariadb-libs
run
exit and then install MYSQL RPM package.
Got idea from following post
https://serverfault.com/questions/613366/install-mysql-on-centos7-with-rpm
Alternative solution which worked for me :
Search for the broken package package : (for e.g. mariadb-libs)
$ rpm -qa | grep mariadb-libs
mariadb-libs-5.5.52-1.el7.x86_64
Remove this package :
rpm -ev --nodeps mariadb-libs-5.5.52-1.el7.x86_64
Now simply install, the mysql rpm or mysql-server.
Hope it will solve any dependency of broken package related problem.
Running yum erase MariaDB* command worked for me.
Stumbled upon this while encountering the same error. While I did not have any mariadb libs install it seems the issue was that I had mysql client 8.0 installed. Once removed, I was able to install Mysql server 5.7.
Like xs2raid 's answer
If packages for MariaDB are dependencies for other installed packages, you can do like so
yum shell
> remove MariaDB-common
> install percona-server-server percona-server-shared-compat
> run
That way you can remove MariaDB items while installing percona packages in a signle transaction that won't force you to uninstall packages that depend on MariaDB-common for example

fedora 20 yum update error

I need to update my system and I just did a sudo yum update, and got the following errors.
--> Finished Dependency Resolution
Error: Package: gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15(CDIO_15)(64bit)
Error: Package: gstreamer1-plugins-ugly-1.4.3-1.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15()(64bit)
Error: Package: gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15(CDIO_15)(64bit)
Error: Package: librtmp-2.4-3.20131205.gitdc76f0a.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libgcrypt.so.20()(64bit)
Error: Package: gstreamer-plugins-ugly-0.10.19-18.fc21.x86_64 (rpmfusion-free-rawhide)
Requires: libcdio.so.15()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried installing libcdio with, sudo yum install libcdio because of the dependency error as seen above, but it appears to be already installed.
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: ftp.nluug.nl
* rpmfusion-free-rawhide: ftp.nluug.nl
* rpmfusion-nonfree-rawhide: ftp.nluug.nl
* updates: ftp.nluug.nl
Package libcdio-0.90-3.fc20.x86_64 already installed and latest version
Nothing to do
Please also note that I have tried these two commands.
yum clean all and
yum clean metadata
Edit
when I try and install rpmfusion for fedora 20, it wouldn't let me, since it already has a the fedora 21 repo already installed.
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm
Preparing... ################################# [100%]
package rpmfusion-free-release-21-0.1.noarch (which is newer than rpmfusion-free-release-20-1.noarch) is already installed
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-latest from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-rawhide from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/yum.repos.d/rpmfusion-free-rawhide.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/yum.repos.d/rpmfusion-free-updates.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
file /etc/yum.repos.d/rpmfusion-free.repo from install of rpmfusion-free-release-20-1.noarch conflicts with file from package rpmfusion-free-release-21-0.1.noarch
The rpmfusion-free-rawhide is targeting fc21. Your system is fc20. As such the rpmfusion-free-rawhide RPMs are depending on versions of system packages newer than what your default repositories (and your installed system) have available.
You can either upgrade your system to fc21 or find an rpmfusion repository that targets fc20.