Software index broken
Experts,
my basic problem: Trying to install R on Linux Mint 17 Quiana I followed the instructions of R Trader (http://www.r-bloggers.com/installing...-ubuntu-14-04/). I typed this into a shell: gksudo gedit /etc/apt/sources.list Now appears file "source.list(/etc/apt) - gedit" declaring this: #deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140624]/ trusty contrib main non-free deb http://cran.rstudio.com/linux deb http://cran.rstudio.com/bin/linux/debian lenny-cran/ get an aparently more basic error-message like this: I follow the instructions of trader adding this line to the bottom of the file because I cannot find an propper line to replace: http://mirrors.softliste.de/cran/ So the whole file "source.list(/etc/apt) - gedit" looks like this now (I saved it like this but got the same error yesterday trying to do the same thing without saving): #deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140624]/ trusty contrib main non-free deb http://cran.rstudio.com/linux deb http://cran.rstudio.com/bin/linux/debian lenny-cran/ http://mirrors.softliste.de/cran/ Proceding the instructions I type into the same shell an additional: sudo apt-get update (then I wait, nothing happens) sudo apt-get install r-base (then I wait, nothing happens) I procede again visiting the RStudio-website and click myself through the site trying to download R-Studio. My system manages to download an Ubuntu-based version and then I get this error displayed: Software index broken This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'. How to fix this software problem? How to install R-Studio??? Arne Matthias Krüger |
Those instructions are somewhat dated. You will likely do better here.
I do not use RStudio myself, but once you have a working R installation, then RStudio should work. |
Hi...
I think your problem stemmed from putting a Debian repository into your sources list. I would first remove the references to to what you mentioned here... Quote:
After you do this, follow the instructions that the error message gave you... Quote:
Code:
sudo apt-get update Code:
sudo apt-get install -f Hope this helps. Let us know how it goes.... :) Regards... |
Experts!
1. Basic problem: Trying to install R on Linux Mint 17 Quiana I followed the instructions of R Trader (http://www.r-bloggers.com/installing...-ubuntu-14-04/). I typed this into a shell: gksudo gedit /etc/apt/sources.list Now appears file "source.list(/etc/apt) - gedit" declaring this: #deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140624]/ trusty contrib main non-free deb http://cran.rstudio.com/linux deb http://cran.rstudio.com/bin/linux/debian lenny-cran/ get an aparently more basic error-message like this: I follow the instructions of trader adding this line to the bottom of the file because I cannot find an propper line to replace: http://mirrors.softliste.de/cran/ So the whole file "source.list(/etc/apt) - gedit" looks like this now: #deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140624]/ trusty contrib main non-free deb http://cran.rstudio.com/linux deb http://cran.rstudio.com/bin/linux/debian lenny-cran/ http://mirrors.softliste.de/cran/ Proceding the instructions I type into the same shell an additional: sudo apt-get update (then I wait, nothing happens) sudo apt-get install r-base (then I wait, nothing happens) I procede again visiting the RStudio-website and click myself through the site trying to download R-Studio. My system manages to download an Ubuntu-based version and then I get this error displayed: Software index broken This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'. How to fix this software problem? How to install R-Studio??? Arne Matthias Krüger 2. Next Step removed „http://mirrors.softliste.de/cran/“ from "source.list(/etc/apt) – gedit". With removal again it looks like this: „#deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140624]/ trusty contrib main non-free deb http://cran.rstudio.com/linux deb http://cran.rstudio.com/bin/linux/debian lenny-cran/“ Followed the expert advice and typed in a shell the following: „arne@arne-Lenovo-Y50-70 ~ $ gksudo gedit /etc/apt/sources.list sudo apt-get update sudo apt-get install -f sudo apt-get autoclean sudo apt-get clean sudo apt-get autoremove sudo dpkg --remove --force-remove-reinstreq package name (gedit:2827): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Datei oder Verzeichnis nicht gefunden (gedit:2827): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Datei »/root/.local/share/recently-used.xbel.M3R96X« konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden (gedit:2827): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Datei oder Verzeichnis nicht gefunden (gedit:2827): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Datei »/root/.local/share/recently-used.xbel.JDRI7X« konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden (gedit:2827): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Datei oder Verzeichnis nicht gefunden arne@arne-Lenovo-Y50-70 ~ $ sudo apt-get update [sudo] password for arne: Das hat nicht funktioniert, bitte nochmal probieren. [sudo] password for arne: E: Missgestaltete Zeile 2 in Quellliste /etc/apt/sources.list (»dist«) E: Die Liste der Quellen konnte nicht gelesen werden.“ What is to do now? Waiting for further advice... Arne Matthias |
Hi...
Again, you need to remove all references to to the Debian repositories, including... Quote:
You can fix the error message by running the following command mentioned here... Code:
sudo mkdir -p /root/.local/share Code:
sudo apt-get update Code:
sudo apt-get install -f Regards... |
09.11.2015, 6:10 a.m.
Thank you!:) 1. Removed these files from file "source.list(/etc/apt) - gedit" deb http://cran.rstudio.com/linux deb http://cran.rstudio.com/bin/linux/debian lenny-cran/ Now the file-content looks like this: " #deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140624]/ trusty contrib main non-free First Question: Do I have to remove the last entry as well because it starts with "#deb"? 2. You suggest: Quote:
So I followed the link in a console as follows: Code:
arne@arne-Lenovo-Y50-70 ~ $ gksudo gedit /etc/apt(sources.list Kind regards and many thanks for your help so far. I hope to make the situation very clear so a solution is very likely... Arne Matthias |
I hope you have noted the change from http:// to https:// in the URLs for CRAN.
|
Hi Arne...
In answer to your first question: No, you don't have to remove the last entry. Judging by your report, I think that part of the problem has been resolved. :) With respect to your second question, I did not want you to install the package "gtk2-engines-pixbuf." I only wanted you to run the command that I showed you, which was... Code:
sudo mkdir -p /root/.local/share As to last message in your report... Quote:
If that doesn't work, you can try running this command... Code:
sudo dpkg --remove -force --force-remove-reinstreq r-base Also, please run the following commands... Code:
sudo apt-get autoclean Code:
sudo apt-get clean Code:
sudo apt-get autoremove |
Hi ardvark71,
thank ou fpr the quick reply. I do not know how to go into Synaptics. So I ran the following in the shell: Code:
arne@arne-Lenovo-Y50-70 ~ $ sudo dpkg --remove -force --force-remove-reinstreq r-base Question: How do I go on? Arne Matthias |
I run "gksudo /etc/apt/sources.list" again to see what happens: Result: Nothing happens. Question: Is that in order?
|
Yes, Christly values are definitely to be considered. Personally I keep struggling with "listen and understand first, THEN be understood" - that is essentially the gift of empathic personalities.
|
Ok, found Synaptic. Before the program r-base are listed three different programs:
Code:
libreoffice-base-core Question: What to do here? Arne Matthias |
Next attepmt failed bitterly! Expert knowledge needed!!!
Experts!
not much has changed so far. I have still the same problem trying to install r-base: Code:
arne@arne-Lenovo-Y50-70 ~ $ sudo apt-get --purge remove <r-base> |
Quote:
Regards... |
Quote:
However, one of the gifts of receiving our Lord (asking him into your life) and walking with and obeying him, He begins the work of transforming you into His likeness and you are set free from the affects of sin. Sin can take many forms but the end result is the same: death. physically, mentally, emotionally and ultimately spiritually and eternally. :( Please have a look at my blog entry "John 8:12," by clicking the number "2" next to "Blog Entries:" below my username and other information. The story of my salvation involves Germany. ;) Regards... |
All times are GMT -5. The time now is 07:41 PM. |