How to See Information about a Installed Debian Package

I needed to see what version of mythtv was installed on my Ubuntu 14.04 server and what dependencies it requires. Here is the solution.

.deb packages are stored at /var/cache/apt/archives

View mythtv package name

#ls -l /var/cache/apt/archives/mythtv*
mythtv_2%3a0.27.4+fixes.20150514.6b73976-0ubuntu0mythbuntu4_all.deb

Display Package Version

# apt-show-versions mythtv
mythtv:all/trusty 2:0.27.4+fixes.20150514.6b73976-0ubuntu0mythbuntu4 uptodate

Reference: http://unix.stackexchange.com/questions/6284/check-package-version-using-apt-get-aptitude

Display Package Information

#dpkg -I mythtv_2%3a0.27.4+fixes.20150514.6b73976-0ubuntu0mythbuntu4_all.deb

new debian package, version 2.0.
size 78060 bytes: control archive=1084 bytes.
1449 bytes, 34 lines control
209 bytes, 3 lines md5sums
Package: mythtv
Version: 2:0.27.4+fixes.20150514.6b73976-0ubuntu0mythbuntu4
Architecture: all
Maintainer: MythTV Ubuntu Maintainers <ubuntu-mythtv@lists.ubuntu.com>
Installed-Size: 101
Depends: mysql-server | mysql-server-5.6, mythtv-database, mythtv-frontend, mythtv-backend, ntp | time-daemon | ntp-simple
Suggests: mythtv-doc
Section: graphics
Priority: optional
Homepage: http://www.mythtv.org
Description: Personal video recorder application (client and server)
MythTV implements the following PVR features, and more, with a
unified graphical interface:
.
- Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
- Video compression using RTjpeg or MPEG-4
- Program listing retrieval using XMLTV
- Themable, semi-transparent on-screen display
- Electronic program guide
- Scheduled recording of TV programs
- Resolution of conflicts between scheduled recordings
- Basic video editing
.
http://www.mythtv.org/
.
This package will install a complete MythTV client/server environment on a
single system. If you are intended on using this as your only MythTV machine,
and this machine is already configured as a desktop, this package will get you
up and running switfly.
.
If you are intended on installing this on a standalone/non-desktop machine,
you should look into the metapackages available:
mythtv-backend-master (backend with a local database)
mythtv-backend (backend needing a remote database)

Reference: http://askubuntu.com/questions/80655/how-can-i-check-dependency-list-for-a-deb-package

2015-05-14

Leave a Reply

Your email address will not be published. Required fields are marked *