General :: Remove A Package Along With Its Dependencies With Yum?
Aug 11, 2010
I have installed a package having almost 145 dependencies. Now when I want to remove the package (yum remove packagename) only the single package is removed.. Is there a way to remove the package including all its dependencies?
I need to remove libgl1-mesa-swx11, as after I installed it, it has slowed down all my graphics. However, in SPM, it says in order to remove it, I have to remove most of my system, it seems as though it's "dependencies" involve everything to do with graphics, which I was running fine and much better before. So, how do I remove this package without removing dependencies?
I recently installed rtorrent on a server in order to download the CentOS 5.4 DVD. I then decided against using this particular server and instead installed it on a different one. When I initially installed rtorrent, I installed two other packages to satisfy rtorrent's dependencies as shown below:
Code:
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: rtorrent i386 0.8.4-2.el5.rf rpmforge 448 k Installing for dependencies:
I thought KDE is better than Gnome, and installed kubuntu-desktop on my Ubuntu 8.10 to get KDE. But then I found out my computer can't run KDE without serious laag, and now I want Gnome back. I tried switching back to Gnome, but now this is totally messed up. It's half Gnome and half KDE, plenty of bugs, and I got tons of KDE apps that I don't need. So I just want to remove package "kubuntu-desktop" and all it's dependencies. Maybe there's a fast and easy way to do it? I may/will want to do this for some other packages too.
He was having problems with python and python-devel complaining about conflicting versions or some such when he was updating with yum. I told him (yes, a little of this is my fault) to try removing and reinstalling python and/or python-devel. Little did I know... He ran "yum remove python" and it listed over 600 (!) dependent packages to remove as well. Without telling me THAT part he clicked "y" and then watched as yum removed python and all sorts of other stuff (including yum--how's that for irony?) .
I have to go deal with this situation tomorrow morning but he has so blown away this system I almost don't know where to start. Sure I could re-download the rpm of python and reinstall, it but then I'd still have to one-by-one reinstall all the other rpms that were blown away by the python removal with yum. I do take at least partial responsibility for this. But really? 600+ packages and he clicked "y"? Yeesh. Oh, it's a RHEL 5 machine.
I am in fc13, have installed a package, realise lately that its not really useful. that package install a lot of package for dependency.How can i erase all the package together that was downloaded and installed together with the target package as dependency via yum? actually i have done it using #yum erase `cat /var/log/yum.log |grep "Aug 31 22" |awk '{print $5}'|`as I know when I have installed them.....but is there ant safer and better way?
apt-cache show <package> shows also it's dependencies.yum info <package> does not show dependencies, but it obviously know them.How to ask yum for dependencies of specified package?
I am currently using SUSE ENT x64 v11 SP1. While trying to install various packages I keep getting dependencies error. I tried reinstalling the rpm packages(listed below) and use various versions but seems like no matter what I try it doesn't go away.
Code: --> Missing Dependency: liby2storage.so.2()(64bit) is needed by package smis-providers-1.0.0-10.29.x86_64 (installed) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package libsnmp15-5.4.2.1-8.1.x86_64 (installed) Error: Missing Dependency: librpmio-4.4.so()(64bit) is needed by package kdebase4-SLED-11-25.1.x86_64 (installed) .....
Code: rpm-python-4.4.2.3-37.2 rpm-4.4.2.3-60.2 rpm-32bit-4.4.2.3-37.8 deltarpm-3.4-103.22 rpm-devel-4.4.2.3-27.1 no broken libs or whatsoever. What am i missing here?
I am working on a project that sets up packages on the cloud.
For example, If i want to setup Drupal, i need seperate machines to maintain separate tasks, like mysql in one machine(cloud instance/node 1), apache server in another machine(cloud instance/node 2), etc.
So if drupal.rpm has dependencies apache.rpm(has deps too) and mysql.rpm(has deps too)
Is it possible in rpm package manager(yum) to handle such customizations & above requirement?
While loading a rpm package its showing error of failed dependencies so wat to do for dat pls guide me n in another case its showing cant create transaction lock on /var/lib/rpm/_db.000
Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.
Is there an easier way to compile programs and their dependencies manually or are package managers the only way?
error: unpacking of archive failed on file /boot/System.map-2.6.9-89.0.23.ELxenU;4bdef4c2: cpio: write There was a fatal RPM install error. The message was: There was a rpm unpack error installing the package: kernel-xenU-2.6.9-89.0.23.EL
I am trying to install tilp, a program for the link between a computer and a Texas Instruments calculator. I have downloaded all the packages to a local directory. I tried telling yum to install all the packages at the same time, though, the dependencies still fail to resolve (though they are all in the directory). I don't know if it would be safe to force install without the dependencies (even though I would install them later).
Theres a package I'm going to install that is available only in 32-bit, but I have its dependencies installed as regular 64-bit. Since I'm multilib, will the 32-bit package be able to work with the 64-bit deps? If not, can 32-bit versions of the deps be installed side by side with the 64 bit?
I searched for a hex editor in the USC, and chose to install a package called okteta. Only problem is...(I didn't realize until after it was too late to cancel)...it's a KDE package.Since it was probably one of the first (only?) KDE based app on this fresh Lucid installation, I believe about 115 (!) packages (see the list below) were installed in addition to the one I wanted. Grrrr.I then went into synaptic and removed okteta, but as I should have known, it did not remove any of the dependencies.I then looked at the dpkg logfile to see what had been installed. Here's what I found:Quote:
I need to download lame package to my offline ubuntu [URL] but its involved so many dependencies to download. Is there anyway to ease the pain of downloading each dependencies separately?
So to give a little background, I'm trying to pass wireshark(with a custom plugin) through my company's build system.The build system functions inside a change root thus all the dependencies need to located somewhere inside the chroot. Wireshark has a massive dependency tree that I couldn't possibly import manually one by one.So my question is, is there a way to conveniently import all the dependency packages somewhere on your local machine. This would mean I would just import the one folder into my change root.PS: the build-system's change-root has SMART package manager installed. But the channels it comes with are local ones(very little to choose from). So an alternative solution would be import therepositories that apt-get uses into smart and then use smarto install the packages which is monumentally easier.
I am a long-time Debian user (I use it since Woody) and yesterday, due to an unexpected problem on my hard drive and an inexplicable lack of a current Debian cd or a possibility to perform a net install, I had to choose between either stay without computer at home or install one of the two other operating systems I happened to have on cds: Free-BDS or Slackware 13.0. Since I do not have time to learn something that I consider to be more radically different from Debian, I went for Slack.
So, first impressions:
1. Quick and smooth installation, though I got a bit over-enthusiastic when it came to select packages to install and unselected many libraries that I later realised that were necessary for various packages and I had to install them anyway.
2. Configure my wifi was surprisingly easy. I had braced myself for overly-complicated configurations to be done while I'd not have access to google, however rc.inet1.conf was very straight-forward and it provided plenty of examples to illustrate basically every possible configuration. All I had to do was to copy my wpa_supplicant.conf from my Debian backup and it worked.
3.X: For some reason I expected I'd have trouble to properly install and configure X, however my window manager was up and running in a few minutes. I copied my ~/GNUstep folder from my backup gave me the exact same X environment I had in Debian.
4. Package managing and dependencies: (I think I am correct to presume that that has to be the main complaint of most Debian users). pkgtool is very easy to use but, yeah, it does not resolve dependencies.
However, and while I installed a system way more minimalistic than any Debian system I had, I was surprised to find out that:
-Firefox had only ONE dependency
-vlc had none
-xfe, on the other hand, has some obscure dependency that I cannot figure out where to get it (libGLU).
So, a question for more experienced Slackware users: How do you get around the dependencies? Is there a quick way to find out what additional packages you will need on beforehand, or you install the package and try to run it, so to see what libs you need when it fails to start?
how should i remove a package in a local cache? i tried removepkg packagename.txz and itdeleted its files. but then i tried to install it back, it says its in the local cache so it didn't download the package but instead it installs it right directly. i want it to downloadit once again because the package isn't working.
I'm using slackware 13.37 and I must say that I really like this distro and the biggest problem is the lack of dependency handling. This is something that bites you right away because you have this nice clean simple operating system but unless you really know what's dependent on what you have to install piles of stuff with lots of programs with duplicate functions. A minimal install option would be nice and I can see from some of the threads that even those with a good deal of experience have had a hard time doing a minimal install. I tried about ten times using different guides but I always ended up with something broken so now I have the full install running fine but with tons of stuff that I don't want or need including most of kde. Anyway, I don't think that the slackware people are going to change their minds about dependency handling anytime this century.
Although for those who have said that it's a FEATURE, I'd point out that all distros have this feature, JUST DON'T USE THEIR PACKAGE MANAGER! So with all that said, I think it's a shame about the lack of dependency handling but I still like slackware well enough to use it even though I find the dependency thing quite annoying. I know that there are people here that have a lot more experience than I do and maybe there are some tools that could make this business easier. So how do you go about removing programs? Debian has deborphan and Arch has pacman -Rd. When you remove a program in slackware, how do you then get rid of all the unneeded dependencies?
I'm trying to install debian in my surface pro but I can't get the network card configured. I installed Arch before and it's wpa_supplicant package was working just fine until the last update. I was wondering if I could download the wpa_supplicant for debian and all it's dependencies from my windows OS to be able to configure my wireless card properly in Debian.
How do most experienced Fedora users remove packages with large number of dependencies?
I know that the question is as old as yum, but still I can't find solution. There is package-cleanup tool, which supposed to do the job with "--leaves" key, but it doesn't seem to work. Right now I have F12 installed. I installed rosegarden with `yum install rosegarden`. Then I removed it with `yum remove rosegarden`. If I understand right, `package-cleanup --leaves` must show all of 12 dependencies that was installed with rosegarden, but it shows none of them (although it shows few packages). Is this a bug? For years I used Ubuntu and Debian and I was completely satisfied with apt.