Update of debian version


I just migrated from Vyatta to VyOS following the migration guide. I’m still on Debian Lenny. Can I upgrade to Sqeeze by just adding the repositories and doing apt-get update followed by apt-get dist-upgrade? Is it safe to do that? What is the recommended process?



You are on Debian Lenny on what ?
a router (vyatta vc6.1 or earlier )
your desktop/server ?

/me bit confused


I was on VC6.2. Now I’m running the vyos-1.0.2 image. I see in /etc/apt/sources.list that it points to the lenny repos. Do I need to change those to point to squeeze?

sources.list also still contains the repo for vyatta. Is there an equivalent repo for vyos that I should replace it with?

Is it ever necessary to do a dist-upgrade or is that all handled by installing a new vyos image?


That is indeed part of your local config.
VC6.2 (like vyos hydrogen) is based on debian squeeze.

Look here for the right ones for squeeze

and delete the current one in your config

after that :
apt-get update
apt-get install [whatever package]

should do the trick.