The officially official Devuan Forum!

You are not logged in.

#1 2017-08-29 07:26:42

soohwa
Member
Registered: 2017-08-21
Posts: 3  

Make a mirror of devuan package repository with a modified debmirror

If you want to create a devuan mirror with debmirror (for example for jessie) you must modify the debmirror perl script as here :
https://github.com/soohwa/devuan-debmirror

You can find the difference with the original :
https://github.com/soohwa/devuan-debmir … its/master

And mirror with :
https://github.com/soohwa/devuan-debmir … /README.md

debmirror /mirror/devuan/ \
	--host=packages.devuan.org \
	--arch=i386,amd64 \
	--dist=jessie,jessie-backports,jessie-proposed-updates,jessie-security,jessie-updates \
	--omit-suite-symlinks \
	--diff=none \
	--root=merged \
	--verbose \
	--i18n \
	--method=http \
	--keyring /mirror/541922FB.bin

541922FB.bin is the public key for devuan repositories.

Offline

#2 2017-08-29 07:43:54

golinux
Administrator
Registered: 2016-11-25
Posts: 1,371  

Re: Make a mirror of devuan package repository with a modified debmirror

You are jumping the gun here.  Package mirrors will need to be set up in a specific way.  Please wait for the official instructions.

In the meantime this might be instructive:

https://lists.dyne.org/lurker/message/2 … fe.en.html

Offline

#3 2017-08-29 11:44:42

soohwa
Member
Registered: 2017-08-21
Posts: 3  

Re: Make a mirror of devuan package repository with a modified debmirror

Sorry, i did not want to be offensive. I never wanted to make a public mirror. That method just works fine for me for a local private mirror. This works while waiting for the official instructions with rsync and I just wanted others to enjoy it.

Offline

#4 2017-08-29 15:56:13

golinux
Administrator
Registered: 2016-11-25
Posts: 1,371  

Re: Make a mirror of devuan package repository with a modified debmirror

Ah, thanks for clarifying.  My concern was indeed that you were using that to set up a public mirror and that seemed like a rather odd first post.  Enjoy your time here.  Hope we're all good now that that's been straightened out.  smile

Offline

#5 2017-08-30 18:39:01

mckaygerhard
Member
Registered: 2017-04-21
Posts: 186  
Website

Re: Make a mirror of devuan package repository with a modified debmirror

just what i look it for!

soohwa wrote:

This works while waiting for the official instructions with rsync and I just wanted others to enjoy it.

hell yeah! many many thanks... i'll make a complete how to for that!

this work for those that not have internet connection

go to a cybercafe
attach the usb disk
download with debmirror
detach the usb disk
go to your home or work
use locally with "file://" or bypassing with webserver with "htttp://localhost"
or if you have a router, set a ip and use as normal repository.. just added to boot screen allow_unantenticated=true (or something)

Offline

#6 2018-02-23 07:55:53

mckaygerhard
Member
Registered: 2017-04-21
Posts: 186  
Website

Re: Make a mirror of devuan package repository with a modified debmirror

hi after several try's i cannot mirror ONLY the devuan pacakges, just mirrored ALLL and i dont need the debian package

i just want to mirror ONLY THE DEVUAN MODIFIED RESPECT THE DEBIAN PACKJAGES please some one has tokown how to do so?

as can see it, start always to download the debian packages startirng by the 90ad data package that are huge large size

[100%] Getting: dists/jessie/non-free/binary-i386/Release... ok
Parse Packages and Sources files and add to the file list everything therein.
Download all files that we need to get (42511 MiB).
Get package files.
[  0%] Getting: pool/DEBIAN/main/0/0ad-data/0ad-data-common_0.0.17-1_all.deb... ok
[  0%] Getting: pool/DEBIAN/main/0/0ad-data/0ad-data_0.0.17-1_all.deb

Offline

#7 2018-02-23 15:37:03

golinux
Administrator
Registered: 2016-11-25
Posts: 1,371  

Re: Make a mirror of devuan package repository with a modified debmirror

Devuan filters the Debian packages.  If you use Debian packages directly, chances are that eventually something will slip in and break your system or you won't be able to upgrade properly.

Offline

#8 2018-02-23 23:15:44

mckaygerhard
Member
Registered: 2017-04-21
Posts: 186  
Website

Re: Make a mirror of devuan package repository with a modified debmirror

give me a break! I'M USING DEVUAN ANBD I'M TRY TO MIRRROR ONLY DEVUAN NOT MERGED PACKAGES WITH DEVUAN DEBMIRROR PACKAGE

without modification does not mirrored well the devuan repositories

Offline

#9 2018-02-23 23:35:30

golinux
Administrator
Registered: 2016-11-25
Posts: 1,371  

Re: Make a mirror of devuan package repository with a modified debmirror

I guess you didn't see the response to your bug report.  I assume that was written by KatolaZ:

Your bug report is not that useful, since you must include the
relevant content of the debmirror.conf file that you are using.

In order to mirror only devuan-specific suites in ascii for amd64,
your debmirror.conf should have something like:

$host="pkgmaster.devuan.org";
$remoteroot="devuan";
$download_method="http";
@dists="ascii";
@sections="main,main/debian-installer,contrib,non-free";
@arches="amd64";

I have tried it now myself with:

$ debmirror -p --keyring=/usr/share/keyrings/devuan-archive-keyring.gpg ./devuan-only

and it works.

So sounds like PEBKAC.

Offline

#10 2018-02-24 00:18:44

mckaygerhard
Member
Registered: 2017-04-21
Posts: 186  
Website

Re: Make a mirror of devuan package repository with a modified debmirror

WOW I finally get what I need! umm that mail still not arrive it to gmail!
well many many thank, for the first time o got a right anwers and got support from devuan... so lest make some mirror now! THANKS

Offline

#11 2018-02-24 00:24:21

golinux
Administrator
Registered: 2016-11-25
Posts: 1,371  

Re: Make a mirror of devuan package repository with a modified debmirror

Happy mirroring!!

Offline

#12 2018-02-24 01:59:40

mckaygerhard
Member
Registered: 2017-04-21
Posts: 186  
Website

Re: Make a mirror of devuan package repository with a modified debmirror

the complete command line, i do not use that stupid config file

debmirror-devuan  \
 --ignore-missing-release  --ignore-release-gpg \
 --nocleanup --diff=none \
 --source --section=main,main/debian-installer,contrib,non-free  --arch=i386 --dist=jessie  --omit-suite-symlinks \
 --host=pkgmaster.devuan.org --root=devuan --method=http \
 --progress --verbose \
 mirrordirectorydebs

in this case i386, all section including non-free, only jessie, no diff or cleanup if someting goes wrong or faill, rest of options are same as debian

no w i have locally the two flavors, and i see how systemd are invadoing more and more lijnux system arrggggggg

Offline

#13 2018-06-05 10:47:55

haary
Member
Registered: 2017-08-11
Posts: 5  

Re: Make a mirror of devuan package repository with a modified debmirror

soohwa wrote:

If you want to create a devuan mirror with debmirror (for example for jessie) you must modify the debmirror perl script as here :
https://github.com/soohwa/devuan-debmirror

You can find the difference with the original :
https://github.com/soohwa/devuan-debmir … its/master

And mirror with :
https://github.com/soohwa/devuan-debmir … /README.md

With all three URLs I am getting a 404 error now - maybe  migrated  elsewhere after the MS takeover?

Offline

#14 2018-06-05 11:59:10

mckaygerhard
Member
Registered: 2017-04-21
Posts: 186  
Website

Re: Make a mirror of devuan package repository with a modified debmirror

ah the MS takeover!! yes now many github project will migrate to gitlab! yes!

well i not found any similar at gitlab

but i think that this are not necesary.. do you read the complete threath?

Offline

Board footer