add packagesource

3 risposte [Ultimo contenuto]
Gottfried
Offline
Iscritto: 02/22/2022

Hi,

after installing trisquel offline with my usb-stick
I tried to install additional packages with a script
copied this script to the usb-stick
and on a online laptop downloaded those packages.
I tried to install them, but all failed because there were dependencies missing.

I downloaded all the dependencies with another script but it it is impossible to install them.
I tried several times.
Even opening those packages and right click on the mouse there was a possibility
with qApt-packageinstaller to install,
it even said the package is installed
but in Synaptic they were not installed and
synaptic tells me always some packages are not installed.

I tried this several times and it failed.

One problem is that synaptic doesn´t take those packages from the usb-stick.
What can I do that synaptic takes those?

There is an option to add package sources,
but it doesn´t allow me to add the usb-stick.

What can I do?

thanks

Gottfried

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

What can I do that synaptic takes those?

Have you tried copying the .deb packages to /var/cache/apt/archives?

There is an option to add package sources

See https://trisquel.info/en/wiki/installing-packages-without-internet-connection#toc3

Nevertheless, since you are using a USB stick, I do not think it is what you are searching for. I believe you are searching for apt-offline, which is in Trisquel's repository, along with apt-offline-gui for a GUI.

Gottfried
Offline
Iscritto: 02/22/2022

Have you tried copying the .deb packages to /var/cache/apt/archives?

I copied it into this folder but what do I have to do then?

I downloaded apt-offline and apt-offline-Gui and installed it on the offline laptop.
But it seems so difficult to use it according to your proposed website.
So many steps to do....

thanks

Gottfried

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

I copied it into this folder but what do I have to do then?

Use APT, through the Synaptic Package Manager if you want.

But it seems so difficult to use it according to your proposed website.

I have not pointed you to a page explaining the use of apt-offline. Here is one: https://deepwiki.com/rickysarraf/apt-offline/1.2-quick-start-guide

It could certainly be simplified. The "Code Flow" or "What happens" internally are of no interest to the user. It would not be in a section of https://trisquel.info/en/wiki/installing-packages-without-internet-connection that you could write, after learning apt-offline's use.