Comments (6)
I took a quick look at this issue. The following patch should solve it:
https://www.gitorious.org/steap-opensuse/zypper/commit/e29722ebb1e72ba470512d2e1b8a4b584f51b8d4
When running "zypper in --ignore-unknown pkg1 pkg2..." or 'zypper in -i pkg1 pkg2", zypper will ignore packages it cannot find anywhere, and return 0.
I am new to openSUSE, but I hope this helps.
from zypper.
Thanks for doing the 1st step. This option should IMO be applicable to every command that takes such a list of packages (or patches).
Maybe it could even be a global option, so it can later be used with repository or lock commands as well.
And of course it needs to be mentioned in the manpage.
from zypper.
On 11/22/2012 10:47 AM, Michael Andres wrote:
Thanks for doing the 1st step. This option should IMO be applicable to every command that takes such a list of packages (or patches).
Maybe it could even be a global option, so it can later be used with repository or lock commands as well.
I'll add --ignore-unknown as a global option, then.
And of course it needs to be mentioned in the manpage.
OK, I'll update the manpage as well.
The "tests" directory has not been updated in a while. Should I add a
test for this option anyway ? I used a simple shell script to make sure
my first patch worked well.
WBR,
Cyril Roelandt.
from zypper.
I don't think it needs a dedicated testcase.
from zypper.
On 11/26/2012 10:56 AM, Michael Andres wrote:
I don't think it needs a dedicated testcase.
I made it a global option, that currently applies to
install/remove/source install/update and updated the man page. The code
can be found at :
https://gitorious.org/steap-opensuse/zypper/commit/e590d950839c0487b723dbc87c796121fea53ec0
WBR,
Cyril Roelandt.
from zypper.
Thanks for the patch. Commit cdf3877 fixes this issue.
from zypper.
Related Issues (20)
- Zypper doesn't show true mirror which has invalid content HOT 5
- Inconsistent expected behaviour of zypper in within docker build HOT 5
- zypper repo priorities by default dont allow repo demotion HOT 7
- Unable to install protonmail bridge due to missing dependencies HOT 2
- Zyper failed to install software HOT 1
- [Noob Question] Zypper syncing with repos is really slow
- No download progress indicator (when installing RPM via external URI). HOT 1
- [Feature Request] History rollback
- [Feature Request] Use PolKit for graphical authentication when not invoked as superuser.
- Crash on Ctrl-C HOT 2
- `zypper search --installed-only` includes packages which aren't installed HOT 3
- `zypper` not forwarding `curl` error messages. HOT 10
- Zypper info exit code HOT 1
- Digest verification failed for file 'qemu-seabios-1.16.2_3_gd478f380-2.1.noarch.rpm' HOT 7
- Unable to install node js 14 in suselinux 12.3
- Support for more package manager options for commands
- zypper is really slow HOT 7
- [Feature request] Support for "pointer files" for corresponding repo when 'zypper dup' -ing (Leap) HOT 1
- [Feature request] zypper --releasever=XX.x dup: show list of releasever-changed repo addresses and unchanged adresses HOT 1
- Some namespaced recommends or supplements are still considered even with `--no-recommends` HOT 2
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 zypper.