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-dom0-update errorr: ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/ #2203

Open
adrelanos opened this Issue Jul 27, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@adrelanos
Member

adrelanos commented Jul 27, 2016

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

Qubes R3.2 with testing repository

Affected TemplateVMs (e.g., fedora-23, if applicable):

dom0 / fedora-23


Expected behavior:

///

Actual behavior:

Relevant bash xtrace. (But the issue happened before with xtrace disabled.)

+ find /var/lib/qubes/dom0-updates/var/cache/yum -name '*.rpm' -print0
+ xargs -0 -r ln -f -t /var/lib/qubes/dom0-updates/packages/
ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/xen-hypervisor-4.6.1-20.fc23.x86_64.rpm' with '/var/lib/qubes/dom0-updates/var/cache/yum/x86_64/3.2/qubes-dom0-current-testing-710203cff389f33b/packages/xen-hypervisor-4.6.1-20.fc23.x86_64.rpm'
ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/xen-libs-4.6.1-20.fc23.x86_64.rpm' with '/var/lib/qubes/dom0-updates/var/cache/yum/x86_64/3.2/qubes-dom0-current-testing-710203cff389f33b/packages/xen-libs-4.6.1-20.fc23.x86_64.rpm'
ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/xen-licenses-4.6.1-20.fc23.x86_64.rpm' with '/var/lib/qubes/dom0-updates/var/cache/yum/x86_64/3.2/qubes-dom0-current-testing-710203cff389f33b/packages/xen-licenses-4.6.1-20.fc23.x86_64.rpm'
ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/xen-runtime-4.6.1-20.fc23.x86_64.rpm' with '/var/lib/qubes/dom0-updates/var/cache/yum/x86_64/3.2/qubes-dom0-current-testing-710203cff389f33b/packages/xen-runtime-4.6.1-20.fc23.x86_64.rpm'
ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/xen-hvm-4.6.1-20.fc23.x86_64.rpm' with '/var/lib/qubes/dom0-updates/var/cache/yum/x86_64/3.2/qubes-dom0-current-testing-710203cff389f33b/packages/xen-hvm-4.6.1-20.fc23.x86_64.rpm'
ln: will not overwrite just-created '/var/lib/qubes/dom0-updates/packages/xen-4.6.1-20.fc23.x86_64.rpm' with '/var/lib/qubes/dom0-updates/var/cache/yum/x86_64/3.2/qubes-dom0-current-testing-710203cff389f33b/packages/xen-4.6.1-20.fc23.x86_64.rpm'
+ RETCODE=123

Steps to reproduce the behavior:

sudo qubes-dom0-update
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 27, 2016

Member

This is most likely because the package was downloaded first from testing repository, but later was downloaded from stable - so the same package is in two places.

Adding --clean option should workaround the problem for now.

Member

marmarek commented Jul 27, 2016

This is most likely because the package was downloaded first from testing repository, but later was downloaded from stable - so the same package is in two places.

Adding --clean option should workaround the problem for now.

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