LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-18-2013, 12:36 AM   #1
monojeffrey
Member
 
Registered: May 2012
Posts: 85
Blog Entries: 1

Rep: Reputation: Disabled
Installing Yum in LinuMint


how to install yum package in LinuxMint

user@laptop~ $ sudo apt-get install yum
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
virtualbox-4.2 : Depends: libpython2.6 (>= 2.6) but it is not installable
Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not going to be installed
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
yum : Depends: python-urlgrabber but it is not going to be installed
Depends: rpm (>= 4.4.1) but it is not going to be installed
Depends: python-rpm but it is not going to be installed
Depends: python-sqlitecachec but it is not going to be installed
Depends: python-sqlite but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
user@laptop ~ $

getting error while installation
 
Old 05-18-2013, 12:43 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

why do you want to install yum?

Anyway, did you read the error message? Did you follow the instructions?

Evo2.
 
Old 05-18-2013, 06:02 AM   #3
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Yes i want to install yum

Quote:
Originally Posted by evo2 View Post
Hi,

why do you want to install yum?

Anyway, did you read the error message? Did you follow the instructions?

Evo2.

i tried using -f(apt-get) option
still not working
also getting the same error message when tried to install other deb package
(Depends: python-urlgrabber but it is not going to be installed)
am new to Mint , i don't understand the error
says depencies failed, but have installed the latest version of python

Last edited by monojeffrey; 05-18-2013 at 06:05 AM.
 
Old 05-20-2013, 01:58 AM   #4
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Problem started here while installing the Oracle Virtual Box VM

Tried to install a debian package (Oracle Virtual Box)
met with dependency issue
--

user@user-Lenovo-G570 ~/Desktop $ sudo dpkg -i virtualbox-4.2_4.2.4-81684~Debian~squeeze_i386.deb
[sudo] password for manu:
Selecting previously unselected package virtualbox-4.2.
(Reading database ... 138517 files and directories currently installed.)
Unpacking virtualbox-4.2 (from virtualbox-4.2_4.2.4-81684~Debian~squeeze_i386.deb) ...
dpkg: dependency problems prevent configuration of virtualbox-4.2:
virtualbox-4.2 depends on libpython2.6 (>= 2.6); however:
Package libpython2.6 is not installed.
virtualbox-4.2 depends on libssl0.9.8 (>= 0.9.8m-1); however:
Package libssl0.9.8 is not installed.

dpkg: error processing virtualbox-4.2 (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for shared-mime-info ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
virtualbox-4.2
user@user-Lenovo-G570 ~/Desktop $
--
thought of resolving this through yum(it auto resolve the depencies by installing the rquired packages)
now got halted with the problem , could't install the packages which is mentioned in the output separately which is asking for some other packages
 
Old 05-20-2013, 08:42 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

ouch, do not use yum on a Linux Mint (or any Debian based system). To resolve the dependency errors, please try:
Code:
sudo apt-get -f install
But anyway, instead of downloading the virtualbox deb from the Oracle web site you should have been able to install it via your package manager. What is the output of the following commands?
Code:
apt-cache show virtualbox
apt-cache policy virtualbox
If you have not done so already, I would recommend removing yum.

Evo2.
 
Old 05-20-2013, 11:56 PM   #6
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Not installed yum

output of

apt-cache show virtualbox
--
Package: virtualbox
Priority: optional
Section: universe/misc
Installed-Size: 45775
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>
Architecture: i386
Version: 4.1.18-dfsg-1ubuntu1.2
Replaces: virtualbox-ose (<< 4.0.6-dfsg-1~)
Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1), libgsoap2, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvncserver0, libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), adduser
Pre-Depends: dpkg (>= 1.15.6~)
Recommends: virtualbox-dkms (= 4.1.18-dfsg-1ubuntu1.2) | virtualbox-source (= 4.1.18-dfsg-1ubuntu1.2), virtualbox-qt (= 4.1.18-dfsg-1ubuntu1.2), libgl1-mesa-glx | libgl1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3)
Suggests: virtualbox-guest-additions-iso, vde2
Conflicts: virtualbox-2.0, virtualbox-2.1, virtualbox-2.2, virtualbox-3.0
Breaks: virtualbox-ose (<< 4.0.6-dfsg-1~)
Filename: pool/universe/v/virtualbox/virtualbox_4.1.18-dfsg-1ubuntu1.2_i386.deb
Size: 12837758
MD5sum: 303ebc09221971ad975df93f330ae6db
SHA1: cb56488fc9aaa6dd89991113313a0ae5bb57ffca
SHA256: a5d06358fd88244c7751cb124c2445bae3965adfc61d539a2f6b9e6527570076
Description-en: x86 virtualization solution - base binaries
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the binaries for VirtualBox. Either the virtualbox-dkms
or the virtualbox-source package is also required in order to compile the
kernel modules needed for virtualbox. A graphical user interface for
VirtualBox is provided by the package virtualbox-qt.
Homepage: http://www.virtualbox.org/
Description-md5: 30f96d22c1a6ca04db16bdc1e79ad965
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: virtualbox
Priority: optional
Section: universe/misc
Installed-Size: 45771
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>
Architecture: i386
Version: 4.1.18-dfsg-1ubuntu1.1
Replaces: virtualbox-ose (<< 4.0.6-dfsg-1~)
Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1), libgsoap2, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvncserver0, libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), adduser
Pre-Depends: dpkg (>= 1.15.6~)
Recommends: virtualbox-dkms (= 4.1.18-dfsg-1ubuntu1.1) | virtualbox-source (= 4.1.18-dfsg-1ubuntu1.1), virtualbox-qt (= 4.1.18-dfsg-1ubuntu1.1), libgl1-mesa-glx | libgl1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3)
Suggests: virtualbox-guest-additions-iso, vde2
Conflicts: virtualbox-2.0, virtualbox-2.1, virtualbox-2.2, virtualbox-3.0
Breaks: virtualbox-ose (<< 4.0.6-dfsg-1~)
Filename: pool/universe/v/virtualbox/virtualbox_4.1.18-dfsg-1ubuntu1.1_i386.deb
Size: 12748778
MD5sum: 490751a491ef27567e6838c7f8b25000
SHA1: ca57cfa0043df7dd57ed9a579157259cebbde235
SHA256: 531b0a2a3949579ce8dac72549873251fff0424764d62cf002e8d4b7889b3bee
Description-en: x86 virtualization solution - base binaries
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the binaries for VirtualBox. Either the virtualbox-dkms
or the virtualbox-source package is also required in order to compile the
kernel modules needed for virtualbox. A graphical user interface for
VirtualBox is provided by the package virtualbox-qt.
Homepage: http://www.virtualbox.org/
Description-md5: 30f96d22c1a6ca04db16bdc1e79ad965
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: virtualbox
Priority: optional
Section: universe/misc
Installed-Size: 45771
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>
Architecture: i386
Version: 4.1.18-dfsg-1ubuntu1
Replaces: virtualbox-ose (<< 4.0.6-dfsg-1~)
Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.1.1), libgsoap2, libpng12-0 (>= 1.2.13-4), libpython2.7 (>= 2.7), libsdl1.2debian (>= 1.2.11), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.6), libvncserver0, libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxml2 (>= 2.7.4), libxmu6, libxt6, zlib1g (>= 1:1.1.4), python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), adduser
Pre-Depends: dpkg (>= 1.15.6~)
Recommends: virtualbox-dkms (= 4.1.18-dfsg-1ubuntu1) | virtualbox-source (= 4.1.18-dfsg-1ubuntu1), virtualbox-qt (= 4.1.18-dfsg-1ubuntu1), libgl1-mesa-glx | libgl1, libqt4-opengl (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3)
Suggests: virtualbox-guest-additions-iso, vde2
Conflicts: virtualbox-2.0, virtualbox-2.1, virtualbox-2.2, virtualbox-3.0
Breaks: virtualbox-ose (<< 4.0.6-dfsg-1~)
Filename: pool/universe/v/virtualbox/virtualbox_4.1.18-dfsg-1ubuntu1_i386.deb
Size: 12834810
MD5sum: e6b92e9beef44a8a26efe1f16fb8d94c
SHA1: 43db88a648651cc5a92ec82817987a7a8375c2e4
SHA256: 1d1cec9559e79e010e188afa7725508e2e586bf447300123348701755bda8268
Description-en: x86 virtualization solution - base binaries
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the binaries for VirtualBox. Either the virtualbox-dkms
or the virtualbox-source package is also required in order to compile the
kernel modules needed for virtualbox. A graphical user interface for
VirtualBox is provided by the package virtualbox-qt.
Homepage: http://www.virtualbox.org/
Description-md5: 30f96d22c1a6ca04db16bdc1e79ad965
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
--

output of apt-cache policy virtualbox
--
virtualbox:
Installed: (none)
Candidate: 4.1.18-dfsg-1ubuntu1.2
Version table:
4.1.18-dfsg-1ubuntu1.2 0
500 http://archive.ubuntu.com/ubuntu/ quantal-updates/universe i386 Packages
4.1.18-dfsg-1ubuntu1.1 0
500 http://security.ubuntu.com/ubuntu/ quantal-security/universe i386 Packages
4.1.18-dfsg-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
--

is apt-get is auto dependency resolver
i tried to install the package which was missing(during installation of the .deb file -virtualbox). when tried to install the libpython2.6 package it shows another dependency package which is missing. is there any command to install only one package specifically.
 
Old 05-21-2013, 12:10 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

so it seems that virtualbox 4.1 is in your repositories. Is there any particular reason that you need 4.2? If you are happy with 4.1 then installing it should be as simple as
Code:
sudo apt-get install virtualbox virtualbox-dkms virtualbox-qt
(you'll also need to make sure you have your kernel headers package installed).
Quote:
is apt-get is auto dependency resolver
Yes.
Quote:
is there any command to install only one package specifically.
.. if you use apt-get to install a package it will also install the dependencies. This is a good thing. Eg on my system.
Code:
sudo apt-get install virtualbox
would also install the package libgsoap2

If you just use apt-get to install the packages in your repositories instead of downloading random stuff while surfing the web, you will avoid most if not all of these sort of dependency problems.

Evo2.
 
1 members found this post helpful.
Old 05-22-2013, 02:28 PM   #8
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Virtual Box installed

Quote:
Originally Posted by evo2 View Post
Hi,

so it seems that virtualbox 4.1 is in your repositories. Is there any particular reason that you need 4.2? If you are happy with 4.1 then installing it should be as simple as
Code:
sudo apt-get install virtualbox virtualbox-dkms virtualbox-qt
(you'll also need to make sure you have your kernel headers package installed).

Yes.

.. if you use apt-get to install a package it will also install the dependencies. This is a good thing. Eg on my system.
Code:
sudo apt-get install virtualbox
would also install the package libgsoap2

If you just use apt-get to install the packages in your repositories instead of downloading random stuff while surfing the web, you will avoid most if not all of these sort of dependency problems.

Evo2.
--
Resolved the issue by using
sudo apt-get install -f
which uninstalled the previous corrupted versions
--
installed the Virtual Box using command
sudo apt-get install virtualbox
its worked
thanks evo2
 
  


Reply

Tags
linux mint, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Problem Installing Yum: "No module named yum" braclayrab Linux - Newbie 9 08-04-2009 06:57 PM
installing yum arshzia Linux - Software 1 04-28-2008 05:40 AM
Help installing Yum erwinfletch Linux - Software 1 12-13-2006 05:05 PM
installing yum boundsofdreams Linux - Newbie 8 06-20-2004 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration