Bug#910008: haskell-mtl: Package libghc-mtl-dev not co-installable with ghc due to file conflicts

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Oct 1 09:58:20 BST 2018


Source: haskell-mtl
Version: 2.2.2-2
Severity: serious
Justification: renders package unusable

Hello!

The the libghc-mtl-dev package is currently not co-installable with the
ghc package due to file conflicts:

root at epyc:~> apt update && apt  install libghc-mtl-dev ghc
Get:1 http://ftp.de.debian.org/debian unstable InRelease [233 kB]
Get:2 http://incoming.ports.debian.org/buildd unstable InRelease [49.1 kB]
Get:3 http://ftp.de.debian.org/debian experimental InRelease [101 kB]
Get:4 http://ftp.de.debian.org/debian-ports unstable InRelease [47.1 kB]                       
Get:5 http://ftp.de.debian.org/debian-ports unreleased InRelease [52.4 kB]
Get:6 http://ftp.de.debian.org/debian unstable/main Sources.diff/Index [27.9 kB]
Get:7 http://ftp.de.debian.org/debian unstable/non-free Sources.diff/Index [27.8 kB]
Get:8 http://ftp.de.debian.org/debian unstable/main i386 Packages.diff/Index [27.9 kB]
Get:9 http://ftp.de.debian.org/debian unstable/main amd64 Packages.diff/Index [27.9 kB]
Get:10 http://ftp.de.debian.org/debian unstable/main i386 Contents (deb).diff/Index [28.0 kB]
Get:11 http://ftp.de.debian.org/debian unstable/main amd64 Contents (deb).diff/Index [28.0 kB]
Get:12 http://ftp.de.debian.org/debian unstable/main Sources 2018-10-01-0215.35.pdiff [224 kB]
Get:13 http://ftp.de.debian.org/debian unstable/main Sources 2018-10-01-0815.09.pdiff [3,947 B]
Get:13 http://ftp.de.debian.org/debian unstable/main Sources 2018-10-01-0815.09.pdiff [3,947 B]
Get:14 http://ftp.de.debian.org/debian unstable/non-free Sources 2018-10-01-0215.35.pdiff [764 B]
Get:14 http://ftp.de.debian.org/debian unstable/non-free Sources 2018-10-01-0215.35.pdiff [764 B]
Get:15 http://ftp.de.debian.org/debian unstable/main i386 Packages 2018-10-01-0215.35.pdiff [4,227 B]
Get:16 http://ftp.de.debian.org/debian unstable/main i386 Packages 2018-10-01-0815.09.pdiff [36.3 kB]          
Get:16 http://ftp.de.debian.org/debian unstable/main i386 Packages 2018-10-01-0815.09.pdiff [36.3 kB]
Get:17 http://ftp.de.debian.org/debian unstable/main amd64 Packages 2018-10-01-0215.35.pdiff [42.9 kB]
Get:18 http://ftp.de.debian.org/debian unstable/main amd64 Packages 2018-10-01-0815.09.pdiff [33.4 kB]              
Get:18 http://ftp.de.debian.org/debian unstable/main amd64 Packages 2018-10-01-0815.09.pdiff [33.4 kB]                
Get:19 http://ftp.de.debian.org/debian unstable/main i386 Contents (deb) 2018-10-01-0215.35.pdiff [12.5 kB]                      
Get:20 http://ftp.de.debian.org/debian unstable/main i386 Contents (deb) 2018-10-01-0815.09.pdiff [23.7 kB]                                            
Get:20 http://ftp.de.debian.org/debian unstable/main i386 Contents (deb) 2018-10-01-0815.09.pdiff [23.7 kB]                                          
Get:21 http://ftp.de.debian.org/debian unstable/main amd64 Contents (deb) 2018-10-01-0215.35.pdiff [27.3 kB]                                                      
Get:22 http://ftp.de.debian.org/debian unstable/main amd64 Contents (deb) 2018-10-01-0815.09.pdiff [21.0 kB]                                                               
Get:22 http://ftp.de.debian.org/debian unstable/main amd64 Contents (deb) 2018-10-01-0815.09.pdiff [21.0 kB]                                                               
Get:23 http://ftp.de.debian.org/debian experimental/main amd64 Packages.diff/Index [27.8 kB]                                                                               
Get:24 http://ftp.de.debian.org/debian experimental/main amd64 Contents (deb).diff/Index [27.9 kB]                                                                         
Get:25 http://ftp.de.debian.org/debian experimental/main amd64 Packages 2018-10-01-0215.35.pdiff [704 B]                                                                   
Get:25 http://ftp.de.debian.org/debian experimental/main amd64 Packages 2018-10-01-0215.35.pdiff [704 B]                                                                   
Get:26 http://ftp.de.debian.org/debian experimental/main amd64 Contents (deb) 2018-10-01-0215.35.pdiff [317 B]                                                             
Get:26 http://ftp.de.debian.org/debian experimental/main amd64 Contents (deb) 2018-10-01-0215.35.pdiff [317 B]                                                             
Get:27 http://ftp.de.debian.org/debian unstable/main all Packages [4,320 kB]                                                                                               
Get:28 http://incoming.ports.debian.org/buildd unstable/main m68k Packages [175 kB]                                                                                        
Get:29 http://incoming.ports.debian.org/buildd unstable/main sh4 Packages [175 kB]                                                                                         
Get:30 http://incoming.ports.debian.org/buildd unstable/main x32 Packages [241 kB]                                                                                         
Get:31 http://ftp.de.debian.org/debian-ports unstable/main m68k Packages [20.8 MB]                                                                                         
Get:32 http://ftp.de.debian.org/debian-ports unstable/main all Packages [9,059 kB]                                                                                         
Get:33 http://ftp.de.debian.org/debian-ports unstable/main x32 Packages [20.9 MB]                                                                                          
Get:34 http://ftp.de.debian.org/debian-ports unstable/main sh4 Packages [19.5 MB]                                                                                          
Fetched 76.3 MB in 34s (2,248 kB/s)                                                                                                                                        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bdf2psf gedit-plugin-dashboard gir1.2-zeitgeist-2.0 libck-connector0 libghc-data-default-class-dev libghc-data-default-instances-containers-dev
  libghc-data-default-instances-old-locale-dev libghc-extensible-exceptions-dev libghc-old-locale-dev libghc-random-dev libghc-setlocale-dev librhash0 libsane-extras
  libsane-extras-common libstd-rust-1.28 libthunarx-2-0 libuv1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  ghc-doc ghc-prof libghc-data-default-class-dev libghc-data-default-instances-containers-dev libghc-data-default-instances-old-locale-dev
  libghc-extensible-exceptions-dev libghc-mtl-doc libghc-old-locale-dev libghc-random-dev libghc-setlocale-dev
Suggested packages:
  haskell-doc libghc-data-default-class-doc libghc-data-default-class-prof libghc-data-default-instances-containers-doc libghc-data-default-instances-containers-prof
  libghc-data-default-instances-old-locale-doc libghc-data-default-instances-old-locale-prof libghc-extensible-exceptions-doc libghc-extensible-exceptions-prof
  libghc-mtl-prof libghc-old-locale-doc libghc-old-locale-prof libghc-random-doc libghc-random-prof libghc-setlocale-doc libghc-setlocale-prof
The following packages will be REMOVED:
  libghc-data-default-dev libghc-data-default-doc libghc-data-default-instances-dlist-dev libghc-dlist-dev libghc-old-time-dev libghc-utf8-string-dev libghc-x11-dev
  libghc-x11-doc libghc-x11-xft-dev libghc-x11-xft-doc libghc-xmonad-contrib-dev libghc-xmonad-contrib-doc libghc-xmonad-dev libghc-xmonad-doc
The following packages will be upgraded:
  ghc ghc-doc ghc-prof libghc-data-default-class-dev libghc-data-default-instances-containers-dev libghc-data-default-instances-old-locale-dev
  libghc-extensible-exceptions-dev libghc-mtl-dev libghc-mtl-doc libghc-old-locale-dev libghc-random-dev libghc-setlocale-dev
12 upgraded, 0 newly installed, 14 to remove and 10 not upgraded.
Need to get 128 MB of archives.
After this operation, 134 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian unstable/main amd64 ghc-prof amd64 8.4.3+dfsg1-2 [44.9 MB]
Get:2 http://ftp.de.debian.org/debian unstable/main amd64 libghc-mtl-dev amd64 2.2.2-2 [91.6 kB]                                                                           
Get:3 http://ftp.de.debian.org/debian unstable/main amd64 libghc-random-dev amd64 1.1-7 [123 kB]                                                                           
Get:4 http://ftp.de.debian.org/debian unstable/main amd64 libghc-data-default-instances-old-locale-dev amd64 0.0.1-9 [10.4 kB]                                             
Get:5 http://ftp.de.debian.org/debian unstable/main amd64 libghc-old-locale-dev amd64 1.0.0.7-8 [38.0 kB]                                                                  
Get:6 http://ftp.de.debian.org/debian unstable/main amd64 libghc-data-default-instances-containers-dev amd64 0.0.1-10 [11.6 kB]                                            
Get:7 http://ftp.de.debian.org/debian unstable/main amd64 libghc-data-default-class-dev amd64 0.1.2.0-4 [20.0 kB]                                                          
Get:8 http://ftp.de.debian.org/debian unstable/main amd64 libghc-setlocale-dev amd64 1.0.0.8-1 [35.5 kB]                                                                   
Get:9 http://ftp.de.debian.org/debian unstable/main amd64 libghc-extensible-exceptions-dev amd64 0.1.1.4-10 [11.0 kB]                                                      
Get:10 http://ftp.de.debian.org/debian unstable/main i386 libghc-mtl-doc all 2.2.2-2 [103 kB]                                                                              
Get:11 http://ftp.de.debian.org/debian unstable/main amd64 ghc amd64 8.4.3+dfsg1-2 [67.6 MB]                                                                               
Get:12 http://ftp.de.debian.org/debian unstable/main i386 ghc-doc all 8.4.3+dfsg1-2 [14.8 MB]                                                                              
Fetched 128 MB in 52s (2,432 kB/s)                                                                                                                                         
(Reading database ... 603455 files and directories currently installed.)
Removing libghc-xmonad-contrib-dev (0.13-3) ...
Removing libghc-xmonad-dev (0.13-14) ...
Removing libghc-x11-xft-dev (0.3.1-12+b1) ...
Removing libghc-x11-dev (1.9-1) ...
Removing libghc-data-default-dev (0.7.1.1-3) ...
Removing libghc-data-default-doc (0.7.1.1-3) ...
Removing libghc-data-default-instances-dlist-dev (0.0.1-8) ...
Removing libghc-dlist-dev (0.8.0.4-2) ...
Removing libghc-old-time-dev (1.1.0.3-7) ...
Removing libghc-utf8-string-dev (1.0.1.1-6) ...
Removing libghc-x11-doc (1.9-1) ...
Removing libghc-x11-xft-doc (0.3.1-12) ...
Removing libghc-xmonad-contrib-doc (0.13-3) ...
Removing libghc-xmonad-doc (0.13-14) ...
(Reading database ... 601933 files and directories currently installed.)
Preparing to unpack .../00-ghc-prof_8.4.3+dfsg1-2_amd64.deb ...
Unpacking ghc-prof (8.4.3+dfsg1-2) over (8.2.2-6) ...
Preparing to unpack .../01-libghc-mtl-dev_2.2.2-2_amd64.deb ...
Unpacking libghc-mtl-dev (2.2.2-2) over (2.2.2-1) ...
Preparing to unpack .../02-libghc-random-dev_1.1-7_amd64.deb ...
Unpacking libghc-random-dev (1.1-7) over (1.1-6) ...
Preparing to unpack .../03-libghc-data-default-instances-old-locale-dev_0.0.1-9_amd64.deb ...
Unpacking libghc-data-default-instances-old-locale-dev (0.0.1-9) over (0.0.1-8) ...
Preparing to unpack .../04-libghc-old-locale-dev_1.0.0.7-8_amd64.deb ...
Unpacking libghc-old-locale-dev (1.0.0.7-8) over (1.0.0.7-7) ...
Preparing to unpack .../05-libghc-data-default-instances-containers-dev_0.0.1-10_amd64.deb ...
Unpacking libghc-data-default-instances-containers-dev (0.0.1-10) over (0.0.1-9) ...
Preparing to unpack .../06-libghc-data-default-class-dev_0.1.2.0-4_amd64.deb ...
Unpacking libghc-data-default-class-dev (0.1.2.0-4) over (0.1.2.0-3) ...
Preparing to unpack .../07-libghc-setlocale-dev_1.0.0.8-1_amd64.deb ...
Unpacking libghc-setlocale-dev (1.0.0.8-1) over (1.0.0.6-1) ...
Preparing to unpack .../08-libghc-extensible-exceptions-dev_0.1.1.4-10_amd64.deb ...
Unpacking libghc-extensible-exceptions-dev (0.1.1.4-10) over (0.1.1.4-9) ...
Preparing to unpack .../09-libghc-mtl-doc_2.2.2-2_all.deb ...
Unpacking libghc-mtl-doc (2.2.2-2) over (2.2.2-1) ...
Preparing to unpack .../10-ghc_8.4.3+dfsg1-2_amd64.deb ...
Unpacking ghc (8.4.3+dfsg1-2) over (8.2.2-6) ...
dpkg: error processing archive /tmp/apt-dpkg-install-5Fmmuy/10-ghc_8.4.3+dfsg1-2_amd64.deb (--unpack):
 trying to overwrite '/var/lib/ghc/package.conf.d/mtl-2.2.2.conf', which is also in package libghc-mtl-dev 2.2.2-2
update-alternatives: using /usr/bin/runghc to provide /usr/bin/runhaskell (runhaskell) in auto mode
update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
There are problems in package data-default-instances-containers-0.0.1:
  dependency "base-4.11.1.0" doesn't exist
  dependency "containers-0.5.11.0" doesn't exist
There are problems in package extensible-exceptions-0.1.1.4:
  dependency "base-4.11.1.0" doesn't exist
There are problems in package setlocale-1.0.0.8:
  dependency "base-4.11.1.0" doesn't exist
There are problems in package random-1.1:
  dependency "base-4.11.1.0" doesn't exist
There are problems in package old-locale-1.0.0.7:
  dependency "base-4.11.1.0" doesn't exist
There are problems in package mtl-2.2.2:
  dependency "base-4.11.1.0" doesn't exist
  dependency "transformers-0.5.5.0" doesn't exist
There are problems in package data-default-instances-old-locale-0.0.1:
  dependency "base-4.11.1.0" doesn't exist
There are problems in package data-default-class-0.1.2.0:
  dependency "base-4.11.1.0" doesn't exist

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
data-default-instances-containers-0.0.1
extensible-exceptions-0.1.1.4
setlocale-1.0.0.8
random-1.1
old-locale-1.0.0.7
mtl-2.2.2
data-default-instances-old-locale-0.0.1
data-default-class-0.1.2.0
Preparing to unpack .../11-ghc-doc_8.4.3+dfsg1-2_all.deb ...
Unpacking ghc-doc (8.4.3+dfsg1-2) over (8.2.2-6) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-5Fmmuy/10-ghc_8.4.3+dfsg1-2_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at epyc:~>

This breaks a lot of Haskell package builds and makes the buildds
give back a lot of packages due to local problems causing a flood
of mails to the buildd admins.

Please fix this ASAP!

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-haskell-maintainers mailing list