I ran those scripts in terminal got the following

yash@yash-MS-7592:~$ sudo apt-get install -f
[sudo] password for yash: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  snap-confine
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
2 not fully installed or removed.
Need to get 0 B/836 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package linux-libc-dev:amd64 (--configure):
 package linux-libc-dev:amd64 is not ready for configuration
 cannot configure (current status 'half-installed')
dpkg: dependency problems prevent configuration of libc6-dev:amd64:
 libc6-dev:amd64 depends on linux-libc-dev; however:
  Package linux-libc-dev:amd64 is not installed.

dpkg: error processing package libc6-dev:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                          Errors were encountered while processing:
 linux-libc-dev:amd64
 libc6-dev:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
yash@yash-MS-7592:~$ sudo apt-get clean
yash@yash-MS-7592:~$ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done                     
yash@yash-MS-7592:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  snap-confine
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  gnome-software gnome-software-common libegl1-mesa libgbm1 libgl1-mesa-dri
  libinput10 libmirclient9 libwayland-egl1-mesa python3-software-properties
  python3-update-manager software-properties-common software-properties-gtk
  ubuntu-software update-manager update-manager-core update-notifier
  update-notifier-common xserver-xorg-core-hwe-16.04 xserver-xorg-hwe-16.04
  xserver-xorg-input-evdev-hwe-16.04 xserver-xorg-input-synaptics-hwe-16.04
  xserver-xorg-input-wacom-hwe-16.04 xserver-xorg-video-amdgpu-hwe-16.04
  xserver-xorg-video-ati-hwe-16.04 xserver-xorg-video-fbdev-hwe-16.04
  xserver-xorg-video-intel-hwe-16.04 xserver-xorg-video-nouveau-hwe-16.04
  xserver-xorg-video-qxl-hwe-16.04 xserver-xorg-video-radeon-hwe-16.04
  xserver-xorg-video-vesa-hwe-16.04 xserver-xorg-video-vmware-hwe-16.04
The following packages will be upgraded:
  cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon
  cups-ppdc cups-server-common gir1.2-packagekitglib-1.0 libcups2 libcupscgi1
  libcupsimage2 libcupsmime1 libcupsppdc1 libpackagekit-glib2-16 libsmbclient
  libsnapd-glib1 libwbclient0 linux-firmware samba-libs snap-confine snapd
  snapd-login-service ubuntu-core-launcher
24 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
2 not fully installed or removed.
Need to get 57.4 MB of archives.
After this operation, 5,389 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
linux-libc-dev amd64 4.4.0-93.116 [836 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libcupsppdc1 amd64 2.1.3-4ubuntu0.3 [44.9 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libcupsmime1 amd64 2.1.3-4ubuntu0.3 [13.0 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libcupsimage2 amd64 2.1.3-4ubuntu0.3 [16.1 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcupscgi1 
amd64 2.1.3-4ubuntu0.3 [27.1 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
cups-core-drivers amd64 2.1.3-4ubuntu0.3 [27.2 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
cups-server-common all 2.1.3-4ubuntu0.3 [493 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cups-common 
all 2.1.3-4ubuntu0.3 [134 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cups-ppdc 
amd64 2.1.3-4ubuntu0.3 [26.7 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
cups-daemon amd64 2.1.3-4ubuntu0.3 [302 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cups-bsd 
amd64 2.1.3-4ubuntu0.3 [34.8 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
cups-client amd64 2.1.3-4ubuntu0.3 [133 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcups2 
amd64 2.1.3-4ubuntu0.3 [197 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cups amd64 
2.1.3-4ubuntu0.3 [192 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-libs 
amd64 2:4.3.11+dfsg-0ubuntu0.16.04.10 [5,169 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 samba-libs 
amd64 2:4.3.11+dfsg-0ubuntu0.16.04.10 [5,169 kB]
Get:16 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libwbclient0 amd64 2:4.3.11+dfsg-0ubuntu0.16.04.10 [30.0 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libsmbclient amd64 2:4.3.11+dfsg-0ubuntu0.16.04.10 [53.3 kB]
Get:18 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
ubuntu-core-launcher amd64 2.27.5 [1,562 B]
Get:19 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd 
amd64 2.27.5 [10.7 MB]
Get:20 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
snap-confine amd64 2.27.5 [1,714 B]
Get:21 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libpackagekit-glib2-16 amd64 0.8.17-4ubuntu6~gcc5.4ubuntu1.2 [101 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
gir1.2-packagekitglib-1.0 amd64 0.8.17-4ubuntu6~gcc5.4ubuntu1.2 [26.7 kB]
Get:23 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
libsnapd-glib1 amd64 1.13-0ubuntu0.16.04.1 [52.0 kB]
Get:24 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
linux-firmware all 1.157.12 [38.8 MB]
Get:25 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
snapd-login-service amd64 1.13-0ubuntu0.16.04.1 [11.6 kB]
Fetched 57.0 MB in 2min 47s (340 kB/s)                                         
Preconfiguring packages ...
(Reading database ... 209749 files and directories currently installed.)
Preparing to unpack .../libcupsppdc1_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking libcupsppdc1:amd64 (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../libcupsmime1_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking libcupsmime1:amd64 (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../libcupsimage2_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking libcupsimage2:amd64 (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../libcupscgi1_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking libcupscgi1:amd64 (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-core-drivers_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking cups-core-drivers (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-server-common_2.1.3-4ubuntu0.3_all.deb ...
Unpacking cups-server-common (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-common_2.1.3-4ubuntu0.3_all.deb ...
Unpacking cups-common (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-ppdc_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking cups-ppdc (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-daemon_2.1.3-4ubuntu0.3_amd64.deb ...
Warning: Stopping cups.service, but it can still be activated by:
  cups.socket
Unpacking cups-daemon (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-bsd_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking cups-bsd (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups-client_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking cups-client (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../libcups2_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking libcups2:amd64 (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../cups_2.1.3-4ubuntu0.3_amd64.deb ...
Unpacking cups (2.1.3-4ubuntu0.3) over (2.1.3-4) ...
Preparing to unpack .../samba-libs_2%3a4.3.11+dfsg-0ubuntu0.16.04.10_amd64.deb 
...
Unpacking samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.10) over 
(2:4.3.11+dfsg-0ubuntu0.16.04.9) ...
Preparing to unpack 
.../libwbclient0_2%3a4.3.11+dfsg-0ubuntu0.16.04.10_amd64.deb ...
Unpacking libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.10) over 
(2:4.3.11+dfsg-0ubuntu0.16.04.9) ...
Preparing to unpack 
.../libsmbclient_2%3a4.3.11+dfsg-0ubuntu0.16.04.10_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.10) over 
(2:4.3.11+dfsg-0ubuntu0.16.04.9) ...
Preparing to unpack .../ubuntu-core-launcher_2.27.5_amd64.deb ...
Unpacking ubuntu-core-launcher (2.27.5) over (2.26.10) ...
Preparing to unpack .../snapd_2.27.5_amd64.deb ...
Warning: Stopping snapd.service, but it can still be activated by:
  snapd.socket
Unpacking snapd (2.27.5) over (2.26.10) ...
Preparing to unpack .../snap-confine_2.27.5_amd64.deb ...
Unpacking snap-confine (2.27.5) over (2.26.10) ...
Preparing to unpack 
.../libpackagekit-glib2-16_0.8.17-4ubuntu6~gcc5.4ubuntu1.2_amd64.deb ...
Unpacking libpackagekit-glib2-16:amd64 (0.8.17-4ubuntu6~gcc5.4ubuntu1.2) over 
(0.8.17-4ubuntu6~gcc5.4ubuntu1.1) ...
Preparing to unpack 
.../gir1.2-packagekitglib-1.0_0.8.17-4ubuntu6~gcc5.4ubuntu1.2_amd64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (0.8.17-4ubuntu6~gcc5.4ubuntu1.2) over 
(0.8.17-4ubuntu6~gcc5.4ubuntu1.1) ...
Preparing to unpack .../libsnapd-glib1_1.13-0ubuntu0.16.04.1_amd64.deb ...
Unpacking libsnapd-glib1:amd64 (1.13-0ubuntu0.16.04.1) over 
(1.2-0ubuntu1.1~xenial) ...
Preparing to unpack .../linux-firmware_1.157.12_all.deb ...
Unpacking linux-firmware (1.157.12) over (1.157.11) ...
Preparing to unpack .../snapd-login-service_1.13-0ubuntu0.16.04.1_amd64.deb ...
Unpacking snapd-login-service (1.13-0ubuntu0.16.04.1) over 
(1.2-0ubuntu1.1~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
dpkg: error processing package linux-libc-dev:amd64 (--configure):
 package linux-libc-dev:amd64 is not ready for configuration
 cannot configure (current status 'half-installed')
dpkg: dependency problems prevent configuration of libc6-dev:amd64:
 libc6-dev:amd64 depends on linux-libc-dev; however:
  Package linux-libc-dev:amd64 is not installed.

dpkg: error processing package libc6-dev:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up libcups2:amd64 (2.1.3-4ubuntu0.3) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                          Setting up libcupsppdc1:amd64 (2.1.3-4ubuntu0.3) ...
Setting up libcupsmime1:amd64 (2.1.3-4ubuntu0.3) ...
Setting up libcupsimage2:amd64 (2.1.3-4ubuntu0.3) ...
Setting up libcupscgi1:amd64 (2.1.3-4ubuntu0.3) ...
Setting up cups-daemon (2.1.3-4ubuntu0.3) ...
Setting up cups-core-drivers (2.1.3-4ubuntu0.3) ...
Setting up cups-server-common (2.1.3-4ubuntu0.3) ...
Setting up cups-common (2.1.3-4ubuntu0.3) ...
Setting up cups-ppdc (2.1.3-4ubuntu0.3) ...
Setting up cups-client (2.1.3-4ubuntu0.3) ...
Setting up cups-bsd (2.1.3-4ubuntu0.3) ...
Setting up cups (2.1.3-4ubuntu0.3) ...
Updating PPD files for cups ...
Updating PPD files for cups-filters ...
Updating PPD files for foomatic-db-compressed-ppds ...
Updating PPD files for openprinting-ppds ...
Updating PPD files for brlaser ...
Updating PPD files for c2esp ...
Updating PPD files for foo2zjs-common ...
Updating PPD files for gutenprint ...
Updating PPD files for hpcups ...
Updating PPD files for postscript-hp ...
Updating PPD files for ptouch ...
Updating PPD files for pxljr ...
Updating PPD files for sag-gdi ...
Updating PPD files for splix ...
Setting up libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
Setting up samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
Setting up libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.10) ...
Setting up snapd (2.27.5) ...
Installing new version of config file 
/etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
Setting up ubuntu-core-launcher (2.27.5) ...
Setting up snap-confine (2.27.5) ...
Setting up libpackagekit-glib2-16:amd64 (0.8.17-4ubuntu6~gcc5.4ubuntu1.2) ...
Setting up gir1.2-packagekitglib-1.0 (0.8.17-4ubuntu6~gcc5.4ubuntu1.2) ...
Setting up libsnapd-glib1:amd64 (1.13-0ubuntu0.16.04.1) ...
Setting up linux-firmware (1.157.12) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-33-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module 
i915
update-initramfs: Generating /boot/initrd.img-4.8.0-36-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module 
i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module 
i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module 
i915
Setting up snapd-login-service (1.13-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 linux-libc-dev:amd64
 libc6-dev:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
yash@yash-MS-7592:~$

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1715051

Title:
  package linux-libc-dev:amd64 4.4.0-93.116 failed to install/upgrade:
  package linux-libc-dev:amd64 is not ready for configuration  cannot
  configure (current status 'half-installed')

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  -

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: linux-libc-dev:amd64 4.4.0-93.116
  ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
  Uname: Linux 4.10.0-33-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  yash       1710 F.... pulseaudio
  Date: Tue Sep  5 08:44:43 2017
  Dependencies:
   
  DpkgHistoryLog:
   Start-Date: 2017-09-05  08:43:58
   Commandline: /usr/bin/unattended-upgrade
   Install: linux-image-extra-4.10.0-33-generic:amd64 (4.10.0-33.37~16.04.1, 
automatic), linux-headers-4.10.0-33-generic:amd64 (4.10.0-33.37~16.04.1, 
automatic), linux-image-4.10.0-33-generic:amd64 (4.10.0-33.37~16.04.1, 
automatic), linux-headers-4.10.0-33:amd64 (4.10.0-33.37~16.04.1, automatic)
   Upgrade: python3-jwt:amd64 (1.3.0-1, 1.3.0-1ubuntu0.1), 
linux-image-generic-hwe-16.04:amd64 (4.8.0.36.8, 4.10.0.33.35), liblouis9:amd64 
(2.6.4-2, 2.6.4-2ubuntu0.1), linux-generic-hwe-16.04:amd64 (4.8.0.36.8, 
4.10.0.33.35), python3-louis:amd64 (2.6.4-2, 2.6.4-2ubuntu0.1), 
chromium-codecs-ffmpeg-extra:amd64 (60.0.3112.78-0ubuntu0.16.04.1293, 
60.0.3112.113-0ubuntu0.16.04.1298), xserver-xorg-core-hwe-16.04:amd64 
(2:1.18.4-1ubuntu6.1~16.04.1, 2:1.18.4-1ubuntu6.1~16.04.2), liblouis-data:amd64 
(2.6.4-2, 2.6.4-2ubuntu0.1), linux-headers-generic-hwe-16.04:amd64 (4.8.0.36.8, 
4.10.0.33.35)
  DuplicateSignature:
   package:linux-libc-dev:amd64:4.4.0-93.116
   Processing triggers for libc-bin (2.23-0ubuntu9) ...
   dpkg: error processing package linux-libc-dev:amd64 (--configure):
    package linux-libc-dev:amd64 is not ready for configuration
  ErrorMessage: package linux-libc-dev:amd64 is not ready for configuration  
cannot configure (current status 'half-installed')
  HibernationDevice: RESUME=UUID=2b605a61-78e4-48e2-b997-b7b02b7855d6
  InstallationDate: Installed on 2017-08-29 (6 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  IwConfig:
   lo        no wireless extensions.
   
   enp2s0    no wireless extensions.
  MachineType: MSI MS-7592
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-33-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions: grub-pc 2.02~beta2-36ubuntu3.12
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
  SourcePackage: linux
  Title: package linux-libc-dev:amd64 4.4.0-93.116 failed to install/upgrade: 
package linux-libc-dev:amd64 is not ready for configuration  cannot configure 
(current status 'half-installed')
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/26/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V26.8
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: G41M-P26 (MS-7592)
  dmi.board.vendor: MSI
  dmi.board.version: 5.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 5.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV26.8:bd08/26/2011:svnMSI:pnMS-7592:pvr5.0:rvnMSI:rnG41M-P26(MS-7592):rvr5.0:cvnMSI:ct3:cvr5.0:
  dmi.product.name: MS-7592
  dmi.product.version: 5.0
  dmi.sys.vendor: MSI

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to