[R-sig-Debian] ubuntu 12.04 install issues
s.blomberg1 at uq.edu.au
Tue Sep 11 06:08:36 CEST 2012
Did you try first installing tk from the Ubuntu archive?
On 11/09/12 13:56, Keith Chewning wrote:
> I have a new install of Ubuntu 12.04. I have tried to install R via source,
> apt-get, and the deb packages from a cran mirror. Each of these had issues.
> I followed the secure apt key install. The apt-get and deb installs each
> have the same error. So, let's ignore the source install for now. This is the error:
>>> sudo dpkg -i r-base-core_2.15.1-1precise2_i386.deb
> (Reading database ... 244318 files and directories currently installed.)
> Preparing to replace r-base-core 2.15.1-1precise2 (using r-base-core_2.15.1-1precise2_i386.deb) ...
> Unpacking replacement r-base-core ...
> dpkg: dependency problems prevent configuration of r-base-core:
> r-base-core depends on tk8.5 (>= 8.5.0); however:
> Package tk8.5 is not installed.
> dpkg: error processing r-base-core (--install):
> dependency problems - leaving unconfigured
> Or, with apt-get
>>> sudo apt-get install r-base-core
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> The following packages have unmet dependencies:
> r-base-core : Depends: tk8.5 (>= 8.5.0) but it is not installable
> Recommends: r-recommended but it is not going to be installed
> Recommends: r-base-dev but it is not going to be installed
> Recommends: r-doc-html but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
> Obviously the hurdle here is tk8.5. I installed
> ActiveTcl220.127.116.11.296033-linux-ix86-threaded.tar.gz from
> http://www.activestate.com/activetcl/downloads, which www.tcl.tk
> suggested for obtaining binaries. This however did not make R
> any happier. Any suggestions would be greatly appreciated.
> [[alternative HTML version deleted]]
Simon Blomberg, BSc (Hons), PhD, MAppStat, AStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
T: +61 7 3365 2506
1. I will NOT analyse your data for you.
2. Your deadline is your problem.
Statistics is the grammar of science - Karl Pearson.
More information about the R-SIG-Debian