[Q] Upgrade Debian 5.0.8 to 6.0.0 on rev C4?

25 views
Skip to first unread message

Don

unread,
Mar 2, 2011, 9:43:20 AM3/2/11
to Beagle Board
I haven't been part of this list for a while and my Beagleboard has
been running Lenny happily for a long time now. I want to make to
jump to squeeze and tried the usual "apt-get dist-upgrade" but that
didn't do anything.

Additionally I haven't found any discussions/how to's on doing this
specifically for Beagleboard (or ARM in general) via my google
searches.

Is there a viable procedure to upgrade to squeeze from lenny on the
Beagleboard?

Alternately am I better off just doing a fresh load of squeeze and
porting all my software & customizations one by one? (This is the
route I'm trying to avoid since I usually access my Beagleboard
remotely and swapping SD cards is not an option in that scenario)

Any and all suggestions & links to how to's would be greatly
appreciated.

Some information about my board & OS:

Debian Version : 5.0.8
Beagleboard : Revision C4
U-Boot Version :
Kernel Version : Linux beagleboard 2.6.34.4-x2 #1 PREEMPT Sat Aug 14
02:57:06 UTC 2010 armv7l GNU/Linux
dmesg : http://pastebin.com/EYLiWgsw

...
Don

Robert Nelson

unread,
Mar 2, 2011, 2:19:56 PM3/2/11
to beagl...@googlegroups.com, Don

Hi Don,

First upgrade to the atleast the last 2.6.35.x series for lenny:

wget http://rcn-ee.net/deb/lenny/v2.6.35.9-x9/install-me.sh
/bin/bash install-me.sh

Reboot, then.. change "lenny -> squeeze" in your /etc/apt/sources.list

Something like: (noted the "distro-updates" change from lenny for updates)

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main

deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main

then, this should do it;

sudo apt-get update
sudo apt-get install apt aptitude udev
(possible reboot, but the 2.6.35.x kernel should be fine with out..)
sudo aptitude update
sudo aptitude safe-upgrade
then maybe a
sudo aptitude dist-upgrade (but double check the packages it want's to install)

Regards

--
Robert Nelson
http://www.rcn-ee.com/

Donald Brisson

unread,
Mar 9, 2011, 11:00:09 AM3/9/11
to beagl...@googlegroups.com, Robert Nelson
Robert – thank you for your input.

I am pleased to report I have successfully upgraded my Debian Beagleboard.

I followed the pre-upgrade step from this [1] article which talks about updating and cleaning up packages before upgrading.  I did have a couple dozen orphaned packages so this was definitely a worthwhile exercise.

Secondly I followed Robert advice but I ran into some trouble with “aptitude safe-upgrade”.  I ran it twice and both times it just ran the CPU at 100% and consumed all the memory, then started swapping.  It never completed the “Resolving dependencies” stage.  So I went with aptitude dist-upgrade and it only needed to remove the sysvconfig package so I felt confident proceeding in this manner.

Third, I added to Robert recommendations by picking up the latest stable squeeze kernel.

And lastly, I [2] blogged it for reference (mostly mine since I'll forget what I did in a couple of months).





From: Robert Nelson <robert...@gmail.com>
To: beagl...@googlegroups.com
Cc: Don <djb...@rogers.com>
Sent: Wed, March 2, 2011 2:19:56 PM
Subject: Re: [beagleboard] [Q] Upgrade Debian 5.0.8 to 6.0.0 on rev C4?

Bill Traynor

unread,
Mar 9, 2011, 11:12:11 AM3/9/11
to beagl...@googlegroups.com
On Wed, Mar 9, 2011 at 11:00, Donald Brisson <djb...@rogers.com> wrote:
Robert – thank you for your input.

I am pleased to report I have successfully upgraded my Debian Beagleboard.


If you have an elinux.org username, you can let me know or add it to the link yourself if you like.

 
--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

Reply all
Reply to author
Forward
0 new messages