How to uninstall "qpid" in centos6.3 - centos

I am unable to uninstall qpid from my centos VM.
I have tried following::
-sudo yum erase qpid-cpp-server
-sudo yum remove qpid-cpp-server
But Its not getting uninstall.

The dash before 'sudo' may be preventing the command from being recognized.
Try:
sudo yum remove qpid-cpp-server qpid-tools

Related

Remove grafana from ubuntu 17.10

I'm trying to un-install grafana 4.6.3 from Ubuntu 17.10, but is not possible. So far i have tried
sudo apt-get remove grafana , sudo apt-get remove --auto-remove grafana
and says Unable to locate package grafana.
Also tried to install it again from ubuntu software in order to unistall it properly but then pops me up an error message says: Unable to install grafana snap "graphana" is already installed. I installed it first time from ubuntu software.
What can i do to un-install it?
Have you tried dpkg?
sudo dpkg --remove --force-remove-reinstreq <packagename>
If apt won't remove it try using dpkg.
You could also try and clean up your apt utility.
sudo rm -rf /var/cache/apt/archives/<package_name.deb>
sudo apt-get autoclean
sudo apt-get update
sudo apt-get upgrade

Ubuntu 16.04 message of the day not updating number of package updates.

For the last month my amazon EC2 instance running Ubuntu 16.04 has had the same message of the day (motd):
30 packages can be updated.
10 updates are security updates.
I have run the suggested commands:
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get upgrade
After rebooting the instance the motd does not change. There are no packages to update, it is only the motd not updating.
The issue was resolved by changing the shebang in the apt-check script from:
sudo vi /usr/lib/update-notifier/apt-check
#!/usr/bin/python3
to
#!/usr/bin/python3.5
python3 was calling a python interpreter without the module apt_pkg installed. After changing it back to the default python3.5 the motd is updating properly.
If anyone else has a similar problem in the future you can run this command to manually check if there are packages available to update:
python3.5 /usr/lib/update-notifier/apt-check --human-readable
or
sudo /usr/lib/update-notifier/update-motd-updates-available
The following commands fixed my issue:
sudo apt update
sudo apt upgrade
Notice that my commands do not contain -get. As far as I can tell, apt and apt-get are two different things. It looks like the Message Of The Day (MOTD) on my installation was referring to apt.

Unable to install chromium in my centOS7

I have this Unable to install chromium in my centOS problem in Centos7. Suggested solution does not work in 7. It's missing libude.so dependency.
After some try and error I came to simple solution as simple as:
yum install epel-release
yum install chromium
you should add the third yum to your yum repository under the file yum.repos.d,such as epel ,rpmforge.and then goto terminal with command:
yum -y install chromium.x86_64
once compelete,a chromuim browser will display on your application manager,you can click it to open on your Desktop.
also you can use the command chromium-browser on terminal.

How to Uninstall MongoDb-Server on CentOS

I have installed a mongodb instance once, but it stops running for a reason that I could not managed to solve. So I installed MongoDb 3.4 by using offical docs. There are 5 modules according to the installer. One of them is mongodb-org-server which install mongod (mongo daemonized). When I run the command:
sudo yum install -y mongodb-org
It installs all of modules except mongodb-org-server. It says it's installed. However, when I run mongod, I get there is no such a command. After that I tried to remove all of the modules:
sudo yum erase $(rpm -qa | grep mongodb-org)
It does not manage to remove mongodb-org-server and throws the error below:
Running Transaction
Erasing: mongodb-org-3.4.1-1.el6.x86_64 1/5
error reading information on service mongod: No such file or directory
error: %preun(mongodb-org-server-3.4.1-1.el6.x86_64) scriptlet failed, exit status 1
Error in PREUN scriptlet in rpm package mongodb-org-server
How I can fix this? I'll glad for your helps. Thanks.
I fixed the issue. Reinstalled the server package and deleted successfully.
sudo yum reinstall -y mongodb-org-server.x86_64

Error while installing RPMFORGE in CENTOS 7

When i try to install rpmforge (i need to install phpmyadmin) i get this error, any help would be greatly appreciated!
[root#plasticarmy ~]# yum http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Loaded plugins: fastestmirror
No such command: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm. Please use /usr/bin/yum --help
[root#plasticarmy ~]#
Any help would be great!
Close, but you're missing "install" in the above yum command.
First, if you haven't already, import the key ->
sudo rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
Then 'yum install' ->
sudo yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Try running:
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
as root and it should work.
I had the same issue, and it was due to the fact that i was installing the wrong package, Note that "rpmforge-release-0.5.3-1" is a 0.5.3-1 release.
When I got the right release "epel-release-7-0.2" which is 7-0.2 as per the command:
sudo rpm -Uvh http://fedora.mirrors.romtelecom.ro/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
The installation of the package was successful, and I could install phpMyAdmin later.
P.S: my CentOS is 7.