These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Unable to install on Pi

user-2079

System - Pi 3  running Raspbian stretch

I have tried to install get_iplayer by using the command
       wget http://packages.hedgerows.org.uk/raspbian/install.sh -O - | sh

and I get the following error reported

"The following NEW packages will be installed:
 get-iplayer
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 135 kB of archives.
After this operation, 516 kB of additional disk space will be used.
Get:1 http://packages.hedgerows.org.uk/raspbian stable/ get-iplayer 3.12-ppa31c~stable [135 kB]
Err:1 http://packages.hedgerows.org.uk/raspbian stable/ get-iplayer 3.12-ppa31c~stable
 Writing more data than expected (134864 > 134842) [IP: 151.101.17.147 80]
 Hashes of expected file:
  - SHA512:f2de5d5e96e394685791ac06360a86ab362da352b2abd3e8f7e6d012013f8399e3dd9eb47630f03de5b01075c4335ef19e4dc7413ea69ed10f1706094ea12e2b
  - SHA256:ffe5f4f031ab1e76f74aae59270d21982df69ca845d17621f115e05638e229ac
  - SHA1:fbd3dd6e04b738dc69873c9f91f8bf37b57eeeff [weak]
  - MD5Sum:e0b5e831b92b168d0cfb03740f09db10 [weak]
  - Filesize:134842 [weak]
E: Failed to fetch http://packages.hedgerows.org.uk/raspbia...le_all.deb  Writing more data than expected (134864 > 134842) [IP: 151.101.17.147 80]
  Hashes of expected file:
   - SHA512:f2de5d5e96e394685791ac06360a86ab362da352b2abd3e8f7e6d012013f8399e3dd9eb47630f03de5b01075c4335ef19e4dc7413ea69ed10f1706094ea12e2b
   - SHA256:ffe5f4f031ab1e76f74aae59270d21982df69ca845d17621f115e05638e229ac
   - SHA1:fbd3dd6e04b738dc69873c9f91f8bf37b57eeeff [weak]
   - MD5Sum:e0b5e831b92b168d0cfb03740f09db10 [weak]
   - Filesize:134842 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"

Can anyone please advise me how to overcome this issue and complete the installation ?

Thanks

Mick

user-30

I've encountered this error a few times before and it related to the caching of the repo (either locally or perhaps via a transparent proxy by an ISP) being 'out of sync' with the origin repo - i.e. the origin repo had an updated package that hadn't been mirrored.

That may or may not be the specific cause in this case, but you could try the same remedy.

Firstly, you could wait a while and see if whatever cache is in place in updated, that usually solves the issue. But also in the past I've tried these two commands to clear out any downloaded package files and then re-fetch updates:

sudo apt clean

Then use the following command to fetch non-cached package info:

sudo apt -o Acquire::https::No-Cache=True -o Acquire::http::No-Cache=True update

Then reattempt the installation.

This hasn't always worked for me, sometimes there's more invasive effort required, but seeing as these steps has virtually no downsides they can be a simple fix to try.

user-1021

I can confirm it's not just you.

There's a mismatch between the files in the repository and the Packages file that says what to expect. This shouldn't happen...

I'm looking into it.

jon

user-1021

I've fixed the repository.

In short - it should be fine now, please try again.

(It turns out that there's a bug in mini-dinstall which I tripped over when forcing a rebuild of get-iplayer while testing the autobuilder.)

Jon

user-2079

Thanks Jon, it has worked and is now installed.

:-)

These forums are archived

See this post for further info