[Bug 1451525] Re: package libcurl4-gnutls-dev 7.37.1-1ubuntu3.4 failed to install/upgrade: trying to overwrite shared '/usr/bin/curl-config', which is different from other instances of package libcurl4-gnutls-dev:i386

Mark Mentovai 1451525 at bugs.launchpad.net
Thu Apr 27 20:34:00 UTC 2017


libcurl4-openssl-dev:amd64 and libcurl4-openssl-dev:i386 both want to
install /usr/bin/curl-config, but the file varies unnecessarily by
architecture.

mark at mela zsh% shasum -a 256 libcurl4-openssl-dev_7.52.1-4ubuntu1.1_*/data/usr/bin/curl-config
223e5aa695ab4f5ce24b41397ee828f59240c5252075de9e4b4d730fa333bc12  libcurl4-openssl-dev_7.52.1-4ubuntu1.1_amd64/data/usr/bin/curl-config
283beb056326c71097e6d109db85f92e1768c9fc3847bb0541812ff2afda3dba  libcurl4-openssl-dev_7.52.1-4ubuntu1.1_i386/data/usr/bin/curl-config

They only differ in a small and insignificant part of the string in the
line that follows --configure in this script.

mark at mela zsh% diff -U1 libcurl4-openssl-dev_7.52.1-4ubuntu1.1_*/data/usr/bin/curl-config
--- libcurl4-openssl-dev_7.52.1-4ubuntu1.1_amd64/data/usr/bin/curl-config       2017-04-17 20:20:57.000000000 +0000
+++ libcurl4-openssl-dev_7.52.1-4ubuntu1.1_i386/data/usr/bin/curl-config        2017-04-17 20:20:57.000000000 +0000
@@ -157,3 +157,3 @@
     --configure)
-        echo " … 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/curl-5aqeqB/curl-7.52.1=. …'"
+        echo " … 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/curl-95csPZ/curl-7.52.1=. …'"
         ;;

Those randomly generated directory names, /build/curl-5aqeqB vs. /build
/curl-95csPZ, are causing each architecture’s curl-config to differ.
They’re also not helping anyone at all being carried all the way through
to the shipping /usr/bin/curl-config.

This is also
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1565498,
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1513693.

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

Title:
  package libcurl4-gnutls-dev 7.37.1-1ubuntu3.4 failed to
  install/upgrade: trying to overwrite shared '/usr/bin/curl-config',
  which is different from other instances of package libcurl4-gnutls-
  dev:i386

Status in curl package in Ubuntu:
  Confirmed

Bug description:
  i install i386 version on amd64

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: libcurl4-gnutls-dev 7.37.1-1ubuntu3.4
  Uname: Linux 3.19.0-031900-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.4
  Architecture: amd64
  Date: Mon May  4 18:22:25 2015
  DuplicateSignature: package:libcurl4-gnutls-dev:7.37.1-1ubuntu3.4:trying to overwrite shared '/usr/bin/curl-config', which is different from other instances of package libcurl4-gnutls-dev:i386
  ErrorMessage: trying to overwrite shared '/usr/bin/curl-config', which is different from other instances of package libcurl4-gnutls-dev:i386
  SourcePackage: curl
  Title: package libcurl4-gnutls-dev 7.37.1-1ubuntu3.4 failed to install/upgrade: trying to overwrite shared '/usr/bin/curl-config', which is different from other instances of package libcurl4-gnutls-dev:i386
  UpgradeStatus: Upgraded to utopic on 2015-04-27 (6 days ago)

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



More information about the foundations-bugs mailing list