Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot update dom0 kernel #2945
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taoeffect
Jul 30, 2017
This is so strange, if I simply run the command a second time it starts doing things and saying: "Package kernel-1000:4.4.14-11.pvops.qubes.x86_64 is already installed, skipping" yada yada,
Then it says a bunch more stuff, then:
Install 2 Packages
Total download size: 85 M
Installed size: 85 M
Downloading Packages:
And it sits there for a while... too long.
Don't think I've got time to wait for it to finish as I've gotta run, but if I remember correctly the last time it did this it ended with "nothing to be done" or something like that, and after rebooting it still didn't show any other resolution other than 800x600 in the Display prefs, and I don't think it updated the kernel.
uname -a currently says Linux dom0 4.4.14-11.. etc
If when I get back it does anything different than it did last time I got it to get to this point, then I'll update or close the issue. But I'm pretty sure it won't.
taoeffect
commented
Jul 30, 2017
|
This is so strange, if I simply run the command a second time it starts doing things and saying: "Package kernel-1000:4.4.14-11.pvops.qubes.x86_64 is already installed, skipping" yada yada, Then it says a bunch more stuff, then:
And it sits there for a while... too long. Don't think I've got time to wait for it to finish as I've gotta run, but if I remember correctly the last time it did this it ended with "nothing to be done" or something like that, and after rebooting it still didn't show any other resolution other than 800x600 in the Display prefs, and I don't think it updated the kernel.
If when I get back it does anything different than it did last time I got it to get to this point, then I'll update or close the issue. But I'm pretty sure it won't. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taoeffect
Jul 30, 2017
Oh, it just finished, with error:
Error: Error downloading packages:
Cannot download rpm/kernel-4.8.12-12.pvops.qubes.x86_64.rpm: All mirrors were tried
Which doesn't make sense because the machine is connected to the Internet and I can load websites.
taoeffect
commented
Jul 30, 2017
•
|
Oh, it just finished, with error:
Which doesn't make sense because the machine is connected to the Internet and I can load websites. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
0spinboson
Jul 30, 2017
Try current-testing rather than unstable, contains 4.9 kernel. Not sure what the errors are about, sorry.
0spinboson
commented
Jul 30, 2017
•
|
Try current-testing rather than unstable, contains 4.9 kernel. Not sure what the errors are about, sorry. |
andrewdavidwong
added
bug
C: kernel
labels
Aug 1, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Aug 1, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taoeffect
Aug 1, 2017
OK, good news, but first: trying current-testing didn't help, I just got the same bizarre error about it being unable to download the packages after trying all mirrors.
So I simply tried on a different connection (with the original command to fetch unstable) and magically it worked!
Sorta, it told me that I had to run the command with additional flags that were not mentionedi n the documentation: --best --allowerasing
So the final command that worked (on a different connection) was:
sudo qubes-dom0-update --enablerepo=qubes-dom0-unstable kernel kernel-qubes-vm --best --allowerasing
Upon rebooting the display automatically picked the highest resolution and I breathed a sigh of relief. I updated the template VM to the latest fedora as well and now the command connections to the repositories on even the original connection. Again, bizarre, don't know what's going on with that.
So I'm not going to close this issue because it seems that I ran into various bugs along the way; I'll leave this open so that the various problems that I ran into (code, documentation, and otherwise) can be addressed hopefully in a future update, and also just to document all the weirdness I ran into.
taoeffect
commented
Aug 1, 2017
•
|
OK, good news, but first: trying So I simply tried on a different connection (with the original command to fetch unstable) and magically it worked! Sorta, it told me that I had to run the command with additional flags that were not mentionedi n the documentation: So the final command that worked (on a different connection) was:
Upon rebooting the display automatically picked the highest resolution and I breathed a sigh of relief. I updated the template VM to the latest fedora as well and now the command connections to the repositories on even the original connection. Again, bizarre, don't know what's going on with that. So I'm not going to close this issue because it seems that I ran into various bugs along the way; I'll leave this open so that the various problems that I ran into (code, documentation, and otherwise) can be addressed hopefully in a future update, and also just to document all the weirdness I ran into. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 1, 2017
Member
Regarding original issue, looks like #2348, which was fixed long time ago. Maybe you haven't installed updates?
|
Regarding original issue, looks like #2348, which was fixed long time ago. Maybe you haven't installed updates? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
taoeffect
Aug 2, 2017
Regarding original issue, looks like #2348, which was fixed long time ago. Maybe you haven't installed updates?
I think I ran that after I updated dom0, so no, I don't think it's been fixed, and even supposing it were, it still shouldn't happen in the released version that's on the website.
There's also:
- the issue of updating the docs to add
--best --allowerasing - the bizarre issue with it failing to download the update from all mirrors
- having to run the command twice because the first time generates
sed: can't read /var/lib/qubes/dom0-updates/etc/yum.conf: No such file or directory
taoeffect
commented
Aug 2, 2017
•
I think I ran that after I updated dom0, so no, I don't think it's been fixed, and even supposing it were, it still shouldn't happen in the released version that's on the website. There's also:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
PsychicCat
commented
Sep 3, 2017
|
had the exact same problem with 3.2, fixed it thanks to you @taoeffect! |
added a commit
to marmarek/old-qubes-core-agent-linux
that referenced
this issue
Sep 3, 2017
marmarek
referenced this issue
in QubesOS/qubes-core-agent-linux
Sep 3, 2017
Merged
dom0-updates: do not modify yum.conf #49
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 3, 2017
Member
the issue of updating the docs to add --best --allowerasing
No, the correct things is to add --action=update.
No, the correct things is to add |
marmarek
closed this
in
QubesOS/qubes-core-agent-linux#49
Sep 11, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Sep 15, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.8-1.fc24 has been pushed to the r4.0 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Sep 15, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc24-cur-test
label
Sep 15, 2017
qubesos-bot
referenced this issue
in QubesOS/updates-status
Sep 15, 2017
Closed
core-agent-linux v4.0.8 (r4.0) #216
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Sep 15, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.8-1.fc25 has been pushed to the r4.0 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r4.0-current-testing
qubesos-bot
commented
Sep 15, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-fc25-cur-test
label
Sep 15, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Sep 15, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.8-1+deb8u1 has been pushed to the r4.0 testing repository for the Debian jessie template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing jessie-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Sep 15, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-jessie-cur-test
label
Sep 15, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Sep 15, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.8-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian stretch template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Sep 15, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-stretch-cur-test
label
Sep 15, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc24 has been pushed to the r4.0 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-fc24-stable
and removed
r4.0-fc24-cur-test
labels
Oct 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-4.0.11-1.fc25 has been pushed to the r4.0 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-fc25-stable
and removed
r4.0-fc25-cur-test
labels
Oct 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.11-1+deb8u1 has been pushed to the r4.0 stable repository for the Debian jessie template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-jessie-stable
and removed
r4.0-jessie-cur-test
labels
Oct 17, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Oct 17, 2017
Automated announcement from builder-github
The package qubes-core-agent_4.0.11-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian stretch template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
Oct 17, 2017
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r4.0-stretch-stable
and removed
r4.0-stretch-cur-test
labels
Oct 17, 2017
added a commit
to QubesOS/qubes-core-agent-linux
that referenced
this issue
May 7, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 7, 2018
Automated announcement from builder-github
The package core-agent-linux has been pushed to the r3.2 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
May 7, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-centos7-cur-test
label
May 7, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
May 7, 2018
Closed
core-agent-linux v3.2.29 (r3.2) #519
qubesos-bot
added
the
r3.2-fc25-cur-test
label
May 7, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 7, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-3.2.29-1.fc26) has been pushed to the r3.2 testing repository for the Fedora template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
qubesos-bot
commented
May 7, 2018
|
Automated announcement from builder-github The component
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 7, 2018
Automated announcement from builder-github
The package qubes-core-agent_3.2.30-1+deb9u1 has been pushed to the r3.2 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
May 7, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r3.2-stretch-cur-test
label
May 7, 2018
qubesos-bot
added
r3.2-buster-stable
r3.2-jessie-stable
and removed
r3.2-buster-cur-test
r3.2-jessie-cur-test
labels
May 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 14, 2018
Automated announcement from builder-github
The package qubes-core-agent_3.2.30-1+deb9u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
qubesos-bot
commented
May 14, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
r3.2-stretch-stable
r3.2-fc25-stable
and removed
r3.2-stretch-cur-test
r3.2-fc25-cur-test
labels
May 14, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
May 14, 2018
Automated announcement from builder-github
The component core-agent-linux (including package python2-dnf-plugins-qubes-hooks-3.2.30-1.fc26) has been pushed to the r3.2 stable repository for the Fedora template.
To install this update, please use the standard update command:
sudo yum update
qubesos-bot
commented
May 14, 2018
|
Automated announcement from builder-github The component
|
taoeffect commentedJul 30, 2017
•
edited
Edited 1 time
-
taoeffect
edited Jul 30, 2017 (most recent)
Qubes OS version (e.g.,
R3.2):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):fedora-23
While trying to get some other screen resolution other than 800x600 on an ASUS Q325 thin laptop thing by following these instructions, it all fails.
Expected behavior:
I follow "Kernel Upgrade" instructions here by running
sudo qubes-dom0-update --enablerepo=qubes-dom0-unstable kernel kernel-qubes-vm, and it does whatever it's supposed to.Actual behavior:
It runs the command on sys-firewall, there's a red error message that says
xrandr: Failed to get size of gamma for output default, followed by a Traceback (manually typed out, hope you appreciate the effort I'm going into for this):That part was in white.
On the very next line, in red:
Steps to reproduce the behavior:
Err, what I said above.
General notes:
I think I got it to "work" yesterday by opening up a package manager thing in thing in the sys-firewall vm and doing an update check, and then running the update command above again, but it did not seem to update the kernel, and the additional instructions of running
sudo grub2-mkconfig -o /boot/grub2/grub.cfgare impossible to follow becausegrub2-mkconfigis not a command that exists in dom0.Related issues: