add packagesource (continued)

Sin respostas
Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 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.)