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 upUpgrading qubes-core-agent in debian-8 template error due to running two apt-gets simultaneously #1889
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Sounds very plausible. I'll be working on this. |
adrelanos
referenced this issue
in marmarek/old-qubes-core-agent-linux
Apr 2, 2016
Merged
fixed qubes-core-agent upgrading double package manager lock #66
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Please check this out when convenient. |
andrewdavidwong
added
bug
C: Debian
labels
Apr 6, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Apr 13, 2016
Member
https://github.com/marmarek/qubes-core-agent-linux/pull/66#issuecomment-209089524
Not sure where discussion is best. In the ticket or in the pull request? I can imagine a number of people as subscribed to whole qubes-issues but not necessarily to all packages. So I guess discussion here is getting noticed by more people.
I think https://github.com/marmarek/qubes-core-agent-linux/pull/66 goes into the right direction, refactoring wise. But it does not actually solve this issue.
qubes-update-check.service -> upgrades-status-notify -> upgrades-installed-check -> apt-get update -> fail -> exit non-zero -> systemd recognized failed state.
The design of upgrades-status-notify and upgrades-installed-check make sense as is.
What about...
ExecStart=/usr/lib/qubes/upgrades-status-notify
--->
ExecStart=/usr/lib/qubes/upgrades-status-notify || true
?
|
https://github.com/marmarek/qubes-core-agent-linux/pull/66#issuecomment-209089524 Not sure where discussion is best. In the ticket or in the pull request? I can imagine a number of people as subscribed to whole qubes-issues but not necessarily to all packages. So I guess discussion here is getting noticed by more people. I think https://github.com/marmarek/qubes-core-agent-linux/pull/66 goes into the right direction, refactoring wise. But it does not actually solve this issue. qubes-update-check.service -> upgrades-status-notify -> upgrades-installed-check -> apt-get update -> fail -> exit non-zero -> systemd recognized failed state. The design of upgrades-status-notify and upgrades-installed-check make sense as is. What about...
--->
? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Apr 13, 2016
Member
Better ExecStart=-/usr/lib/qubes/upgrades-status-notify
Or maybe even instead of https://github.com/marmarek/qubes-core-agent-linux/pull/66, do
ExecStart=-/bin/sh -c 'if [ -e /etc/debian_version ]; then apt-get -q update; fi' ?
So the failure of apt-get update will not mark the service as failed.
|
Better |
rootkovska
removed
the
C:
label
Jun 30, 2016
andrewdavidwong
added
the
C: Debian
label
Jul 1, 2016
marmarek
closed this
in
marmarek/old-qubes-core-agent-linux@6cf30bf
Jul 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 14, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.7-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc23-cur-test
label
Jul 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 14, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.7-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc24-cur-test
label
Jul 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jul 14, 2016
Member
I don't think this is fixed. #1889 (comment) still applies. Please reopen.
|
I don't think this is fixed. #1889 (comment) still applies. Please reopen. |
marmarek
reopened this
Jul 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 14, 2016
Member
Automated announcement from builder-github
The package qubes-core-agent_3.2.7-1+deb8u1 has been pushed to the r3.2 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
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-jessie-cur-test
label
Jul 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 14, 2016
Member
Automated announcement from builder-github
The package qubes-core-agent_3.2.7-1+deb9u1 has been pushed to the r3.2 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
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-stretch-cur-test
label
Jul 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 14, 2016
Member
Automated announcement from builder-github
The package qubes-core-agent_3.2.7-1+deb7u1 has been pushed to the r3.2 testing repository for the Debian wheezy template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing wheezy-testing, then use the standard update command:
sudo apt-get update && sudo apt-get dist-upgrade
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-wheezy-cur-test
label
Jul 14, 2016
marmarek
closed this
in
marmarek/old-qubes-core-agent-linux@9b362a6
Jul 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 17, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.8-1.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc23-cur-test
label
Jul 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 17, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.8-1.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:
sudo yum update --enablerepo=qubes-vm-r3.2-current-testing
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-fc24-cur-test
label
Jul 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 17, 2016
Member
Automated announcement from builder-github
The package qubes-core-agent_3.2.8-1+deb8u1 has been pushed to the r3.2 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
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-jessie-cur-test
label
Jul 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 17, 2016
Member
Automated announcement from builder-github
The package qubes-core-agent_3.2.8-1+deb9u1 has been pushed to the r3.2 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
|
Automated announcement from builder-github The package
|
marmarek
added
the
r3.2-stretch-cur-test
label
Jul 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 28, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.9-1.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:
sudo yum update
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-fc23-stable
and removed
r3.2-fc23-cur-test
labels
Jul 28, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 28, 2016
Member
Automated announcement from builder-github
The package python2-dnf-plugins-qubes-hooks-3.2.9-1.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:
sudo yum update
|
Automated announcement from builder-github The package
|
marmarek
added
r3.2-fc24-stable
and removed
r3.2-fc24-cur-test
labels
Jul 28, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 31, 2016
Member
Automated announcement from builder-github
The package qubes-core-agent_3.2.10-1+deb8u1 has been pushed to the r3.2 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
|
Automated announcement from builder-github The package
|
isislovecruft commentedApr 2, 2016
When I do:
in my debian-8 template, it eventually somewhere calls an apt hook to restart the
/etc/systemd/system/qubes-check-update.servicesystemd service. That service file has:...which will obviously fail if called from an apt hook, due to two simultaneous apt sessions being open (i.e. it can't get the dpkg lock). It fails and displays the following output:
Running
systemctl status qubes-update-check.serviceshows: