Where is libappindicator3.so.1? - google-chrome

I'm trying to install Google-Chrome on CentOS7(Linux 3.10.0-514.el7.x86_64).
The file (libappindicator3.so.1()(64bit)) is needed, but there is no such file on the https://pkgs.org/.
So please help me fix this problem, thanks.
[leohu#SpaceX Downloads]$ rpm -ivh google-chrome-stable_current_x86_64.rpm
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
libappindicator3.so.1()(64bit) is needed by google-chrome-stable-66.0.3359.117-1.x86_64

Google-Chrome : The file (libappindicator3.so.1()(64bit)) is needed
"libappindicator-gtk3" is in the EPEL repo https://fedoraproject.org/wiki/EPEL
# yum install epel-release (the "extras" must be enabled)
# yum install libappindicator-gtk3
If any issues, you can get the latest epel repo files = epel-release-7-11.noarch.rpm from https://mirrors.dotsrc.org/fedora-epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm ... and do # yum install Downloads/epel-release-7-11.noarch.rpm ... ( The version in "extras" is currently epel-release-7-9.noarch ).

Related

How to remove MariaDB and install MySQL for Postfix?

I have removed MariaDB completely and installed MySQL V.8 but now when I want to install postfix with yum install postfix. Its dependencies are MariaDB-common and MariaDB-compat so it needs them however I have uninstalled it. At last in returns a Transaction check error with this message that
file /etc/my.cnf from install of
MariaDB-common-10.2.23-1.el7.centos.x86_64 conflicts with file from
package mysql-community-server-8.0.15-1.el7.x86_64
How can I fix it?
UPDATE
In this website I got that it needs a file named libmysqlclient.so.18 which must be in /usr/lib64/ directory but it is missed. How can I get this file without running command yum install MariaDB*?
I had the similar issue file /etc/my.cnf from install of mysql-community-server-8.0.16-2.el7.x86_64 conflicts with file from package MariaDB-common-10.3.3-1.el7.centos.x86_64 issued by removing mariadb packages.
yum remove MariaDB-common*
For more information, please refer to Stack Exchange QA

The package mysql-server-5.7 needs to be reinstalled, but I can't find an archive for it

My MySql is not working. When I want to reinstall MySql on linux server the I it shows following message.
sudo apt install mysql-server mysql-client --fix-broken
message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package mysql-server-5.7 needs to be reinstalled, but I can't find an archive for it.
Try sudo dpkg --remove --force-all mysql-server-5.7
If that doesn't work,
sudo vim /var/lib/dpkg/status
You can do this with any text editor.
After you open that find the section about mysql-server-5.7. Delete the section with the information pertaining to it and save the file. Make sure you do a backup of the status file before you do this.
Reinstall your package using apt-get install
In my case, the installation was messed up and I had to remove the requirement with dpkg
I received a message like:
E: The package <package-name> needs to be reinstalled, but I can't find an archive for it.
I was able to resolve like this:
Query faulty packages using dkpg
$ dpkg -C
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
<package-name> (no description available)
The following packages are missing the list control file in the
database, they need to be reinstalled:
<package-name> (no description available)
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
<package-name> (no description available)
force-remove install requirement for each listed package
$ sudo dpkg --remove --force-remove-reinstreq <package-name>

How to install expect and tcl on linux RHEL server 6.5

I am new to linux and i have few expect scripts to execute. I read few blogs on how to install expect and tcl. The command i am trying is
sudo yum install expect
sudo yum install tcl
I am getting
No package expect available
No package tcl available
It seems RHEL should have tcl and expect prebuilt but this is not the case in my version of linux.
How should i proceed from here ?
Help will be highly appreciated..Thanks :)
Install the development tools:
yum groupinstall "Development tools"
then
./configure
make
make install
should be good to go.
Have you tried this? In this way you will be able to compile from source.
1) Download the expect package from the below link
http://sourceforge.net/projects/expect/
2) Install the required dependecy packages "Tcl/Tk" language toolkit
# yum install tcl
3) Install the "expect" package using the below commands
# tar -zxvf expectx.xx.tar.gz
# ./configure
# make
# make install
I tried the following links and it worked for me. http://www.linuxfromscratch.org/blfs/view/svn/general/tcl.html http://www.linuxfromscratch.org/blfs/view/svn/general/expect.html
Try ActiveTcl from ActiveState:
http://downloads.activestate.com/ActiveTcl/releases/8.6.4.1/ActiveTcl8.6.4.1.299124-linux-x86_64-threaded.tar.gz
You can add EPEL Repo
On 32-Bit -
# rpm -Uvh http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm
On 64-Bit -
# rpm -Uvh http://epel.mirror.net.in/epel/6/x86_64/epel-release-6-8.noarch.rpm
and then you can use yum to install.
Also you can compile from source or get from ActiveState like in previous answers.

Error using YUM and DNF in Fedora 21

I read this article in fedoramagzine.org and followed the process. Since then I am unable to perform updates, installation etc from both yum and dnf.
This is the error I get from DNF
Abhinav#localhost ~$ sudo dnf update
[sudo] password for Abhinav:
Error: Failed to synchronize cache for repo 'fedora' from
'https://mirrors.fedoraproject.org/metalink?repo=fedora-21&arch=x86_64':
Cannot prepare internal mirrorlist: Curl error: Timeout was reached
for
https://mirrors.fedoraproject.org/metalink?repo=fedora-21&arch=x86_64
[Connection timed out after 120002 milliseconds]
and this is the error I get when using YUM
Abhinav#localhost ~$ sudo yum update Loaded plugins: langpacks
One of the configured repositories failed (Fedora 21 - x86_64), and
yum doesn't have enough cached data to continue. At this point the
only safe thing yum can do is fail. There are a few ways to work
"fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable fedora
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=fedora.skip_if_unavailable=true
Cannot retrieve metalink for repository: fedora/21/x86_64. Please
verify its path and try again
I even emptied all the repos in /etc/yum.repos.d except for the original 3 repos you get when you install distro.
UPDATE ::
#Etan Reisner Here is the output of rpm -qa nss\*
Abhinav#localhost ~$ rpm -qa nss\*
nss-softokn-freebl-3.17.3-1.fc21.x86_64
nss-util-devel-3.17.3-1.fc21.x86_64 nss-sysinit-3.17.3-2.fc21.x86_64
nss-util-3.17.3-1.fc21.x86_64 nss-tools-3.17.3-2.fc21.x86_64
nss-softokn-freebl-3.17.3-1.fc21.i686 nss-3.17.3-2.fc21.x86_64
nss-softokn-freebl-devel-3.17.3-1.fc21.x86_64
nss-mdns-0.10-15.fc21.x86_64 nss-mdns-0.10-15.fc21.i686
nss-util-3.17.3-1.fc21.i686 nss-softokn-3.17.3-1.fc21.i686
nss-devel-3.17.3-2.fc21.x86_64 nss-softokn-devel-3.17.3-1.fc21.x86_64
nss-3.17.3-2.fc21.i686 nss-softokn-3.17.3-1.fc21.x86_64
UPDATE 2
Formatted my laptop and re-installed Fedora 21. After 3 sudo dnf updates. I am stuck with this problem again. This time i didn't follow the steps on the previous article.
On further google search I found https://fedorahosted.org/fedora-infrastructure/ticket/4517 which talks about same error. It is closed but I can't find a proper solution again.
If you sit behind a proxy, you have to configure dnf accordingly. (Even if the user's proxy settings are fine, you have to set them for dnf anyway.) The dnf settings are stored in /etc/dnf/dnf.conf. The syntax is:
proxy=<protocol>://<ip or name>:<port>
If this is not your problem, try to download the metadata with the browser to ensure, that your network connection to the url is working.
The file to receive should be an xml file. If you cannot download the metadata via the browser, chances are, that either port 443 (for https) is blocked or there is something wrong with your internet connection.
Issue
Had similar errors with kubernete (k83) while starting Fedora 23 VM master with vagrant
Error: Failed to synchronize cache for repo 'updates' from
System Spec
OS
Darwin Kernel Version 15.6.0: Wed Nov 2 20:30:56 PDT 2016; root:xnu-3248.60.11.1.2~2/RELEASE_X86_64 x86_64
Vagrant
Installed Version: 1.9.2 Latest Version: 1.9.2
Fedora
Fedora23 x86_64
RCA
While logged into fedora23VM , running yum update in verbose mode
sudo yum --verbose update a curl timeout on downloading from each of the repository presented in the metalink.
e.g
error: Curl error (56): Failure when receiving data from the peer for http://ftp.polytechnic.edu.na/pub/fedora/linux/updates/23/x86_64/repodata/af3c46471b1d685f22c72a5e16d7383d333fb89db278711b2b8c794e29a91eaa-filelists.xml.gz [Recv failure: Connection reset by peer] (http://ftp.polytechnic.edu.na/pub/fedora/linux/updates/23/x86_64/repodata/af3c46471b1d685f22c72a5e16d7383d333fb89db278711b2b8c794e29a91eaa-filelists.xml.gz).
2.Tried curl download without the ssl certificate verification and it worked
i.e
curl -k -O https://www.ftp.saix.net/linux/distributions/fedora/linux/updates/23/x86_64/repodata/repomd.xml
Solution
Disable ssl certificate verification during the yum update i.e
sudo yum --verbose update --setopt "sslverify=0" -y

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.