Public bug reported:

Packages built using Ubuntu's checkinstall on 64-bit systems default to
architecture x86_64, causing a mismatch when one attempts to install the
package ... this value must be changed manually by the user before
creating the package in order to make the package installable.

I've downloaded checkinstall-1.6.0 and added the following on line 1,153
of checkinstall:

   # Fix Debian AMD64.

   if [ "$CK_DEBIAN" = "1" ] && [ "$ARCHITECTURE" = "x86_64" ]; then
      ARCHITECTURE="amd64"
   fi

I copied-and-pasted from the code directly above it used to correct the
PowerPC architecture and just replaced ppc with x86_64 and PowerPC with
amd64. It seems to work. : )

** Affects: checkinstall (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

** Description changed:

  Packages built using Ubuntu's checkinstall on 64-bit systems default to
  architecture x86_64, causing a mismatch when one attempts to install the
  package ... this value must be changed manually by the user before
  creating the package in order to make the package installable.
  
- I've downloaded checkinstall-1.6.0 and added the following on line
- 1,153:
+ I've downloaded checkinstall-1.6.0 and added the following on line 1,153
+ of checkinstall:
  
     # Fix Debian AMD64.
  
     if [ "$CK_DEBIAN" = "1" ] && [ "$ARCHITECTURE" = "x86_64" ]; then
        ARCHITECTURE="amd64"
     fi
  
  I copied-and-pasted from the code directly above it used to correct the
  PowerPC architecture and just replaced ppc with x86_64 and PowerPC with
  amd64. It seems to work. : )

-- 
Packages built on AMD64 default to wrong architecture type.
https://launchpad.net/bugs/50892

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

Reply via email to