[Wylug-help] apt/dpkg woes

Dave Fisher davef at gbdirect.co.uk
Thu Feb 17 17:02:37 GMT 2005


On Thu, Feb 17, 2005 at 04:24:42PM +0000, Jason Lander wrote:
> Is it possible that the .deb files are incomplete, possible due to a disk
> being full.

If they are incomplete, it's nothing to do with full disks.  Both have many
gigs of free space.

> The `control' part of a DEB - which holds the description - is stored
> separately from the package contents.
>
> What do the following commands do?
>
>    dpkg-deb --info \
>      /var/cache/apt/archives/login_1%3a4.0.3-30.7ubuntu9_i386.deb
>
>    dpkg-deb --contents \
>      /var/cache/apt/archives/login_1%3a4.0.3-30.7ubuntu9_i386.deb

They produce more or less what I would expect (see below).

Perhaps you can spot something that I can't?

Is there a simple way of measuring the installed/on-disk file sizes against
meta data for a package?

Every error I've had seems to lead back to errors in the "files list for
package `libvideo-ivtv-perl'".  I got libvideo-ivtv-perl from an unofficial
repository and had enough difficulty configuring it, to have doubts about the
code/packaging quality.

Dave
==========================================

$ sudo dpkg-deb --info /var/cache/apt/archives/login_1%3a4.0.3-30.7ubuntu9_i386.deb
Password:
 new debian package, version 2.0.
 size 162098 bytes: control archive= 2869 bytes.
      62 bytes,     4 lines      conffiles
     917 bytes,    19 lines      control
    3315 bytes,    52 lines      md5sums
     349 bytes,    19 lines   *  postinst             #!/bin/sh
    1048 bytes,    52 lines   *  preinst              #!/bin/sh
 Package: login
 Version: 1:4.0.3-30.7ubuntu9
 Section: base
 Priority: required
 Architecture: i386
 Essential: yes
 Pre-Depends: libc6 (>= 2.3.2.ds1-4), libpam0g (>= 0.76), libpam-runtime (>= 0.76-14)
 Depends: libpam-modules (>= 0.72-5)
 Conflicts: shadow-login, pam-apps, secure-su, suidregister (<< 0.50)
 Replaces: shadow-login, shadow-passwd, shellutils (<< 2.0-2), manpages-de (<= 0.4-4), manpages-fr, manpages-hu, manpages-ja, manpages-pl (<= 20020406-1)
 Installed-Size: 1964
 Maintainer: Karl Ramm <kcr at debian.org>
 Source: shadow
 Description: System login tools
  These tools are required to be able to login and use your system. The
  login program invokes your user shell and enables command execution. The
  newgrp program is used to change your effective group ID (useful for
  workgroup type situations). The su program allows changing your effective
  user ID (useful being able to execute commands as another user).


$ sudo dpkg-deb --contents /var/cache/apt/archives/login_1%3a4.0.3-30.7ubuntu9_i386.deb
drwxr-xr-x root/root         0 2005-02-13 11:10:03 ./
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/
drwxr-xr-x root/root         0 2005-02-13 11:10:06 ./usr/share/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/fr/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/fr/man1/
-rw-r--r-- root/root        43 2005-02-13 11:09:50 ./usr/share/man/fr/man1/sg.1.gz
-rw-r--r-- root/root      2561 2005-02-13 11:09:50 ./usr/share/man/fr/man1/su.1.gz
-rw-r--r-- root/root      3161 2005-02-13 11:09:50 ./usr/share/man/fr/man1/login.1.gz
-rw-r--r-- root/root      1788 2005-02-13 11:09:50 ./usr/share/man/fr/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/fr/man5/
-rw-r--r-- root/root      1527 2005-02-13 11:09:50 ./usr/share/man/fr/man5/faillog.5.gz
-rw-r--r-- root/root      3356 2005-02-13 11:09:50 ./usr/share/man/fr/man5/login.defs.5.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/fr/man8/
-rw-r--r-- root/root      1823 2005-02-13 11:09:50 ./usr/share/man/fr/man8/lastlog.8.gz
-rw-r--r-- root/root      2150 2005-02-13 11:09:50 ./usr/share/man/fr/man8/faillog.8.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/hu/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/hu/man1/
-rw-r--r-- root/root        43 2005-02-13 11:09:51 ./usr/share/man/hu/man1/sg.1.gz
-rw-r--r-- root/root      2805 2005-02-13 11:09:51 ./usr/share/man/hu/man1/login.1.gz
-rw-r--r-- root/root      1852 2005-02-13 11:09:51 ./usr/share/man/hu/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/id/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/id/man1/
-rw-r--r-- root/root      3969 2005-02-13 11:09:51 ./usr/share/man/id/man1/login.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/it/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/it/man1/
-rw-r--r-- root/root      4542 2005-02-13 11:09:51 ./usr/share/man/it/man1/login.1.gz
-rw-r--r-- root/root       678 2005-02-13 11:09:51 ./usr/share/man/it/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/it/man8/
-rw-r--r-- root/root      1655 2005-02-13 11:09:51 ./usr/share/man/it/man8/lastlog.8.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/ja/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/ja/man1/
-rw-r--r-- root/root        43 2005-02-13 11:09:51 ./usr/share/man/ja/man1/sg.1.gz
-rw-r--r-- root/root      2157 2005-02-13 11:09:51 ./usr/share/man/ja/man1/su.1.gz
-rw-r--r-- root/root      3624 2005-02-13 11:09:51 ./usr/share/man/ja/man1/login.1.gz
-rw-r--r-- root/root      1900 2005-02-13 11:09:51 ./usr/share/man/ja/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/ja/man5/
-rw-r--r-- root/root      1516 2005-02-13 11:09:51 ./usr/share/man/ja/man5/faillog.5.gz
-rw-r--r-- root/root      7372 2005-02-13 11:09:51 ./usr/share/man/ja/man5/login.defs.5.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/ja/man8/
-rw-r--r-- root/root      1854 2005-02-13 11:09:51 ./usr/share/man/ja/man8/lastlog.8.gz
-rw-r--r-- root/root      2191 2005-02-13 11:09:51 ./usr/share/man/ja/man8/faillog.8.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/ko/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/ko/man1/
-rw-r--r-- root/root      4031 2005-02-13 11:09:52 ./usr/share/man/ko/man1/login.1.gz
-rw-r--r-- root/root       638 2005-02-13 11:09:52 ./usr/share/man/ko/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/pl/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/pl/man1/
-rw-r--r-- root/root        43 2005-02-13 11:09:52 ./usr/share/man/pl/man1/sg.1.gz
-rw-r--r-- root/root      2046 2005-02-13 11:09:52 ./usr/share/man/pl/man1/su.1.gz
-rw-r--r-- root/root      3038 2005-02-13 11:09:52 ./usr/share/man/pl/man1/login.1.gz
-rw-r--r-- root/root      1852 2005-02-13 11:09:52 ./usr/share/man/pl/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/pl/man5/
-rw-r--r-- root/root      1385 2005-02-13 11:09:52 ./usr/share/man/pl/man5/faillog.5.gz
-rw-r--r-- root/root      7760 2005-02-13 11:09:52 ./usr/share/man/pl/man5/login.defs.5.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/pl/man8/
-rw-r--r-- root/root      1769 2005-02-13 11:09:52 ./usr/share/man/pl/man8/lastlog.8.gz
-rw-r--r-- root/root      2177 2005-02-13 11:09:52 ./usr/share/man/pl/man8/faillog.8.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/man1/
-rw-r--r-- root/root        43 2005-02-13 11:09:52 ./usr/share/man/man1/sg.1.gz
-rw-r--r-- root/root      2246 2005-02-13 11:09:52 ./usr/share/man/man1/su.1.gz
-rw-r--r-- root/root      2779 2005-02-13 11:09:52 ./usr/share/man/man1/login.1.gz
-rw-r--r-- root/root      1637 2005-02-13 11:09:52 ./usr/share/man/man1/newgrp.1.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/man5/
-rw-r--r-- root/root      1262 2005-02-13 11:09:52 ./usr/share/man/man5/faillog.5.gz
-rw-r--r-- root/root      2848 2005-02-13 11:09:52 ./usr/share/man/man5/login.defs.5.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/man/man8/
-rw-r--r-- root/root      1559 2005-02-13 11:09:53 ./usr/share/man/man8/lastlog.8.gz
-rw-r--r-- root/root      1874 2005-02-13 11:09:52 ./usr/share/man/man8/faillog.8.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/share/doc/
drwxr-xr-x root/root         0 2005-02-13 11:09:58 ./usr/share/doc/login/
-rw-r--r-- root/root      4265 2005-02-13 11:08:55 ./usr/share/doc/login/copyright
-rw-r--r-- root/root     20985 2005-02-13 11:08:55 ./usr/share/doc/login/changelog.Debian.gz
drwxr-xr-x root/root         0 2005-02-13 11:09:58 ./usr/bin/
-rwxr-xr-x root/root      7224 2005-02-13 11:09:58 ./usr/bin/faillog
-rwxr-xr-x root/root      5592 2005-02-13 11:09:58 ./usr/bin/lastlog
-rwsr-xr-x root/root     20056 2005-02-13 11:09:58 ./usr/bin/newgrp
drwxr-xr-x root/root         0 2005-02-13 11:09:58 ./bin/
-rwxr-xr-x root/root     35512 2005-02-13 11:09:58 ./bin/login
-rwsr-xr-x root/root     22872 2005-02-13 11:09:58 ./bin/su
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./etc/
drwxr-xr-x root/root         0 2005-02-13 11:09:57 ./etc/pam.d/
-rw-r--r-- root/root      2824 2005-02-13 11:09:57 ./etc/pam.d/login
-rw-r--r-- root/root      1355 2005-02-13 11:09:57 ./etc/pam.d/su
-rw-r--r-- root/root      9802 2005-02-13 11:09:57 ./etc/login.defs
-rw-r--r-- root/root       994 2005-02-13 11:09:57 ./etc/securetty
lrwxr-xr-x root/root         0 2005-02-13 11:09:57 ./usr/bin/sg -> newgrp





More information about the Wylug-help mailing list