add packagesource (continued)

1 Antwort [Letzter Beitrag]
Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Using the website, it seems impossible to write in https://trisquel.info/forum/add-packagesource as his author, Gottfried, pointed out:

I can´t send this email from the trisquel forum website.

Trying, I indeed get a "Forbidden" error:

You don't have permission to access this resource.

Here is what I wanted to reply:

To deal with apt-offline seems for me at the moment too difficult.

Once "apt-offline is installed on both the offline and online machines" (the first prerequisite), it does not look that difficult. Starting from the commands the documentation I pointed, here are minimal adaptions that should update, upgrade and install mc, emacs and gimp on your offline system:

  1. On the offline system, execute in a terminal:
    $ sudo apt-offline set /tmp/combined.sig --update  --upgrade --install-packages mc emacs gimp
  2. Move /tmp/combined.sig to the same location on the online system, through your USB stick and execute there in a terminal:
    $ apt-offline get /tmp/install.sig --bundle /tmp/combined.zip
  3. Move /tmp/install.zip to the same location on the offline system, through your USB stick and execute there in a terminal:
    $ sudo apt-offline install /tmp/combined.zip

(Although the documentation does so, there is certainly no need to use /tmp as an intermediary directory; you could directly specify paths to the mounted USB stick.)

Gottfried
Offline
Beigetreten: 02/22/2022

thanks

I can´t use apt-offline at the moment

because on my offline laptop there is a situation
that I can´t remove packages,
I can´t install packages
because there are 8 broken packages which I can´t get rid off or even install anything.

So I don´t know the solution

I would have to repair those packages first, but how can I do that?
I would have to download all of them...

I installed some but they have new dependencies and they could not be installed properly.
no way out at the moment.

It always wants to connect to the internet to solve anything, but that is impossible.

So in synaptics I didn´t find a solution.