Announcement

Collapse
No announcement yet.

E: Sub-process /usr/bin/dpkg returned an error code [1]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    E: Sub-process /usr/bin/dpkg returned an error code [1]

    The following:

    dpkg: error processing package linux-signed-generic-lts-vivid (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    linux-image-3.19.0-56-generic
    linux-image-extra-3.19.0-56-generic
    linux-image-generic-lts-vivid
    linux-generic-lts-vivid
    linux-signed-image-3.19.0-56-generic
    linux-signed-image-generic-lts-vivid
    linux-signed-generic-lts-vivid
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    steven@steven-K1404:~$ sudo dpkg --configure -a
    Setting up linux-image-3.19.0-56-generic (3.19.0-56.62~14.04.1) ...
    Running depmod.
    update-initramfs: deferring update (hook will be called later)
    initrd.img(/boot/initrd.img-3.19.0-56-generic
    ) points to /boot/initrd.img-3.19.0-56-generic
    (/boot/initrd.img-3.19.0-56-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.19.0-56-generic.postinst line 491.
    vmlinuz(/boot/vmlinuz-3.19.0-56-generic
    ) points to /boot/vmlinuz-3.19.0-56-generic
    (/boot/vmlinuz-3.19.0-56-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-3.19.0-56-generic.postinst line 491.
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    update-initramfs: Generating /boot/initrd.img-3.19.0-56-generic
    run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    P: Checking for EXTLINUX directory... found.
    P: Writing config for /boot/vmlinuz-3.19.0-56-generic...
    P: Writing config for /boot/vmlinuz-3.19.0-51-generic.efi.signed...
    P: Writing config for /boot/vmlinuz-3.19.0-51-generic...
    P: Installing debian theme... done.
    run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-56-generic /boot/vmlinuz-3.19.0-56-generic
    /usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: EOF in backquote substitution
    run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
    Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.19.0-56-generic.postinst line 1025.
    dpkg: error processing package linux-image-3.19.0-56-generic (--configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of linux-image-extra-3.19.0-56-generic:
    linux-image-extra-3.19.0-56-generic depends on linux-image-3.19.0-56-generic; however:
    Package linux-image-3.19.0-56-generic is not configured yet.

    dpkg: error processing package linux-image-extra-3.19.0-56-generic (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-image-generic-lts-vivid:
    linux-image-generic-lts-vivid depends on linux-image-3.19.0-56-generic; however:
    Package linux-image-3.19.0-56-generic is not configured yet.
    linux-image-generic-lts-vivid depends on linux-image-extra-3.19.0-56-generic; however:
    Package linux-image-extra-3.19.0-56-generic is not configured yet.

    dpkg: error processing package linux-image-generic-lts-vivid (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-signed-image-3.19.0-56-generic:
    linux-signed-image-3.19.0-56-generic depends on linux-image-3.19.0-56-generic (= 3.19.0-56.62~14.04.1); however:
    Package linux-image-3.19.0-56-generic is not configured yet.
    linux-signed-image-3.19.0-56-generic depends on linux-image-extra-3.19.0-56-generic (= 3.19.0-56.62~14.04.1); however:
    Package linux-image-extra-3.19.0-56-generic is not configured yet.

    dpkg: error processing package linux-signed-image-3.19.0-56-generic (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-signed-image-generic-lts-vivid:
    linux-signed-image-generic-lts-vivid depends on linux-signed-image-3.19.0-56-generic; however:
    Package linux-signed-image-3.19.0-56-generic is not configured yet.

    dpkg: error processing package linux-signed-image-generic-lts-vivid (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic-lts-vivid:
    linux-generic-lts-vivid depends on linux-image-generic-lts-vivid (= 3.19.0.56.40); however:
    Package linux-image-generic-lts-vivid is not configured yet.

    dpkg: error processing package linux-generic-lts-vivid (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-signed-generic-lts-vivid:
    linux-signed-generic-lts-vivid depends on linux-signed-image-generic-lts-vivid (= 3.19.0.56.40); however:
    Package linux-signed-image-generic-lts-vivid is not configured yet.

    dpkg: error processing package linux-signed-generic-lts-vivid (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    linux-image-3.19.0-56-generic
    linux-image-extra-3.19.0-56-generic
    linux-image-generic-lts-vivid
    linux-signed-image-3.19.0-56-generic
    linux-signed-image-generic-lts-vivid
    linux-generic-lts-vivid
    linux-signed-generic-lts-vivid

    I looked at /usr/bin/dpkg and it was computer language. I am at a loss to understand how to fix this problem. If there are missing dependencies, how do I locate and install them? Thanks!

    #2
    Originally posted by Shabakthanai View Post
    /usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: EOF in backquote substitution
    That's the error message, there seems to be a syntax error in /etc/default/grub.
    Post the contents of /etc/default/grub and we'll have a look.

    Comment


      #3
      # If you change this file, run 'update-grub' afterwards to update
      # /boot/grub/grub.cfg.
      # For full documentation of the options in this file, see:
      # info -f grub -n 'Simple configuration'

      GRUB_DEFAULT=0
      #GRUB_HIDDEN_TIMEOUT=0
      GRUB_HIDDEN_TIMEOUT_QUIET=true
      GRUB_TIMEOUT=10
      GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" radeon.dpm=1"
      GRUB_CMDLINE_LINUX=""

      # Uncomment to enable BadRAM filtering, modify to suit your needs
      # This works with Linux (no patch required) and with any kernel that obtains
      # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
      #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xe fefefef"

      # Uncomment to disable graphical terminal (grub-pc only)
      #GRUB_TERMINAL=console

      # The resolution used on graphical terminal
      # note that you can use only modes which your graphic card supports via VBE
      # you can see them in real GRUB with the command `vbeinfo'
      #GRUB_GFXMODE=640x480

      # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
      #GRUB_DISABLE_LINUX_UUID=true

      # Uncomment to disable generation of recovery mode menu entries
      #GRUB_DISABLE_RECOVERY="true"

      # Uncomment to get a beep at grub start
      #GRUB_INIT_TUNE="480 440 1"


      Originally posted by kubicle View Post
      That's the error message, there seems to be a syntax error in /etc/default/grub.
      Post the contents of /etc/default/grub and we'll have a look.

      Comment


        #4
        Originally posted by Shabakthanai View Post
        GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" radeon.dpm=1"
        There are too many quotes (") on that line:
        1. Open the file with "kdesudo kate /etc/default/grub"
        2. Remove the quote in the middle:
        GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.dpm=1"
        3. Save
        4. Run "sudo dpkg --configure -a"

        Comment


          #5
          It is such a surprise when something gets fixed. Thank you so very much.

          Originally posted by kubicle View Post
          There are too many quotes (") on that line:
          1. Open the file with "kdesudo kate /etc/default/grub"
          2. Remove the quote in the middle:
          GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.dpm=1"
          3. Save
          4. Run "sudo dpkg --configure -a"

          Comment

          Working...
          X