Beberapa catatan error debian wheezy | laptopku

Downgrade dari unstable ke stable

Mencoba repository unstable dan ingin mengembalikan/downgrade ke stable lagi  biasanya menemui banyak masalah karena banyak paket yang tidak cocok dengan versi paket yang ada di repo/lumbung paket ketika update. Saya menemui error ketika mau install paket tertentu. Solusi yang dilakukan dengan Apt-pinning dengan membuat file preferences di folder /etc/apt dan isi dengan

Package: *
Pin: release a=stable
Pin-Priority: 1001

Package: *
Pin: release a=testing
Pin-Priority: 60

Package: *
Pin: release a=unstable
Pin-Priority: 50

lakukan update dan upgrade

sudo apt-get update
sudo apt-get -s upgrade [untuk mengetahui apa yang terjadi]
sudo apt-get upgrade

sumber : http://linuxmafia.com/faq/Debian/downgrade.html

Python2.7 error

IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/sitecustomize.py'

Error ini ketika tiba-tiba file sitecustomize.py tidak ada di folder /etc/python2.7 ketahuannya ketika saya cek dengan ls -all folder /usr/lib/python2.7 dan secara tidak sadar juga di komputer sudah ada banyak versi python, 2.6, 2.7, 3, 3.2, 3.3 (default wheezy 2.7 kalau tidak salah). Saya pelajari isi file sitecustomize.py dari beberapa versi python yang ada dan isinya sama, langsung coba lakukan aksi link file  ke file sitecustomize.py yang ada  [indra ke sembilan lagi main]

sudo ln -s /etc/python3.2/sitecostumize.py /usr/lib/python2.7/sitecostumize.py

untuk melihat/mencari file

locate sitecostumize.py

akhirnya bisa update,  upgrade dan install file lagi

inspirasi dari : http://askubuntu.com/questions/343376/how-to-purge-python-3-3-and-install-python-2-7-4

Bumblebee error

[ 298.306558] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 298.307210] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 298.307265] [DEBUG]Socket closed.
[ 298.307312] [ERROR]Could not connect to bumblebee daemon - is it running?

Error ini biasanya terjadi karena settingan file bumblebee.conf tidak sesuai dengan driver Nvidia yang ada. cek  parameter KernelDriver=  

debian biasanya

KernelDriver=nvidia

dan ubuntu biasanya

KernelDriver=nvidia-current

restart service bumblebee

service bumblebeed restart

kalau error yang ini ketahuan module “nvidia” tidak ada, tinggal download nvidia-glx

# optirun glxgears -info
[ 1634.760931] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
sudo apt-get install nvidia-glx

restart lagi service bumblebee,  dan tes  apakah masih ada error

# optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

dan jangan lupa untuk install powertop untuk menghemat konsumsi daya pada laptop.

sumber : https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting

Conky error

<br />Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_context_free();

With the parameter:

context

being NULL. Please fix your program.

simple sekali maslah ini hanya karena tidak ada kata TEXT setelah baris konfigurasi, seperti berikut

 

######################

# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont santana:size=10
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_argb_value 180
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

gap_x 0
gap_y 60
alignment top_right

minimum_size 350

#########################
# - Graphics settings - #
#########################

draw_shades no

####
## colors.
#
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 Tan1
color5 Tan2
color6 Gray
color7 AntiqueWhite4
color8 DarkSlateGray
color9 Black

override_utf8_locale yes

##tambahkan TEXT##

TEXT

##################
## SYSTEM ##
##################
${voffset 10}${font Arial:bold:size=9.5}${color4}SYSTEM ${color8} ${hr 2}
${voffset 4}${font openlogos:size=10}${color2}u${voffset -4}${font}${color6} ${sysname} ${kernel} ${alignr} ${machine}
${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font}${color6} Intel I5 ${alignr}${freq_g cpu0} GHz
${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font}${color6} Uptime ${alignr}${uptime}
${voffset 2}${font StyleBats:size=10}${color2}o${voffset -1}${font}${color6} File System ${alignr}${fs_type}
##################
## PROCESSORS ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}PROCESSORS ${color8}${hr 2}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU1 ${cpu cpu1}%${color7}${alignc 35}${cpubar cpu1}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU2 ${cpu cpu2}%${color7}${alignc 35}${cpubar cpu2}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU3 ${cpu cpu3}%${color7}${alignc 35}${cpubar cpu3}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU4 ${cpu cpu4}%${color7}${alignc 35}${cpubar cpu4}
##################
## MEMORY ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}MEMORY ${color8}${hr 2}
${voffset 2}${font StyleBats:size=10}${color2}l${voffset -2}${font}${color6} RAM ${goto 95}${mem}/ ${memmax}${alignr}${memperc}%
${color7}${membar}
# TOP PROCESSES ##
##################
${voffset 3}${font Arial:bold:size=9.5}${color4}TOP PROCESSES ${color8}${hr 2}
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 1}${goto 115}${top_mem mem_res 1}${alignr}${top_mem mem 1}%
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 2}${goto 115}${top_mem mem_res 2}${alignr}${top_mem mem 2}%
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 3}${goto 115}${top_mem mem_res 3}${alignr}${top_mem mem 3}%
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 4}${goto 115}${top_mem mem_res 4}${alignr}${top_mem mem 4}%
##################
## NETWORK ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}NETWORK ${color8}${hr 2}
${voffset 2}${font PizzaDude Bullets:size=10}${color2}a${font}${color6} Private IP${alignr}${addr wlan0}
${font PizzaDude Bullets:size=10}${color2}a${font}${color6} Public IP${alignr}${execi 600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]|.]//g'}
${voffset 4}${font PizzaDude Bullets:size=10}${color2}T${font}${color6} Down${alignr}${downspeed wlan0}
${font PizzaDude Bullets:size=10}${color2}N${font}${color6} Up${alignr}${upspeed wlan0}
${voffset 4}${font PizzaDude Bullets:size=10}${color2}T${font}${color6} Downloaded${alignr}${totaldown wlan0}
${font PizzaDude Bullets:size=10}${color2}N${font}${color6} Uploaded${alignr}${totalup wlan0}
##################
## TIME ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}TIME ${color8}${hr 2}
${voffset -4}${if_match ${time %l}<=9}${font RadioSpace:size=32}${color3}${alignc 2}${time %H:%Mh }${else}${if_match ${time %l}>=10}${font RadioSpace:size=32}${color3}${alignc 2}${time %H:%Mh}${endif}${endif}

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s