Debian 10 Buster upgrade

119 views
Skip to first unread message

Kikko

unread,
Jul 15, 2019, 7:06:21 AM7/15/19
to qubes-users
Hi, I see that many have updated to Debian 10 Buster, which I think is also essential to update Whonix, but to me the "full-upgrade" removes the qubes- * packages and breaks the connection with Qubes.
I would like to know how to upgrade to Debian 10 Buster, all the procedures lead inexorably to having the TemplateVM no longer working.
Thank you

Chris Laprise

unread,
Jul 15, 2019, 8:57:59 AM7/15/19
to Kikko, qubes-users
Hi,

You have to replace 'stretch' with 'buster' in _both_ of these files:

/etc/apt/sources.list
/etc/apt/sources.list.d/qubes-r4.list

If you had previously added 'testing' or 'sid' you may have to also
comment those out for the upgrade procedure.

Then do the following:

apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get autoremove

This process worked for me.

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

thedigit...@gmail.com

unread,
Jul 15, 2019, 10:25:41 AM7/15/19
to qubes-users
Il giorno lunedì 15 luglio 2019 14:57:59 UTC+2, Chris Laprise ha scritto:
> Hi,
>
> You have to replace 'stretch' with 'buster' in _both_ of these files:
>
> /etc/apt/sources.list
> /etc/apt/sources.list.d/qubes-r4.list
>
> If you had previously added 'testing' or 'sid' you may have to also
> comment those out for the upgrade procedure.
>
> Then do the following:
>
> apt-get update
> apt-get upgrade
> apt-get dist-upgrade
> apt-get autoremove
>
> This process worked for me.


Thanks Chris, I had already replaced Stretch with Buster with the command:
sudo sed -i 's / stretch / buster / g' /etc/apt/sources.list
sudo sed -i 's / stretch / buster / g' /etc/apt/sources.list.d/*
I uncommented in qubes-r4.list the candidades and testing reposity.
However, I have other lists of repositories due to different tests I did before starting to test on a cloned VM.
When I try to do apt dist-upgrade removes me:
"The following packages will be REMOVED:
qubes-gui-agent qubes-vm-dependencies "
Continuing the upgrade the terminal closes and I reach the VM only from the console on Dom0.

I saw that there are two templeateVM in the repository qubes:
qubes-template-debian-8.noarch: Qubes template for debian-8
qubes-template-debian-9-minimal.noarch: Qubes template for debian-9-minimal

user @ deb10: ~ $ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU / Linux 9.9 (stretch)
Release: 9.9
Codename: stretch

Kernel: Linux 4.19.56-1.pvops.qubes.x86_64

Do you say that it's better for me to start all over again by deleting the Debian templeateVM I use?




thedigit...@gmail.com

unread,
Jul 17, 2019, 6:55:22 PM7/17/19
to qubes-users
sudo qubes-dom0-update --enablerepo=qubes-templates-itl-testing qubes-template-debian-10

ok

Reply all
Reply to author
Forward
0 new messages