checkinstall: Failed to build DEB package for alsa-firmware

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

checkinstall: Failed to build DEB package for alsa-firmware

Post by peter_b »

Trying to (make) install the alsa-firmware manually, using "checkinstall" to create a .deb package.
On Xubuntu Xenial (16.04.3 LTS).

Unfortunately, it fails:
Installing Debian package... FAILED!
The log tells me it's trying to overwrite a firmware file that's already installed by another package "linux-firmware":
Unpacking alsa-firmware (1.0.29-1) ...
dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/ess/maestro3_assp_kernel.fw', which is also in package linux-firmware 1.157.13
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
So I guess I'll try to remove the "ess/maestro3_assp_kernel.fw" from the alsa-firmware install routine.

Some more overwrite-collisions that have to be removed:
dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/sb16/ima_adpcm_playback.csp', which is also in package linux-firmware 1.157.13

dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/korg/k1212.dsp', which is also in package linux-firmware 1.157.13

dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/ea/mona_301_dsp.fw', which is also in package linux-firmware 1.157.13

dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/ctefx.bin', which is also in package linux-firmware 1.157.13

dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/yamaha/ds1_ctrl.fw', which is also in package linux-firmware 1.157.13

dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/yamaha/yss225_registers.bin', which is also in package linux-firmware 1.157.13

dpkg: error processing archive /media/storage_1tb/storage/install/tascam-us122/alsa-firmware-1.0.29/alsa-firmware_1.0.29-1_amd64.deb (--install):
trying to overwrite '/lib/firmware/asihpi/dsp8900.bin', which is also in package linux-firmware 1.157.13
I've removed the firmware subdirectories in the Makefile, so it won't try to install already-existing files.
The resulting "SUBDIRS" entry in my Makefile looks like this:

Code: Select all

SUBDIRS = hdsploader mixartloader pcxhrloader usx2yloader vxloader \
      emu multisound \
      aica cs46xx
Now, "checkinstall" could create and install alsa-firmware as .deb package :D
Post Reply