Pages

Wednesday, March 23, 2011

Updating my Debian Server

My Debian server(Dog Cam) was still running Debian Lenny, and I was having permission issues with Zoneminder. I had read a few post that stated updating to a newer version of Zoneminder solved the issues I was experiencing. So I thought I would  take care of two things at once. By updating Debian from Lenny to Squeeze this would also update Zoneminder. And that did the trick, motion detection in Zoneminder now works.

Here is what I did to update
I opened terminal and ran a text editor:

#nano /etc/apt/sources.list


# deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 NETINST Binary-1 20100905-11:24]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 NETINST Binary-1 20100905-11:24]/ lenny main

deb http://ftp.us.debian.org/debian-backports lenny-backports main contrib non-free

deb http://ftp.us.debian.org/debian/ unstable main contrib non-free

#lenny
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
# volatile sources
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
#security-lenny
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free


I replaced the all instances of lenny with squeeze. I had to also update the volatile sources from

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main


to

deb     http://mirrors.kernel.org/debian squeeze-updates main contrib
deb-src http://mirrors.kernel.org/debian squeeze-updates main contrib


This what the updated sources.list looks like:

# deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 NETINST Binary-1 20100905-11:24]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 NETINST Binary-1 20100905-11:24]/ lenny main

deb http://ftp.us.debian.org/debian-backports squeeze-backports main contrib non-free

deb http://ftp.us.debian.org/debian/ unstable main contrib non-free

#squeeze
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free
# squeeze release replacement mirrors for volatile sources
deb     http://mirrors.kernel.org/debian squeeze-updates main contrib
deb-src http://mirrors.kernel.org/debian squeeze-updates main contrib
#security-squeeze
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free