Re2: repository download again - how to install offline

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

Last week I tried on 5 days to send a reply to the mailing list.
So I am going to open a new Trisquel User account,
may be it works from there.
Magic Banana: What is your Email Address
in case I want to send an answer?
my email:
name at domain

after the email of magic banana my attempt which failed.

According to 'man sources.list', you have to replace the URIs in
/etc/apt/sources.list (or in files inside /etc/apt/sources.list.d) with
"file:" followed by the path to the local archive, e.g.,
"file:/media/gottfried/my_disk/trisquel" for a local archive in a
directory named "trisquel" on a disk labeled "my-disk" that is
automounted at the default place for the user whose login is "gottfried".

attempt:

I have got:

/etc/apt/sources.list (file)
/etc/apt/sources.list.save (file)
/etc/apt/sources.list.d (directory)
/etc/apt/sources.list.d/trisquel.sources (file)
/etc/apt/sources.list.d/trisquel.sources.save (file)

I changed to:

URIs:file:/media/alle/2532...long number/RepositoryTrisquel
Username: alle
2532...long number: mounting point for the ext. harddisk (created by itself)
RepostioryTrisquel: name for the directory on the ext. harddisk in which
I copied everything.
In this directory there are 2 directories "dists", "pool" and some files.

I changed the file name in "sources.list" to:
URIs:file:/media/alle/2532...long number/RepositoryTrisquel/ ecne main
because in the original settings "ecne main" was also written like this,

Bash:
$ apt install emacs
F (means "Fehler" mistake in German)Typ:
"URIs:file:/media/alle/2532...long number/RepositoryTrisquel/" in line 2
of the /etc/apt/sources.list is unknown.
The list of the sources could not be loaded

I also tried to use in "sources.list"
"URIs:file:/media/alle/2532...long number/RepositoryTrisquel/
without "ecne main"
but it didn´t work either.

Where is my mistake?

thanks

Gottfried

Malsasa
Offline
Joined: 12/01/2016

Hello,

On 02/08/26 19.14, gfp wrote:
> Last week I tried on 5 days to send a reply to the mailing list.
> So I am going to open a new Trisquel User account,
> may be it works from there.
> [...]

Sorry for not helping much for your APT offline case. However, I can
confirm I received your email from trisquel-users mailing list and I can
also reply this by email. I am happy that the mailing list is still
alive and it works if we send an email there.

Sincerely yours,

Malsasa

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Try adding a space between "URIs:" and " file:".