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

Bug #1451525 reported by maks
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
curl (Ubuntu)
Confirmed
Undecided
Unassigned

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)

Revision history for this message
maks (byymster) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in curl (Ubuntu):
status: New → Confirmed
Revision history for this message
Mark Mentovai (mark-moxienet) wrote :

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@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@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.

Revision history for this message
Mark Mentovai (mark-moxienet) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.