[R-sig-Debian] stable backport apt problem (solved)
Robert King
robert.king at newcastle.edu.au
Wed May 3 23:13:17 CEST 2006
Hi Christian,
This went mostly OK, but failed with a problem with
/usr/lib/R/library/grid/R/grid (see extract from output below).
This was fixed with an apt-get -f install.
dpkg: r-cran-cluster: dependency problems, but removing anyway as you
request:
r-recommended depends on r-cran-cluster (>= 1.9.6-2); however:
Package r-cran-cluster is to be removed.
(Reading database ... 59060 files and directories currently installed.)
Removing r-cran-cluster ...
(Reading database ... 58833 files and directories currently installed.)
Preparing to replace r-recommended 2.1.0-1 (using
.../r-recommended_2.3.0-0sarge2_i386.deb) ...
Unpacking replacement r-recommended ...
dpkg: error processing
/var/cache/apt/archives/r-recommended_2.3.0-0sarge2_i386.deb (--unpack):
trying to overwrite `/usr/lib/R/library/grid/R/grid', which is also in
package r-base-core
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace r-base-core 2.1.0-1 (using
.../r-base-core_2.3.0-0sarge2_i386.deb) ...
Unpacking replacement r-base-core ...
Errors were encountered while processing:
/var/cache/apt/archives/r-recommended_2.3.0-0sarge2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Note that this was on the basis of
apt-get install r-base=2.3.0-0sarge2
rather than apt-get upgrade, because I don't understand preferences well
enough to get apt to prefer your private
tolstoy:/home/king# apt-get -s upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
kernel-image-2.6-686 r-base r-base-core r-recommended
The following packages will be upgraded:
r-mathlib
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Inst r-mathlib [2.1.0-1] (2.3.0-0sarge2 cts:stable)
Conf r-mathlib (2.3.0-0sarge2 cts:stable)
Christian T. Steigies wrote:
> On Tue, May 02, 2006 at 03:19:09PM -0500, Dirk Eddelbuettel wrote:
>> Robert,
>>
>> Thanks for the follow-up. Hopefully someone (Christian ?) can pick it up from
>> here as I don't use or build these backported packages...
>>
>> On 2 May 2006 at 11:50, Robert King wrote:
>> | Hi Dirk,
>> |
>> | This is my attempt to re-create the problem. I'm not so sure it is just
>> | a dependency problem now. I think there is possibly an apt problem on
>> | my machine, combined with a problem with the dependencies where
>> | r-recommended is wanting its old dependencies at the same time as trying
>> | to replace them.
>
> I tried to follow debian-policy with the provides/replaces/conflicts, but I
> might have gotten it wrong. I now added r-recommended to this list, and it
> seems to work better for me, but maybe you can try again. The version is
> 0sarge2 and should appear on your cran mirror soon, but you could try to
> install from my debian page directly.
>
> Christian
More information about the R-SIG-Debian
mailing list