Re: not installed and installed , where they store?

2015-05-10 Thread The Wanderer
On 05/10/2015 at 04:53 AM, Mohsen Pahlevanzadeh wrote: > On 05/10/2015 09:14 AM, Johannes Schauer wrote: > >> Hi, >> >> Quoting Mohsen Pahlevanzadeh (2015-05-10 05:53:17) >> >>> When i use : grep ^Status: /var/lib/dpkg/status , Unfortunately , >>> i only get "Status: install ok installed" >> >

Re: not installed and installed , where they store?

2015-05-10 Thread Charles Plessy
Le Sat, May 09, 2015 at 11:17:40PM -0700, Tom Lee a écrit : > Try this too if virtualbox is the specific package you're interested in: > > $ grep -A 3 "^Package: virtualbox\$" /var/lib/dpkg/status > Package: virtualbox > Status: install ok installed > Priority: optional > Section: contrib/misc He

Re: not installed and installed , where they store?

2015-05-10 Thread Mohsen Pahlevanzadeh
On 05/10/2015 09:14 AM, Johannes Schauer wrote: Hi, Quoting Mohsen Pahlevanzadeh (2015-05-10 05:53:17) When i use : grep ^Status: /var/lib/dpkg/status , Unfortunately , i only get "Status: install ok installed" how sur

Re: not installed and installed , where they store?

2015-05-09 Thread Tom Lee
Try this too if virtualbox is the specific package you're interested in: $ grep -A 3 "^Package: virtualbox\$" /var/lib/dpkg/status Package: virtualbox Status: install ok installed Priority: optional Section: contrib/misc On Sat, May 9, 2015 at 9:44 PM, Johannes Schauer wrote: > Hi, > > Quoting

Re: not installed and installed , where they store?

2015-05-09 Thread Johannes Schauer
Hi, Quoting Mohsen Pahlevanzadeh (2015-05-10 05:53:17) >When i use : grep ^Status: /var/lib/dpkg/status , >Unfortunately , i only get "Status: install ok installed" how sure are you of that? Did you just look at the first few hundred or did you really find all unique values? Try: grep ^S

Re: not installed and installed , where they store?

2015-05-09 Thread Mohsen Pahlevanzadeh
When i use : grep ^Status: /var/lib/dpkg/status , Unfortunately , i only get "Status: install ok installed" --Regards Mohsen On 05/10/2015 07:59 AM, Tom Lee wrote: Hey Mohsen, The short answer is /var/lib/dpkg/sta

Re: not installed and installed , where they store?

2015-05-09 Thread Tom Lee
Hey Mohsen, The short answer is /var/lib/dpkg/status. There might be easier ways, but strace can give you some hints wrt where to look if you're patient: $ strace dpkg -l virtualbox 2>&1 | grep open | grep O_RDONLY | grep -v ENOENT open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib/x86_

not installed and installed , where they store?

2015-05-09 Thread Mohsen Pahlevanzadeh
Dear Mentors, Suppose : /// root@debian:/home/mohsen# dpkg -l virtualbox Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-