Indeed, since in getRepo.sh, line 5 fails but when I run the same instruction 
in a terminal in host, it succeeds.
I am not familiar to chroot but it seems there is a problem with the guest 
running into chroot

By the way, I read line 35 of getDebian9.sh (`sudo /usr/sbin/chroot 
squashfs-root sed -i "s&#deb-src http://deb.debian.org/debian/ stretch 
main&deb-src http://deb.debian.org/debian/ stretch main&g" 
/etc/apt/sources.list`) and reading 
https://unix.stackexchange.com/questions/775093/what-is-the-exact-correct-lines-in-sources-list-to-upgrade-debian-stretch-now
 I wonder if deb.debian.org can work.

- Fil Lupin.

On Friday, July 3rd, 2026 at 2:19 PM, J05HYYY <[email protected]> wrote:

> Vwery odd Fil,
> 
> Perhaps you have an intermmitent connection too? Have you checked you
> can connect to the internet using HOST debian 13?
> 
> Have you tried pinging archive.debian.org?
> 
> TBH it looks like you aren't connected to the internets somehow.
> 
> I don't know what to suggest.
> 
> FWIW, I am currently in the process of trying to get 'repo sync' to
> retry upon failure in order to get the sources. But that's no use to
> you if you can't connect!
> 
> Josh
> 
> On Fri, 03 Jul 2026 06:00:30 +0000
> Fil Lupin via Replicant <[email protected]> wrote:
> 
> > Thank you Josh.
> >
> > Here is the result of the launch on my debian 13 computer :
> > ---
> > $ sudo chmod +x ./preInstCA.sh && sudo ./preInstCA.sh
> > Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
> > Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
> > Hit:3 https://deb.debian.org/debian trixie InRelease
> > Hit:4 https://deb.debian.org/debian trixie-updates InRelease
> > Hit:5 https://deb.debian.org/debian trixie-backports InRelease
> > Hit:6 https://deb.debian.org/debian-security trixie-security InRelease
> > Reading package lists... Done
> > Reading package lists... Done
> > Building dependency tree... Done
> > Reading state information... Done
> > ca-certificates is already the newest version (20250419).
> > git is already the newest version (1:2.47.3-0+deb13u1).
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >
> > $ chmod +x ./getDebian9.sh && ./getDebian9.sh
> > mount: /data/ReplicantBuilds-i9300/isomountpoint: WARNING: source
> > write-protected, mounted read-only. Parallel unsquashfs: Using 4
> > processors 140086 inodes (148593 blocks) to write
> >
> > [================================================================================================================/]
> > 288679/288679 100%
> >
> > created 121103 files
> > created 12249 directories
> > created 18452 symlinks
> > created 7 devices
> > created 0 fifos
> > created 0 sockets
> > created 524 hardlinks
> > mknod: /dev/null: File exists
> > mknod: /dev/random: File exists
> > mknod: /dev/urandom: File exists
> > mkdir: cannot create directory ‘/dev/pts’: File exists
> > mount: none mounted on /dev/pts.
> > Err:1 http://archive.debian.org/debian stretch InRelease
> >   Could not resolve 'archive.debian.org'
> > Reading package lists... Done
> > W: Failed to fetch
> > http://archive.debian.org/debian/dists/stretch/InRelease  Could not
> > resolve 'archive.debian.org' W: Some index files failed to download.
> > They have been ignored, or old ones used instead. Reading package
> > lists... Done Building dependency tree Reading state information...
> > Done Package git is not available, but is referred to by another
> > package. This may mean that the package is missing, has been
> > obsoleted, or is only available from another source
> >
> > Package dirmngr is not available, but is referred to by another
> > package. This may mean that the package is missing, has been
> > obsoleted, or is only available from another source
> >
> > E: Unable to locate package ca-cacert
> > E: Package 'git' has no installation candidate
> > E: Package 'dirmngr' has no installation candidate
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Package flex is not available, but is referred to by another package.
> > This may mean that the package is missing, has been obsoleted, or
> > is only available from another source
> >
> > Package bison is not available, but is referred to by another package.
> > This may mean that the package is missing, has been obsoleted, or
> > is only available from another source
> >
> > E: Package 'flex' has no installation candidate
> > E: Package 'bison' has no installation candidate
> > Updating certificates in /etc/ssl/certs...
> > 0 added, 0 removed; done.
> > Running hooks in /etc/ca-certificates/update.d...
> >
> > org.debian.security.UnableToSaveKeystoreException: There was a
> > problem saving the new Java keystore. at
> > org.debian.security.KeyStoreHandler.save(KeyStoreHandler.java:86) at
> > org.debian.security.UpdateCertificates.finish(UpdateCertificates.java:108)
> > at
> > org.debian.security.UpdateCertificates.main(UpdateCertificates.java:54)
> > Caused by: java.io.FileNotFoundException: /etc/ssl/certs/java/cacerts
> > (No such file or directory) at java.io.FileOutputStream.open0(Native
> > Method) at java.io.FileOutputStream.open(FileOutputStream.java:270)
> > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at
> > java.io.FileOutputStream.<init>(FileOutputStream.java:101) at
> > org.debian.security.KeyStoreHandler.save(KeyStoreHandler.java:82) ...
> > 2 more E: /etc/ca-certificates/update.d/jks-keystore exited with code
> > 1. done. live ALL=(ALL) NOPASSWD: ALL
> > SET THE PASSWORD AS "live"
> > Adding user `live' ...
> > Adding new group `live' (1000) ...
> > Adding new user `live' (1000) with group `live' ...
> > Creating home directory `/home/live' ...
> > Copying files from `/etc/skel' ...
> > Enter new UNIX password:
> > Retype new UNIX password:
> > passwd: password updated successfully
> > Changing the user information for live
> > Enter the new value, or press ENTER for the default
> >         Full Name []:
> >         Room Number []:
> >         Work Phone []:
> >         Home Phone []:
> >         Other []:
> > Is the information correct? [Y/n]
> > --2026-07-03 05:55:42--
> > https://ftp.osuosl.org/pub/replicant/build-tools/repo/28-01-2021/sz1lkq3ryr5iv6amy6f3d2pziks27g28-tarball-pack.tar.xz
> > Resolving ftp.osuosl.org (ftp.osuosl.org)... failed: Name or service
> > not known. wget: unable to resolve host address
> > ‘ftp.osuosl.org’ sha512sum:
> > sz1lkq3ryr5iv6amy6f3d2pziks27g28-tarball-pack.tar.xz: No such file or
> > directory UHOH, BAD CHECKSUM ---
> >
> > - Fil Lupin.
> >
> >
> > On Thursday, July 2nd, 2026 at 1:58 PM, J05HYYY
> > <[email protected]> wrote:
> >
> > > On Thu, 02 Jul 2026 12:21:35 +0000
> > >
> > > Hi,
> > >
> > > I have uploaded a new branch in my repository with the changes. I
> > > can't go any further at the moment because connection to the
> > > replicant git server is bad like I said before. Maybe you will have
> > > more luck.
> > >
> > > https://github.com/publicsite/ReplicantBuilds/tree/i9300
> > >
> > > Cheers,
> > >
> > > Josh
> > >
> > > Fil Lupin via Replicant <[email protected]> wrote:
> > >
> > > > Hi,
> > > > oh, that's good news: it seems the first steps works so you've
> > > > succeeded to go further than me. :)
> > > >
> > > > I wait for your suggestions about those first steps.
> > > > I can go further since I had less difficulties getting the repo
> > > > on my server.
> > > >
> > > > - Fil Lupin.
> > > >
> > > > On Thursday, July 2nd, 2026 at 12:09 PM, J05HYYY
> > > > <[email protected]> wrote:
> > > >
> > > > > Hi Fil,
> > > > >
> > > > > I made a few updates locally yesterday but haven't pushed them.
> > > > > They still need testing. I got stuck when downloading the code
> > > > > from replicant project's git using repo. (I am getting timeouts
> > > > > etc. from the server.)
> > > > >
> > > > > Josh
> > > > >
> > > > > > Thank you for those test Josh.
> > > > > > By update, you mean you updated the repo, or do you still test
> > > > > > your modifications localy before pushing them on the repo?
> > > > > > Because I see the last commit was 3 years ago so perhaps I do
> > > > > > not look at the right branch (messy-update-1).
> > > > > >
> > > > > > Here are some remarks about the steps to follow. I ran them
> > > > > > on a debian 13 :
> > > > > >
> > > > > > > $ chmod +x ./preInstCA.sh && ./preInstCA.sh
> > > > > > E: Unable to locate package ca-cacert
> > > > > >
> > > > > > In getDebian-6.0.sh (I ran instructions step by step
> > > > > > manually): $ sudo cp -a squashfs-root/run/connman/resolv.conf
> > > > > > squashfs-root/run/connman/ cp: cannot stat
> > > > > > 'squashfs-root/run/connman/resolv.conf': No such file or
> > > > > > directory
> > > > > >
> > > > > > $ sudo /usr/sbin/chroot squashfs-root
> > > > > > /Sources/getSourceDeps.sh Err:1 http://deb.debian.org/debian
> > > > > > stretch InRelease Could not resolve 'deb.debian.org'
> > > > > > Reading package lists... Done
> > > > > > W: Failed to fetch
> > > > > > http://deb.debian.org/debian/dists/stretch/InRelease  Could
> > > > > > not resolve 'deb.debian.org' W: Some index files failed to
> > > > > > download. They have been ignored, or old ones used instead.
> > > > > > Reading package lists... Done Building dependency tree
> > > > > > Reading state information... Done Package git is not
> > > > > > available, but is referred to by another package. This may
> > > > > > mean that the package is missing, has been obsoleted, or is
> > > > > > only available from another source
> > > > > >
> > > > > > Package dirmngr is not available, but is referred to by
> > > > > > another package. This may mean that the package is missing,
> > > > > > has been obsoleted, or is only available from another source
> > > > > >
> > > > > > E: Unable to locate package ca-cacert
> > > > > > E: Package 'git' has no installation candidate
> > > > > > E: Package 'dirmngr' has no installation candidate
> > > > > > E: Invalid operation flex
> > > > > >
> > > > > > Hope this will help.
> > > > > >
> > > > > > - Fil Lupin.
> > > > > >
> > > > > > On Tuesday, June 30th, 2026 at 12:06 PM, J05HYYY
> > > > > > <[email protected]> wrote:
> > > > > >
> > > > > > >
> > > > > > > An update on this Fil,
> > > > > > >
> > > > > > > I started fixing the code but the connection to the
> > > > > > > replicant server is too flaky to download the sources. I
> > > > > > > keep getting timeouts etc.
> > > > > > >
> > > > > > > The connection to the server needs fixing for building to be
> > > > > > > successful.
> > > > > > >
> > > > > > > I can't continue building unless the state of the
> > > > > > > connection to the server improves.
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > Josh
> > > > > > >
> > > > > > _______________________________________________
> > > > > > Replicant mailing list
> > > > > > [email protected]
> > > > > > https://lists.osuosl.org/mailman/listinfo/replicant
> > > > >
> > > > >
> > > > _______________________________________________
> > > > Replicant mailing list
> > > > [email protected]
> > > > https://lists.osuosl.org/mailman/listinfo/replicant
> > >
> > >
> > _______________________________________________
> > Replicant mailing list
> > [email protected]
> > https://lists.osuosl.org/mailman/listinfo/replicant
> 
> 
_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to