package linux-firmware 1.173.1 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1

Bug #1776652 reported by Mauricio Grueso
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

greetings excuse me english , i thinking that special configuration ubuntu for selinux may be have any situation that not working for different scenaries, because always the error say context error when execute mknod , may be no matter but is curios

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: linux-firmware 1.173.1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
 firefox:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Wed Jun 13 06:29:07 2018
Dependencies:

ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2017-01-07 (522 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: initramfs-tools
Title: package linux-firmware 1.173.1 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mauricio Grueso (magrueso) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Mauricio Grueso (magrueso) wrote :

the problem was in the file /usr/share/initramfs-tools/hooks/kmod

Revision history for this message
Mauricio Grueso (magrueso) wrote :

this problema was resolv the problem was in the file /usr/share/initramfs-tools/hooks/kmod, tha have a aditional line that "cp -a /sbin/modprobe /sbin/rmmod $DESTDIR/sbin/" generate the error in the script , that for this reasons all process that execute this script was fail, i put the line in comment and all working without problem

Revision history for this message
Mauricio Grueso (magrueso) wrote :

this is the content of the the comment on the line of cp is for me
#!/bin/sh -e
# Copy the compatibility symlinks until initramfs-tools will be converted
# to use the kmod program.

if [ "$1" = "prereqs" ]; then exit 0; fi

. /usr/share/initramfs-tools/hook-functions

copy_exec /bin/kmod
#cp -a /sbin/modprobe /sbin/rmmod $DESTDIR/sbin/

mkdir -p $DESTDIR/lib/modprobe.d/
if [ "$(echo /lib/modprobe.d/*)" != "/lib/modprobe.d/*" ]; then
  cp -a /lib/modprobe.d/* $DESTDIR/lib/modpro

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Don Bruce (don1500) wrote :

If the problem is corrected as stated by Mauricio Grueso (Above) Why has this not been fixed? His note was dated June of LAST YEAR! This fix might also fix the MANY other bugs of the same type I have encountered. I am no programmer so I really don't know how to incorporate Grueso's fix. Thank you,

Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

probably duplicate of bug #1794067

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.