[Pkg-db-devel] Bug#501012: Bug#501012: libdb4.6-dev: update manage fails to update the package
Raphael Geissert
atomo64 at gmail.com
Fri Oct 3 23:13:13 UTC 2008
/me is willing to set the severity of this bug to important
On Friday 03 October 2008, Clint Adams wrote:
> On Fri, Oct 03, 2008 at 11:24:20AM +0100, Christopher J. Walker wrote:
> > update manager fails with the error message:
> >
> > An error occurred
> > The following details are provided:
> >
> > E: /var/cache/apt/archives/libdb4.6-dev_4.6.21-11_i386.deb: trying to
> > overwrite `/usr/lib/libdb-4.6.a', which is also in package libdb-dev
>
> Please let us know if repeating the upgrade attempt fails or succeeds
> on the second time.
Following apt's advice to try apt-get -f install does work; any second, third,
or more dist-/upgrade attempts won't help at all.
As odd as it may seem, once libdb
My log:
apt-get upgrade
> Unpacking libdb4.6-dev (from .../libdb4.6-dev_4.6.21-11_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/libdb4.6-dev_4.6.21-11_i386.deb (--unpack): trying
> to overwrite `/usr/lib/libdb-4.6.a', which is also in package libdb-dev
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Preparing to replace libdb-dev 4.6.21-8 (using
> .../libdb-dev_4.7.25.2_i386.deb) ... Unpacking replacement libdb-dev ...
> Preparing to replace libdb4.6 4.6.21-8 (using
> .../libdb4.6_4.6.21-11_i386.deb) ... Unpacking replacement libdb4.6 ...
> Errors were encountered while processing:
> /var/cache/apt/archives/libdb4.6-dev_4.6.21-11_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-get dist-/upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run ‘apt-get -f install’ to correct these.
> The following packages have unmet dependencies.
> libaprutil1-dev: Depends: libdb4.6-dev but it is not installed
> libdb-dev: Depends: libdb4.6-dev (>= 4.6.21-9) but it is not installed
> php5-build-deps: Depends: libdb4.6-dev but it is not installed
> E: Unmet dependencies. Try using -f.
apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies...Done
> The following packages were automatically installed and are no longer
> required: libdb-dev
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
> libdb4.6-dev
> Suggested packages:
> db4.6-doc
> The following NEW packages will be installed
> libdb4.6-dev
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> 2 not fully installed or removed.
> Need to get 653kB of archives.
> After this operation, 1778kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Get: 1 http://localhost testing/main libdb4.6-dev 4.6.21-11 [653kB]
> Fetched 653kB in 0s (5478kB/s)
> Setting up libdb4.6 (4.6.21-11) ...
> (Reading database ... 369875 files and directories currently installed.)
> Unpacking libdb4.6-dev (from .../libdb4.6-dev_4.6.21-11_i386.deb) ...
> Setting up libdb4.6-dev (4.6.21-11) ...
> Setting up libdb-dev (4.7.25.2) ...
and problem solved.
Cheers,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-db-devel/attachments/20081003/7a5021e5/attachment.pgp
More information about the Pkg-db-devel
mailing list