Re: task-cross-* dpkg errors?
Could this be because I am running Sarge and not Woody?
onz:/var/lib/dpkg/info# apt-get -f install binutils-arm-linux
libc6-dev-arm-cross libc6-arm-cross linux-kernel-headers-arm-cross
libdb1-compat-arm-cross
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
binutils-doc
The following NEW packages will be installed:
binutils-arm-linux libc6-arm-cross libc6-dev-arm-cross
libdb1-compat-arm-cross linux-kernel-headers-arm-cross
0 upgraded, 5 newly installed, 0 to remove and 97 not upgraded.
4 not fully installed or removed.
Need to get 0B/7720kB of archives.
After unpacking 5255kB of additional disk space will be used.
(Reading database ... 62351 files and directories currently installed.)
Unpacking binutils-arm-linux (from
.../binutils-arm-linux_2.14.90.0.7-8_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/binutils-arm-linux_2.14.90.0.7-8_i386.deb
(--unpack):
trying to overwrite `/usr/bin/arm-linux-ar', which is also in package
binutils-arm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libdb1-compat-arm-cross (from
.../libdb1-compat-arm-cross_2.1.3-7_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/libdb1-compat-arm-cross_2.1.3-7_all.deb
(--unpack):
trying to overwrite `/usr/arm-linux/lib/libdb1.so.2', which is also in
package libc6-dev-arm
Unpacking libc6-arm-cross (from
.../libc6-arm-cross_2.3.2.ds1-13_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/libc6-arm-cross_2.3.2.ds1-13_all.deb
(--unpack):
trying to overwrite `/usr/arm-linux/lib/libSegFault.so', which is also
in package libc6-dev-arm
Unpacking linux-kernel-headers-arm-cross (from
.../linux-kernel-headers-arm-cross_2.5.999-test7-bk-16_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/linux-kernel-headers-arm-cross_2.5.999-test7-
bk-16_all.deb (--unpack):
trying to overwrite `/usr/arm-linux/include/linux/autoconf.h', which
is also in package libc6-dev-arm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libc6-dev-arm-cross (from
.../libc6-dev-arm-cross_2.3.2.ds1-13_all.deb) ...
dpkg: error processing
/var/cache/apt/archives/libc6-dev-arm-cross_2.3.2.ds1-13_all.deb
(--unpack):
trying to overwrite `/usr/arm-linux/lib/libBrokenLocale.a', which is
also in package libc6-dev-arm
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/binutils-arm-linux_2.14.90.0.7-8_i386.deb
/var/cache/apt/archives/libdb1-compat-arm-cross_2.1.3-7_all.deb
/var/cache/apt/archives/libc6-arm-cross_2.3.2.ds1-13_all.deb
/var/cache/apt/archives/linux-kernel-headers-arm-cross_2.5.999-test7-
bk-16_all.deb
/var/cache/apt/archives/libc6-dev-arm-cross_2.3.2.ds1-13_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
On Jun 24, 2004, at 7:43 AM, Nikita V. Youshchenko wrote:
I get these errors:
onz:/home/acurtis# apt-get install g++-3.3-arm-linux
Reading Package Lists... Done
Building Dependency Tree... Done
g++-3.3-arm-linux is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
gcc-3.3-arm-linux: Depends: binutils-arm-linux (>= 2.13.90.0.10)
but
it is not going to be installed
libstdc++5-3.3-dev-arm-cross: Depends: libc6-dev-arm-cross but it
is
not going to be installed
libstdc++5-arm-cross: Depends: libc6-arm-cross (>= 2.3.2.ds1-4) but
it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
Probably you have installed cross-toolchain debs from different
sources,
and they don't coexist correctly.
Try removing all mentioned packages (g++-3.3-arm-linux,
gcc-3.3-arm-linux,
libstdc++5-3.3-dev-arm-cross, libstdc++5-arm-cross, libc6-arm-cross)
and
then try again.
If the problem persists, you may locate the exact package that is
causing a
conflict by adding (probably recursively) all packages that "are not
going
to be installed" to the apt-get command line.
Reply to: