On 9/4/2015 7:33 AM, 慕冬亮 wrote:
I sounds like aptitude *is* the tool that you want. I don't use aptitude so I am taking it on faith that the given example is a working example and you just need adjust it to fit your needs. If you want a list of software in 'debian testing main' the repository is the origin, testing is the archive '~A', main is the section. aptitude search term information is available here. https://wiki.debian.org/Aptitude#Advanced_search_patterns https://www.debian.org/doc/manuals/aptitude/ch02s04s05.en.html the second link shows this... -------------------------- ,
~s
Matches packages whose section matches the regular _expression_ Adding that to the above example.. "aptitude search '(!~Atesting ~Aunstable ~smain
?origin(Debian))'" So this particular example should then show all the available
packages in the I had trouble getting it to work in my earlier attempts, but I
think it was probably > Start by running "grep Origin: /var/lib/apt/lists/*Release"
to see where As opposed to guessing the correct origin base on the way
Synaptic shows it to you. Later, Seeker |