Ich habe das gleiche Problem wie @Jarle Hammen Knudsen mit dieser Frage , aber die Lösungen, die für sie gearbeitet haben, funktionieren irgendwie nicht für mich. Ich habe das ursprünglich dort gepostet, aber es wurde gelöscht, weil es "die Frage nicht beantwortet", also stelle ich einfach eine andere Frage mit dem gleichen Namen und den gleichen Tags. Sollte dies nicht erlaubt sein, senden Sie mir bitte eine E-Mail mit einer Antwort.
Ich verwende GNURoot Debian v.0.6.12_armhf, um Debian 8.10 auf meinem Samsung Galaxy S5 (Modell SM-G903M, Android 5.1.1 "Lollipop") auszuführen, nur um R auf meinem Telefon zu haben (teilweise weil mein PC ist kaputt und teilweise weil es praktischer ist). Ich habe jedoch fünf Pakete zurückgehalten: r-base, r-base-dev, r-cran-boot, r-cran-codetools und r-recommended.
Zuerst habe ich die Lösung von @Gregory Smitherman ausprobiert und dabei jeweils ein Paket installiert:
root@localhost:/# apt list --upgradable
Listing... Done
r-base/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
r-base-dev/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
r-cran-boot/jessie-cran35 1.3-20-1.1~jessiecran.0 all [upgradable from: 1.3-13-1]
r-cran-codetools/jessie-cran35 0.2-15-1.1~jessiecran.0 all [upgradable from: 0.2-9-1]
r-recommended/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
root@localhost:/# apt-get install r-base
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 : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
Depends: r-recommended (= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Dann habe ich versucht, die Abhängigkeiten nacheinander zu installieren:
root@localhost:/# apt-get install r-base-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
r-base-core is already the newest version.
r-base-core set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Dann habe ich versucht apt-get install -f
, Abhängigkeiten nacheinander zu beheben:
root@localhost:/# apt-get install -f r-base
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 : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
Depends: r-recommended (= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Dann habe ich alles auf einmal versucht:
root@localhost:/# apt-get install -f r-base r-base-core r-base-dev r-cran-boot r-cran-codetools r-recommended
Reading package lists... Done
Building dependency tree
Reading state information... Done
r-base-core is already the newest version.
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 : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
r-base-dev : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
r-cran-boot : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
Depends: r-api-3.5 but it is not installable
r-cran-codetools : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
Depends: r-api-3.5 but it is not installable
r-recommended : Depends: r-base-core (>= 3.5.0-1~jessiecran.0) but 3.3.3-1~bpo8+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Als nächstes habe ich @Dimuth Tharaka Menikgamas zweite alternative Lösung ausprobiert:
root@localhost:/# apt list --upgradable Listing... Done
r-base/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
r-base-dev/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
r-cran-boot/jessie-cran35 1.3-20-1.1~jessiecran.0 all [upgradable from: 1.3-13-1]
r-cran-codetools/jessie-cran35 0.2-15-1.1~jessiecran.0 all [upgradable from: 0.2-9-1]
r-recommended/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
root@localhost:/# sudo apt-get -s dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Dann habe ich die ursprüngliche Lösung von @ GAD3R ausprobiert :
root@localhost:/# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Trotzdem bestand das Problem weiterhin:
root@localhost:/# apt list --upgradable
Listing... Done
r-base/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
r-base-dev/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
r-cran-boot/jessie-cran35 1.3-20-1.1~jessiecran.0 all [upgradable from: 1.3-13-1]
r-cran-codetools/jessie-cran35 0.2-15-1.1~jessiecran.0 all [upgradable from: 0.2-9-1]
r-recommended/jessie-cran35 3.5.0-1~jessiecran.0 all [upgradable from: 3.3.3-1~bpo8+1]
Schließlich versuchte ich es mit apt-get update
und apt-get upgrade
, aber diesmal funktionierte es nicht mehr als beim letzten Versuch.
root@localhost:/# apt-get update
[censored because I don't have 10 points of reputation and these count as links]
Fetched 445 kB in 18s (23.9 kB/s)
Reading package lists... Done
root@localhost:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
r-base r-base-dev r-cran-boot r-cran-codetools
r-recommended
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Bitte helfen Sie mit einer Lösung, die die fünf oben genannten Pakete aktualisiert / aktualisiert.