apt-get bailing out every few updates
Dag Wieers
dag at wieers.com
Tue Jun 27 00:48:35 PDT 2006
Hi,
I've got a problem with apt lorg3.2 where apt bails out after every few
updates. So it has 36 updates pending and after the 3rd update it simply
stops with no error, the old packages have not been removed leaving the
rpmdb in an incosistent state.
The system was an RHEL4AS with all updates applied. I enabled the fastrack
repository (official feature/bugfix updates that are pending for the
quarterly release).
Here are 2 examples that happened:
[root at lxrh002 tmp]# apt-get update; apt-get upgrade
Get:1 http://lxpmgt001 rhel4as-i386/RPMS.os/ repomd.xml [1143B]
Get:2 http://lxpmgt001 rhel4as-i386/RPMS.updates/ repomd.xml [951B]
Get:3 http://lxpmgt001 rhel4as-i386/RPMS.extras/ repomd.xml [951B]
Get:4 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ repomd.xml [951B]
Get:5 http://lxpmgt001 rhel4as-i386/RPMS.dag repomd.xml [951B]
Fetched 4947B in 0s (10.3kB/s)
Hit http://lxpmgt001 rhel4as-i386/RPMS.os/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.os/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.updates/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.updates/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.extras/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.extras/ filelists.xml
Get:1 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ primary.xml [26.5kB]
Get:2 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ filelists.xml [46.9kB]
Hit http://lxpmgt001 rhel4as-i386/RPMS.dag/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.dag/ filelists.xml
Fetched 73.3kB in 0s (241kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
at authconfig authconfig-gtk chkconfig cpio cvs dos2unix file findutils finger gnome-system-monitor gnupg gpm grep groff hwbrowser iputils lockdev lsof
mailx man man-pages netpbm netpbm-progs ntsysv pciutils perl procps
psmisc rsh sysreport sysstat system-config-date tar umb-scheme xterm
36 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 28.2MB of archives.
After unpacking 4257kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ findutils 1:4.1.20-7.el4.1 [110kB]
Get:2 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ grep 2.5.1-32.2 [173kB]
Get:3 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ at 3.1.8-80_EL4 [54.3kB]
Get:4 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ cpio 2.5-9.RHEL4 [45.8kB]
Get:5 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ perl 3:5.8.5-34.RHEL4 [12.4MB]
Get:6 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ cvs 1.11.17-9.RHEL4 [1214kB]
Get:7 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ file 4.10-2.EL4.4 [264kB]
Get:8 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ gnome-system-monitor 2.7.0-5 [456kB]
Get:9 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ gnupg 1.2.6-4 [1722kB]
Get:10 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ gpm 1.20.1-71.RHEL4 [176kB]
Get:11 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ groff 1.18.1.1-3.EL4 [1860kB]
Get:12 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ lockdev 1.0.1-6.2 [13.0kB]
Get:13 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ man 1.5o1-9.rhel4 [248kB]
Get:14 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ netpbm-progs 10.25-2.EL4.3 [1656kB]
Get:15 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ netpbm 10.25-2.EL4.3 [112kB]
Get:16 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ procps 3.2.3-8.4 [192kB]
Get:17 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ sysstat 5.0.5-11.rhel4 [106kB]
Get:18 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ ntsysv 1.3.13.4-1 [21.9kB]
Get:19 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ chkconfig 1.3.13.4-1 [132kB]
Get:20 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ system-config-date 1.7.15-0.RHEL4.3 [623kB]
Get:21 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ tar 1.14-10.RHEL4 [342kB]
Get:22 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ umb-scheme 3.2-36.EL4 [990kB]
Get:23 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ authconfig-gtk 4.6.10-rhel4.3 [40.4kB]
Get:24 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ authconfig 4.6.10-rhel4.3 [292kB]
Get:25 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ dos2unix 3.1-21.2 [12.8kB]
Get:26 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ finger 0.17-26.EL4.1 [19.4kB]
Get:27 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ hwbrowser 0.19-0.EL4.4 [73.1kB]
Get:28 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ iputils 20020927-18.EL4.3 [105kB]
Get:29 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ lsof 4.72-1.4 [302kB]
Get:30 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ mailx 8.1.1-36.EL4 [50.1kB]
Get:31 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ man-pages 1.67-9.EL4 [4075kB]
Get:32 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ pciutils 2.1.99.test8-3.2 [69.8kB]
Get:33 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ psmisc 21.4-4.1 [41.1kB]
Get:34 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ rsh 0.17-25.4 [40.6kB]
Get:35 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ sysreport 1.3.15-6 [18.5kB]
Get:36 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ xterm 192-4.EL4 [172kB]
Fetched 28.2MB in 14s (1958kB/s)
Committing changes...
Preparing... ########################################### [100%]
1:chkconfig ########################################### [ 3%]
2:perl ########################################### [ 6%]
3:grep ########################################### [ 8%]
[root at lxrh002 tmp]#
[root at lxrh002 tmp]# apt-get update; apt-get upgrade
Get:1 http://lxpmgt001 rhel4as-i386/RPMS.os/ repomd.xml [1143B]
Get:2 http://lxpmgt001 rhel4as-i386/RPMS.updates/ repomd.xml [951B]
Get:3 http://lxpmgt001 rhel4as-i386/RPMS.extras/ repomd.xml [951B]
Get:4 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ repomd.xml [951B]
Get:5 http://lxpmgt001 rhel4as-i386/RPMS.dag repomd.xml [951B]
Fetched 4947B in 0s (13.1kB/s)
Hit http://lxpmgt001 rhel4as-i386/RPMS.os/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.os/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.updates/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.updates/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.extras/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.extras/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.dag/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.dag/ filelists.xml
Reading Package Lists... Done
Building Dependency Tree... Done
Del grep 2.5.1-32.2 [173kB]
Del perl 3:5.8.5-34.RHEL4 [12.4MB]
Del chkconfig 1.3.13.4-1 [132kB]
W: There are multiple versions of "perl" in your system.
This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:
RPM::Allow-Duplicated { "^perl$"; };
To disable these warnings completely set:
RPM::Allow-Duplicated-Warning "false";
W: There are multiple versions of "grep" in your system.
This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:
RPM::Allow-Duplicated { "^grep$"; };
To disable these warnings completely set:
RPM::Allow-Duplicated-Warning "false";
W: There are multiple versions of "chkconfig" in your system.
This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:
RPM::Allow-Duplicated { "^chkconfig$"; };
To disable these warnings completely set:
RPM::Allow-Duplicated-Warning "false";
W: You may want to run apt-get update to correct these problems
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
at authconfig authconfig-gtk cpio cvs dos2unix file findutils finger
gnome-system-monitor gnupg gpm groff hwbrowser iputils lockdev lsof mailx
man
man-pages netpbm netpbm-progs ntsysv pciutils procps psmisc rsh
sysreport sysstat system-config-date tar umb-scheme xterm
33 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/15.5MB of archives.
After unpacking 12.8kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
[root at lxrh002 tmp]#
[root at lxrh002 tmp]# rpm -q perl grep chkconfig
perl-5.8.5-24.RHEL4
perl-5.8.5-34.RHEL4
grep-2.5.1-31
grep-2.5.1-32.2
chkconfig-1.3.13.3-2
chkconfig-1.3.13.4-1
[root at lxrh002 tmp]# rpm -e perl-5.8.5-24.RHEL4 grep-2.5.1-31 chkconfig-1.3.13.3-2
error: Failed dependencies:
chkconfig = 1.3.13.3 is needed by (installed) ntsysv-1.3.13.3-2.i386
[root at lxrh002 tmp]# apt-get update; apt-get upgrade
Get:1 http://lxpmgt001 rhel4as-i386/RPMS.os/ repomd.xml [1143B]
Get:2 http://lxpmgt001 rhel4as-i386/RPMS.updates/ repomd.xml [951B]
Get:3 http://lxpmgt001 rhel4as-i386/RPMS.extras/ repomd.xml [951B]
Get:4 http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ repomd.xml [951B]
Get:5 http://lxpmgt001 rhel4as-i386/RPMS.dag repomd.xml [951B]
Fetched 4947B in 0s (26.4kB/s)
Hit http://lxpmgt001 rhel4as-i386/RPMS.os/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.os/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.updates/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.updates/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.extras/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.extras/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.fastrack/ filelists.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.dag/ primary.xml
Hit http://lxpmgt001 rhel4as-i386/RPMS.dag/ filelists.xml
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
at authconfig authconfig-gtk cpio cvs dos2unix file findutils finger gnome-system-monitor gnupg gpm groff hwbrowser iputils lockdev lsof mailx man
man-pages netpbm netpbm-progs ntsysv pciutils procps psmisc rsh
sysreport sysstat system-config-date tar umb-scheme xterm
33 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/15.5MB of archives.
After unpacking 12.8kB of additional disk space will be used.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ########################################### [100%]
1:tar ########################################### [ 3%]
[root at lxrh002 tmp]# rpm -q apt
apt-0.5.15lorg3.2-1.el4.rf
Is there some way to figure out what is going on ?
Could the options that are being used to debug this be added as an example
to the apt-get manual page ? I couldn't find any.
Kind regards,
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]
More information about the Apt-Rpm
mailing list