OpenSUSE Install :: Remove Unneeded Packages From Sytem?
Mar 13, 2011
i wanted to remove the unneeded packages from my system. i was being told from the #suse irc to use zypper rm -u PACKAGE_NAME. And it worked. The point is that i want some tool to do this job but for all the packages in my system..is there something else except rmporphan?
Not long ago I've switched from FreeBSD to Debian. As time passes, I install some packets, use them and forget to uninstall them. In FreeBSD there was a simple (dummy) way to keep only needed packets. Once in 6 months i just deleted all packages (pkg_delete -a) and then installed only those which i needed (xfce, xmms, gmplayer, etc). Is there a way to safely remove packets and their dependencies which i don't use anymore? May be there is a way to roll back to default desktop package collection?
I've been installing and uninstalling some stuff, and I would like to know if there was a way to see if I have yet to uninstall some unneeded packages. There was a way of doing this on Ubuntu via the Computer Janitor. Is there any way of doing that on Fedora 12?
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 attempted to install gnucash just now to test it out, but, in the middle of the installation (which I was doing through Terminal), something happened and dpkg was interrupted. I'm unable to provide the Terminal output because (a) for some reason, prior to the error messages about a segment fault, the terminal shows a number of blank lines and does not show me what happened before the segfault, and (b) after the segfault, when I tried starting up gedit or make a screen capture, the prompt windows were blank, so I was unable to save the terminal output to either.
When I restarted Ubuntu, it told me that /tmp was not ready; I waited for it to mount, and, apparently, it did, as Ubuntu restarted fine. I tried updating my software, as the icon in my panel was telling me I needed updates. However, it told me that dpkg had been interrupted and that I needed to troubleshoot it with sudo apt-get install -f, which then told me to run sudo dpkg --configure -a, which I did, receiving the following output:
Code: sqlu@thalamus:~$ sudo apt-get install -f [sudo] password for sqlu: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. sqlu@thalamus:~$ sudo dpkg --configure -a Setting up libktoblzcheck1c2a (1.24-2) .....
It looks like there were errors with a number of packages, and I'm guessing something else might have also broken. Since I'm already using homebank and don't really need to use gnucash, I was wondering if there was a way for me to check what was installed by gnucash and remove those packages, since they're cluttering my system, and I'm concerned that they might interfere with other packages if they're broken or something. I've been using Ubuntu for about two years now and have some knowledge of the command line and such, but I'd say my skills are still pretty basic. I'm running 64-bit 10.04.
1) Whenever a new release of Ubuntu comes out, I've always done a full replacement (Booted up live CD, formatted / and formatted /home) to ensure there's zero incompatibilities, including configuration files in my /home. That has, finally, gotten annoying and I was wondering what the actual chances of a configuration file causing problems was in the 6 months that Ubuntu was released in. Also, special consideration for Gnome 3 (aka gnome-shell) coming out with the current gnome configs.
2)Any way to remove unneeded config files automatically? I don't always use purge when I remove a package just in case I want to reinstall it, well weeks later I def don't want it, is there an apt or dpkg command that will automatically remove them after the package is gone? I know autoclean and autoremove handle orphans and unneeded .deb's
3) How stable is Sidux in reality? Ran it in a VM and had a few errors every so often while using it, but i wasnt sure how much of that was the fact it was a VM. Some say its stable enough for daily use, some say it breaks every other day
im using fedora 14 and i have a slow internet connection. i want 2 install some packages from the fedora 14 dvd instead of downloading from internet using add/remove packages. i tried to edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo but it dint work.
What's the command to remove obsulete packages? Those packages are not needed as dependencies of other packages.
During installing a package many packages/libraries are installed as dependencies. After removing that package the packages/libraries are in partition.
Now what's the way to remove those unnecessary libraries?
I have a a few questions about Testing's update manager. When I go to the update manager I get a message saying "Do you want to perform a safe-upgrade, which does not remove packages or install new ones"? Will my entire system ever eventually get upgraded if I only ever do safe-upgrades? Or is there a time and a place to do non-safe upgrades? I did a non-safe upgrade a few days ago and all it did was mess with a bunch of OpenOffice packages.
Why are only certain packages selected by default when doing a non safe upgrade? Why is it that whenever I do a non-safe upgrade when it's done applying the updates the same packages I just installed are listed as available updates? Also, I used this website to build my sources.list and there apparently is some sort of "fatal error" with one of the repositories I selected. Is there a text file somewhere I can go to see a readout of apt-get bug reports?
When I try to install uzbl, a minimalistic web browser with apt-get, apt tries to remove all xserver-xorg packages that can't possibly have any relations to the uzbl package - since it's only a web browser.
[ ~/downloads ] % sudo apt-get install uzbl Reading package lists... Done Building dependency tree Reading state information... Done [code]....
I made the mistake of trying to install a gnome based panel applet, which seemed for some reason installed the entire gnome desktop (games and bloatware too) whenever I try to remove the, Synaptic keeps threatening to install kde.
I am fairly new to RPM based distributions. I installed using the OpenSUSE 64-bit Gnome live CD. I used the one click installer to enable the Nvidia drivers. Doing so caused the system to want to install about 700mb of packages. I am assuming these are "recommended" packages that normally would be on the DVD with Gnome. There is no graphical way to "not" install them (other than using the QT interface, which I do not want) that I could find from the Gnome software installer, other than to perhaps uncheck them one by one.
I installed Nvidia drivers without such issues by using the "zypper in" command. I would like to use the Gnome interface without having to install all these files along with any package changes. Is there a way to do so? My second question is related. When running a default upgrade, packages such as foreign locales and translations and the yast qt interface want to install which is making the download take a long time. I only need English. Is there an easy way to disable these from installing?
I just installed openSUSE 11.3 and I'm certain there are services and apps running that I do not need. So I was wondering if anyone here can help me find some to remove. My running services ("ps aux" - is there a better way to find the services running?):
Code: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.1 0.0 2204 716 ? Ss 10:09 0:01 init [5] root 2 0.0 0.0 0 0 ? S 10:09 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S 10:09 0:00 [migration/0] root 4 0.0 0.0 0 0 ? S 10:09 0:00 [ksoftirqd/0]
Whenever I do an apt-get upgrade, I get this warning:Install these packages without verification [y/N]? How to remove this warning? Nothing in the forum has seemed to work so far for me.
I just upgraded from 11.2 to 11.4 and the installation/upgrade worked just perfect. I than followed the instructions in the "New User How To/FAQ", "Multimedia and restricted format" post. I was following the instruction in the 11.4 section. I added the additional repositories as explained. I then was on the section where it talks about going into software management and selecting the "Packman" repository and clicking to "switch systems packages" to the versions in this repository (packman). I than click this link and the "warning" screen appears and I am present with conflict resolution after conflict resolution dialog. It just seems that there are some many conflicts, it just seems wrong and I canceled.
The installation/upgrade appears to have worked just fine. My mail is there, audio and dvd play back worked the first try after the upgrade. I am not clear if this is what I should expect or their is something wrong or if I even need to complete this step for a successfully installation.
I use the show-leaves yum plugin, and sometimes I use that info to remove some unnecessary packages. But that list can be long, so I write them on a text file.
1) Instead of removing packages one by one is there a way to remove all packages written in that text file?
2) Why isn't the output of the show-leaves plugin compatible with the output of "package-cleanup --leaves"?
Im having an issue with sudo aptitude install. If i attempt to install anything, it says it will remove all of the packages below. On the other hand,if i use the Synaptic Package Manager, it doesn't remove any packages what is going on here? Any ideas? I have added some karmic repositories, but i dont think that should do anything?
sudo aptitude install libossp-uuid-dev Reading package lists... Done Building dependency tree Reading state information... Done
1. why is it that when i add a ppa to the repository and then i type sudo apt-get update,it has an error for that ppa but i can still install it? deluge is the main one that does that.
2. when i install apps, it tells me to use apt-get autoremove to remove unused packages but i need some of them like java etc. how do i take some apps off of the autoremove list?
How to add packages using X-Window's add/remove packages option in RHEL-5.3 as it shows only the currently installed package and and does not show any thing when we click the button "available packages" ?
I've built a script that should meet the requirements to pass the MMCHECK script written by J. McDaniels and RedDwarf. Save anywhere, call anything, and then (must be run as root):
chmod +x <nameOfFile> ./<nameOfFile> setup|remove Code: #!/bin/bash function addRepo() {
I just installed Ubuntu about 3 days ago and all has been working well and I'm learning to use it more effectively every day. The reason i installed Ubuntu was because I discovered that people i thought were close to me were remotely SPYING ON ME through my computer.Apparently they had access to all my documents And could even hear and see me through my Mic And Web cam.I was using windows 7 with avg anti virus and windows firewall. I would like to be able to use my computer(with they Internet) without having to worry about people stalking me.I would like for it to be practically impossible for these scumbags to get anywhere close to my privacy. I have a router which i connect to with wifi and I'm running the latest version of ubuntu.
I would like to remove openSUSE (11.3) from my dual boot (/Windows) system. In the old days, the install CD used to have an option for that, but now my DVD doesn't have anything, or perhaps I overlooked?
By mistake I did mke2fs to my Windows NTFS ParticionTo my understanding It has Modified the inodes only,Can I recover somehow the NTFS inodes?, I lost everything and I know the things are there.I've tryed particion recover, but that's not the problem, the particion is there, and it's NTFS, but the filesystem isnt
i'm trying to install my updates through install/remove software in gnome opensuse, but when I click apply everything just disappears, can I install them some other way?