An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20120910/3e6b0128/attachment.pl>
ubuntu 12.04 install issues
3 messages · Keith Chewning, Simon Blomberg, Dirk Eddelbuettel
Did you try first installing tk from the Ubuntu archive? Cheers, Simon.
On 11/09/12 13: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 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
ActiveTcl8.5.12.0.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.
Thanks,
kc
[[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 Australia T: +61 7 3365 2506 email: S.Blomberg1_at_uq.edu.au http://www.uq.edu.au/~uqsblomb/ Policies: 1. I will NOT analyse your data for you. 2. Your deadline is your problem. Statistics is the grammar of science - Karl Pearson.
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.5.12.0.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. 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 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
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com