Public bug reported:

Firstly, you should know that the bug reporting software did not work on
the target machine. I have therefore been forced to make this bug report
from a completely different machine, which means that the nicely
automatically packaged information will all be utterly useless to you.

The target machine is a freshly installed 16.04 64bit installation.

I did:

  dpkg --add-architecture i386

after which:

  $ sudo dpkg --print-architecture
  amd64
  $ sudo dpkg --print-foreign-architectures
  i386

I installed various C packages:

  sudo apt-get install gcc-multilib

and I can happily build things in both 64bit and 32bit modes. Yay!

Now, Ghostscript requires libcupsimage, but when I tried to build a
32bit ghostscript, I was told that libcupsimage was not found on the
system.

So I tried:

  sudo apt-get install libcupsimage2-dev:i386

whereupon it uninstalled libcupsimage2-dev:amd64. Doing:

  sudo apt-get install libcupsimage2-dev

uninstalled the 64bit version.

It looks like the 2 conflict:

artifex@kilometers:~$ sudo apt-get install libcupsimage2-dev 
libcupsimage2-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcupsimage2-dev:i386 is already the newest version (2.1.3-4).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcupsimage2-dev : Depends: libcupsfilters-dev (>= 1.0~b1) but it is not 
going to be installed
                     Conflicts: libcupsimage2-dev:i386 but 2.1.3-4 is to be 
installed
 libcupsimage2-dev:i386 : Conflicts: libcupsimage2-dev but 2.1.3-4 is to be 
installed
E: Unable to correct problems, you have held broken packages.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libcupsimage2-dev 2.1.3-4
ProcVersionSignature: Ubuntu 4.4.0-71.92-generic 4.4.49
Uname: Linux 4.4.0-71-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CupsErrorLog: Error: [Errno 13] Permission denied: '/var/log/cups/error_log'
CurrentDesktop: Unity
Date: Wed May  3 16:41:28 2017
InstallationDate: Installed on 2016-04-22 (375 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Hint: You are currently not seeing messages from other 
users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
 Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: VMware, Inc. VMware Virtual Platform
Papersize: a4
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-71-generic 
root=UUID=6d12bf99-97ae-494a-a20d-ab13ca5de276 ro quiet splash
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/02/2015
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: 
dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd07/02/2015:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1688023

Title:
  libcupsimage2-dev cannot be installed both in amd64 and i386

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1688023/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to