Check Dependency And Install Application From Internet In Red-hat,ubuntu,cent-os .

Hello friends,

I want to write script, In which i have to check dependency of application and download it from internet at the time of installation or by another way to check the dependency online.
for eg. mysql,mariadb,nano,netbeans etc.
Please suggest me how can I do that.


Similar Content



Packages Skipped Because Of Dependency Problems...

Hello All

I am still working out the basics of Linux.
I have a Centos 7 install. I cannot get this RPM to install. It installs fine under Centos 6.

What am I doing wrong? I really need a GUI Find and Replace program!
--skip broken does not work either.

Thanks in advance
Scott

[root@server ~]# yum localinstall regexxer-0.9-1.el5.rf.x86_64.rpm --skip broken
Loaded plugins: fastestmirror
Examining regexxer-0.9-1.el5.rf.x86_64.rpm: regexxer-0.9-1.el5.rf.x86_64
Marking regexxer-0.9-1.el5.rf.x86_64.rpm to be installed
Skipping: broken, filename does not end in .rpm.
Resolving Dependencies
--> Running transaction check
---> Package regexxer.x86_64 0:0.9-1.el5.rf will be installed
--> Processing Dependency: libatkmm-1.6.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
Loading mirror speeds from cached hostfile
* base: mirror.keystealth.org
* epel: mirror.hmc.edu
* extras: mirror.keystealth.org
* rpmforge: mirror.hmc.edu
* updates: mirror.keystealth.org
--> Processing Dependency: libcairomm-1.0.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libgdkmm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libglade-2.0.so.0()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libglademm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libgtkmm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libpangomm-1.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Running transaction check
---> Package atkmm.x86_64 0:2.22.7-3.el7 will be installed
---> Package cairomm.x86_64 0:1.10.0-8.el7 will be installed
---> Package gtkmm24.x86_64 0:2.24.2-8.el7 will be installed
---> Package libglade2.x86_64 0:2.6.4-11.el7 will be installed
---> Package pangomm.x86_64 0:2.34.0-3.el7 will be installed
---> Package regexxer.x86_64 0:0.9-1.el5.rf will be installed
--> Processing Dependency: libglademm-2.4.so.1()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: regexxer-0.9-1.el5.rf.x86_64

Packages skipped because of dependency problems:
atkmm-2.22.7-3.el7.x86_64 from base
cairomm-1.10.0-8.el7.x86_64 from base
gtkmm24-2.24.2-8.el7.x86_64 from base
libglade2-2.6.4-11.el7.x86_64 from base
pangomm-2.34.0-3.el7.x86_64 from base
regexxer-0.9-1.el5.rf.x86_64 from /regexxer-0.9-1.el5.rf.x86_64

Utilizing Yum To Update Rpms Based On Linux Security Notices

Hello all.

I'm using RHEL 6.5 Workstation and have a single RHEL system connected to the internet do download rpms based on Security Notices from Red Hat. While on the RHEL system and internet I perform the below:

yum install --downloadonly --resolve --downloaddir=<directory> <package>

My goal is to ensure I capture any dependencies (which is a nightmare)and thus I use the --resolve. When I update my RHEL systems not connected to the internet I perform a yum update. For some yum updates it's goes pretty smooth but for others I'm constantly getting errors about conflicts or other similar errors. An example of when yum updates don't work can be seen below:

Resolving Dependencies
--> Running transaction check
--> Processing Dependency: freetype = 2.3.11-5.el6 for package: freetype-devel-2.3.11-5.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-15.el6_6.1 set to be updated
--> Finished Dependency Resolution
Error: Package: freetype-devel-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
Requires: freetype = 2.3.11-5.el6
Removing: freetype-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
freetype = 2.3.11-5.el6
Updated By: freetype-2.3.11-15.el6_6.1.x86_64 (security)
freetype = 2.3.11-15.el6_6.1
You could try using --skip-broken to work around the problem
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5()(64bit)
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5(CXXABI_1.2)(64bit)



[root@system12 security]# yum update freetype-2.3.11-15.el6_6.1.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Examining freetype-2.3.11-15.el6_6.1.x86_64.rpm: freetype-2.3.11-15.el6_6.1.x86_64
Marking freetype-2.3.11-15.el6_6.1.x86_64.rpm as an update to freetype-2.3.11-5.el6.x86_64
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: freetype = 2.3.11-5.el6 for package: freetype-devel-2.3.11-5.el6.x86_64
---> Package freetype.x86_64 0:2.3.11-15.el6_6.1 set to be updated
--> Finished Dependency Resolution
Error: Package: freetype-devel-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
Requires: freetype = 2.3.11-5.el6
Removing: freetype-2.3.11-5.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0)
freetype = 2.3.11-5.el6
Updated By: freetype-2.3.11-15.el6_6.1.x86_64 (/freetype-2.3.11-15.el6_6.1.x86_64)
freetype = 2.3.11-15.el6_6.1
You could try using --skip-broken to work around the problem
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5()(64bit)
VRTSralus-14.1.1786-0.x86_64 has missing requires of libstdc++.so.5(CXXABI_1.2)(64bit)
[root@system12 security]#

Is there something I'm not doing correctly? Again some work and some do not, as seen above the example where it does not work. Is this a larger problem? Although I'm using RHEL 6.5 on the system where I obtain my security updates are my RHEL 6.5 systems which are not connected to the internet so different (in regards to what files are installed) that dependencies differ greatly and I'm not fully appreciating the environment for my off-line systems?

A million thanks in advance,
Johnny Mac

Error After Running Yum Update - Black Screen

Can you guys advise on how to resolve this? We have a machine (RHEL 6 32bit 2.6.32-504.8.1.el6.i686) that boots to a black screen. I can SSH into it from my machine, but when you're physically at the machine it just displays a black screen.

I have tried booting from the previous 2 kernels, but still get the black screen.

I am assuming something got hosed with the video stuff? Its an ATI Radeon 4000series card. Should I install the ATI driver from their website and try? We have never had to do that with these machines though.


Also, when running a yum update, we receive this error. I'm not sure how to resolve this and if resolving this will fix the video issues.

Code:
# yum update
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Finished Dependency Resolution
Error: Package: libgudev1-147-2.46.el6.i686 (@rhel-i386-workstation-6)
           Requires: libudev = 147-2.46.el6
           Removing: libudev-147-2.46.el6.i686 (@rhel-i386-workstation-6)
               libudev = 147-2.46.el6
           Updated By: libudev-147-2.57.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.57.el6
           Available: libudev-147-2.29.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.29.el6
           Available: libudev-147-2.35.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.35.el6
           Available: libudev-147-2.40.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.40.el6
           Available: libudev-147-2.41.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.41.el6
           Available: libudev-147-2.42.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.42.el6
           Available: libudev-147-2.46.el6_4.2.i686 (rhel-i386-workstation-6)
               libudev = 147-2.46.el6_4.2
           Available: libudev-147-2.51.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.51.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Heres after running yum update --skip-broken:

Code:
# yum update --skip-broken
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
---> Package libudev.i686 0:147-2.57.el6 will be an update
--> Processing Dependency: libudev = 147-2.57.el6 for package: libudev-devel-147-2.57.el6.i686
--> Running transaction check
---> Package udev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: udev = 147-2.46.el6 for package: libudev-devel-147-2.46.el6.i686
---> Package udev.i686 0:147-2.57.el6 will be an update

Packages skipped because of dependency problems:
    libudev-147-2.57.el6.i686 from rhel-i386-workstation-6
    libudev-devel-147-2.57.el6.i686 from rhel-i386-workstation-6
    udev-147-2.57.el6.i686 from rhel-i386-workstation-6

Thanks in advance.

Unable To Install Php-mcrypt

Hello,

I tried as per http://kb.sp.parallels.com/en/118651

Code:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Preparing...                ########################################### [100%]
        package epel-release-6-8.noarch is already installed



[root@aa ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Please advise

Thanks in anticipation

No Ffmpeg Or Avconv In Linux Mint Repos

Hello everybody

I am running Linux Mint 17.1 Rebecca with the Cinnamon Desktop.

I have experiences with the ubuntu derivatives and ffmpeg and avconv are always avavilable the repos, this time both aren't available

Here are the commands I typed:

apt-get update ; apt-get upgrade

After the packages were upgraded. I ran these commands. Below are there outputs.

Quote:
apt-get install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ffmpeg' has no installation candidate

apt-get install avconv
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package avconv
This nevered happened to me before with linux mint in prior versions.

Any ideas?

Check If Hardware Is Working Internet Card

can i check if my internet hardware is working properly; from a terminal command?

Encryption And Decryption At The Application Layer

Hello everyone,
i would like to encrypt & decrypt data at the application level.
This data needs to be send to another device via wireless.I found one such cipher named ceaser cipher in the internet.But it looks weak and easy to be broken. Can someone suggest me robust cipher's concepts which can be done at application layer?

An Error Occurred During The File System Check

Hi all!! Im new in this forum and also new at linux !!

I am installing an application that includes automatically the instalation of CentOS 6.3.

The server that hosts this application and OS had a power outage and then when i turn on the server again i get the error that you can see in this pictu http://postimg.org/image/7opm0xzel/

I have 2 disks in the system, 1 for the application and SO and other to store call recordings (thats what the application do, record calls!).

If I re-install the system it has no problem!! But i dont want to re-install the system every time i have a power outage because i lost too much and important information.

I have installed this application in other server and had no problem with power outage. In this server the diference is that it originally had raid and i "remove it" frome the BIOS. Maybe here is the problem??

Anyone can help me?? Remember im really new in linux !!

Installing Linux OS And Software To PC Without Internet

I have a PC with around 2 GB of RAM, a hard drive, a DVD drive, and USB ports, in a remote vacation home with no Internet access. I would like to install either Mint or Ubuntu and applications like LibreOffice.

In my permanent residence, I use Win 8.1 in a PC with internet access and Virtualbox to run other operating systems. I can use this to prepare the installation disks.

Is it possible to install the OS and then install software from a DVD or USB drive to a PC without Internet access? Also, is it possible to come up with a customized install disk containing the OS and software to install? If so, how do I go about preparing the installation disks?

Thanks for the help.

Cannot Install Package 'traceroute' On Ubuntu

Trying to install traceroute on Ubuntu 14.04.2. I get:
apt-get install traceroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package traceroute is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'traceroute' has no installation candidate