sugarlabs / rpi23-gen-image

Advanced Debian "jessie" and "stretch" bootstrap script for RPi2/3
GNU General Public License v2.0
0 stars 1 forks source link

Installation of Dependency Packages Fails Everytime #14

Closed amanharitsh123 closed 6 years ago

amanharitsh123 commented 6 years ago

In every attempt to build the image , one or more of the required dependency package fail to download and the script terminates with the error . Is there anything wrong with the APT Server i have been using ? Should I select some regional mirror rather than http://ftp.debian.org/debian/

Logs Here : https://paste.fedoraproject.org/paste/7enpIZqlqvHLYxIPQjDsYg

Hrishi1999 commented 6 years ago

Paste your deboostrap.log too, found in images...folder.

On Feb 5, 2018 9:22 PM, "Aman Sharma" notifications@github.com wrote:

In every attempt to build the image , one or more of the required dependency package fail to download and the script terminates with the error . Is there anything wrong with the APT Server i have been using ? Should I select some regional mirror rather than http://ftp.debian.org/debian/

Logs Here : https://paste.fedoraproject.org/paste/7enpIZqlqvHLYxIPQjDsYg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/rpi23-gen-image/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/APdTUl3S4xyUGwNzgkqeXfbM2ymUcEVLks5tRyO0gaJpZM4R5qCJ .

Rishabh42 commented 6 years ago

Which OS have you been using?

On Mon, Feb 5, 2018 at 9:30 PM, Hrishi notifications@github.com wrote:

Paste your deboostrap.log too, found in images...folder.

On Feb 5, 2018 9:22 PM, "Aman Sharma" notifications@github.com wrote:

In every attempt to build the image , one or more of the required dependency package fail to download and the script terminates with the error . Is there anything wrong with the APT Server i have been using ? Should I select some regional mirror rather than http://ftp.debian.org/debian/

Logs Here : https://paste.fedoraproject.org/paste/7enpIZqlqvHLYxIPQjDsYg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/rpi23-gen-image/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ APdTUl3S4xyUGwNzgkqeXfbM2ymUcEVLks5tRyO0gaJpZM4R5qCJ .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/rpi23-gen-image/issues/14#issuecomment-363129328, or mute the thread https://github.com/notifications/unsubscribe-auth/ATgp4PZIDXZM-7VFkg3CeJ7nU1nq_zg8ks5tRyWmgaJpZM4R5qCJ .

amanharitsh123 commented 6 years ago

Host : Ubuntu 16.04 Schroot : Debian Stretch

amanharitsh123 commented 6 years ago

debootstrap.log

Logs.txt

quozl commented 6 years ago

In your https://paste.fedoraproject.org/paste/7enpIZqlqvHLYxIPQjDsYg ...

W: Couldn't download package libgconf-2-4 (ver 3.2.6-4+b1 arch armhf)

Per https://packages.debian.org/search?keywords=libgconf-2-4 this version number is correct and is available from the Debian archives.

In your Logs.txt ...

W: Couldn't download package cgmanager (ver 0.41-2 arch armhf)

Per https://packages.debian.org/search?keywords=cgmanager this version number is correct and is available from the Debian archives.

You've got a broken package archive or a broken network.

Nothing to do with rpi23-gen-image, so I'll close.

Use a different package archive, use a VPN to escape your broken network, or set up a local instance of approx and keep trying until approx has all packages cached.

amanharitsh123 commented 6 years ago

Thank you for the suggestion, using the local instance of approx solved my issue

quozl commented 6 years ago

That's great. You should also work with your network provider to find out what the cause is. If it happens with debootstrap it may also sometimes happen with approx, just that approx will let you retry only the downloads that failed. Or change provider. :grinning: Some Sugar Labs members have used their shell account with ssh -D to set up a temporary SOCKS proxy; a VPN for HTTP{,S}.