Comments (4)
This is tricky. You are right that the download
command does not support the --skip-broken
switch. But the problem is, that to resolve all curl
package dependencies we basically "pretend" we have an empty system, try to install the curl
package there, and then download every package in the transaction. But if you add --exclude=basesystem
, transaction resolution fails (because basesystem
is one of curl
dependencies). Unfortunately, we do not get something like a "partial transaction" from the solver; we don't get any transaction at all. Which in turn means dnf does not know what to download.
So the basic --skip-broken
support for the download
command might mean, that instead of raising an error, the curl
package (and it's entire dependency tree) would be skipped from downloading. Which is not exactly what you need, I guess.
from dnf-plugins-core.
I haven't used it during a regular install
, but does the --skip-broken
indicate that any trees missing dependencies should be skipped, or that it should simply ignore a missing dependency when encountered in a tree and install anything it does know about? I assumed the latter. If that's how it worked, then I would think the download
could have just passed the flag thru to the install --download-only --destdir
command that it sounds like it's effectively running in the background.
from dnf-plugins-core.
Actually the former. DNF does not allow you to install packages with missing dependencies. You can do it using underlying rpm but not with DNF. And download --resolve
works similarly - either you can download the whole dependency tree, or it fails and does not download anything.
from dnf-plugins-core.
Well dang. Digging into the code more, it appears all the logic is in python-hawkey
and/or libdnf
to do any dependency tree operations. Since my primary issue is wanting to pre-prune based on what's already available on a target system different from the one I'm currently on, it appears I'm out of luck because that's not possible from python-hawkey
.
from dnf-plugins-core.
Related Issues (20)
- Please provide better explanation of "trigger file does not exist. exiting quietly." error message HOT 1
- Error triggered when multiple Copr repositories are specified HOT 2
- `dnf copr enable` doesn't work on Fedora Rawhide HOT 2
- DNF version lock for kernel version HOT 1
- No local plugin on rhel HOT 3
- config-manager --add-repo HOT 1
- Syntax of `dnf config-manager --setopt` HOT 3
- Will these plugins be rewritten to C for DNF5? HOT 9
- Flag --poweroff does not poweroff my F38 system after a successful upgrade HOT 1
- Improve dnf config-manager --setopt documentation
- `generate_completion_cache` does not respect `--setopt=cachedir` HOT 5
- Deprecate needs-restarting
- Caching local plugin repo data prevents use of locally stored packages when used in back to back updates HOT 5
- Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli' HOT 1
- RFE: please provide `dnf-builddep --{with|without} <foo>` option
- copr plugin: _guess_chroot does not handle centos stream properly HOT 1
- `dnf offline-upgrade --poweroff reboot` causes a post-upgrade reboot instead of the intended shutdown HOT 1
- `dnf download` with `--debuginfo` or `--debugsource` doesn't respect `--resolve` HOT 1
- RFE: repoclosure shouldn't fail on conditional dependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnf-plugins-core.