If you’ve been wondering how to delete a package you mistakenly installed (or which is no longer needed) along with all its dependencies, here’s a neat way to achieve just that.
The idea is that whenever you use yum to perform some operation on packages, a transaction is created. If you installed a package along with its dependencies, then you can undo just that by undoing that transaction.
Continue reading Linux RedHat / CentOS / Fedora : Uninstall a package along with dependencies
If you want to know on which CD is a package, without :
- Mounting CD
- Swear and
- Go back to 1
Then you can :
- Mount CD #1 (mount -F hsfs /dev/dsk/<CDROM DEVICE> /mnt or, if you have automount cd /cdrom/cdrom0 or something like that)
- Go in the Solaris_10/Product directory of the CD
- Do grep -l <PACKAGE NAME> .virtual_packagetoc_*
which will output the .virtual_packagetoc_N where N is the number of the CD holding that package.
# grep -l SUNWzsh .virtual_packagetoc_*
So SUNWzsh, the package for ZSH shell, is on CD #5 of Solaris 10 distribution (damn, I don’t have it !)
This tip is courtesy of BlaF (thanks dude !)