Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having trouble. In my etc/apt/sources.list I have;
deb http;//debian.oregonstate.edu/debian/stable main.
But i need to have deb http://http.us.debian.org/debian/stable main contrib.
dose this make a difference?
when I try to install (apt-get or aptitude) install java-package, I receive a message could not locate???
how do I change sources.list, or what am I doing wrong???
open up the /etc/apt/sources.list as root in a text editor. If you are using gnome, use gedit, if you are using kde, use kwrite or kedit. Change the line beginning with 'deb' so it reads like this:
OK lodged in as root ctrl-alt-f1, cd /etc/apt/sources.list, gedit. (gedit:27389):Gtk-warning **: cannot open display
(I am using gnome) (debian 1.3 sarge)
what about nano, or vim?
I can get both of them to load in /etc/apt# but,
in nano I can change the line, but it asks for a file name to save???
and I cant figure out how to change any thing or even escape, in vim???
am I on the wrong track all that I am trying to accomplish is to install the newest stable version of java.
thanks for the reply, its nice to see some help.
Konqueror worked perfectly. I was able to change the line and save it. Would I ever need to change it back? Now I am trying to find specs for my monitor and video card. Mag innovision 720v2 monitor, and trident 3d image 9850 video card.
thanks for all the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.