“Kırık paket tuttunuz” R yüklemeye çalışırken


11

Bu sorunun zaten sorulduğunu biliyorum, ancak gönderilen tüm cevaplar sorunumu çözmede yardımcı olamadı. Ubuntu 14.04'te şu komutu denedim:

sudo apt-get install r-base-core

ve anladım:

The following packages have unmet dependencies:
 r-base-core : Depends: libtiff4 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.

Ayrıca yetenekli bir şekilde denedim:

The following packages have unmet dependencies:
 r-base-core : Depends: libtiff4 which is a virtual package.
The following actions will resolve these dependencies:

      Keep the following packages at their current version:
1)      r-base-core [Not Installed]                        
2)      r-base-dev [Not Installed]                         
3)      r-cran-boot [Not Installed]                        
4)      r-cran-class [Not Installed]                       
5)      r-cran-cluster [Not Installed]                     
6)      r-cran-codetools [Not Installed]                   
7)      r-cran-foreign [Not Installed]                     
8)      r-cran-kernsmooth [Not Installed]                  
9)      r-cran-lattice [Not Installed]                     
10)     r-cran-mass [Not Installed]                        
11)     r-cran-matrix [Not Installed]                      
12)     r-cran-mgcv [Not Installed]                        
13)     r-cran-nlme [Not Installed]                        
14)     r-cran-nnet [Not Installed]                        
15)     r-cran-rpart [Not Installed]                       
16)     r-cran-spatial [Not Installed]                     
17)     r-cran-survival [Not Installed]                    
18)     r-recommended [Not Installed]                      



Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Sonra koştum apt-get upgrade, updateve diğer şeyler açıklanan Bu eğitimde . İşte cat komutunun sonucu /etc/apt/sources.list:

# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release amd64 (20121017.5)]/ quantal main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty main restricted
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates main restricted
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty universe
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty universe
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates universe
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty multiverse
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-backports main restricted universe multiverse

deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security main restricted
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security main restricted
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security universe
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security universe
deb http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security multiverse
deb-src http://mirrors.ircam.fr/pub/ubuntu/archive/ trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://cran.rstudio.com/bin/linux/ubuntu precise/

Ve emrin sonucu

cat /etc/apt/sources.list.d/*

dır-dir:

# deb http://linux.dropbox.com/ubuntu precise main # disabled on upgrade to saucy
# deb http://linux.dropbox.com/ubuntu precise main # disabled on upgrade to saucy
# deb http://linux.dropbox.com/ubuntu precise main # disabled on upgrade to saucy
# deb http://ppa.launchpad.net/grumbel/ppa/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/grumbel/ppa/ubuntu raring main
# deb http://ppa.launchpad.net/grumbel/ppa/ubuntu saucy main # disabled on upgrade to saucy
# deb-src http://ppa.launchpad.net/grumbel/ppa/ubuntu raring main
# deb http://ppa.launchpad.net/grumbel/ppa/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/grumbel/ppa/ubuntu raring main
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)

# The line above will make sure you get all final public releases.
# Uncomment the following line if you want to get alpha and beta
# releases, too.

# deb http://deb.opera.com/opera-beta/ stable non-free #Opera Browser (beta releases)
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)

# The line above will make sure you get all final public releases.
# Uncomment the following line if you want to get alpha and beta
# releases, too.

# deb http://deb.opera.com/opera-beta/ stable non-free #Opera Browser (beta releases)
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb http://deb.opera.com/opera/ stable non-free #Opera Browser (final releases)

# The line above will make sure you get all final public releases.
# Uncomment the following line if you want to get alpha and beta
# releases, too.

# deb http://deb.opera.com/opera-beta/ stable non-free #Opera Browser (beta releases)
# deb http://deb.playonlinux.com/ natty main # disabled on upgrade to saucy
# deb http://deb.playonlinux.com/ natty main # disabled on upgrade to saucy
# deb http://deb.playonlinux.com/ natty main # disabled on upgrade to saucy
# deb http://repo.steampowered.com/steam/ precise steam # disabled on upgrade to raring
# deb-src http://repo.steampowered.com/steam/ precise steam # disabled on upgrade to raring
# deb http://repo.steampowered.com/steam/ precise steam # disabled on upgrade to raring
# deb-src http://repo.steampowered.com/steam/ precise steam # disabled on upgrade to raring
# deb http://repo.steampowered.com/steam/ precise steam # disabled on upgrade to raring
# deb-src http://repo.steampowered.com/steam/ precise steam # disabled on upgrade to raring
# deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu raring main
# deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu saucy main # disabled on upgrade to saucy
# deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu raring main
# deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu raring main
# deb http://ppa.launchpad.net/vincent-c/nevernote/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/vincent-c/nevernote/ubuntu raring main
# deb http://ppa.launchpad.net/vincent-c/nevernote/ubuntu saucy main # disabled on upgrade to saucy
# deb-src http://ppa.launchpad.net/vincent-c/nevernote/ubuntu raring main
# deb http://ppa.launchpad.net/vincent-c/nevernote/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/vincent-c/nevernote/ubuntu raring main
# deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu raring main
# deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu saucy main # disabled on upgrade to saucy
# deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu raring main
# deb http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu saucy main # disabled on upgrade to saucy
deb-src http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu raring main

1
Mac satın alacağım ... :( Ubuntu'ya yazılım yüklemek için saatler ayırmaktan bıktım
Matt O'Brien

1
@ MattO'Brien Debian / Ubuntu'daki paket yöneticisi kötü bir şekilde kötü. Ayrıca apt-get paketinin eski sürümünü yüklerken bıktım. Bu yüzden daha iyi paket yöneticisine sahip fedora veya arch linux'a geçmeyi düşünüyorum. Mac bence çok geniş.
Moebius

@Moebius Pahalı mı, geniş mi? : D
AdamO

Yanıtlar:


13

Sorunuzu cevaplaması için çok teşekkürler Wilf. Ama birileri bana R posta listesinde aşağıdaki komutları çalıştırarak cevap verdi:

sudo add-apt-repository ppa:marutter/rrutter
sudo apt-get update
sudo apt-get install r-base r-base-dev

sorunumu çözmeme yardımcı oldu!


1
Depends: libtiff4 but it is not installable

Bu sorun, libtiff4paketin Ubuntu 14.04 için kullanılamamasından kaynaklanıyor gibi görünüyor

Bu nedenle, desteklenen en son sürüm olan Saucy'nin sürümünü buradan veya buradan indirmek olası bir geçici çözüm olacaktır :

İ386 için:

wget http://mirrors.kernel.org/ubuntu/pool/universe/t/tiff3/libtiff4_3.9.7-2ubuntu1_i386.deb
dpkg -i libtiff4_3.9.7-2ubuntu1_i386.deb

Amd64 için:

wget http://mirrors.kernel.org/ubuntu/pool/universe/t/tiff3/libtiff4_3.9.7-2ubuntu1_amd64.deb
dpkg -i libtiff4_3.9.7-2ubuntu1_amd64.deb

Sonra yükleyebilirsiniz r-base-core- bu paket varsayılan Ubuntu depolarında varsa, gerekli bağımlılıklara sahip olmayan bir hata raporu vermek isteyebilirsiniz.

Düzenleme: Hangi sürümü yüklemeye çalışıyorsunuz? Versiyon burada görünüşte bağlıdır libtiff5hangi kullanılabilir ...


Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.