Fedora :: Remove Single Or All Packages Without Breaking Other
Jan 31, 2010Is there an easy way to Remove a package and all packages it depends on without breaking other packages?
View 2 RepliesIs there an easy way to Remove a package and all packages it depends on without breaking other packages?
View 2 RepliesWorking with Red Hat Enterprise Linux ES release 4 (Nahant Update 4). Working at a new company, and the previous guy had created a shell script to take care of a specific task. His role was unique as the manager took advantage of his programming ability (wasn't a part of his job). On top of that, I'm no programmer either. I'm trying to figure out what this script is doing because it's throwing a warning.
REM this is remove /home/public/ccnf* (remove anything that starts with ccnf) rm /home/public/ccnf*
I understand that this retrieves anything that starts with ccnf that has been changed at any given time, but I don't understand anything else after -ctime...
find /usr/CC/DATA1/RPT/ -name "ccnf*" -ctime -1 -print | xargs fgrep -l "GB-1 " > /tmp/t.file
REM while read line = read each line that is "printed" from the above command? while read line do
REM copy each line that was read from above command to /home/public/ cp -p $line /home/public/
REM don't know about this one =( done < /tmp/t.file
REM remove /tmp/t.file that was made by previous command? rm /tmp/t.file
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.
View 2 Replies View RelatedHere i have one situation, that is to compile 1.tar, 2.tar and 3.tar files and make them into a single bin file that is ready to install
View 5 Replies View RelatedWhy does yum remove so many packages, that are essential for my work, when I'm trying only to remove mysql ?
View 14 Replies View RelatedI have updated a few packages from rawhide F16 into my F15 install. How can I downgrade the F16 packages back to sync with F15.
Yum downgrade pacakge1 pacakge2 package3 etc.
I have uninstalled Wine but it still says the packages are installed still how do I remove them? I am also on Fedora 13.
View 3 Replies View Relatedso i recently had a problem with preupgrade (power cut mid process). anyway it seems that my system is now f13. In any event it seems that there are 785 f12 packages still remaining.yum list installed | grep f12 output can be seen here.How can I mas remove these fc12 packages?
View 2 Replies View RelatedWhy is Add/remove programs in Fedora 14 not working? It is not showing any packages. I am a newbie to Fedora. Also some basic tweaks that should be done immediately after installing fedora.
View 1 Replies View RelatedHow 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" ?
View 2 Replies View RelatedI had a fairly smooth upgrade process using PreUpgrade on my main workstation, but I still have a huge bunch of fc12, some of which have fc13 analogs installed, some of which don't (a total of 317 packages). Also, I still have the Constantine gdm theme, probably as a symptom of these lingering packages. Can I just yum erase these? Do I need to check which have analogs in fc13? I don't know which step of the upgrade I forgot, but it seems I'm stuck somewhere in between, although
Code:
joel@localhost: ~> cat /etc/fedora-release
Fedora release 13 (Goddard)
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"?
I've installed Fedora 10 Gnome from DVD. How do I let yum and "Add/Remove Software" first check the DVD before downloading packages from the Internet?
View 1 Replies View RelatedI've installed yesterday xmms and now I want to uninstall it. I've done it with yum. When I uninstall it like this: "yum remove xmms", then yum removes this package, but, when I check "yum list | grep xmms" I get full list of other packages like bluecurve-xmms-skin.noarch, gkrellxmms2.x86_64, gxmms2.x86_64 , ...
I want to cleanly remove the xmms, so I should remove all this packages "manually"? Is there a method to check wich packages are not used by any program on my computer and remove them? Or any method to remove all packages with a program automatic?
I managed to successfully upgrade FC11 to FC13. While doing the post upgrade steps, I made a HUGE mistake. After identifying the unsupported packages, I used "yum remove package1 package2" command to remove the obsoleted ones without realizing the yum was also removing many FC13 packages! Here are the cmd sequence used:
# package-cleanup --orphans
...
# yum remove compat-db45-4.5.20-5.fc10.i386 flash-plugin-10.0.32.18-release.i386 gnome-spell-1.0.8-5.fc9.i386 ifd-egate-0.05-21.i586
[code]....
I simply typed Yes and left unattended for a few minutes after yum prompted there were # of packages to be removed as I blindly believed it would do the job. After returning to the computer, I found many installed icons were disappearing, the wireless suddenly turned off etc. I killed the yum process right away but it was too late.
-Is there anything I could do to undo the yum remove process?
-How to safely remove supported packages?
Remove the sudo command software packages without damaging my system?
View 9 Replies View Relatedis there a way to install Ubuntu with up-to-date versions of all packages right away? To clarify: With the normal LiveCDs, in order to install an up-to-date Ubuntu Lucid, I have to download a 700 MB LiveCD, install Ubuntu, and then use the Update Manager (or apt-get) to upgrade all outdates packages, which by now should be another about 300 MB. Old versions of SUSE Linux had the option of downloading an ~40MB installer ISO which did not contain any packages itself, but would download and install the most recent versions of all necessary packages.
Is there such a facility for Ubuntu as well? Or a way of using an outdated Ubuntu LiveCD (e.g. Lucid Beta 1) to still install an up-to-date system in a single pass? I am *not* talking about netboot images such as netboot.me or boot.kernel.org, which AFAIK will download the full normal Ubuntu ISO during boot, so that I would still have to upgrade the system afterwards.
How to remove all foldernames which contains spaces in Desktop with a single command?
View 7 Replies View RelatedWhat is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.
Made the following bash script named trimsquote:
Code:
#!/bin/bash
IFS=$'
[code]...
I have a large text file that's formatted sort of like this:
Code:
foo bar
blah
[code]...
I installed a LAMP server using RHEL 5.5 but we needed a higher version of php than was available in RHEL Yum repositories. I think at the time I installed Dag Wieers and got a 3rd party package. My question is the following:
1. How do I remove the 3rd party packages?
2. How do I remove Dag Wieers from my Yum repo list?
3. Anything else I need to know to get all 3rd party packages off?
If I do a fresh 'netinst' of CentOS 5.4 x64 on a server, what is the correct way to verify that no 32-bit packages were installed or mixed in with x64? Also can someone tell me if it is safe to remove those 32-bit RPM packages?
I searched the Wiki for 'Post Install Tips' and could not find anything there or on Google.
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?
View 14 Replies View RelatedWhat'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?
Last night I was installing gbrainy and while it was installing I started a fullscreen game on accident. Fullscreen games cause crashes on my intel integrated graphics (an unrelated issue) and while gbrainy was in the process of installing my computer crashed. So I had to restart. When I restarted I knew I would see broken packages so I did code...
I've tried just about everything to resolve the broken packages but I can't fix them. Does anyone have any idea what I can do to fix this?
Since I'm running Sid. Let's assume package foo has been upgraded via apt-get dist-upgrade, and it causes a serious bug so that Sid is never able to fully start up, and is not even able to get me to the console to remove the package.
(Reword: let's assume that I upgraded the system despite apt-listbug warning me that foo had serious issues.)
Is it possible for me to remove the package and get back in? Everything I've seen online assumes that I could at least access console--but this hypothetical bug doesn't allow that.
If it were in Arch, I would just boot from the live dist, arch-chroot into the / directory, and try to remove foo via pacman. But Debian doesn't offer a live disk past Stable, so I suspect that this wouldn't work with a Wheezy disk?
Am I asking for an impossible situation, or can a troublesome package be removed from an unresponsive Sid?
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 one installs an application,it brings in other stuff too as dependencies.
When this application is removed,will zypper remove the dependencies that came with it and are not needed by other installed packages?
Is it possible to check before and after removal?
I'd like to remove a bunch of unnessessary packages. Trouble is, I don't know what they all do. Is there a list of packages that tells what is/is not nessessary to run my system? I'm sure there are hundreds of packages (well, maybe tens of packages) that I have no use for but I don't know what they are.
View 4 Replies View Related