|
Bugzilla – Full Text Bug Listing |
| Summary: | hpijs-standalone was installed by default instead of hplip + hplip-hpijs | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Johannes Meixner <jsmeix> |
| Component: | Patterns | Assignee: | Michal Zugec <mzugec> |
| Status: | RESOLVED FIXED | QA Contact: | Stephan Kulow <coolo> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | ccox, forgotten_--EoyBps8f, forgotten_AO1_-eKXeh, lslezak, vmicho |
| Version: | Beta 2 | ||
| Target Milestone: | openSUSE 11.1 | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | printer | ||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Johannes Meixner
2008-05-08 10:27:01 UTC
I can fix the default install of the DVD in recommending one of the choices in patterns. But I can't do that on the CD as the requirements of this stack is pretty huge - so yast2-printer needs a way to force the replacement. Most likely a function missing in yast2-pkg-bindings to force resolve - or it's there and just needs to be called. recommending hplip in DVD pattern now Michal, as there is YST 'text freeze' we cannot show a message if hpijs-standalone is installed. Therefore test if hplip + hplip-hpijs are available (remember that Package::Available returns 'nil' if even no package source is available) and if hplip + hplip-hpijs are available, simply remove hpijs-standalone silently before installing hplip + hplip-hpijs. This is sufficient because there is a message that hplip is to be installed and if a user had installed hpijs-standalone intentionally, he should know what "hplip" means. fixed in yast2-printer-2.16.31 there is ugly hack with changing textdomain (to use strings from "base" package), but it works *** Bug 330063 has been marked as a duplicate of this bug. *** I installed openSUSE 11.0 from DVD9 and it seems that this is not fixed for me. hpijs-standalone was installed by default. IIRC it worked fine with a DVD5. Not fixed with openSUSE 11.0 GM (retail DVD9). >> it seems that this is not fixed for me
Please explain what did you do and what did you expect
I installed openSUSE 11.0 (retail DVD9). YaST detected my HP 6540 printer and built the printer database but the model field was empty. I tried to select the model manually but it was not in the list (I looked for a 6500 or 6520 because there is no 6540 atm, see https://bugs.launchpad.net/hplip/+bug/235148). Then I checked which packages are installed. On my machine only hpijs-standalone was there. After I removed this package and installed hplip YaST detected my printer and chose the 6520 ppd (which is correct atm). This is what I expected because it works without problems on openSUSE 10.2 and 10.3. I can confirm that it seems to be not fixed at all (i.e. not fixed in the patterns for DVD): I installed on my workstation in the Suse network "openSUSE_DVD 11.0 GM i386" from nfs://.../SLP/openSUSE-11.0-RC4-DVD/i386/DVD1 and hpijs-standalone was installed by default instead of hplip + hplip-hpijs. If it is the same on the DVDs for our customers, it would be very annoying for our customers because it makes setup of most HP printers impossible for normal users. *** Bug 421819 has been marked as a duplicate of this bug. *** *** Bug 421812 has been marked as a duplicate of this bug. *** To avoid this ugly problem in the future (i.e. for openSUSE 11.1) I changed the "Conflicts: hpijs-standalone" in hplip-hpijs to "Obsoletes: hpijs-standalone". Right now I submitted hplip to STABLE (i.e. for openSUSE 11.1). Now when hplip is to be installed (e.g. by YaST), hplip requires hplip-hpijs and this would now silently supersede an installed hpijs-standalone. The drawback is that now YaST could silently replace an intentional minimalist hpijs-standalone installation by the full-featured HPLIP installation (which could pull in tons of other necessary packages - in particular on a minimalist server system). *** Bug 424151 has been marked as a duplicate of this bug. *** To get rid of this ugly problem once and for all in the future (i.e. for openSUSE 11.1 and later) I dropped the hpijs-standalone package. Nevertheless in case of an update or in case of whatever strange package repositories in YaST, the hpijs-standalone package might still be somewhere available for installation and then the above RPM Conflicts and Obsoletes should help. |