Author Topic: sudo apt-get upgrade fails (Solved)  (Read 675 times)

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
sudo apt-get upgrade fails (Solved)
« on: August 19, 2018, 01:12:13 pm »
This is for peppermint 6:

Hello when I do an apt-get upgrade I get the following error:


Code: [Select]
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up grub-pc (2.02~beta2-9ubuntu1.14) ...
/var/lib/dpkg/info/grub-pc.config: 11: /etc/default/grub: splash”: not found
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
It Seems to Boot OK, but I would like to get rid of the extraneous file.I also know there is a way to compress the text in this post, so you don't see a bunch of irrelevant data, but I forgot how.  It looks like the GRUB is mis-configured, but I tried to update it with the boot options and it didn't seem to fix it.
Thanks for any help
SDGEngineer
« Last Edit: August 19, 2018, 07:58:02 pm by sdgengineer »
No Job is impossible for the  person who doesn't have to do it!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: sudo apt-get upgrade fails
« Reply #1 on: August 19, 2018, 01:31:47 pm »
You appear to have a weird quotation mark in your /etc/default/grub file ???

Open a terminal and run:
Code: [Select]
sudo gedit /etc/default/grubfind the line (line 11) that currently reads something like:-
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash”and fix the quotation marks, so it now reads something like:-
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"SAVE the file, then run:
Code: [Select]
sudo dpkg --configure -aand hopefully you'll get no errors.

they may look the same, but if you look closely yours currently ends with:-

and it should be:-
"
« Last Edit: August 19, 2018, 01:47:58 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline sdgengineer

  • Member
  • ***
  • Posts: 79
  • Karma: 5
  • Forum User
    • View Profile
    • Scott Gardner PE
  • Peppermint version(s): 1, 3, 4, 5, 6, 8, 9, 10
Re: sudo apt-get upgrade fails (Solved)
« Reply #2 on: August 19, 2018, 07:56:51 pm »
That Fixed it!   :) Not sure where the odd quote came from.

Thanks, Will mark it solved.

SDGengineer
No Job is impossible for the  person who doesn't have to do it!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: sudo apt-get upgrade fails (Solved)
« Reply #3 on: August 20, 2018, 03:44:12 am »
You're most welcome :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec