Debian-12-minimal unusable

Hello everyone,

I am trying to create a standalone qube using the debian-12-minimal template.

I have downloaded debian-12-minimal via the Template Manager and it shows a total installed size of approx 1.3 Gb in the Qube Manager.

However I am unable to install anything into the qube as any sudo command requires a password, and the password I have set for my core template debian 12 does not work.

Also the system informs me that updates are available for this qube but when I try to update it then it fails with an error.

I have looked in the forums but have not found any information that can help me with this, apologies if I missed something simple.

https://www.qubes-os.org/doc/templates/minimal/#passwordless-root

3 Likes

Also note that you need to install qubes-core-agent-networking package in the template before you create the standalone qube based on this template or you won’t have network in your standalone and won’t be able to install packages there without configuring and using Qubes update proxy inside it instead of normal network:

  • Networking: qubes-core-agent-networking, and whatever network tools you want. N.B. minimal templates do not include any browser.
1 Like

One of my favorite things about using Qubes is the community and the willingness of users to help out each other, many thanks guys.

I followed your advice above and was able to install apps into the minimal template as follows:

sudo apt install qubes-core-agent-networking
sudo apt install qubes-core-agent-network-manager
sudo apt install qubes-core-agent-dom0-updates
sudo apt install gdebi
sudo apt install nautilus (files app)
sudo apt install gnome-terminal
sudo apt install gnome-software

However, when I try to install a package with GDebi it crashes, and when I try to use any apps from the standalone qube based on this template, none of them even load.

Minimal templates are recommended for advanced users, which unfortunately I am not, I have a feeling that I am missing a bunch of core packages required to resolve these issues, but have no idea what they might be.

Maybe I am in over my head and should give up on this idea.

Do these apps work in the template?
Did you shutdown/restart template after installing the packages there before creating the standalone based on this template?

Interestingly the apps are working in the template, I tried restarting both qubes, and even restarting the laptop, but no luck.

In the template GDebi crashes when you click install, and software give the message that I do not have permission to install, I believe this is happening due to not having the rootless password, but the issue with the standalone is strange…

It seems you’ve created your standalone before you shutdown/restarted your template after making changes there so you’ve created your standalone based on the old template image without your changes.
You need to shutdown/restart your template to “apply” the changes there for the qubes based on it.
Recreate your standalone qube.

I have a feeling that you might be right there.

Anyway, I caved in and installed the passwordless root package, and everything is working fine now.

Many thanks for your assistance.