[R-sig-Debian] ubuntu 12.04 install issues

Dirk Eddelbuettel edd at debian.org
Tue Sep 11 12:18:17 CEST 2012

On 10 September 2012 at 20:56, Keith Chewning wrote:
| Hello:
| 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
| ...
|  r-base-core

Package "tk8.5" is missing.

| Obviously the hurdle here is tk8.5. I installed 
| ActiveTcl8. 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.

Why did you think that would matter? Why did you think you needed something
from outside Ubuntu itself>

Just use the regular tk8.5 package, which apt-get should have suggested
and pulled in anyway:

edd at max:~$ apt-cache policy tk8.5
  Installed: 8.5.11-1
  Candidate: 8.5.11-1
  Version table:
 *** 8.5.11-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
edd at max:~$ dpkg -s tk8.5
Package: tk8.5
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 2963
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Version: 8.5.11-1
Provides: wish
Depends: libc6 (>= 2.7), libfontconfig1 (>= 2.8.0), libx11-6, libxft2 (>> 2.1.1), libxss1, tcl8.5 (>= 8.5.0)
Recommends: xterm | x-terminal-emulator
Conflicts: libtk-img (<< 1.2.5), tk40 (<= 4.0p3-2)
Description: Tk toolkit for Tcl and X11, v8.5 - run-time files
 Tk is a cross-platform graphical toolkit which provides the Motif
 look-and-feel and is implemented using the Tcl scripting language.
 This package contains everything you need to run Tk (wish) scripts
 and Tk-enabled apps.
Original-Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
Homepage: http://www.tcl.tk/
edd at max:~$ 


Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  

More information about the R-SIG-Debian mailing list