[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#693922: dpkg: amd64 dpkg refuses to install i386 package when dependencies are installed



Control: severity -1 whishlist
Control: clone -1 -2
Control: reassign -1 xserver-common
Control: retitle -1 xserver-common: Please mark as M-A:foreign
Control: reassign -2 keyboard-configuration
Control: retitle -2 keyboard-configuration: Please mark as M-A:foreign

Hi!

[ Beware, I've not checked if other binary packages from the producing
  source package might need marking too. ]

On Wed, 2012-11-21 at 23:26:14 +0000, Noel David Torres Taño wrote:
> On Miércoles, 21 de noviembre de 2012 20:01:17 Guillem Jover wrote:
> > On Wed, 2012-11-21 at 19:40:38 +0000, Noel David Torres Taño wrote:
> > > Package: dpkg
> > > Version: 1.16.9
> > > Severity: important
> > > 
> > > *** Please consider answering these questions, where appropriate ***
> > > 
> > >    * What led up to the situation?
> > > 
> > > amd64 system trying to install an i386 package required for multiarch
> > > setup of Wine
> > > 
> > >    * What exactly did you do (or not do) that was effective (or
> > >    
> > >      ineffective)?
> > > 
> > > dpkg -i
> > > 
> > >    * What was the outcome of this action?
> > > 
> > > error
> > > 
> > >    * What outcome did you expect instead?
> > > 
> > > install
> > > 
> > > *** End of the template - remove these lines ***
> > > 
> > > root@host:~# LANG=C dpkg -l xserver-common keyboard-configuration
> > > Desired=Unknown/Install/Remove/Purge/Hold
> > > 
> > > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig
> > > | -pend
> > > |
> > > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > > |
> > > ||/ Name                      Version           Architecture     
> > > ||Description
> > > 
> > > +++-=========================-=================-=================-=======
> > > ================================================= ii 
> > > keyboard-configuration    1.87              all              
> > > system-wide keyboard preferences ii  xserver-common           
> > > 2:1.12.4-3        all               common files used by various X
> > > servers root@host:~# LANG=C dpkg -i
> > > xserver-xorg-core_2%3a1.12.4-3_i386.deb (Reading database ... 318831
> > > files and directories currently installed.) Preparing to replace
> > > xserver-xorg-core 2:1.12.4-3 (using
> > > xserver-xorg-core_2%3a1.12.4-3_i386.deb) ... Unpacking replacement
> > > xserver-xorg-core ...
> > > 
> > > dpkg: dependency problems prevent configuration of xserver-xorg-core:
> > >  xserver-xorg-core depends on xserver-common (>= 2:1.12.4-3).
> > >  xserver-xorg-core depends on keyboard-configuration.
> > > 
> > > dpkg: error processing xserver-xorg-core (--install):
> > >  dependency problems - leaving unconfigured
> > > 
> > > Processing triggers for libglx-nvidia-alternatives ...
> > > Processing triggers for man-db ...
> > > 
> > > Errors were encountered while processing:
> > >  xserver-xorg-core
> > > 
> > > You can see that dependencies are installed, but dpkg refuses to
> > > install xserver-xorg-core
> > 
> > That's as expected as per the current spec, arch:all packages are
> > treated as arch:native, so the dependencies are not fulfilled. For now
> > (at least) those packages would need to be marked M-A:foreign to be
> > able to install a foreign xserver-xorg-core, so not a bug in dpkg.
> > 
> > What I don't really understand is why you need to install
> > xserver-xorg-core:i386 to be able to install wine:i386?
> 
> Many thanks. This seems to be a bug in the multiarch documentation instead.

What exact documentation? Most of it is mainly on wikis currently, but
I think this should be covered.

> How can I (or where can I read how to) mark as foreign as you suggest?

That's something that needs to be done on the source package, so it
needs to go through the maintainer. I've reassigned this bug to those
packages now.

> Please note that I need the :all package to fulfill dependencias both for 
> xserver-xorg-core:i386 and for xserver-xorg-core:amd64

Well these are not co-installable, but the marking is needed anyway in
case one wants the foreign X server.

> About wine... I have wine:i386 corerctly installed, but it does not run
> the games properly without libgl1-nvidia-glx:i386 whose dependencies
> chain to this.

I still don't see why using foreign wine with a foreign
libgl1-nvidia-glx would require to install a foreign X server too,
AFAIR I've used such setup but w/ a foreign -mesa-glx and mesa-dri
package. OTOH wanting to use a foreign X server does not invalidate
these bug reports, so I guess this does not matter much.

Thanks,
Guillem


Reply to: