Fedora :: Yum - Command To Remove No Longer Needed Dependencies?
Jan 27, 2010
I can't find a Yum command to clean up no longer needed dependencies, you know similar to apt-get autoremove. Or does yum do this with the erase or remove command? btw: yum-clean-all just flushes out the cache right?
I've been working to get gcc up and running on a new install of Fedora 13. glibc-devel had dependencies upon installation where it required glibc and glibc-common, both 2.12.1-3. No problem, found both at rpm dot pbone dot net. However, when I try to install the following circular dependency results... it doesn't matter the order of install.
Code:
[root AT localhost gcc_install]# rpm -ivh glibc-common-2.12.1-3.x86_64 .rpm error: Failed dependencies: glibc = 2.12.1-3 is needed by glibc-common-2.12.1-3.x86_64
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 installed FC 12, 64 bit yesterday. I downloaded open office and unpacked it. I then issued the command rpm -Uvh *.rpm this fails due to many dependencies Some of these are:
[Code]...
how to "link" or make these and presumably other libraries searchable.
Sorry if it is a dumb question (i'm coming from deb/ubuntu and i'm totally new to rpm - installed Smeegol on a Samsung N150). After some try&error i finally got my Broadcom4313 working but underway to that i got lots of new kernels and now i don't understand not so much anymore.
I think the kernel default-devel it was me installing it using the distribution manager to get working make (for trying to install the original Broadcom driver package; i stopped that attempt because i didn't where exactly to move/cp the built driver).
How to REMOVE a password when it appears when I install a program or when I want to start my DSL connection or anything to install.I think that named 'sudo password but i don't know for sure :S
I haven't tried any random password patterns yet but I have tried knoppix because of a suggestion and it didn't work. I am useing knoppix as my OS not from CD or DVD. I would like to add and remove unused or needed apps. My linux language is week for the time being so I use the Software Center option from the Preferences option from the Main Menue.When I click on the remove icon a screen comes up asking for the Authentication Password and I don't have it, I as can not change the time on the desktop because it says that I am not the owner. How do I reset all the passwords and regain complete control of my system
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 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?
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 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.
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 have a problem, I need to launch another binary from my application, but I need to get the control back once the other binary is initialized. fork/exec doesn't seem to give anything on that side using pthreads I'm able to wait until the new thread exits, but that's not what I want at the moment I'm using popen, but it doesn't seem to do the job right...
I'm trying to remove gnome-panel to replace it with avant window navigator as system default. For now I've just disabled gnome-panel as startup session, but it bothers me to know I have it installed without using it. Trying to remove it, I get this message as seen in the picture below. Is there a command to remove a software but keep dependencies? sudo zypper rm gnome-panel -exclude *****?
Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.
I have set up a user to login remotely to our Red Hat 5 server via SSH. A rule in our department firewall enables this user to login from a single static ip address. The ssh port on our server is 22. I am able to login to port 22 from locations within our department firewall. Our administrator says the firewall configuration is unchanged. The remote user had been successful logging in. But now the remote user gets a Connection Timed Out message, before being asked to authenticate by the server.
I regenerated security keys, but the remote user still gets the connection timed out message. (I can login locally with the new keys). I suspect either a firewall or an authentication problem--inclining a firewall problem. Am I correct? Is there a Linux command to check whether port 22 is available or blocked, prior even to authentication, for login from the user's remote location?
Yesterday i finally got around to installing my graphics card (NVIDIA GeForce 8400M CS) on fedora 12 by using the command yum install kmod-nvidia the terminal then told me that it installed correctly so i rebooted my system. Now when i boot up into fedora, it loads and when the sign in window is about to appear instead my screen shows random colors all over the place. I am hoping someone can tell me how to remove this via the command line prior to actually starting fedora.
I've just added an application to load on startup in gnome.At first gnome loads properly,but after few seconds that application starts automatically and I can see its icon on taskbar , then gnome freezes and I can't do anything in gui.
How I can remove that application from starup of gnome using command line?
I was dual booting on my netbook with Lucid and Windows XP, so the computer starts with the GRUB2 menu. I deleted the windows partition and now I only use Lucid on the netbook. I want to know how can I get the computer to simply boot into Ubuntu like a normal computer would do if it was not set up as a dual boot system?
How can I get the computer to go directly into the ONLY operating system rather than taking a detour through the GRUB menu?
MySQL used to have a command named 'perror' to show the meaning of error codes. It seems that this command no longer exists on 11.2 and 11.3. Did it change the name?
when ever i try to install updates i get shown an error & the updates stop the error i get says "librpmio.so.0 is needed by package abrt-1.0.3-1.fc12.i686 (updates) librpm.so.0 is needed by package abrt-1.0.3-1.fc12.i686 (updates)"