martijncas
Posts: 2
Joined: Fri Sep 21, 2018 7:02 pm

cannot upgrade?

Fri Sep 21, 2018 7:10 pm

I want to update my node.js to newest version but run into a lot of cascading trouble. I'll start at the beginning. When i run:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

it looks like the system is doing the upgrade
so logs are the same:

(i am currently on 7 Wheezy)
-------------------------------------------------------------------

Code: Select all

[email protected] /etc/apt/sources.list.d $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

## Installing the NodeSource Node.js 10.x repo...


## Populating apt-get cache...

+ apt-get update
Ign http://repo.mosquitto.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Ign http://repo.mosquitto.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Err http://repo.mosquitto.org wheezy/main armhf Packages
  404  Not Found
Ign http://repo.mosquitto.org wheezy/main Translation-en_GB
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://repo.mosquitto.org wheezy/main Translation-en
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit https://deb.nodesource.com wheezy Release.gpg
Hit https://deb.nodesource.com wheezy Release
Get:1 https://deb.nodesource.com wheezy/main Sources [680 B]
Get:2 https://deb.nodesource.com wheezy/main armhf Packages [932 B]
Hit https://repo.mosquitto.org jessie Release.gpg
Hit https://repo.mosquitto.org jessie Release
Hit https://repo.mosquitto.org jessie/main armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Ign https://deb.nodesource.com wheezy/main Translation-en_GB
Ign https://deb.nodesource.com wheezy/main Translation-en
Ign https://repo.mosquitto.org jessie/main Translation-en_GB
Ign https://repo.mosquitto.org jessie/main Translation-en
Fetched 11.6 kB in 16s (719 B/s)
W: Size of file /var/lib/apt/lists/partial/deb.nodesource.com_node%5f0.10_dists_wheezy_main_source_Sources is not what the server reported 4739 680
W: Failed to fetch http://repo.mosquitto.org/debian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch https://deb.nodesource.com/node_0.10/dists/wheezy/main/source/Sources  Hash Sum mismatch

W: Failed to fetch https://deb.nodesource.com/node_0.10/dists/wheezy/main/binary-armhf/Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
[email protected] /etc/apt/sources.list.d $ 

martijncas
Posts: 2
Joined: Fri Sep 21, 2018 7:02 pm

Re: cannot upgrade?

Sat Sep 22, 2018 6:22 am

I updated my key.

Code: Select all

wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
no luck. same error.

fruitoftheloom
Posts: 17488
Joined: Tue Mar 25, 2014 12:40 pm

Re: cannot upgrade?

Sat Sep 22, 2018 9:32 am

martijncas wrote:
Fri Sep 21, 2018 7:10 pm
I want to update my node.js to newest version but run into a lot of cascading trouble. I'll start at the beginning. When i run:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

it looks like the system is doing the upgrade
so logs are the same:

(i am currently on 7 Wheezy)
-------------------------------------------------------------------

Code: Select all

[email protected] /etc/apt/sources.list.d $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

## Installing the NodeSource Node.js 10.x repo...


## Populating apt-get cache...

+ apt-get update
Ign http://repo.mosquitto.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Ign http://repo.mosquitto.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Err http://repo.mosquitto.org wheezy/main armhf Packages
  404  Not Found
Ign http://repo.mosquitto.org wheezy/main Translation-en_GB
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://repo.mosquitto.org wheezy/main Translation-en
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Hit https://deb.nodesource.com wheezy Release.gpg
Hit https://deb.nodesource.com wheezy Release
Get:1 https://deb.nodesource.com wheezy/main Sources [680 B]
Get:2 https://deb.nodesource.com wheezy/main armhf Packages [932 B]
Hit https://repo.mosquitto.org jessie Release.gpg
Hit https://repo.mosquitto.org jessie Release
Hit https://repo.mosquitto.org jessie/main armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Ign https://deb.nodesource.com wheezy/main Translation-en_GB
Ign https://deb.nodesource.com wheezy/main Translation-en
Ign https://repo.mosquitto.org jessie/main Translation-en_GB
Ign https://repo.mosquitto.org jessie/main Translation-en
Fetched 11.6 kB in 16s (719 B/s)
W: Size of file /var/lib/apt/lists/partial/deb.nodesource.com_node%5f0.10_dists_wheezy_main_source_Sources is not what the server reported 4739 680
W: Failed to fetch http://repo.mosquitto.org/debian/dists/wheezy/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch https://deb.nodesource.com/node_0.10/dists/wheezy/main/source/Sources  Hash Sum mismatch

W: Failed to fetch https://deb.nodesource.com/node_0.10/dists/wheezy/main/binary-armhf/Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
[email protected] /etc/apt/sources.list.d $ 

Raspbian Wheezy was end of life years ago, suggest you undertake a clean install of the latest Raspbian Stretch OS:

https://www.raspberrypi.org/downloads/raspbian/
Adieu

Return to “Troubleshooting”

Who is online

Users browsing this forum: HawaiianPi and 57 guests