so, other than apt-clone, is there a way to get a list of manually selected packages? grep -v '^lib' is too simple (because of all the lib*-perl etc packages)
A few years ago the service used to be really terrible. Maybe they have improved the network/cabling whatever. Even in India, things change. And companies need reasonable infrastructure to work.
@Gilles Yeah, my answer is useful, if it works. Could you and/or @cas have a look at the latest version? I don't know what I'm supposed to do with apt-mark.
Yes, but why would I want to do that when attempting to replicate the installed packages list on a new system? Have a look at the answer I linked to above. Any suggestions?
you also want to replicate the relationship of the installed packages too, since all packages will be marked as "manually installed", that means that if I remove a meta package, the dependencies will not be removed along with it
@Braiam I'm not on a Debian system at the moment, so I can't check these. Could you be more specific? What does that do? Should I save its output somewhere? Does it have output? When should it be run? Before the get-selections? After it? On the old system or the new (old, I guess)
@don_crissti I closed it as a dupe. If it isn't, the OP can edit and show us why. Thanks for bringing it up. It would be better if you could flag or ping me here next time though, so we don't leave comments lying about.
earlier I was complaining about wrong answers getting all the upvotes on progse, but we have the same problem here — obviously wrong answer with 9 upvotes and accepted!
(it might not be obvious that the answer is wrong if you just read it, but it can be tested easily)
@terdon Quotes of any kind (\foo, 'foo', ''foo, etc.) prevent alias expansion. They have no influence on command lookup (the part that determines whether to execute a function, builtin or executable).
Alias expansion is only performed on a plain word. It isn't performed on something like $(echo foo) either, but $(echo foo) is indistinguishable from foo when it's time to check functions and builtins.