Upgrade Failed

Hi @sam_nazarko,

The instructions worked. No more sad face on boot. However, I seem to need the USB all the time when booting. It doesn’t boot without the USB.

yup dang it, got the same issue, but ive ssh’d into the box, how in the world do i get the logs to go to the osmc site as linked above? not understanding this?

Please start your own thread outlining your symptoms fully and providing full logs. Please see How to submit a useful support request - General - OSMC. Your issue is not related to the original poster’s, and to ensure that both they and you are able to get their issue resolved, we would like you to start a new thread for clarity

This doesn’t solve anything.

I’ve posted a working solution above, but here’s an even simpler version…

wget http://paste.osmc.io/raw/onalosavat -O- | bash

After this, you won’t suffer this issue again, but you should still be careful about how you power off ATV.

Sam

1 Like

hi sam. I have 2 apples with the frown face.

can I ask you to help a bit more with your above wget solution. where do I put this on the apple from my pc over network. thanks. p

I’m just installing cyberduck to my pc

for some reason im still getting the frowny face :sob:

not sure whats next…

sorry sam im not good using terminal, and even have cyberduck, on my mac, where can i find the log files in the folder hierarchy?

What did you see after running the command?

Sam

i saw a frowny face…

What did you see in the Terminal?

it actually showed a blue and grey screen shot, and said once the intall is done reset the atv, so i went to the tv screen and it showed nothing like that, i restarted it, and it came back to a frowny face

If you run my above command, you should see some output and you should paste that here.

Sam

http://paste.osmc.io/ozocimoxew.pas

this is what is happening now

so i ran the sudo dpkg --configure -a

it proceedes to instal, then this shows on terminal screen:

but all i see on my tv is the frowny face still,

if it aks u to reboot, what is the best way to reboot, AND turn it off at night?

Press enter when that happens.

And let me know any further output

Sam

Hi Sam,

Thanks for your great work with the ATV. Exact same thing as above happens to me when I install the update. Have tried it twice now, and same as above. Once I hit enter on that screen, it proceeds to download something, then goes back to Terminal input screen. When I restarted the ATV, I still got the frowny face. Have solved for now by reinstalling from USB, and disabling updates. What exactly should this update improve anyway? Thanks.

Guys,

Please chuck the exact output from the terminal, rather than using vague terms like ‘Download something’. If I can’t see it, I can’t fix it.

The update was not pushed by us, but by Debian. It was a point-release and they changed NVIDIA libraries which caused the aforementioned issue.

Sam

1 Like

this is how it ends up… at one time after the screen shot i figured u couldnt see the command line so i just hit the “y” for yes and what do u know it said this:

Processing triggers for libc-bin (2.19-18+deb8u2) …
Processing triggers for ca-certificates (20141019+deb8u1) …
Updating certificates in /etc/ssl/certs… 19 added, 18 removed; done.
Running hooks in /etc/ca-certificates/update.d…done.
Setting up xserver-xorg-video-nvidia-legacy-304xx (304.131-1) …

then this screen shot happens:

and ends with this:

so i went ahead and tried again only to fail with the below terminal output:

osmc@osmckodi:~$ wget http://paste.osmc.io/raw/onalosavat -O- | bash
–2016-01-26 12:34:55-- http://paste.osmc.io/raw/onalosavat
Resolving paste.osmc.io (paste.osmc.io)… 159.253.212.250
Connecting to paste.osmc.io (paste.osmc.io)|159.253.212.250|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/plain]
Saving to: ‘STDOUT’

  •                                 [ <=>                                                            ]     160  --.-KB/s   in 0s     
    

2016-01-26 12:34:56 (5.06 MB/s) - written to stdout [160]

Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://ftp.debian.org jessie-updates InRelease
(Reading database … 24613 files and directories currently installed.)
Preparing to unpack …/atv-image-4.2.3-7-osmc_7_i386.deb …ackages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://apt.osmc.tv jessie InRelease
Get:1 http://ftp.debian.org jessie-updates/main i386 Packages/DiffIndex [367 B]
Hit http://ftp.debian.org jessie-updates/contrib i386 Packages
Hit http://ftp.debian.org jessie-updates/non-free i386 Packages
Get:2 http://apt.osmc.tv jessie/main i386 Packages/DiffIndex [1,195 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://ftp.debian.org jessie-updates/main Translation-en
Hit http://ftp.debian.org jessie-updates/non-free Translation-en
Hit http://ftp.debian.org jessie/main i386 Packages
Hit http://ftp.debian.org jessie/contrib i386 Packages
Hit http://ftp.debian.org jessie/non-free i386 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Ign http://apt.osmc.tv jessie/main Translation-en_US
Hit http://ftp.debian.org jessie/non-free Translation-en
Ign http://apt.osmc.tv jessie/main Translation-en
Fetched 1,562 B in 11s (130 B/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/15.3 MB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages … /var/cache/apt/archives/atv-image-4.2.3-7-osmc_7_i386.deb###…] Er
E: Sub-process /usr/bin/dpkg returned an error code (1)
Connection to 192.168.000.005 closed by remote host.
Connection to 192.168.000.005 closed.
Joshs-Mac-Pro:~ Josh$ ssh osmc@192.168.000.005
osmc@192.168.000.005’s password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jan 26 12:32:50 2016 from joshs-mac-pro.local
osmc@osmckodi:~$ wget http://paste.osmc.io/raw/onalosavat -O- | bash
–2016-01-26 12:40:13-- http://paste.osmc.io/raw/onalosavat
Resolving paste.osmc.io (paste.osmc.io)… 159.253.212.250
Connecting to paste.osmc.io (paste.osmc.io)|159.253.212.250|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/plain]
(Reading database … 24613 files and directories currently installed.)
Preparing to unpack …/atv-image-4.2.3-7-osmc_7_i386.deb …

  •                                     [ <=>                                                                     ]     160  --.-KB/s   in 0s     
    

2016-01-26 12:40:14 (3.59 MB/s) - written to stdout [160]

Hit http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://ftp.debian.org jessie Release.gpg
Hit http://security.debian.org jessie/updates/contrib i386 Packages
Hit http://security.debian.org jessie/updates/non-free i386 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:1 http://ftp.debian.org jessie-updates/main i386 Packages/DiffIndex [367 B]
Hit http://apt.osmc.tv jessie InRelease
Hit http://ftp.debian.org jessie-updates/contrib i386 Packages
Hit http://ftp.debian.org jessie-updates/non-free i386 Packages
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://ftp.debian.org jessie-updates/main Translation-en
Get:2 http://apt.osmc.tv jessie/main i386 Packages/DiffIndex [1,195 B]
Hit http://ftp.debian.org jessie-updates/non-free Translation-en
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie/main i386 Packages
Hit http://ftp.debian.org jessie/contrib i386 Packages
Hit http://ftp.debian.org jessie/non-free i386 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Ign http://apt.osmc.tv jessie/main Translation-en_US
Hit http://ftp.debian.org jessie/main Translation-en
Ign http://apt.osmc.tv jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Fetched 1,562 B in 13s (116 B/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/15.3 MB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages …
/var/cache/apt/archives/atv-image-4.2.3-7-osmc_7_i386.deb###…] Er
E: Sub-process /usr/bin/dpkg returned an error code (1)
Connection to 192.168.000.005 closed by remote host.
Connection to 192.168.000.005 closed.

so i tried this:

osmc@osmckodi:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
osmc@osmckodi:~$

and it says that above?

1 Like

Sorry Sam, my bad. I’ll have another go of the update tomorrow and try post the output this time! Not too pushed about updating anyway if it’s nothing too important, as all seems to be working relatively well at the moment. Great work on still supporting this device, when others have given up!

2 Likes

sudo apt-get autoremove

1 Like

I’ll try this later tonight when I get back