Update is incomplete (SOLVED)

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Update is incomplete (SOLVED)

Post by riki »

For the past few weeks every time I update LM13 I get the attached error. Can someone enlighten me?
Update is incomplete.jpeg
Last edited by riki on Sun Sep 08, 2013 4:07 am, edited 1 time in total.
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

I would have thought that with so many geeks and knowledgeable Linux users out there some help, if not a fix, would have been offered. :o
User avatar
karlchen
Level 21
Level 21
Posts: 13344
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update is incomplete

Post by karlchen »

Hello, riki.

In order to get any helpful replies it might have been smarter to post a screenshot which is not so hard to read.
More importantly it would have been helpful to give a few technical details about your Mint 13 system.
As one of the error messages in the screenshot talks about multiarch being looked for, but not being found, a minimal detail which we need to know will be this:

Code: Select all

uname -a
Oh, and it may improve the situation if you run these 2 commands:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
and post the output here. So even if the 2 commands may not succeed we will at least get a few more details (hopefully).

Kind regards,
Karl
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

Hello, riki.

In order to get any helpful replies it might have been smarter to post a screenshot which is not so hard to read.
More importantly it would have been helpful to give a few technical details about your Mint 13 system.
As one of the error messages in the screenshot talks about multiarch being looked for, but not being found, a minimal detail which we need to know will be this:

Code: Select all

uname -a
Kind regards,
Karl[/quote]

Thanks for coming in Karl. Re screenshot, I agree, thanks for pointing it out to me. Here is the screenshot you request.
Screenshot.png
[quote="karlchen"]
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

Below is what I get with your two commands Karl. Thanks for your time.

bash: /usr/bin/mint-fortune: No such file or directory
riki@riki-System-Product-Name ~ $ sudo apt-get update
[sudo] password for riki:
Hit http://archive.canonical.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Get:1 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise Release
Get:3 http://security.ubuntu.com precise-security Release [49,6 kB]
Hit http://packages.mate-desktop.org precise Release.gpg
Hit http://packages.medibuntu.org precise Release.gpg
Get:4 http://archive.ubuntu.com precise-updates Release [49,6 kB]
Hit http://packages.mate-desktop.org precise Release
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://ppa.launchpad.net precise/main Sources
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://packages.medibuntu.org precise Release
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://packages.mate-desktop.org precise/main Sources
Get:5 http://security.ubuntu.com precise-security/main i386 Packages [331 kB]
Get:6 http://packages.linuxmint.com maya Release.gpg [197 B]
Hit http://packages.mate-desktop.org precise/main i386 Packages
Ign http://packages.mate-desktop.org precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://packages.medibuntu.org precise/free i386 Packages
Get:7 http://archive.ubuntu.com precise-updates/main i386 Packages [707 kB]
Hit http://download.ebz.epson.net lsb3.2 Release.gpg
Get:8 http://packages.linuxmint.com maya Release [17,8 kB]
Hit http://packages.medibuntu.org precise/non-free i386 Packages
Hit http://download.ebz.epson.net lsb3.2 Release
Get:9 http://security.ubuntu.com precise-security/restricted i386 Packages [4.620 B]
Get:10 http://security.ubuntu.com precise-security/universe i386 Packages [84,5 kB]
Get:11 http://security.ubuntu.com precise-security/multiverse i386 Packages [2.633 B]
Get:12 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:13 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:14 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:15 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Ign http://packages.medibuntu.org precise/free TranslationIndex
Get:16 http://security.ubuntu.com precise-security/main Translation-en [150 kB]
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://download.ebz.epson.net lsb3.2/main i386 Packages
Get:17 http://packages.linuxmint.com maya/main i386 Packages [18,4 kB]
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_GB
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:18 http://archive.ubuntu.com precise-updates/restricted i386 Packages [11,4 kB]
Get:19 http://archive.ubuntu.com precise-updates/universe i386 Packages [219 kB]
Get:20 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [14,0 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Get:21 http://archive.ubuntu.com precise-updates/main TranslationIndex [3.564 B]
Ign http://archive.canonical.com precise/partner Translation-en
Get:22 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2.605 B]
Get:23 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2.461 B]
Get:24 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2.850 B]
Get:25 http://archive.ubuntu.com precise/main Translation-en_GB [96,4 kB]
Ign http://download.ebz.epson.net lsb3.2/main TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Get:26 http://archive.ubuntu.com precise/multiverse Translation-en_GB [79,8 kB]
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Get:27 http://archive.ubuntu.com precise/restricted Translation-en_GB [2.406 B]
Hit http://archive.ubuntu.com precise/restricted Translation-en
Get:28 http://archive.ubuntu.com precise/universe Translation-en_GB [5.492 B]
Hit http://archive.ubuntu.com precise/universe Translation-en
Get:29 http://archive.ubuntu.com precise-updates/main Translation-en_GB [96,4 kB]
Get:30 http://archive.ubuntu.com precise-updates/main Translation-en [310 kB]
Ign http://packages.mate-desktop.org precise/main Translation-en_GB
Get:31 http://packages.linuxmint.com maya/upstream i386 Packages [10,6 kB]
Get:32 http://packages.linuxmint.com maya/import i386 Packages [41,7 kB]
Get:33 http://archive.ubuntu.com precise-updates/multiverse Translation-en_GB [79,8 kB]
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Get:34 http://archive.ubuntu.com precise-updates/restricted Translation-en_GB [2.406 B]
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Get:35 http://archive.ubuntu.com precise-updates/universe Translation-en_GB [5.492 B]
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Ign http://packages.mate-desktop.org precise/main Translation-en
Ign http://packages.linuxmint.com maya/import TranslationIndex
Ign http://packages.linuxmint.com maya/main TranslationIndex
Ign http://packages.linuxmint.com maya/upstream TranslationIndex
Ign http://packages.medibuntu.org precise/free Translation-en_GB
Ign http://packages.medibuntu.org precise/free Translation-en
Ign http://packages.medibuntu.org precise/non-free Translation-en_GB
Ign http://packages.medibuntu.org precise/non-free Translation-en
Ign http://download.ebz.epson.net lsb3.2/main Translation-en_GB
Ign http://download.ebz.epson.net lsb3.2/main Translation-en
Ign http://packages.linuxmint.com maya/import Translation-en_GB
Ign http://packages.linuxmint.com maya/import Translation-en
Ign http://packages.linuxmint.com maya/main Translation-en_GB
Ign http://packages.linuxmint.com maya/main Translation-en
Ign http://packages.linuxmint.com maya/upstream Translation-en_GB
Ign http://packages.linuxmint.com maya/upstream Translation-en
Fetched 2.402 kB in 7s (342 kB/s)
Reading package lists... Done
riki@riki-System-Product-Name ~ $

bash: /usr/bin/mint-fortune: No such file or directory
riki@riki-System-Product-Name ~ $ sudo apt-get upgrade
[sudo] password for riki:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
base-files dbus dbus-x11 gir1.2-dbusmenu-glib-0.4 gir1.2-dbusmenu-gtk-0.4
libdbus-1-3 libdbus-glib-1-2 libdbusmenu-glib4 libdbusmenu-gtk3-4
libdbusmenu-gtk4 linux-firmware linux-libc-dev linux-sound-base mountall
xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all
xserver-xorg-input-evdev xserver-xorg-input-synaptics
xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all
xserver-xorg-video-intel xserver-xorg-video-nouveau
xserver-xorg-video-openchrome xserver-xorg-video-qxl
xserver-xorg-video-vmware
28 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 27,6 MB of archives.
After this operation, 1.083 kB of additional disk space will be used.
Do you want to continue [Y/n]?
User avatar
karlchen
Level 21
Level 21
Posts: 13344
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update is incomplete

Post by karlchen »

Hello, Riki.

The "sudo apt-get update" output looks pretty normal.
May we learn why the "sudo apt-get upgrade" ends with the question
Do you want to continue [Y/n]?
May we assume that the question has been answered with "n" (no)?
This would be a pity because it woudl have been the log of the upgrade steps which might have shed some light on what happens and why dpkg should look for multi arch on a 32-bit system.

Hm, one error message from the initial post might be cleared up easily. The error message about a syntax problem in the file /etc/default/grub.
Could you please post the content of the file /etc/default/grub?

Kind regards,
Karl
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

karlchen wrote:Hello, Riki.

The "sudo apt-get update" output looks pretty normal.
May we learn why the "sudo apt-get upgrade" ends with the question
Do you want to continue [Y/n]?
May we assume that the question has been answered with "n" (no)? Yes, I answered with "n"
This would be a pity because it woudl have been the log of the upgrade steps which might have shed some light on what happens and why dpkg should look for multi arch on a 32-bit system.

Hm, one error message from the initial post might be cleared up easily. The error message about a syntax problem in the file /etc/default/grub.
Could you please post the content of the file /etc/default/grub?

# 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=20
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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,0xefefefef"

# 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"


Kind regards,
Karl
User avatar
karlchen
Level 21
Level 21
Posts: 13344
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update is incomplete

Post by karlchen »

Hello, Riki.

File /etc/default/grub holds an unmatched double quote.
Double quotes must come in pairs. The first one marks the beginning of a text string, the second one marks its end.
If one of the two is missing, the commandline parser gets nuts.

Anyway. The offending line is this one

Code: Select all

GRUB_CMDLINE_LINUX="
One syntactically correct form would be

Code: Select all

GRUB_CMDLINE_LINUX=""
Having corrected the file /etc/default/grub you should make grub use the corrected file by executing

Code: Select all

sudo update-grub
I am not quite sure that the root cause of your dpkg error messages which you posted initially is this syntax error in the file /etc/default/grub. Yet it is imaginable.

Kind regards,
Karl
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

karlchen wrote:Hello, Riki.

File /etc/default/grub holds an unmatched double quote.
Double quotes must come in pairs. The first one marks the beginning of a text string, the second one marks its end.
If one of the two is missing, the commandline parser gets nuts.

Anyway. The offending line is this one

Code: Select all

GRUB_CMDLINE_LINUX="
One syntactically correct form would be

Code: Select all

GRUB_CMDLINE_LINUX=""
Having corrected the file /etc/default/grub you should make grub use the corrected file by executing

Code: Select all

sudo update-grub
I am not quite sure that the root cause of your dpkg error messages which you posted initially is this syntax error in the file /etc/default/grub. Yet it is imaginable.

Kind regards,
Karl
Many thanks Karl. At this stage I am wondering whether I should leave well alone and carry on as things are. I would hate to break the system (reminiscent of past headaches and many hours of work in deep waters) and end up having to start from scratch re-installing the distro. I love Linux but getting involved with commands, etc. is not my forte! Apart from the error message that comes up every time I update, everything is running smoothly. What is your advice? Should I just forget about it and not risk it interfering with the system? Can I possibly cause any damage to the boot loader by adding the missing quote and updating grub?
User avatar
karlchen
Level 21
Level 21
Posts: 13344
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update is incomplete

Post by karlchen »

Hello, Riki.

The risk of breaking something by adding the missing double quote to /etc/default/grub is pretty low.
The opposite is true, because right now grub has got a problem incorporating the settings given in /etc/default/grub into it s configuration.
So adding the missing double quotes in /etc/default/grub and then making grub use them is likely to eliminate a problem.

Note:
You will have to edit the file /etc/default/grub with root privileges. I.e. you will have to run a commandline like

Code: Select all

sudo gedit /etc/default/grub
assuming that gEdit is the editor of your choice.
Having applied the correction you will have to run the commandline

Code: Select all

sudo update-grub
in order to make grub read its configuration including /etc/default/grub and apply all those settings.

I admit that at first I was horribly afraid of breaking things by applying

Code: Select all

sudo update-grub
too. Yet, by now I know that

Code: Select all

sudo update-grub
will only break something in case I have incorrectly modified /etc/default/grub before.
And then the way to correct such a mistake is by
+ correcting /etc/default/grub first
+ run "sudo update-grub" next.

Kind regards,
Karl
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

Done it with editor pluma, so far so good.

# 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=20
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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,0xefefefef"

# 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"

GRUB_SAVEDEFAULT="false"
User avatar
riki
Level 4
Level 4
Posts: 448
Joined: Thu Jun 03, 2010 4:57 pm
Location: UK
Contact:

Re: Update is incomplete

Post by riki »

Karl, just to say thank you once again for your help and patience. I shouldn't get the error message next time I update. All the best.
Post Reply

Return to “Software & Applications”