Commit Graph

12 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
ce9f6b2fa7
Increase upgrades-status-notify verbosity
Print errors on stderr. yum_output variable isn't used anywhere, so
not capturing stderr wont be a problem either.
2021-01-03 04:55:10 +01:00
Demi Marie Obenour
a42b3806b6
Metadata is now signed 2020-12-22 16:08:57 -05:00
Demi Marie Obenour
1ea361bc79
Always pass ‘-y’ to dnf
DNF should never be used unattended without ‘-y’.
2020-12-22 15:53:15 -05:00
Frédéric Pierret (fepitre)
c16fb05d2d
dnf-plugin: restrict to only version provided by plateform-python
Fix multiple indentations
2020-10-30 10:46:56 +01:00
icequbes1
adf6568670
Overwrite .rpmdb for debian updatevm
Resolves issue where the dom0 rpm database does not get used on
successive calls to qubes-dom0-update for debian updatevms.

Also resolves "cannot remove .rpmdbold.####" occurrences.

qubesos/qubes-issues#6124
2020-10-28 06:21:20 -07:00
Frédéric Pierret (fepitre)
76142139a0
package-managers: handle Gentoo 2020-07-26 14:31:05 +02:00
Marek Marczykowski-Górecki
587ac3b3a1
dnf: update for DNF 4+ API
Correctly extract packages from transaction items:
 - old (pre DNF 4): iterate over item.installs()
 - new (DNF 4+): item.pkg

The old DNF is not supported anymore, so do not care about it.
2020-06-27 05:37:55 +02:00
Marek Marczykowski-Górecki
3f728df888
Revert "Fix updates notification on Fedora 29"
The https://bugzilla.redhat.com/1650446 is fixed for enough time already
(included in all supported distributions). The workaround for the bug
have two issues:
 - may download repository metadata again
 - ignores various settings, including proxy, which breaks it in
   TemplateVM

This reverts commit 8d7313b928.
2020-06-27 05:35:19 +02:00
Marek Marczykowski-Górecki
b02dd6a768
dom0-updates: output diagnostics messages to stderr
Do not interfere with yum/dnf output, which can be parserd by salt in
dom0. This is especially the case for listing available updates.
2020-03-16 02:10:14 +01:00
unman
af20dbc3db
Disable package caching in apt operations 2020-01-15 18:47:53 +00:00
Amadeusz Piotr Żołnowski
0b8e12c499
Add README.md to package-managers 2020-02-05 00:12:23 +00:00
Amadeusz Piotr Żołnowski
4de377bc3b
Split items in misc directory by topic 2020-02-04 23:59:09 +00:00