FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-11-2010, 08:21 PM
Loris Boillet
 
Default List of installed packages without their dependencies

Hi,

Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.

Debian systems typically having hundreds if not thousands of installed
packages, I am looking for a way to view a "summary" of them; I am
hoping that this list would give it to me, but maybe there are others
ways to get similar information?

Thanks,

Loris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimA+njPUJ2SJGBysDG9RvNYP5gc1Y6cev5q9-5b@mail.gmail.com">http://lists.debian.org/AANLkTimA+njPUJ2SJGBysDG9RvNYP5gc1Y6cev5q9-5b@mail.gmail.com
 
Old 10-11-2010, 08:59 PM
Chance Platt
 
Default List of installed packages without their dependencies

Loris Boillet wrote:

Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.

deborphan --all-packages


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4CB37AB9.7000606@sdf.lonestar.org">http://lists.debian.org/4CB37AB9.7000606@sdf.lonestar.org
 
Old 10-11-2010, 09:21 PM
Camaleón
 
Default List of installed packages without their dependencies

On Mon, 11 Oct 2010 22:21:58 +0200, Loris Boillet wrote:

> Is there an easy way to get the list or a view of all installed packages
> which are not the dependency of something?

Mmmm, I've still not found a package that does not depend on another
package (there are always basic library dependecies that have to be
met) :-?

> Debian systems typically having hundreds if not thousands of installed
> packages, I am looking for a way to view a "summary" of them; I am
> hoping that this list would give it to me, but maybe there are others
> ways to get similar information?

Installed packages can be dumped with "dpkg --list".

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.10.11.21.21.21@gmail.com">http://lists.debian.org/pan.2010.10.11.21.21.21@gmail.com
 
Old 10-11-2010, 09:25 PM
Hugo Vanwoerkom
 
Default List of installed packages without their dependencies

Chance Platt wrote:

Loris Boillet wrote:

Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.

deborphan --all-packages




Well, I must say that 'deborphan -a' is only partially successful, shows
quite a few packages that I have no idea where they came from.


The only way I know how to do this is to keep a script uptodate that is
used to install the system you have from scratch.


Hugo
main/libs libfftw3-3
main/utils hddtemp
main/oldlibs mktemp
main/libs libpq5
main/libs libsuitesparse-3.1.0
main/libdevel libxpm-dev
main/net samba
main/libs libcelt0-0
main/utils wmmount
main/devel desktop-file-utils
main/libdevel libqwt5-qt4-dev
main/libs libbeecrypt6
main/python python-twisted
main/text mpage
main/devel liwc
main/graphics feh
main/admin atop
main/alien flagship
main/sound beep
main/net dnsutils
main/libs libgtkimageview0
main/text a2ps
main/libs libhd15
main/interpreters tcl8.4
main/admin dpkg-repack
main/interpreters expect
main/libdevel libnautilus-extension-dev
main/x11 xbindkeys
main/x11 x-window-system-core
main/admin hwinfo
main/database sqlite3
main/x11 wmifs
main/net wmppp.app
main/libs libdirectfb-1.0-0
main/libs libmcs1
main/sound snd
main/x11 wmmoonclock
main/libs libparted1.8-10
main/admin partimage
main/admin fbset
main/sound mpg321
main/net ddclient
main/libdevel libgtk1.2-dev
main/libs libmysqlclient15off
main/sound vorbis-tools
main/tex bibtool
main/mail getmail4
main/tex tetex-extra
main/tex tetex-base
main/libs libamrwb3
main/net google-chrome-beta
main/libdevel libidl-dev
main/tex latex2rtf
main/admin apcupsd
main/admin chrony
main/libs libkpathsea4
main/admin hal-info
main/utils xmacro
main/libs libhal-storage1
main/libs liboil0.3
main/utils mondo
main/libdevel libxtst-dev
main/tex bibindex
main/sound alsamixergui
main/libs libx264-93
main/misc chkrootkit
main/editors kedit
main/perl libapt-pkg-perl
main/doc man2html
main/utils jigdo-file
main/doc stl-manual
main/net traceroute
main/admin pppconfig
main/devel cxref
main/graphics xpaint
main/utils htop
main/utils reprepro
main/libs libxtrap6
main/otherosfs uml-utilities
main/devel cutils
main/sound cdcd
main/libs libxxf86misc1
main/libs libltdl3
main/math gcalctool
main/libs libvoikko1
main/utils tleds
main/x11 xclip
main/devel autoproject
main/libs libsnmp15
main/tex texlive-humanities
main/misc debian-multimedia-keyring
main/libs libgtkglext1
main/net gtk-gnutella
main/doc qt4-doc-html
main/net wicd
main/libs libraw1394-8
main/libs libpoppler-glib3
main/libs libdb4.6
main/libs libstdc++2.10-glibc2.2
non-free/utils unrar
main/shells csh
main/utils attr
main/utils hibernate
main/libs libcurl3
main/libs libavahi-core5
main/net ftp
main/libs libx264-60
main/tex texlive-generic-extra
main/libdevel libsensors-dev
main/text openoffice.org-writer2latex
main/libs libgail-common
main/devel devscripts
main/libs libao2
main/tex tetex-bin
main/net firehol
main/utils acl
main/net netcat-traditional
main/editors hexedit
main/graphics graphviz
main/x11 wmcpuload
main/java libxalan2-java
main/libs libdivxdecore0
main/libs libamrnb3
main/libdevel libxml2-dev
main/libs libwebkit-1.0-1
main/x11 wmtemp
main/doc info
main/libs libfreebob0
main/oldlibs libcupsys2-dev
main/oldlibs diff
main/math libgsl0ldbl
main/libdevel libdirectfb-dev
main/devel cflow
main/libs libmikmod2
main/sound aumix
main/libs libkadm55
main/sound saytime
main/libdevel libnewt-dev
main/python python-excelerator
main/sound bplay
main/kernel kernel-package
main/python python-docutils
main/libs libtalloc1
main/admin libpam-ck-connector
main/tex untex
main/libs libk3b3-extracodecs
contrib/kernel firmware-b43-installer
main/tex hyperlatex
main/doc libqwt-doc
main/graphics kcoloredit
main/sound lame
main/utils mc
main/libs libneon27
main/misc popularity-contest
main/admin rsyslog
main/misc installation-report
main/libs libstdc++5
main/libs libscrollkeeper0
main/utils k3b
main/admin cruft
main/database mysql-server
main/libs libfaad0
main/php php5-mysql
main/devel nowebm
main/libs libmodplug0c2
main/devel qt4-designer
main/editors the
main/utils smartmontools
main/admin rkhunter
 
Old 10-11-2010, 10:37 PM
Chance Platt
 
Default List of installed packages without their dependencies

Hugo Vanwoerkom wrote:

Chance Platt wrote:

Loris Boillet wrote:

Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.

deborphan --all-packages




Well, I must say that 'deborphan -a' is only partially successful,
shows quite a few packages that I have no idea where they came from.




Then you have bigger problems, no?

This might be because you don't regularly use any method of removing
leaf packages (deborphan or apt-get autoremove or...). Maybe try
verifying with "aptitude why".




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4CB391A3.6080004@sdf.lonestar.org">http://lists.debian.org/4CB391A3.6080004@sdf.lonestar.org
 
Old 10-11-2010, 11:03 PM
Bob Proulx
 
Default List of installed packages without their dependencies

Hugo Vanwoerkom wrote:
> Chance Platt wrote:
> > Loris Boillet wrote:
> > > Is there an easy way to get the list or a view of all installed
> > > packages which are not the dependency of something? Or in other
> > > words, packages which don't have any reverse dependencies installed.
> >
> > deborphan --all-packages
>
> Well, I must say that 'deborphan -a' is only partially successful,
> shows quite a few packages that I have no idea where they came from.

For you maybe but that was a perfect answer for the original question
that Loris asked.

$ man deborphan

NAME
deborphan -- Orphaned package finder
DESCRIPTION
'deborphan' finds packages that have no packages depending on them.

> The only way I know how to do this is to keep a script uptodate that
> is used to install the system you have from scratch.

When you freshly install a new system you will almost certainly see
quite a few packages that you have no idea how they arrived on the
system. A few of the d-i steps install entire sections of programs.

See "man tasksel" for more information on at least part of it.

$ tasksel --list-tasks

$ for t in $(tasksel --list-tasks | awk '$1=="i"{print$2}'); do tasksel --task-packages $t; done

Bob
 
Old 10-11-2010, 11:07 PM
green
 
Default List of installed packages without their dependencies

Loris Boillet wrote at 2010-10-11 14:21 -0600:
> Is there an easy way to get the list or a view of all installed
> packages which are not the dependency of something? Or in other words,
> packages which don't have any reverse dependencies installed. It looks
> like debtree can't do it for instance.
>
> Debian systems typically having hundreds if not thousands of installed
> packages, I am looking for a way to view a "summary" of them; I am
> hoping that this list would give it to me, but maybe there are others
> ways to get similar information?

aptitude -F "%?p" --disable-columns search ~i!~W
 
Old 10-11-2010, 11:23 PM
Wolodja Wentland
 
Default List of installed packages without their dependencies

On Mon, Oct 11, 2010 at 22:21 +0200, Loris Boillet wrote:
> Is there an easy way to get the list or a view of all installed
> packages which are not the dependency of something? Or in other words,

aptitude search '~i!~M'
aptitude search '?installed?not(?automatic)'

http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s05.html
--
.'`. Wolodja Wentland <wolodja.wentland@ed.ac.uk>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
 
Old 10-12-2010, 02:41 PM
Jörg-Volker Peetz
 
Default List of installed packages without their dependencies

With dpkg such a list can be generated with

for x in $(dpkg --get-selections | cut -f1)
do
[ -z "$(grep -E "Depends.* $x( |,|$)" /var/lib/dpkg/status)" ] &&
echo "$x"
done
--
Best regards,
Jörg-Volker.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i91s22$b2o$1@dough.gmane.org">http://lists.debian.org/i91s22$b2o$1@dough.gmane.org
 
Old 10-13-2010, 06:16 PM
Loris Boillet
 
Default List of installed packages without their dependencies

$ aptitude -F "%?p" --disable-columns search ~i!~W
E: Can't search for ""

On both Lenny and Kubuntu 10.10


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201010132016.27417.lb@locatel.dk">http://lists.debian.org/201010132016.27417.lb@locatel.dk
 

Thread Tools




All times are GMT. The time now is 06:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org