download repository

10 replies [Last post]
Gottfried
Offline
Joined: 02/22/2022

I bought an external harddisk for downloading the Trisquel repository.

1.
In order to download the repository
in which format should I format the harddisk?
ext4 or other ?

2.
to download the repository
what do I have to do that it downloads to the harddisk and not to the download folder of my Trisquel home/download folder?

Will it ask me where to store everything, if I start downloading?

I prefer to ask before doing it.

3.
which mirror will it choose?
Will it choose the one which I am using in Trisquel?

4.
What should I do if the download stops?
To use the command to download again?
Will it ask me e.g. if I should download only the not downloaded yet?
in order not to start again from scratch?

How can I avoid to start again from scratch?

5.
What else do I have to consider?

thanks

Gottfried

pituforojo
Offline
Joined: 07/17/2026

The documentation has instructions for mirroring the package repository:

https://trisquel.info/en/wiki/mirroring-trisquel

If you have no idea what you are doing, it is probably better to use one of the existing mirrors to install and update packages. Is there any reason to store all package sources and binaries for all supported architectures, other than hosting a mirror?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(Forbidden error. Trying to send only the beginning.)

According to the manual pituforojo linked, you want to open a terminal in a directory of your external drive (the contextual menus of many graphical file managers usually have an entry for that) and execute:

$ rsync -rlpthi --delete-after --stats rsync.trisquel.org::trisquel.packages .

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(It went through for some reason! Sending the rest still fails with a Forbidden error. Trying to only send a little bit.)

In order to download the repository in which format should I format the harddisk?

It does not really matter. Ext4 is fine.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(It looks like the longer, the more prone to the Forbidden error. I cannot even answer two questions.)

to download the repository what do I have to do that it downloads to the harddisk and not to the download folder of my Trisquel home/download folder?

Execute the command line above from a working directory on the external drive (as I explained) or change the final "." for a path to a directory on the external drive.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(Getting there, one answer at a time...)

which mirror will it choose?

The command line above downloads from rsync.trisquel.org

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(I cannot even post one answer now!)

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

What should I do if the download stops? To use the command to download again?

Yes.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

You may want to add "-P" to the command line above.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(Getting worse.)

In this way, the progress will be reported and, in case of interruption, you will not have to download part of a file that has already been transferred.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

(Must be *very* short now, apparently.)

What else do I have to consider?

I would say apt-offline, to only download what you want. Nevertheless, you wrote that "it seems there is still a problem somewhere", what does not really help to diagnose it. Contrary to what you wrote, apt-offline (supposedly) "determines package dependencies", according to https://deepwiki.com/rickysarraf/apt-offline/1.2-quick-start-guide

(Well, the acceptable length increased somehow.)