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 |
Hi,
why do you want to install yum? Anyway, did you read the error message? Did you follow the instructions? Evo2. |
Yes i want to install yum
Quote:
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 |
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 |
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 Code:
apt-cache show virtualbox Evo2. |
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. |
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 Quote:
Quote:
Code:
sudo apt-get install virtualbox 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. |
Virtual Box installed
Quote:
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 |
All times are GMT -5. The time now is 03:40 PM. |