Hiccups in Gutsy Upgrade

*sighs* I just finished tinkering with one of my favorite applications in Linux Ubuntu… Conky! Oh and I just upgraded to Gutsy a few hours ago. Hit a little bump at the beginning though.

Failed to fetch http://medibuntu.sos-sts.com/repo/dists/feisty/free/binary-i386/Packages.gz 302 Found
Failed to fetch http://medibuntu.sos-sts.com/repo/dists/feisty/non-free/binary-i386/Packages.gz 302 Found
Failed to fetch http://medibuntu.sos-sts.com/repo/dists/feisty/free/source/Sources.gz 302 Found
Failed to fetch http://medibuntu.sos-sts.com/repo/dists/feisty/non-free/source/Sources.gz 302 Found

I got the following error when I went to the Upgrade Manager and clicked on the button to upgrade my beautiful Feisty 7.04 Fawn to Gutsy 7.10 Gibbon. Thinking it has been a few months and an upgrade is in order. I changed servers several times but kept getting that same message. After searching for similar issues in the Ubuntu Forum, it turned out that I had 3rd party sources in the list. I commented them out by adding “#” at the beginning of their lines and I was on my merry way. It took about 5 hours to fetch all of the necessary files and a couple more to upgrade. Went smooth, no problems or error messages. And then my Feisty bid me goodbye and asked for a final reboot…

Hello Gutsy! First thing I noticed were the icons. They looked edgier and better in my imperfect vision. Next thing I noticed was… Where’s my conky? Where’s my 2 other unused desktop? Alas! I lost both in the midst of all the new and pretty things in my Linux box. On to the terminal I went and ran “conky”.

Conky: can't open '/sys/bus/i2c/devices/9191-0290/temp1_input': No such file or directory
please check your device or remove this var from Conky

And this is what came up. A smart fella looked at the error message and suggested I comment out the temp line since that was giving me the error. Back on the terminal, I did “sudo gedit ~./conkyrc” gave my password and made the changes. For some reason the comment wasn’t working so I just took the whole line out, saved it, hit Alt+F2 and entered “conky”. Lo and behold, it came up with all the little details I cared about except the temperatures in my gutsy box.

It was still there and working, only something with the temperature line was off. So I scoured the good old Ubuntu Forum for some answers. With arguably the best community support (even beats paid ones!) on the web, I was not disappointed. After some posting back and forth, searching and experimenting, I finally found the key to my issue. One simple key word/command had to be replaced. Took out “i2c” and put “hwmon” in its place and there it was! My conky was running perfectly again with all the info I rely on to check my system. And like your usual infomercial…”And that’s not all!”

While posting back and forth with one of the very many helpful people there, he gave me an idea to add my hard drive temperatures on conky as well. So I did and it worked like a charm. Not only do I have my conky back, I got something extra! This is Vness and I am a Ubuntu-holic!

Here’s my final Linux Ubuntu 7.10 aka Gutsy Gibbon Conky code:
background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

$sysname $kernel on $machine

Uptime $alignr $uptime
Load $alignr $loadavg

Hostname $alignr $nodename
eth0 $alignr ${addr eth0}
Mobo CPU Temp $alignr ${hwmon temp 1}C ${hwmon temp 2}C
HDDlinux $alignr /dev/hdb ${execi 300 nc localhost 7634 | cut -c53-54 ;}C
HDDwindows $alignr /dev/hda ${execi 300 nc localhost 7634 | cut -c27-28 ;}C

CPU $alignr ${cpu cpu0}%
${cpubar cpu0}

MEM $alignc $mem / $memmax $alignr $memperc%

/root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

/disk $alignc ${fs_used /media/disk} / ${fs_size /media/disk} $alignr ${fs_free_perc /media/disk}%
${fs_bar /media/disk}

swap $alignc $swap / $swapmax $alignr $swapperc%

$processes processes ($running_processes running)

${color white}Highest CPU:
${color de0b0b}${top name 1}${top_mem cpu 1}
${color white}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}

${color white}Highest MEM:
${color de0b0b}${top_mem name 1}${top_mem mem 1}
${color white}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}

Down:${color} $alignr ${downspeed eth0} k/s${color} ${offset 80}
$alignc ${downspeedgraph eth0 32,150 de0b0b de0b0b}
Up:${color} $alignr ${upspeed eth0} k/s ${offset 80}
$alignc ${upspeedgraph eth0 32,150 de0b0b de0b0b}


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s