RE: apt-get bug?
Thanks.
Here is what happened:
lab:/home/joe/tmp# apt-get install slapd gnome-core gnome-bin
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, gnome-core is already the newest version.
Sorry, gnome-bin is already the newest version.
The following extra packages will be installed:
asclock-themes base-config debconf gnome-applets gnome-panel
gnome-panel-data
libghttp1 libiodbc2 libzvt2 whiptail
The following packages will be REMOVED:
bsdmainutils debconf-tiny emacs20 emacsen-common gmc lynx task-gnome-apps
task-gnome-desktop task-gnome-net
The following NEW packages will be installed:
asclock-themes debconf gnome-applets libiodbc2 slapd
6 packages upgraded, 5 newly installed, 9 to remove and 57 not upgraded.
Need to get 805kB/7526kB of archives. After unpacking 18.9MB will be freed.
Do you want to continue? [Y/n] Y
Then some stuff that is now out of my cut-n-paste buffer.. sorry.
Then a bunch of interactive screens for debconf and slapd
Then:
(in cleanup) Can't call method "DESTROY" on an undefined value at
/usr/lib/perl5/Debian/DebConf/Question.pm line 151 during global
destruction.
(Reading database ... 21563 files and directories currently installed.)
Removing emacs20 ...
emacs-remove emacs20
emacsen-common: Handling removal of emacsen flavor emacs20
emacsen-common: purging byte-compiled files for emacs20
Removing emacsen-common ...
emacsen-common: Handling removal of emacsen flavor emacs
dpkg - warning: while removing emacsen-common, directory
`/var/lib/emacsen-common' not empty so not removed.
dpkg - warning: while removing emacsen-common, directory `/etc/emacs' not
empty so not removed.
Removing bsdmainutils ...
dpkg - warning: while removing bsdmainutils, directory `/etc/calendar' not
empty so not removed.
(Reading database ... 20583 files and directories currently installed.)
Preparing to replace whiptail 0.50-7 (using .../whiptail_0.50.17-1_i386.deb)
...
Unpacking replacement whiptail ...
dpkg: debconf-tiny: dependency problems, but removing anyway as you request:
lynx depends on debconf; however:
Package debconf is not installed.
Package debconf-tiny which provides debconf is to be removed.
esound-common depends on debconf; however:
Package debconf is not installed.
Package debconf-tiny which provides debconf is to be removed.
base-config depends on debconf; however:
Package debconf is not installed.
Package debconf-tiny which provides debconf is to be removed.
gmc depends on debconf; however:
Package debconf is not installed.
Package debconf-tiny which provides debconf is to be removed.
adduser depends on debconf; however:
Package debconf is not installed.
Package debconf-tiny which provides debconf is to be removed.
(Reading database ... 20583 files and directories currently installed.)
Removing debconf-tiny ...
dpkg - warning: while removing debconf-tiny, directory `/var/lib/debconf'
not empty so not removed.
Selecting previously deselected package debconf.
(Reading database ... 20539 files and directories currently installed.)
Unpacking debconf (from .../debconf_0.9.22_all.deb) ...
Preparing to replace base-config 0.33.2 (using
.../base-config_0.58_i386.deb) ...
Unpacking replacement base-config ...
(Reading database ... 20655 files and directories currently installed.)
Removing task-gnome-apps ...
Removing task-gnome-net ...
Removing task-gnome-desktop ...
Removing gmc ...
Removing lynx ...
Selecting previously deselected package asclock-themes.
(Reading database ... 20410 files and directories currently installed.)
Unpacking asclock-themes (from .../asclock-themes_2.0.12-3_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/asclock-themes_2.0.12-3_all.deb (--unpack):
trying to overwrite `/usr/share/asclock/shaped/config', which is also in
package gnome-panel-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace gnome-panel-data 1.0.55-2.0.2 (using
.../gnome-panel-data_1.3.1-1_all.deb) ...
Unpacking replacement gnome-panel-data ...
Preparing to replace gnome-panel 1.0.55-2 (using
.../gnome-panel_1.3.1-1_i386.deb) ...
Unpacking replacement gnome-panel ...
Preparing to replace libghttp1 1.0.4-2 (using
.../libghttp1_1.0.9-1_i386.deb) ...
Unpacking replacement libghttp1 ...
Preparing to replace libzvt2 1.0.56-3 (using .../libzvt2_1.2.12-2_i386.deb)
...
Unpacking replacement libzvt2 ...
Selecting previously deselected package gnome-applets.
Unpacking gnome-applets (from .../gnome-applets_1.3.1-1_i386.deb) ...
Replacing files in old package gnotes ...
Selecting previously deselected package libiodbc2.
Unpacking libiodbc2 (from .../libiodbc2_2.50.3-2_i386.deb) ...
Selecting previously deselected package slapd.
Unpacking slapd (from .../slapd_2.0.7-2_i386.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/asclock-themes_2.0.12-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is there a way to recover from this?
> -----Original Message-----
> From: Jason Gunthorpe [mailto:jgg@debian.org]
> Sent: Sunday, March 11, 2001 12:40 PM
> To: Joseph McDonald
> Cc: deity@lists.debian.org
> Subject: Re: apt-get bug?
>
>
>
> On Sun, 11 Mar 2001, Joseph McDonald wrote:
>
> > To be honest, this looks like an apt bug to me. Nothing in slapd's dep
> > chain requires gnome.
>
> There is some cycle involving gnome and an incidental upgrade of slapd.
> Try
> apt-get install slapd gnome-core gnome-bin
>
> And add more until it becomes clear what is wrong.
>
> Jason
>
Reply to: