[Bug 305445] New: zypper support for installing different architectures
https://bugzilla.novell.com/show_bug.cgi?id=305445 Summary: zypper support for installing different architectures Product: openSUSE 10.3 Version: Beta 2 Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: martin.schlander@gmail.com QAContact: kkaempf@novell.com Found By: --- It would be very nice if zypper would have support for installing other architectures than the default. In some circumstances users may want to install i586 versions of packages on an x86_64 system - for example Firefox, Java, maybe videoplayers.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445#c1 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com, dmacvicar@novell.com QAContact|kkaempf@novell.com |visnov@novell.com --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2007-08-28 10:58:39 MST --- Yes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445#c2 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kkaempf@novell.com |mls@novell.com --- Comment #2 from Klaus Kämpf <kkaempf@novell.com> 2007-10-09 03:51:06 MST --- Michael, thats probably for you now ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445#c3 --- Comment #3 from Michael Schröder <mls@novell.com> 2007-10-09 04:58:04 MST --- You mean an ".arch" extension like in yum? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com --- Comment #4 from Ján Kupec <jkupec@novell.com> 2008-03-28 04:12:56 MST --- If you ask about the syntax, it could go like this: zypper install MozillaFirefox[[op]edition][@arch] I don't know what other tools use, but i will check and take care of that. What we need is a way to tell the solver to prefer a specific architecture per resolvable/selectable. For zypp this could mean extending the Capability by Arch (since the apps should use solver.addRequires(cap) to get the stuff installed) and passing that on to the sat solver. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c5 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com --- Comment #5 from Michael Andres <ma@novell.com> 2008-04-01 09:25:22 MST --- Not extend Capability. We're about to remove/rewrite solver.addRequires(cap), because Capabilities are not sufficient here. You want to file special solver requests here: install foo update foo delete baa; edition = 1.2.3 install foo; arch = i386; repository = myrepo And you will then be able to apply further restrictions to a job, depending on what the satsolver supports. As soon as we're able to ask the satsolver to install one out of a set of solvables, we can implement as many requests restrictions as we like. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c6 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |ma@novell.com --- Comment #6 from Michael Schröder <mls@novell.com> 2008-04-16 03:11:21 MST --- Regarding the syntax: Other tools use ".<arch>" to specify the architecture. Regarding sat-solver support: the implementation is done. There are two methods to specify the arch: 1) use the new SOLVER_INSTALL_SOLVABLE_ONE_OF 2) create a "name.arch" relation and use the SOLVER_INSTALL_SOLVABLE_NAME with it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c7 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |schubi@novell.com --- Comment #7 from Ján Kupec <jkupec@novell.com> 2008-04-16 03:47:25 MST --- Schubi, what's the status of this in libzypp? I'd like to code this into zypper this week. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c8 --- Comment #8 from Ján Kupec <jkupec@novell.com> 2008-04-16 03:52:47 MST --- (In reply to comment #6 from Michael Schröder) Regarding the syntax: OK, i can use .<arch>. I'm just concerned how it would do, if are to support regexes in the install command. But i guess regexes already use so many special characters, that we just will need to restrict its use to zypper install <regex>, no archs or repos or what. We already want to use 'zypper install <repo>:name' to request a per-package repo anyway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c9 --- Comment #9 from Michael Andres <ma@novell.com> 2008-04-16 07:22:09 MST ---
2) create a "name.arch" relation
Requires support in libzypp. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c10 --- Comment #10 from Ján Kupec <jkupec@novell.com> 2008-04-16 10:28:13 MST --- (In reply to comment #9 from Michael Andres)
2) create a "name.arch" relation
Requires support in libzypp.
Is it doable any time soon? If not, i would at least do it the old way - let zypper choose, hard-mark for installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c11 --- Comment #11 from Ján Kupec <jkupec@novell.com> 2008-04-16 10:29:27 MST --- (In reply to comment #10 from Ján Kupec)
(In reply to comment #9 from Michael Andres)
2) create a "name.arch" relation
Requires support in libzypp.
Is it doable any time soon? If not, i would at least do it the old way - let zypper choose, hard-mark for installation.
OH, forget comment #10. I thought you were talking about the zypper install <repo>:packagename ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c12 --- Comment #12 from Ján Kupec <jkupec@novell.com> 2008-04-16 10:30:41 MST --- Ehm... well, comment #10 is valid after all... seems a need a rest :O) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c13 --- Comment #13 from Michael Andres <ma@novell.com> 2008-04-17 00:45:55 MST --- (In reply to comment #10 from Jan Kupec)
Is it doable any time soon? If not, i would at least do it the old way - let zypper choose, hard-mark for installation.
No, just create a "name[.arch] [op edition]" relation. It should work out of the box as soon as the parser is fixed. For yzpper the case should not differ from "name [op edition]". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User ma@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c14 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ma@novell.com |jkupec@novell.com Status|NEEDINFO |NEW Info Provider|schubi@novell.com | --- Comment #14 from Michael Andres <ma@novell.com> 2008-04-23 13:34:25 MST --- libzypp-4.15.0 supports creating "name[.arch] [op edition]" capabilities. Capability ctor accepts "name[.arch] [op edition]" "name[.arch]", op, edition arch, name, op, edition See docs for details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c15 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Priority|P5 - None |P3 - Medium Resolution| |FIXED --- Comment #15 from Ján Kupec <jkupec@novell.com> 2008-10-27 08:17:57 MDT --- This works OOB, indeed. I just added the following: ------------------------------------------------------------------- Mon Oct 27 15:15:57 CET 2008 - jkupec@suse.cz - force installation by capability if name.arch is specified (bnc #305445) - complain if installing by --name and arch is specified - r11506 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c16 --- Comment #16 from Michael Schröder <mls@novell.com> 2008-10-27 10:28:30 MDT --- (From the manpage: "If the ARCH is know, the solver will try to choose a package with the best compatible architecture to the one specified." It shouldn't install the "best compatible architecture", it should install a package with exactly the specified architecture or fail.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=305445 User jkupec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=305445#c17 --- Comment #17 from Ján Kupec <jkupec@novell.com> 2008-10-27 12:21:23 MDT --- your're right, i'll fix the text thanx... $ zypper in zypper.i686 Loading repository data... Reading installed packages... 'zypper.i686' not found. Resolving package dependencies... Nothing to do. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com