On 4 June 2009 at 08:43, Sweeney, Jeff wrote: | Ah Ha! This works: | | JSS> apt-get install r-recommended=2.8.1-1~etchcran.0 | JSS> apt-get install r-base=2.8.1-1~etchcran.0 | | I thought the package manager would install the correct version of r-recommended auto-magically but I guess not when versions are specified. Thanks very much!
The package manager is configurable. If you don't say anything else, all repositories are treated equal. It then sorts by version number (and the sort has some specific quirks, see dpkg --help for access to the operators / comparisons). Here you must have had an archive that that r-rec'ed at 2.9.0 and that version won. In general, this "look at a repo but don't necessarily install from it" feature is very useful -- many of us run one flavour (i.e. testing) yet still look at another (i.e. unstable) so that we can pick particular packages if and when we choose to do so. All this goes under the label 'apt-pinning' and Google et al will hopefully guide to some more detailed tutorials. Recommended. Dirk | | -----Original Message----- | From: Sweeney, Jeff | Sent: Thursday, June 04, 2009 8:36 AM | To: 'Johannes Ranke' | Cc: Dirk Eddelbuettel; r-sig-debian@r-project.org | Subject: RE: [R-sig-Debian] install R 2.8 on Debian etch? | | Thank you. That is very kind. I have built a version that serves my purposes so it may not be worth pursuing this further. I try the 2.8.1 package and get this r-recommended dependency problem: | | JSS> apt-get install r-base=2.8.1-1~etchcran.0 | ... | The following packages have unmet dependencies: | r-base: Depends: r-recommended (= 2.8.1-1~etchcran.0) but 2.9.0-4 is to be installed | E: Broken packages | | -----Original Message----- | From: Johannes Ranke [mailto:jra...@uni-bremen.de] | Sent: Wednesday, June 03, 2009 3:53 PM | To: Sweeney, Jeff | Cc: Dirk Eddelbuettel; r-sig-debian@r-project.org | Subject: Re: [R-sig-Debian] install R 2.8 on Debian etch? | | Hi Jeff, | | I have built R 2.8 on Debian etch in the past, and the debs are in my | non-public subversion repository. I just extracted an appropriate | version of the etch-cran archive and placed it here temporarily: | | deb http://chem.uft.uni-bremen.de/r-cran_2.8.1 etch-cran/ | | Hope it helps, | | Johannes | | * Sweeney, Jeff <jswee...@spss.com> [090603 19:20]: | > An update. Statistics 18 works with R 2.8 and *probably* works with 2.9. We just haven't allocated QA resources to test with 2.9. | > | > -----Original Message----- | > From: r-sig-debian-boun...@r-project.org [mailto:r-sig-debian-boun...@r-project.org] On Behalf Of Sweeney, Jeff | > Sent: Wednesday, June 03, 2009 11:46 AM | > To: Dirk Eddelbuettel | > Cc: r-sig-debian@r-project.org | > Subject: Re: [R-sig-Debian] install R 2.8 on Debian etch? | > | > Well, it *was* SPSS, the same as the Company name. We rebranded the application to 'Statistics' for various reasons. Statistics 18 requires R 2.8. I would like to say it requires R 2.8 or later but I don't think I will have much luck lobbying for that. | > | > -----Original Message----- | > From: Dirk Eddelbuettel [mailto:e...@debian.org] | > Sent: Wednesday, June 03, 2009 11:38 AM | > To: Sweeney, Jeff | > Cc: r-sig-debian@r-project.org | > Subject: RE: [R-sig-Debian] install R 2.8 on Debian etch? | > | > | > On 3 June 2009 at 11:09, Sweeney, Jeff wrote: | > | I understand. I need 2.8 for compatibility with another application | > | > Starting with S and ending in PSS, maybe? ;-) | > | > | so I'll build it. | > | > I'd still go for apt-get source r-base, copy the debian/ directory you get | > that way to your 2.8.0 source (or 2.8.1, rather -- why not use known bug | > fixes...) and then run 'dpkg-buildpackage -us -uc -tc -rfakeroot' over it [ | > these options mean no gpg signing of anything, clean and use fakeroot for | > faked su permissions while building ] One day I write a proper document on | > that process... | > | > Dirk | > | > | Thanks, | > | | > | -----Original Message----- | > | From: Dirk Eddelbuettel [mailto:e...@debian.org] | > | Sent: Wednesday, June 03, 2009 11:02 AM | > | To: Sweeney, Jeff | > | Cc: r-sig-debian@r-project.org | > | Subject: Re: [R-sig-Debian] install R 2.8 on Debian etch? | > | | > | | > | On 3 June 2009 at 10:28, Sweeney, Jeff wrote: | > | | How do I install R 2.8 on Debian etch? Are there mirrors for older versions of R? Where are they? | > | | > | The porting volunteers generally support the newest versions (e.g. right now | > | 2.9.0) on the most recent releases, e.g. stable (codename 'lenny') and | > | testing (codename 'squeeze'). | > | | > | But if you want a neither-current-nor-from-distro version on an older | > | release, you are outside the supported matrix of disto and R version and | > | hence on your own. | > | | > | Now, it is not hard to locally build a package based on the packaging sources | > | (esp if you know a little about Unix and/or Debian). If you want to try that, | > | we could probably walk you trough that. | > | | > | Otherwise, you can also try the lenny version of R 2.9.0 plus whichever | > | library updates your etch system needs. | > | | > | Hth, Dirk | > | | > | -- | > | Three out of two people have difficulties with fractions. | > | > -- | > Three out of two people have difficulties with fractions. | > | > _______________________________________________ | > R-SIG-Debian mailing list | > R-SIG-Debian@r-project.org | > https://stat.ethz.ch/mailman/listinfo/r-sig-debian | > | > _______________________________________________ | > R-SIG-Debian mailing list | > R-SIG-Debian@r-project.org | > https://stat.ethz.ch/mailman/listinfo/r-sig-debian | | -- | Dr. Johannes Ranke jra...@uni-bremen.de -- Three out of two people have difficulties with fractions. _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian