Thanks for your bugreport. Currently there is a tool called "apt-mark" that can be used to mark packages as explicitely installed. There is also support in synaptic (use Package/Automatically installed.
I think that "apt-get install $pkg" should clear the auto-flag if the package is already installed. This seems to be the most intuitive way. Cheers, Michael ** Summary changed: - autoremove function doesnt behave appropriately + apt-get install $foo should clear the autoflag for $foo ** Changed in: apt (Ubuntu) Importance: Undecided => Wishlist Status: Unconfirmed => Confirmed Target: None => ubuntu-7.04 -- apt-get install $foo should clear the autoflag for $foo https://launchpad.net/bugs/72007 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs