[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Display full package names



"Ole J. Tetlie" wrote:
> 
> >-David Densmore <dden@rollanet.org>
> >
> > I have libc6 2.0.7.19981211-6 installed, but when I use dpkg -l
> > I see this
> >
> > ii  libc6           2.0.7.19981211 GNU C Library: shared libraries
> >
> > with the -6 at the end truncated.
> >
> > How can I list the full package name?
> 
> dpkg -s libc6 | grep ^Version:
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

	This will just get you the version number of the package. The
poster was asking how to get the full name of the package.  The
short answer is you can't.  Its been assumed that everyone will
understand that the fullname = 'basename' + '_' + 'version'. 
However, even knowing this can't help in some situations, because
of truncation in the dpkg -l display.  The basename of the package
and the column for the version number are both restricted to 15
chars, so either, or both, can end up truncated.
	The only place AFAIK where you can see the full, non-truncated
basename and version is in dselect's selection display by toggling
the bottom display to the 'info' mode with the 'i' key.


-- 
Ed C.


Reply to: