apt-cache unmet { unmet dependencies }

Wulfy wulfmann at tiscali.co.uk
Tue Jan 22 22:07:19 UTC 2008


andy baxter wrote:
> If you still want to do this, I got the following shell script to work
> (I wanted to practice my scripting...):
> apt-cache unmet | (p="" ;while read n l ; do if [ "$n" == "Package" ] ; 
> then p="$n $l" ; else if [ "$n" != "Suggests:" ] && [ "$n" != 
> "Recommends:" ] ; then echo $p; echo $n $l ; fi ;fi;done) |less
>
> It filters out the 'suggests' and 'recommends' dependencies. But as 
> gerard pointed out, it might not tell you what you thought it did.
>
>   

Does this show *installed* packages with unmet dependencies?  If they're 
*not* installed, then what's the fuss about?

-- 
Blessings

Wulfmann

Wulf Credo:
Respect the elders. Teach the young. Co-operate with the pack.
Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.
Copyright July 17, 1988 by Del Goetz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080122/eda41b8a/attachment.html>


More information about the ubuntu-users mailing list