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

Bug#563066: cronjob exits with 1 after package removal



Package: sitesummary
Version: 0.0.50
Severity: important
User: debian-qa@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your packages cronjob exits with 
errorcode 1 after the package has been removed. 

From the attached log (scroll to the bottom...):

0m12.3s INFO: Running scripts post_remove
0m12.3s INFO: Package sitesummary contains cron 
file: /etc/cron.daily/sitesummary
0m12.3s DEBUG: Starting command: 
['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', '/etc/cron.daily/sitesummary']
0m12.3s ERROR: Command failed (status=1): 
['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', '/etc/cron.daily/sitesummary']


regards,
	Holger
Start: 2009-12-24 08:39:42 UTC

Package: sitesummary
Priority: optional
Section: misc
Installed-Size: 200
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Architecture: all
Version: 0.0.50
Depends: debconf (>= 0.5) | debconf-2.0, gnupg, net-tools, perl-modules
Recommends: apache2-mpm-worker | httpd, sitesummary-client
Filename: pool/main/s/sitesummary/sitesummary_0.0.50_all.deb
Size: 20640
MD5sum: ca3df0334031278a5ebca497ed92d801
SHA1: 9fb7a1641566fdf9a13d4100738ca73d4f74d648
SHA256: 573d7a68499b47eef36313778c61c5075249da972301c5651270fb7b6626450a
Description: Generate site summary of submitting hosts (server part)
 The sitesummary system makes it easier to keep track of a lot of
 machines, by allowing each machine to report their existence once a
 day to a central collector, and using this collector to make summary
 reports about the hosts.
 .
 This package is the server part, with the collector and report
 scripts.
Tag: admin::monitoring, implemented-in::perl, implemented-in::shell, network::server, role::program, use::monitor

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ sitesummary
Guessed: debian
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: ------------------------------------------------------------------------------
0m0.0s INFO: piuparts version 0.39~200912240832 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ sitesummary
0m0.0s INFO: Running on: Linux piatti 2.6.32.2-dsa-amd64 #1 SMP Tue Dec 22 19:51:27 CET 2009 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmpe-mIHz
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmpe-mIHz
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpe-mIHz', '-zxf', 'sid.tar.gz']
0m2.6s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpe-mIHz', '-zxf', 'sid.tar.gz']
0m2.6s DEBUG: Created policy-rc.d and chmodded it.
0m2.6s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', 'update']
0m5.0s DUMP: 
  Get:1 http://piatti.debian.org sid Release.gpg [835B]
  Get:2 http://piatti.debian.org sid Release [104kB]
  Ign http://piatti.debian.org sid/main Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib Packages/DiffIndex
  Ign http://piatti.debian.org sid/non-free Packages/DiffIndex
  Ign http://piatti.debian.org sid/main Packages
  Ign http://piatti.debian.org sid/contrib Packages
  Ign http://piatti.debian.org sid/non-free Packages
  Get:3 http://piatti.debian.org sid/main Packages [8393kB]
  Get:4 http://piatti.debian.org sid/contrib Packages [66.8kB]
  Get:5 http://piatti.debian.org sid/non-free Packages [131kB]
  Fetched 8696kB in 1s (6157kB/s)
  Reading package lists...
0m5.0s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', 'update']
0m5.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'mount', '-t', 'proc', 'proc', '/proc']
0m5.0s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'mount', '-t', 'proc', 'proc', '/proc']
0m5.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', '-yf', 'upgrade']
0m7.4s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
    apt dpkg gcc-4.4-base libgcc1 libslang2 libstdc++6
  6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 5001kB of archives.
  After this operation, 53.2kB of additional disk space will be used.
  Get:1 http://piatti.debian.org sid/main dpkg 1.15.5.5 [2231kB]
  Get:2 http://piatti.debian.org sid/main gcc-4.4-base 4.4.2-6 [114kB]
  Get:3 http://piatti.debian.org sid/main libgcc1 1:4.4.2-6 [44.8kB]
  Get:4 http://piatti.debian.org sid/main libstdc++6 4.4.2-6 [342kB]
  Get:5 http://piatti.debian.org sid/main apt 0.7.25 [1722kB]
  Get:6 http://piatti.debian.org sid/main libslang2 2.2.2-2 [546kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 5001kB in 0s (44.9MB/s)
  (Reading database ... 6065 files and directories currently installed.)
  Preparing to replace dpkg 1.15.5.4 (using .../dpkg_1.15.5.5_amd64.deb) ...
  Unpacking replacement dpkg ...
  Setting up dpkg (1.15.5.5) ...
  (Reading database ... 6065 files and directories currently installed.)
  Preparing to replace gcc-4.4-base 4.4.2-3 (using .../gcc-4.4-base_4.4.2-6_amd64.deb) ...
  Unpacking replacement gcc-4.4-base ...
  Setting up gcc-4.4-base (4.4.2-6) ...
  (Reading database ... 6065 files and directories currently installed.)
  Preparing to replace libgcc1 1:4.4.2-3 (using .../libgcc1_1%3a4.4.2-6_amd64.deb) ...
  Unpacking replacement libgcc1 ...
  Setting up libgcc1 (1:4.4.2-6) ...
  (Reading database ... 6065 files and directories currently installed.)
  Preparing to replace libstdc++6 4.4.2-3 (using .../libstdc++6_4.4.2-6_amd64.deb) ...
  Unpacking replacement libstdc++6 ...
  Setting up libstdc++6 (4.4.2-6) ...
  (Reading database ... 6065 files and directories currently installed.)
  Preparing to replace apt 0.7.24 (using .../archives/apt_0.7.25_amd64.deb) ...
  Unpacking replacement apt ...
  Setting up apt (0.7.25) ...
  Installing new version of config file /etc/apt/apt.conf.d/01autoremove ...
  Installing new version of config file /etc/cron.daily/apt ...
  gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" not changed
  gpg: key ADB11277: "Etch Stable Release Key <debian-release@lists.debian.org>" not changed
  gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
  gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed
  gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
  gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
  gpg: Total number processed: 6
  gpg:              unchanged: 6
  (Reading database ... 6066 files and directories currently installed.)
  Preparing to replace libslang2 2.2.2-1 (using .../libslang2_2.2.2-2_amd64.deb) ...
  Unpacking replacement libslang2 ...
  Setting up libslang2 (2.2.2-2) ...
0m7.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', '-yf', 'upgrade']
0m7.4s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', 'clean']
0m7.4s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', 'clean']
0m7.4s DEBUG: Copying scriptsdir to /org/piuparts.debian.org/tmp/tmpe-mIHz/tmp/scripts/
0m7.4s INFO: Running scripts post_setup
0m8.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--get-selections', '*']
0m8.1s DUMP: 
  apt						install
  base-files					install
  base-passwd					install
  bash						install
  bsdutils					install
  coreutils					install
  dash						install
  debconf						install
  debconf-i18n					install
  debian-archive-keyring				install
  debianutils					install
  diffutils					install
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  findutils					install
  gcc-4.2-base					install
  gcc-4.3-base					install
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  gzip						install
  hostname					install
  initscripts					install
  insserv						install
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc-bin					install
  libc6						install
  libcomerr2					install
  libdb4.7					install
  libdevmapper1.02.1				install
  libgcc1						install
  liblocale-gettext-perl				install
  libncurses5					install
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libreadline6					install
  libselinux1					install
  libsepol1					install
  libslang2					install
  libss2						install
  libstdc++6					install
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libunwind7					install
  libusb-0.1-4					install
  libuuid1					install
  login						install
  lsb-base					install
  lzma						install
  mawk						install
  mount						install
  ncurses-base					install
  ncurses-bin					install
  passwd						install
  perl-base					install
  procps						install
  readline-common					install
  sed						install
  sensible-utils					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tzdata						install
  util-linux					install
  zlib1g						install
0m8.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--get-selections', '*']
0m8.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', '-y', 'install', 'sitesummary']
0m11.3s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following extra packages will be installed:
    libgdbm3 net-tools perl perl-modules
  Suggested packages:
    perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl
  Recommended packages:
    netbase make apache2-mpm-worker httpd sitesummary-client
  The following NEW packages will be installed:
    libgdbm3 net-tools perl perl-modules sitesummary
  0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  Need to get 8299kB of archives.
  After this operation, 36.4MB of additional disk space will be used.
  Get:1 http://piatti.debian.org sid/main libgdbm3 1.8.3-9 [46.2kB]
  Get:2 http://piatti.debian.org sid/main net-tools 1.60-23 [337kB]
  Get:3 http://piatti.debian.org sid/main perl-modules 5.10.1-8 [3478kB]
  Get:4 http://piatti.debian.org sid/main perl 5.10.1-8 [4417kB]
  Get:5 http://piatti.debian.org sid/main sitesummary 0.0.50 [20.6kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 8299kB in 0s (42.2MB/s)
  Selecting previously deselected package libgdbm3.
  (Reading database ... 6066 files and directories currently installed.)
  Unpacking libgdbm3 (from .../libgdbm3_1.8.3-9_amd64.deb) ...
  Selecting previously deselected package net-tools.
  Unpacking net-tools (from .../net-tools_1.60-23_amd64.deb) ...
  Selecting previously deselected package perl-modules.
  Unpacking perl-modules (from .../perl-modules_5.10.1-8_all.deb) ...
  Selecting previously deselected package perl.
  Unpacking perl (from .../perl_5.10.1-8_amd64.deb) ...
  Selecting previously deselected package sitesummary.
  Unpacking sitesummary (from .../sitesummary_0.0.50_all.deb) ...
  Setting up libgdbm3 (1.8.3-9) ...
  Setting up net-tools (1.60-23) ...
  Setting up perl-modules (5.10.1-8) ...
  Setting up sitesummary (0.0.50) ...
  Setting up perl (5.10.1-8) ...
  update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode.
0m11.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', '-y', 'install', 'sitesummary']
0m11.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', 'clean']
0m11.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'apt-get', 'clean']
0m11.3s DEBUG: Starting command: ['lsof', '-w', '+D', '/org/piuparts.debian.org/tmp/tmpe-mIHz']
0m11.7s DEBUG: Command failed (status=1), but ignoring error: ['lsof', '-w', '+D', '/org/piuparts.debian.org/tmp/tmpe-mIHz']
0m12.0s DEBUG: No broken symlinks as far as we can find.
0m12.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--get-selections', '*']
0m12.0s DUMP: 
  apt						install
  base-files					install
  base-passwd					install
  bash						install
  bsdutils					install
  coreutils					install
  dash						install
  debconf						install
  debconf-i18n					install
  debian-archive-keyring				install
  debianutils					install
  diffutils					install
  dpkg						install
  e2fslibs					install
  e2fsprogs					install
  findutils					install
  gcc-4.2-base					install
  gcc-4.3-base					install
  gcc-4.4-base					install
  gnupg						install
  gpgv						install
  grep						install
  gzip						install
  hostname					install
  initscripts					install
  insserv						install
  libacl1						install
  libattr1					install
  libblkid1					install
  libbz2-1.0					install
  libc-bin					install
  libc6						install
  libcomerr2					install
  libdb4.7					install
  libdevmapper1.02.1				install
  libgcc1						install
  libgdbm3					install
  liblocale-gettext-perl				install
  libncurses5					install
  libpam-modules					install
  libpam-runtime					install
  libpam0g					install
  libreadline6					install
  libselinux1					install
  libsepol1					install
  libslang2					install
  libss2						install
  libstdc++6					install
  libtext-charwidth-perl				install
  libtext-iconv-perl				install
  libtext-wrapi18n-perl				install
  libunwind7					install
  libusb-0.1-4					install
  libuuid1					install
  login						install
  lsb-base					install
  lzma						install
  mawk						install
  mount						install
  ncurses-base					install
  ncurses-bin					install
  net-tools					install
  passwd						install
  perl						install
  perl-base					install
  perl-modules					install
  procps						install
  readline-common					install
  sed						install
  sensible-utils					install
  sitesummary					install
  sysv-rc						install
  sysvinit					install
  sysvinit-utils					install
  tar						install
  tzdata						install
  util-linux					install
  zlib1g						install
0m12.0s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--get-selections', '*']
0m12.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'perl-modules']
0m12.0s DUMP: 
  dpkg: dependency problems prevent removal of perl-modules:
   sitesummary depends on perl-modules.
   perl depends on perl-modules (>= 5.10.1-8).
  dpkg: error processing perl-modules (--remove):
   dependency problems - not removing
  Errors were encountered while processing:
   perl-modules
0m12.0s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'perl-modules']
0m12.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'libgdbm3']
0m12.0s DUMP: 
  dpkg: dependency problems prevent removal of libgdbm3:
   perl depends on libgdbm3 (>= 1.8.3).
  dpkg: error processing libgdbm3 (--remove):
   dependency problems - not removing
  Errors were encountered while processing:
   libgdbm3
0m12.0s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'libgdbm3']
0m12.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'net-tools']
0m12.1s DUMP: 
  dpkg: dependency problems prevent removal of net-tools:
   sitesummary depends on net-tools.
  dpkg: error processing net-tools (--remove):
   dependency problems - not removing
  Errors were encountered while processing:
   net-tools
0m12.1s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'net-tools']
0m12.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'perl']
0m12.1s DUMP: 
  dpkg: dependency problems prevent removal of perl:
   perl-modules depends on perl (>= 5.10.1-1).
  dpkg: error processing perl (--remove):
   dependency problems - not removing
  Errors were encountered while processing:
   perl
0m12.1s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'perl']
0m12.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'sitesummary']
0m12.1s DUMP: 
  (Reading database ... 7486 files and directories currently installed.)
  Removing sitesummary ...
0m12.1s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', 'sitesummary']
0m12.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', '--pending']
0m12.3s DUMP: 
  (Reading database ... 7462 files and directories currently installed.)
  Removing net-tools ...
  Removing perl ...
  Removing libgdbm3 ...
  Removing perl-modules ...
0m12.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'dpkg', '--remove', '--pending']
0m12.3s INFO: Running scripts post_remove
0m12.3s INFO: Package sitesummary contains cron file: /etc/cron.daily/sitesummary
0m12.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', '/etc/cron.daily/sitesummary']
0m12.3s ERROR: Command failed (status=1): ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', '/etc/cron.daily/sitesummary']
  
0m12.3s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'umount', '/proc']
0m12.3s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpe-mIHz', 'umount', '/proc']
0m12.7s DEBUG: Removed directory tree at /org/piuparts.debian.org/tmp/tmpe-mIHz

End: 2009-12-24 08:39:55 UTC

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: