Inštalácia extra balíčkov na ASUS Eee PC

Nedávno som mal tento problém a riešil som ho takto:

ASUS Eee PC má silne odľahčenú Xandros Linux distribúciu. Keď chceme pridávať ďalšie balíčky z iných extra repos postupujeme následovne:
CTRL-ALT-t otvoríme terminál

Editujeme súbor /etc/apt/sources.list
sudo nano /etc/apt/sources.list

Na koniec súboru pridáme tieto riadky:

deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free

deb http://dccamirror.xandros.com/dccri/ dccri-3.0 main

deb http://www.geekconnection.org/ xandros4 main

deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch

Uložíme súbor a exit

Vytvoríme súbor /etc/apt/preferences
a pridáme do neho (zachováme prioritu jednotlivých repos cez “pinning”):
Package: *

Pin: origin update.eeepc.asus.com

Pin-Priority: 950

Package: *

Pin: origin

Pin-Priority: 925

Package: *

Pin: origin xnv4.xandros.com

Pin-Priority: 900

Package: *

Pin: origin dccamirror.xandros.com

Pin-Priority: 850

Package: *

Pin: origin www.geekconnection.org

Pin-Priority: 750

Package: *

Pin: release a=stable

Pin-Priority: 700

Package: *

Pin: release a=testing

Pin-Priority: 650

Package: *

Pin: release a=unstable

Pin-Priority: 600

Uložíme súbor.

Spustíme $ sudo apt-get update

Keď to skončí, môžeme už inštalovať ďaľší soft ( použiť -s argument ! ) napríklad:
$ sudo apt-get -s install nvi

Môžeme aj upgradovať:
$ sudo apt-get -s dist-upgrade


Ďakujem za zprehľadnenie textu editorovi
"reload" .