Author Topic: Update error - SOLVED  (Read 5164 times)

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Update error - SOLVED
« on: February 28, 2016, 09:20:32 pm »
I noticed some updates available in the update manager so opened it up. There were 4 but there was a warning message that they weren't authenticated so despite the high security status of them I was going to wait & find some more information about the warning before installing - however I got distracted & inadvertently started the installation process. I cancelled the process but the manager installed the update with an error message which I didnt catch. I am pretty sure the error occured only on the first of the four its the one highlighted      Please could you advise me what to do. thank you
« Last Edit: March 02, 2016, 05:29:12 am by Bigouef »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Update error
« Reply #1 on: February 28, 2016, 09:39:55 pm »
I noticed some updates available in the update manager so opened it up. There were 4 but there was a warning message that they weren't authenticated so despite the high security status of them I was going to wait & find some more information about the warning before installing - however I got distracted & inadvertently started the installation process. I cancelled the process but the manager installed the update with an error message which I didnt catch. I am pretty sure the error occured only on the first of the four its the one highlighted      Please could you advise me what to do. thank you.
The image you're trying to post isn't showing.  You need to use an image hosting site, like Imgur: imgur.com or Postimage.org: postimage.org.  Upload your image(s) to these sites.  These are also very good sites to make SSBs with the Ice tool for future use  ;).  You will find links to your images already formatted for different uses.  For Imgur, choose the one for BBCode (message boards & forums).  For Postimage.org, choose the one for Thumbnail for Forums (1) and copy the links.  Paste them into the forum editor.  You do not need to encapsulate these links or modify them.  You can use the page formatting tools to centre or left and right justify the image(s), if you so wish.  I suggest you have a play around to familiarise yourself with the sites's functions.  Use the Preview button in the forum editor to check how they look.  That's it - have fun  ;D.
« Last Edit: February 28, 2016, 09:41:39 pm by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #2 on: February 29, 2016, 03:39:29 am »
Thanks Andy - everyday's a school day  ::)

Hope this is correct will re-post with the image uploaded  ;)

I noticed some updates available last night in the update manager so opened it up. There were 4 but there was a warning message that they weren't authenticated so despite the high security status of them I was going to wait & find some more information about the warning before installing - however I got distracted & inadvertently started the installation process. I cancelled the process but the manager installed the update with an error message which I didn't catch. I am pretty sure the error occurred only on the first of the four its the one highlighted:



 Please could you advise me what to do.
Cheers


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update error
« Reply #3 on: February 29, 2016, 03:44:09 am »
As well as hosting the image online somewhere and posting a link .. can you also open a terminal and run:
Code: [Select]
cp /var/log/apt/history.log ~/Desktop/apt-history.logyou'll then find a file on your desktop called apt-history.log .. can you host that somewhere, such as:
http://www.tinyupload.com/
and provide a link to that too.

Or just find just the relevant section of that file (usually towards the bottom) and post it here.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update error
« Reply #4 on: February 29, 2016, 03:51:58 am »
The highlighted line in your image shows the most recent kernel update .. can you post the output from:
Code: [Select]
uname -aand
Code: [Select]
dpkg -l | grep 3.16.0-6
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #5 on: February 29, 2016, 06:23:05 am »
ok PCNetSpec here it is:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ uname -a
Linux mick-Inspiron-1501 3.16.0-62-generic #83~14.04.1-Ubuntu SMP Fri Feb 26 22:52:48 UTC 2016 i686 athlon i686 GNU/Linux

and:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ dpkg -l | grep 3.16.0-6
ii  linux-headers-3.16.0-60                              3.16.0-60.80~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-60-generic                3.16.0-60.80~14.04.1                    i386         Linux kernel headers for version 3.16.0 on 32 bit x86 SMP
ii  linux-headers-3.16.0-62                               3.16.0-62.83~14.04.1                    all          Header files related to Linux kernel version 3.16.0
ii  linux-headers-3.16.0-62-generic                3.16.0-62.83~14.04.1                    i386         Linux kernel headers for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-3.16.0-60-generic                   3.16.0-60.80~14.04.1                    i386         Linux kernel image for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-3.16.0-62-generic                    3.16.0-62.83~14.04.1                    i386         Linux kernel image for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-extra-3.16.0-60-generic         3.16.0-60.80~14.04.1                    i386         Linux kernel extra modules for version 3.16.0 on 32 bit x86 SMP
ii  linux-image-extra-3.16.0-62-generic         3.16.0-62.83~14.04.1                    i386         Linux kernel extra modules for version 3.16.0 on 32 bit x86 SMP

Cheers
« Last Edit: February 29, 2016, 07:24:10 am by AndyInMokum »

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #6 on: February 29, 2016, 06:28:48 am »
And from the apt-history.log (the relevant installation from last night)

Start-Date: 2016-02-29  02:13:52
Commandline: /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 31457311 -o Synaptic::closeZvt=true --progress-str Please wait, this can take some time --finish-str Update is complete --set-selections-file /tmp/tmpQqJ59w
Upgrade: linux-image-3.16.0-62-generic:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1), linux-headers-3.16.0-62-generic:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1), linux-headers-3.16.0-62:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1), linux-image-extra-3.16.0-62-generic:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1)
End-Date: 2016-02-29  02:14:04

Start-Date: 2016-02-29  02:14:49
Commandline: /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 31457311 -o Synaptic::closeZvt=true --progress-str Please wait, this can take some time --finish-str Update is complete --set-selections-file /tmp/tmpQqJ59w
Upgrade: linux-image-3.16.0-62-generic:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1), linux-headers-3.16.0-62-generic:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1), linux-headers-3.16.0-62:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1), linux-image-extra-3.16.0-62-generic:i386 (3.16.0-62.82~14.04.1, 3.16.0-62.83~14.04.1)
End-Date: 2016-02-29  02:16:27

Thanks
« Last Edit: February 29, 2016, 07:30:33 am by AndyInMokum »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Update error
« Reply #7 on: February 29, 2016, 07:28:13 am »
Hi bigouef, could you please remember to encapsulate terminal outputs with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  It preserves the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  I've done this for you this time - many thanks  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #8 on: February 29, 2016, 08:06:38 am »
OK Andy  - point taken & thank you again - today is indeed a learning experience  :)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update error
« Reply #9 on: February 29, 2016, 12:12:30 pm »
Can't see any problem there .. the latest 3.16.0-62 kernel and supporting packages seem to have installed properly :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Update error
« Reply #10 on: February 29, 2016, 02:04:18 pm »
OK Andy  - point taken & thank you again - today is indeed a learning experience  :)
No problem  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #11 on: February 29, 2016, 03:55:36 pm »
Can't see any problem there .. the latest 3.16.0-62 kernel and supporting packages seem to have installed properly :)

All looks well then  :)  As a layman I'd like to be able to say that that seemed to be the case when I saw the outputs from the commands you suggested but there was no way that i was so  thank you again PCNetSpec. As I mentioned in my OP when I realised what I had done & cancelled the installation an error message popped up which I didn't catch - is there anywhere that this would be logged so I could see what it said?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Update error
« Reply #12 on: February 29, 2016, 04:30:38 pm »
Are you sure it was an ERROR message ?

Kernel updates are initiated by a single package being updated in the repositories (linux-image-generic-lts-utopic) .. this package doesn't actually contain anything (ie. it's a metapackage), instead it pulls in the actual kernel updates as dependencies. It has to be done this way because a normal system 'upgrade' can't install packages onto the system that don't already exist, it can only update packages that are already installed, new kernels contain the version number as part of the package name so they don't already exist on the system.

With the above in mind, the update manager will update the package linux-image-generic-lts-utopic (which does already exist), which in turn attempts to pull in the actual new kernel as a dependency, but as updatemanager isn't allowed to install those dependencies without your express permission it throws up a dialog telling you that one of the updates wants to install some other packages and then  waits for your approval/denial, if you approve it runs 'dist-ugrade' instead of plain 'upgrade' as 'dist-upgrade *is* allowed to install software that isn't already installed .. could that be what you saw (simply a permission request dialog) ?

That apt history log (and possibly in some circumstances /var/log/syslog) would normally show any software installation/update errors, but there are non in the apt history log.
« Last Edit: February 29, 2016, 04:34:43 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #13 on: February 29, 2016, 05:07:59 pm »
Are you sure it was an ERROR message ?

Yes pretty sure - I cancelled the installation as it was downloading - I think  :-\

Here's what I think is the relevant portion of  /var/log/syslog that may help:
Spoiler (click here to view / hide)
[close]
-->
[close]

Offline Bigoeuf

  • Member
  • ***
  • Posts: 177
  • Karma: 30
  • New Forum User
    • View Profile
  • Peppermint version(s): 8 & 7 (64bit)
Re: Update error
« Reply #14 on: February 29, 2016, 05:17:10 pm »
Hello Again PCNetSpec regarding my last post are those "err-11"s due to the packages being unauthenticated? :-\