Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was manually installing X server and lxde on my cellphone's chrooted ubuntu.

There were a couple of packages suggested after install related to touchscreen support.

I can't remember the name of those packages. I checked the apt and dpkg logs and history but it only shows the messages during install not the suggestions after.

How can I get again this suggestions without reinstalling?

share|improve this question
add comment

3 Answers 3

Maybe $ apt-cache show lxde | grep Suggests ?

share|improve this answer
    
nope, I guess these suggestions came from a required automatically selected package (there where at least 20 and I would like not having to check them all), but still, great command you just introduced me to, thanks –  elcodedocle Mar 26 '12 at 17:30
add comment

Just found this today, for anyone who will be referring this in the future,

$ apt-cache depends lxde

If you want just the recommends, you can grep it.

$ apt-cache depends lxde |grep -i recommends

Cheers!

share|improve this answer
add comment

If you want the packages dependencies and only the ones that are related to touchscreens you might use nested commands:

apt-cache depends lxde

Here we get all dependencies. Now lets get the name of the packages only:

apt-cache depends lxde | awk -F': ' '{print $2}'

Now, getting rid of undesirable symbols < and >:

apt-cache depends lxde | awk -F': ' '{print $2}' | sed 's|[<>,]||g'

Now lets wrap it all in an apt-show:

apt-cache show $(apt-cache depends lxde | awk -F': ' '{print $2}' | sed 's|[<>,]||g') | grep -i touch

You will notice at the end a grep -i touch, you can change the touch part for whatever you are looking.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.