Pages

Rabu, 15 Januari 2014

mengganti repository dan update + upgrade ubuntu

root@server:~# gedit /etc/apt/sources.list

(gedit:2157): GLib-GIO-WARNING **: Missing callback called fullpath = /root/.local/share/recently-used.xbel

^C
pada tex editor matikan semua barus dengan menambahkan tanda # di depanya
lalu copy kan repository ini atau yang lainya







deb http://kambing.ui.ac.id/ubuntu/ precise-proposed main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ precise main restricted universe multiverse





jika sudah save, lalu close text editor dan kembali ke CLI

root@server:~# apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
root@server:~#
root@server:~# rm /var/lib/apt/lists/lock
root@server:~# apt-get update

0 komentar:

Posting Komentar