How to reinstall a Xandros system package
back to contents page Seafriends home page feedback Rev:070706,
The good news is that Xandros, very professionally, keeps its system packages in an accessible page. Go to http://xnv4.xandros.com/4.0/pkg/pool/main/xandros/ and be amazed (change 4 to 3 for Xandros v3). Here are all packages that make up the Xandros operating system. My advice is to keep a printout of this page, since it contains the package names, which are often quite different from run-time names, and spelling matters enormously.
Here you'll discover that the name of the Xandros Networks package is xandros-networks-applet. Would you have guessed that?
Xandros Networks also uses apt-get, but it is hidden under a clever
GUI which does many more functions. Apt-get is directed by a configuration
file /etc/apt/sources.list. For apt-get to work outside XN, we have
to tell it where the Xandros repositories are. With the editor you need
to add two lines:
deb http://xnv4.xandros.com/4.0/pkg xandros4.0-xn main contrib non-free
deb http://xnv4.xandros.com/4.0/upkg-i386 unsupported4.0-xn main contrib non-free
Now apt-get knows where to look. Note that these lines are further ignored by XN and note the funny syntax which means something like: this is a debian repository, http://dadada, with subdirectories, either /main or /contrib or /non-free. Normally such lines are entered with the XN>edit> set application sources, and anything entered with an editor is considered invalid.
Now we could use the command
apt-get update but this tries to update all packages
but the system does not kow that XN is broken, so we need more courage and assertive action, and remove it altogether:
apt-get remove xandros-networks-applet (ouch!), followed by a re-installation:
apt-get install xandros-networks-applet (now you know how handy the up-arrow key is)
It may be necessary to log out and back in to make it work again. Most times, you'll just see the icon on the desktop mysteriously changing back to its original. Try this with Windows for a change!
Instability in XN may be caused by a lack of work space, which is set
in /etc/apt/apt.conf where
needs to be doubled to 20MB (20000000)