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

qubes-core-vm - missing dependencies #1732

Closed
Zrubi opened this Issue Feb 9, 2016 · 10 comments

Comments

Projects
None yet
4 participants
@Zrubi
Member

Zrubi commented Feb 9, 2016

it seems qubes-core-vm has some missing dependencies.

If you try to use a fedora-minimal as an update VM the dom0 updates will fail because of missing packeges:

  • yum
  • yum-dnf
  • and probably some more - because dom-update is still hanging.
@Zrubi

This comment has been minimized.

Show comment
Hide comment
@Zrubi

Zrubi Feb 9, 2016

Member

more precisely those scripts are trying to use yum:
/usr/lib/qubes/qubes-download-dom0-updates.sh
/usr/lib/qubes/upgrades-installed-check

they are from package:
qubes-core-vm

But that package do not pull the any packages providing yum.

Member

Zrubi commented Feb 9, 2016

more precisely those scripts are trying to use yum:
/usr/lib/qubes/qubes-download-dom0-updates.sh
/usr/lib/qubes/upgrades-installed-check

they are from package:
qubes-core-vm

But that package do not pull the any packages providing yum.

@Zrubi

This comment has been minimized.

Show comment
Hide comment
@Zrubi

Zrubi Feb 9, 2016

Member

and of course the affected distro is: fedora 23

Member

Zrubi commented Feb 9, 2016

and of course the affected distro is: fedora 23

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 9, 2016

Member

Ok, the question here is: do we want to support dom0 updates download in minimal template out of the box? Or rather add this to a list of "optional" features and document "if you want to use minimal-based VM to download dom0 updates, install X, Y and Z"?

Member

marmarek commented Feb 9, 2016

Ok, the question here is: do we want to support dom0 updates download in minimal template out of the box? Or rather add this to a list of "optional" features and document "if you want to use minimal-based VM to download dom0 updates, install X, Y and Z"?

@marmarek marmarek added this to the Release 3.0 updates milestone Feb 9, 2016

@Zrubi

This comment has been minimized.

Show comment
Hide comment
@Zrubi

Zrubi Feb 9, 2016

Member

Well, because that script is part of a package that is already installed in the minimal package - I would expect that it will works without adding more dependencies manually.

But for me it is acceptable if we only document the fact that more packages are needed for some feature to work. - Just like It was the case with tinyproxy, however that was a completly independent package.

Because I see that minimal packeges should be really minimal - I would chose a package without correct dependencies instead of bloated template. - If you accept this too, I will find out what else is needed for a working UpdateVM, and will make a separate section for this in the Documentation

Member

Zrubi commented Feb 9, 2016

Well, because that script is part of a package that is already installed in the minimal package - I would expect that it will works without adding more dependencies manually.

But for me it is acceptable if we only document the fact that more packages are needed for some feature to work. - Just like It was the case with tinyproxy, however that was a completly independent package.

Because I see that minimal packeges should be really minimal - I would chose a package without correct dependencies instead of bloated template. - If you accept this too, I will find out what else is needed for a working UpdateVM, and will make a separate section for this in the Documentation

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 9, 2016

Member

On Tue, Feb 09, 2016 at 05:22:00AM -0800, Zrubi wrote:

Well, because that script is part of a package that is already installed in the minimal package - I would expect that it will works without adding more dependencies manually.

This is how minimal template is done... To do it right, we probably
should split qubes-core-vm package into several smaller ones and install only
some of them. But in practice probably we will not have time for this :(

Because I see that minimal packeges should be really minimal - I would chose a package without correct dependencies instead of bloated template. - If you accept this too, I will find out what else is needed for a working UpdateVM, and will make a separate section for this in the Documentation

Yes, I think this is the way to go, at least for now. If required
packages turns out to be really small, we can consider including them by
default.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Feb 9, 2016

On Tue, Feb 09, 2016 at 05:22:00AM -0800, Zrubi wrote:

Well, because that script is part of a package that is already installed in the minimal package - I would expect that it will works without adding more dependencies manually.

This is how minimal template is done... To do it right, we probably
should split qubes-core-vm package into several smaller ones and install only
some of them. But in practice probably we will not have time for this :(

Because I see that minimal packeges should be really minimal - I would chose a package without correct dependencies instead of bloated template. - If you accept this too, I will find out what else is needed for a working UpdateVM, and will make a separate section for this in the Documentation

Yes, I think this is the way to go, at least for now. If required
packages turns out to be really small, we can consider including them by
default.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@adrelanos

This comment has been minimized.

Show comment
Hide comment
@adrelanos

adrelanos Feb 9, 2016

Member

Marek Marczykowski-Górecki:

do we want to support dom0 updates download in minimal template out of the box?

No. Anyhow. Make minimal templates cause minimal time effort since it's
a geeky feature.

Member

adrelanos commented Feb 9, 2016

Marek Marczykowski-Górecki:

do we want to support dom0 updates download in minimal template out of the box?

No. Anyhow. Make minimal templates cause minimal time effort since it's
a geeky feature.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Feb 9, 2016

Member

Strange. My UpdateVM is sys-firewall, based on fedora-23-minimal, and everything works fine. This is on R3.0.

Member

andrewdavidwong commented Feb 9, 2016

Strange. My UpdateVM is sys-firewall, based on fedora-23-minimal, and everything works fine. This is on R3.0.

@Zrubi

This comment has been minimized.

Show comment
Hide comment
@Zrubi

Zrubi Feb 11, 2016

Member

@axon-qubes Are you created that template from the rpm? or upgraded it from f22?
also please check if yum and/or dnf-yum packege is installed.

Member

Zrubi commented Feb 11, 2016

@axon-qubes Are you created that template from the rpm? or upgraded it from f22?
also please check if yum and/or dnf-yum packege is installed.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Feb 12, 2016

Member

@Zrubi Ah, good point. It must have been upgraded from F22.

Member

andrewdavidwong commented Feb 12, 2016

@Zrubi Ah, good point. It must have been upgraded from F22.

@Zrubi

This comment has been minimized.

Show comment
Hide comment
@Zrubi

Zrubi Feb 26, 2016

Member

It seems the only missing packages needed for qubes-dom-update is:
yum
dnf-yum

I will update the documentation with this info soon.

Member

Zrubi commented Feb 26, 2016

It seems the only missing packages needed for qubes-dom-update is:
yum
dnf-yum

I will update the documentation with this info soon.

@Zrubi Zrubi closed this Feb 26, 2016

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