New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Clarification request/Documentation wrong/or Bug] Re-installation of a template does not work #2500

Closed
Wikinaut opened this Issue Dec 8, 2016 · 6 comments

Comments

Projects
None yet
3 participants
@Wikinaut

Wikinaut commented Dec 8, 2016

Qubes OS version (e.g., R3.2):

R3.2

https://www.qubes-os.org/doc/reinstall-template/ explains the command

`$ sudo qubes-dom0-update --action=reinstall

This fails with

ERROR: yum version installed in VM sys-firewall does not support --downloadonly option
ERROR_ only 'install' and 'upgrade' actions are supported (reinstall root)

Please fix either the underlying problem or the text on https://www.qubes-os.org/doc/reinstall-template/ .

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Dec 8, 2016

Member

On which TemplateVM is your sys-firewall based?

Member

andrewdavidwong commented Dec 8, 2016

On which TemplateVM is your sys-firewall based?

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Dec 8, 2016

debian-8 (I changed that some days ago)

Wikinaut commented Dec 8, 2016

debian-8 (I changed that some days ago)

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Dec 8, 2016

Member

That's probably why you're getting that message. The commands differ between yum/dnf and apt-get.

yum/dnf:

dnf reinstall <package>

apt-get:

apt-get install --reinstall <package>

Change your sys-firewall template to Fedora and try again.

Member

andrewdavidwong commented Dec 8, 2016

That's probably why you're getting that message. The commands differ between yum/dnf and apt-get.

yum/dnf:

dnf reinstall <package>

apt-get:

apt-get install --reinstall <package>

Change your sys-firewall template to Fedora and try again.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Dec 8, 2016

Member
Member

marmarek commented Dec 8, 2016

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut Dec 8, 2016

Thank you for your swift answers. (I also already supported the project with a donation, every user who can should do so.)

Wikinaut commented Dec 8, 2016

Thank you for your swift answers. (I also already supported the project with a donation, every user who can should do so.)

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Dec 8, 2016

Member

The actual reason is that yum version shipped in Debian-8 is too old to support everything needed for action reinstall [...]

Thanks for the correction, Marek. (I didn't even know yum was in debian-8!)

So, @Wikinaut, it appears the answer is: Either use a Fedora template or a newer Debian template for your sys-firewall.

Member

andrewdavidwong commented Dec 8, 2016

The actual reason is that yum version shipped in Debian-8 is too old to support everything needed for action reinstall [...]

Thanks for the correction, Marek. (I didn't even know yum was in debian-8!)

So, @Wikinaut, it appears the answer is: Either use a Fedora template or a newer Debian template for your sys-firewall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment