The officially official Devuan Forum!

You are not logged in.

#1 2023-11-22 21:15:38

oui
Member
Registered: 2017-09-02
Posts: 269  

how2 realize for the time of the first-installation a own *.deb-depot

to include own packages prepared in the standard DEB format to the installation using the usual /usr/apt/sources.list

example in an other distro:

in Slitaz, for ex. can you use all the contents of /var/www are automatically stored so they can be acceded by the url http://localhost/... ;-)

more simple is not possible!

Offline

#2 2023-11-23 06:52:42

aluma
Member
Registered: 2022-10-26
Posts: 467  

Re: how2 realize for the time of the first-installation a own *.deb-depot

This is done very simply on systems with RPM packages.
In openSuse, I simply added any folder as a repository.
snapshot1.png
In Debian, only the CD-ROM (or USB flash drive) can be simply connected using

apt-cdrom

And the difficult path is described here, but only in Russian, I didn’t find another one.
https://wiki.debian.org/ru/CreateLocalR … DVD_Debian

Offline

#3 2023-11-23 07:52:13

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 552  

Re: how2 realize for the time of the first-installation a own *.deb-depot

@aluma following your lead (reprepro was mentioned) I came across this package "local-apt-repository"

from here...https://packages.debian.org/unstable/admin/local-apt-repository

It mentions only served local, no gpg.

I haven't tried this yet.


pic from 1993, new guitar day.

Offline

#4 2023-11-23 08:49:09

aluma
Member
Registered: 2022-10-26
Posts: 467  

Re: how2 realize for the time of the first-installation a own *.deb-depot

@GlennW

Thanks for the information, this is new to me.
Although the page in your link has a dependency on systemd.

But to be honest, I don’t have such global tasks as the respected topic starter @oui.
If I need to install a couple of downloaded packages, then simply apt install "path_file_name" is usually enough.

Regards.

Offline

#5 2023-11-23 21:50:51

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 552  

Re: how2 realize for the time of the first-installation a own *.deb-depot

This is a bit tragic, but I have tried to reinstall from a package cache using apt and/or dpkg...

It was hectic, took a while for the system to figure out and sort all the versions held there but

eventually it progressed and borked and could not continue due to too many errors (dependency not found).

So, that was just upgrading a clean install to current, from my offline cache, copied from /var/cache/apt/.

I had to do a clean install to get the system back up and running.

Another thing I have tried is the "mount iso" for use as a repo... never worked, not secure enough.

So when I see things that may help using a local repo, I'd like to try it.

The package I mentioned before, local-apt-repository is not available for Devuan, probably because of system D, but I'd still like to try it (apt works!).

I agree with @aluma, I too just use the absolute path to the package...

but I have several bash scripts that install groups of packages... for different stages of installation and restore of backup config files.

All of this is with off-line installation in mind (as a motive).

anyhow, the quest goes on. Thank you Devuan Devs for giving this stable platform to work from.


pic from 1993, new guitar day.

Offline

Board footer