* Wei Wang (ww220@cam.ac.uk) [030522 10:44]: > Hi, > > I just installed postgresql 7.3.2 from testing release and want to go > back to 7.2 from the stable release. So I want to remove the > postgresql package. But when I type in the "apt-get remove > postgresql", only 1 package, postgresql itself is prompted to be > removed. How can I remove all the packages that were installed when > postgresql was installed? And also leave those shared by other > packages alone? (I don't quite care about this coz I haven't had > anything installed after postgresql is installed yet). Your best bet is to use aptitude or dselect. This way you can interactively manage the dependencies, seeing what you can remove without breaking other things. If you had used aptitude to install it in the first place, then removing it would automatically remove the depended-upon packages that were automatically pulled in when you installed it. Either way, if you often use 'apt-get update', don't forget to use 'dselect update' before trying to use dselect. Using 'dselect update' in place of 'apt-get update' all the time is a good habit to teach yourself, if you don't want dpkg to have a warped view of what packages are available. (You don't.) good times, Vineet -- http://www.doorstop.net/ -- http://www.digitalconsumer.org/
Attachment:
pgp7pwseOS_Q3.pgp
Description: PGP signature