Quoting Amos Shapira, from the post of Sat, 07 Jun: > >> But can you mark a package as "nothing depends on it, but I want it > >> around" (lower-case "m" in aptitude) vs. "keep it around as long as > >> something needs it, but remove it when it's no longer needed by > >> anything else" (upper-case "M" in aptitude)? > > > > I don't know. I never looked for that feature (nor did I know it in > > aptitude) > > > > so I go "aptitude -m liblala" to mark it you say? I tried aptitude > > --help and it's not mentioned. > > It's "markauto" (capital "M" in the interactive interface) and > "unmarkauto" (lower case "m" in the interactive interdface). Just > found this from "aptitude --help".
ahh... but here I thought we were comparing the CLIs of aptitude and apt-get. > So I can't give more plausible explanations. 30 seconds sounds closer > to my experience. Anyone knows what this slow "Writing extendad state" stage is? and I agree about it being unecessarily verbose: uma:~# time aptitude markauto bash Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. >> Writing extended state information... Done<< (that's the slow bit!) 'import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 29, in ? import apt_pkg ImportError: No module named apt_pkg real 0m40.616s user 0m1.776s sys 0m5.208s also, that "ImportError: No module named apt_pkg" error has been happening for the last few months and I have no clue what started it. It seems like apt-listchanges is missing a python package but I donno what it is. btw: another time comparison: uma:~# time apt-get install python-apt Reading package lists... Done Building dependency tree... Done python-apt is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >>>real 0m0.198s user 0m0.192s sys 0m0.004s uma:~# time aptitude install python-apt Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done 'import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 29, in ? import apt_pkg ImportError: No module named apt_pkg >>>real 0m46.009s user 0m1.824s sys 0m5.268s > then not confirm this but can get long and tadeious. I also learned > about one of the yum-utils programs which can do something similar but > not being interactive means it's a lot of typing to go through > everything. well, that's just one more reason I go for CentOS only if my client absolutely insists, and RHEL if they insist AND bribe me. package management is so underrated in the non-dpkg world :-( (and SuSE is the worst!) > > it's your funural. Ubuntu has proven to be nothing but headache to me so > > far. > > In what way was it a headache? weird defaults for workplace lans (no ssh server?!), undocumented NetworkManager behavior (if /etc/network/interfaces is empty and google is no help - how do I set up the NICs?), not working out of the box in VMware... and that weird new init procedure that I haven't started touching yet. At the time I googled around (a few months back) I could not find a transitional tutorial for all the new gadgetry. If forced, I'll learn it when it hits Debian and CentOS. I hope documentation is better these days. -- Public citizen no. 1 Ira Abramov http://ira.abramov.org/email/ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]