|
Bugzilla – Full Text Bug Listing |
| Summary: | zypper dup move that doesnt change repositories for packages | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Marcus Rückert <mrueckert> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mls, qantas94heavy |
| Version: | 201408* | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Marcus Rückert
2014-08-27 14:08:32 UTC
"zypper dup" is intended to switch to a (new) distribution. It will re-arrange everything, is allowed to change vendor, architecture and do downgrades. Run "zypper up" instead. 'up' is intended to keep a system up-to-date. It will not change architectures or vendors. zypper up requires a lot of manual work if you run a rolling distribution (aka factory) you need to manually find out with trial and error *why* a package is not upgraded by "zypper up" we need something between zypper up and zypper dup. 'zypper dup --from factory' will dup only those packages which are available in factory (note: 'available in factory', not 'installed from factory') ? yes and on my machine right now it would basically move all my rubygem-* packages from d:l:r:e [1] to factory. it should not do that. if a package was installed from d:l:r:e it should stay there. zypper dup works only if you basically only have base distro repositories. Otherwise you get lot of switching around of packages between repositories. e.g. on my system it wants to switch repositories for 86 packages when i do zypper dup --from 16. [1] devel:languages:ruby:extensions. So if you basically want a 'dup' without 'vendor change', that's doable. I'll provide a libzypp where you can enable this. If it works reasonable for you, we make a feature out of it :) With libzypp-14.29.1 you can disable the VENDORCHANGE on dup like this: SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE=0 zypper dup Available in https://build.opensuse.org/project/show/zypp:Head. Please test if this gives useful results. tested and love it! :D please make it a zypp.conf option \\o \o/ o// Zypper up won't work on Factory. There are downgrades and only dup reflect on those. Erm sorry for the fuzz, on first load it showed me only first comment... So I didn't see it actually being worked on.. grmbl... It would be nice to handle the following scenario: 1. vendor change disabled in zypp.conf 2. zypper dup --from GNOME:STABLE:3.14 "You have vendor change disabled but the operation can only be completed if you allow vendor change" either - "Do you want to allow vendor change (y/n): " or - "Please rerun with --allow-vendor-change" zypper dup without vendor change is now the default on Tumbleweed. |