PINE64
Upgrading Debian Stretch image to Buster - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Upgrading Debian Stretch image to Buster (/showthread.php?tid=7866)



Upgrading Debian Stretch image to Buster - cosuhi - 08-18-2019

Hi,

I installed a while ago ayufan's Debian Stretch image on a Rock64 as a server, and wanted to know if it was possible to upgrade it directly to Debian 10 Buster by following the standard upgrade procedure (i.e by changing the repo versions inĀ /etc/apt/sources.list), or if there was some things to be taken care of first, like switching to another custom repo, switching kernels, etc.).

Thanks in advance !


Upgrading Debian Stretch image to Buster - necrose99 - 08-18-2019

Yeah thier is a sed hack that replaces the version as a script.

sed -i '$ a\\ndeb http://packages.dotdeb.org wheezy all\ndeb-src http://packages.dotdeb.org wheezy all' /etc/apt/sources.list

This was on stackexhange..

At any case buster instead of wheezy, and likewise your local arm64 mirrors...

Apt distro upgrade , (something like that)

similar sed trick will replace all
"Old-distro-codename" with buster.. using sed..
And also easily in /apt/sources file/s..

Also a apt sources generation site. ,
Adds many things ie dropbox Google's chrome etc.

may need to edit, as some are arm7hf or x86 or amd64,
Or sdeb.. if that can get sdeb and build locally..

I typically use Gentoo anyway, but as emmc build root ... debian been used as xdcard host.

Sent from my SM-N960U using Tapatalk

https://linuxize.com/post/how-to-upgrade-debian-9-stretch-to-debian-10-buster/

This has main article you might like and sed stretch to buster..

Sent from my SM-N960U using Tapatalk


RE: Upgrading Debian Stretch image to Buster - Malmgren - 08-27-2019

Did you check the upgrade instructions on https://github.com/ayufan-rock64/linux-build/releases? I guess they would be a good starting point, plus a change from stretch to buster in /etc/apt/sources.list.