Ubuntu local only

saffakanera

Expert Member
Joined
Sep 25, 2006
Messages
4,370
Reaction score
145
Hi guys, just installed Ubuntu, how do I update/get software via a local only connection? Im trying to get software with the add/remove feature, it however gives me this error:


Could not download all repository indexes

The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences.


I did select South Africa as my server. Any ideas?
 
Heres another question: Can you switch to KDE from Gnome with the same installation of Ubuntu?
 
I've had the same problem one of the connections is hanging.
sudo apt-get update to see which one is not responding
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup
gksudo gedit /etc/apt/sources.list
edit list (remove link that is not responding or add "cc" instead of local address)
or
ps ax | grep apt
kill offending process
sudo apt-get update
or
sudo apt-get clean
 
Last edited:
There is a very simple way. On your repository list (not sources.list, but rather on Adept/ Synaptic), select use local server. It should be za.archive.ubuntu.com by default if you selected SA as your country during install. I do this and then it runs off my local cap.
 
Heres another question: Can you switch to KDE from Gnome with the same installation of Ubuntu?

Yes! You can!

gnome desktop:
Code:
sudo aptitude install ubuntu-desktop
kde desktop:
Code:
sudo aptitude install kubuntu-desktop
xubuntu desktop:
Code:
sudo aptitude install xubuntu-desktop
mythbuntu desktop:
Code:
sudo aptitude install mythbuntu-desktop

Then to switch, you can use System -> Administration -> Login Window to set your default session. Alternatively, you can choose it each time you login (Session -> etc)
 
Can you switch between KDE and Gnome on OpenSUSE?

Indeed you can. Just install as many desktops as you like, and again, use your login manager to make the switch for you.
 
+1. On your login screen simply click on the advanced/sessions link and select the "session type" you require.
 
Top
Sign up to the MyBroadband newsletter
X