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.

Suppose that I have installed a program "someProgram". Now, I want to select the .deb packages that were downloaded into /var/cache/apt/archive folder.

How can I select the packages related to someProgram in /var/cache/apt/archive ?

share|improve this question
add comment

2 Answers 2

Not sure exactly what you mean by 'related to', however, if you do:

aptitude show some-package-name

This will show you the dependencies.

share|improve this answer
add comment

Open your terminal(CTRL+ALT+T) and type as

ls /var/cache/apt/archives | grep <package_name> 

for example

jai@frank-Jai:~$ ls /var/cache/apt/archives/ | grep vlc
libvlc5_2.0.8-0ubuntu0.13.04.1_i386.deb
libvlccore5_2.0.8-0ubuntu0.13.04.1_i386.deb
vlc_2.0.8-0ubuntu0.13.04.1_i386.deb
vlc-data_2.0.8-0ubuntu0.13.04.1_all.deb
vlc-nox_2.0.8-0ubuntu0.13.04.1_i386.deb
vlc-plugin-notify_2.0.8-0ubuntu0.13.04.1_i386.deb
vlc-plugin-pulse_2.0.8-0ubuntu0.13.04.1_i386.deb
jai@frank-Jai:~$ 
share|improve this answer
    
It is not a complete list of downloaded .deb files (dependencies). –  Dariush Aug 15 '13 at 3:30
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.