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 upqvm-dom0-upgrade fails #1685
Comments
mig5
referenced this issue
Jan 29, 2016
Closed
dom0 update errors ("Couldn't open file /var/lib/qubes/updates/repodata/repomd.xml") #1703
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mig5
Jan 29, 2016
I reproduce this, also does not matter whether sys-firewall is the UpdateVM or any other VM. Issue did not occur for me on 3.0, I think it started when I reinstalled with 3.1.
mig5
commented
Jan 29, 2016
|
I reproduce this, also does not matter whether sys-firewall is the UpdateVM or any other VM. Issue did not occur for me on 3.0, I think it started when I reinstalled with 3.1. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unixninja92
Jan 30, 2016
I'm also having this issue. I'm using a wifi connection. Have not tested with ethernet. This is on 3.1rc2. Internet works fine in personal domain.
unixninja92
commented
Jan 30, 2016
|
I'm also having this issue. I'm using a wifi connection. Have not tested with ethernet. This is on 3.1rc2. Internet works fine in personal domain. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mpalenik-redhat
Jan 31, 2016
Confirmed on fresh install of 3.1rc2 that runs using the grub2 menuentry Qubes, with Xen 4.6.0 and Linux 4.1.13-8.pvops.qubes.x86_64 (without updates).
I would provide more info from my custom.cfg, but there is afaik no way to copy content from dom0 terminal to another VMs (running firefox). The tutorial seems to be outdated (no file matching qubes-clipboard* lies on my /). Shall I file a bug?
I am using a wireless connection as well.
Note that the GUI app Software Updater is also not working. I would pass the screenshot, if it were not so clumsy. The title says [Dom0] No network connection available - Plasma Widgets shell and after clicking on Details < < there is a message cannot refresh cache when offline. Shall I file a separate bug for this?
Also note the command qvm-dom0-upgrade has been renamed to qvm-dom0-update. However, the command in question is qubes-dom0-update, so the title should be renamed accordingly.
mpalenik-redhat
commented
Jan 31, 2016
|
Confirmed on fresh install of I would provide more info from my I am using a wireless connection as well. Note that the GUI app Software Updater is also not working. I would pass the screenshot, if it were not so clumsy. The title says Also note the command |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesuser2
Jan 31, 2016
I may have had the same problem as Zrubi, and posted it in the mailing list, and had it answered by prance.
See here: https://groups.google.com/forum/?_escaped_fragment_=topic/qubes-users/Feew33DFAAM#!topic/qubes-users/Feew33DFAAM . Note my problem was with sudo qubes-dom0-update, and yours was with upgrade so they may be different problems. Somewhere along the way I have had a successful update without the fix recommended by prance, but that may have been with qubes v3.1 rc1. The update I received after the changes recommended by prance was pretty small, only two items totaling only about 313 k.
qubesuser2
commented
Jan 31, 2016
|
I may have had the same problem as Zrubi, and posted it in the mailing list, and had it answered by prance. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mpalenik-redhat
Jan 31, 2016
It seems we have a solution, then. Confirming it works as intended.
The solution is to run sudo qubes-dom0-update --enablerepo=qubes-*-testing to only update or sudo qubes-dom0-update --enablerepo=qubes-*-testing --clean to update and also clean the yum cache to avoid possible problems.
I suggest adding this to the Known issues for 3.1rc2, or creating an alias in ~/.bash_aliases or ~/.bashrc. The syntax is alias qubes-dom0-update='qubes-dom0-update --enablerepo=qubes-*-testing --clean' and alias sudo='sudo ' to also make the sudo work.
The fix:
echo "alias sudo='sudo '" >> ~/.bash_aliases &&
echo "alias qubes-dom0-update='qubes-dom0-update --enablerepo=qubes-*-testing --clean'" >> ~/.bash_aliases &&
cp ~/.bashrc ~/.bashrc.bak &&
echo ". ~/.bash_aliases" >> ~/.bashrc &&
. ~/.bashrc
To remove the fix:
rm ~/.bash_aliases && rm ~/.bashrc.bak; unalias sudo; unalias qubes-dom0-update;
After the fix:
sudo qubes-dom0-update
will work!
Needless to say, the updated file was small but seemed important, so I recommend to update. The Software Updater (GUI application) still does not work. The fedora-23: Package Updater works, but there are no updates. Probably none have been released yet, so it might be correct.
Note: I have corrected my post multiple times to improve the solution. Can anyone (besides me) confirm that the fix works?
mpalenik-redhat
commented
Jan 31, 2016
|
It seems we have a solution, then. Confirming it works as intended. The solution is to run I suggest adding this to the Known issues for 3.1rc2, or creating an alias in The fix: To remove the fix: After the fix: Needless to say, the updated file was small but seemed important, so I recommend to update. The Software Updater (GUI application) still does not work. The Note: I have corrected my post multiple times to improve the solution. Can anyone (besides me) confirm that the fix works? |
marmarek
added
bug
C: core
P: minor
labels
Jan 31, 2016
marmarek
added this to the Release 3.0 updates milestone
Jan 31, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 31, 2016
Member
The problem with missing /var/lib/qubes/updates/repodata/repomd.xml is just about about handling "no updates" situation. It doesn't affect installation of updates when they are available.
So, enabling testing repository, makes some (testing) updates available, so indeed it looks like the issue is gone.
|
The problem with missing So, enabling testing repository, makes some (testing) updates available, so indeed it looks like the issue is gone. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mpalenik-redhat
Feb 1, 2016
Interestingly, the problem won't reoccur after sudo qubes-dom0-update --disablerepo=qubes-*-testing --clean. I could not repoduce the error with sudo qubes-dom0-update nor sudo qubes-dom0-update --clean in cases when there are no updates. There have been no updates in any of the cases.
Note I unaliased the stuff from my fix for the test.
mpalenik-redhat
commented
Feb 1, 2016
|
Interestingly, the problem won't reoccur after Note I unaliased the stuff from my fix for the test. |
marmarek
referenced this issue
Feb 2, 2016
Closed
Documentation Fails: Proper Support Desired for Qubes 3.1-rc2; Suggestions for Improvement #1712
marmarek
self-assigned this
Feb 5, 2016
added a commit
to marmarek/old-qubes-core-admin
that referenced
this issue
Feb 8, 2016
marmarek
closed this
in
marmarek/qubes-core-admin-linux@2198986
Feb 8, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 8, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-linux-3.1.7-1.fc20 has been pushed to the r3.1 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.1-dom0-cur-test
label
Feb 8, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 22, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-linux-3.1.7-1.fc20 has been pushed to the r3.1 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
marmarek
added
r3.1-dom0-stable
and removed
r3.1-dom0-cur-test
labels
Feb 22, 2016
added a commit
to QubesOS/qubes-core-admin
that referenced
this issue
Feb 29, 2016
added a commit
to QubesOS/qubes-core-admin-linux
that referenced
this issue
Feb 29, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 29, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-linux-3.0.19-1.fc20 has been pushed to the r3.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.0-dom0-testing
label
Feb 29, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 13, 2016
Member
Automated announcement from builder-github
The package qubes-core-dom0-linux-3.0.19-1.fc20 has been pushed to the r3.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
Zrubi commentedJan 25, 2016
Hi,
Maybe related to #287
The very first update seems scary - hovewer it is only 'means' there is no updates jet:
[zrubi@dom0 ~]$ sudo qubes-dom0-update --clean
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
Running command on VM: 'sys-firewall'...
(Note: dnf will complain that the yum command has been deprecated.
This message is safe to ignore.)
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
Loaded plugins: yum-qubes-hooks
Cleaning repos: fedora qubes-dom0-current qubes-templates-itl updates
Cleaning up everything
Checking for dom0 updates...
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
No new updates available
file:///var/lib/qubes/updates/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /var/lib/qubes/updates/repodata/repomd.xml"
Trying other mirror.