Re: [DNG] Devuan --> Debian?
On 19/08/2021 17:29, Antony Stone wrote: > On Thursday 19 August 2021 at 13:22:06, Dr. Nikolaus Klepp wrote: > >> Install "equivs" and build a dummy package. >> >> Nik > Once again, thank you indeed for introducing me to this tool. > > One tip that I'll pass on in case other people here find it useful: > > [...] This is very useful. Thank you. -- Mark Rousell ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Download a package, maybe a few, for a different architecture and a different release.
Hendrik Boom wrote: > I need to download a package to install on a machine that is currently > air-gapped. I know you have already solved your problem. But for the future you might consider the apt-offline package. $ apt-cache show apt-offline Package: apt-offline Depends: python3:any, apt, less, python3-magic Description-en: offline APT package manager apt-offline is an Offline APT Package Manager. . apt-offline can fully update and upgrade an APT based distribution without connecting to the network, all of it transparent to APT. . apt-offline can be used to generate a signature on a machine (with no network). This signature contains all download information required for the APT database system. This signature file can be used on another machine connected to the internet (which need not be a Debian box and can even be running windows) to download the updates. The downloaded data will contain all updates in a format understood by APT and this data can be used by apt-offline to update the non-networked machine. . apt-offline can also fetch bug reports and make them available offline. Bob signature.asc Description: PGP signature ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
On Thursday 19 August 2021 at 18:53:51, Hendrik Boom wrote: > On Thu, Aug 19, 2021 at 01:52:12PM +0200, Antony Stone wrote: > > > > I've purged eudev and now I'm installing FreeSwitch :) > > > > Thanks for the pointer - looks like this will get me where I wanted to > > be. > > Do I understand that you didn't switch to Debian but just installed a > fake systemd for FreeSwitch to play with? Correct - although see my subsequent email saying that if you can avoid installing "systemd" and instead install "the package that depends on systemd", things are a lot simpler :) > Or did you find a way to switch from Devuan to Debian? No, this did what I wanted and it's a *far* neater solution. I didn't want to end up with Debian anyway - the only purpose was to be able to install FreeSwitch, find out how much of it really depended on systemd, and then work out how to get the rest of it working on Devuan. This way was quick, pretty easy, and very educational :) Antony. -- Why is "dyslexia" so difficult to spell, and why can I never remember "aphasia" when I want to? Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
On Thu, Aug 19, 2021 at 01:52:12PM +0200, Antony Stone wrote: > On Thursday 19 August 2021 at 13:42:28, Antony Stone wrote: > > > # dpkg -i systemd_250_all.deb > > (Reading database ... 43385 files and directories currently installed.) > > Preparing to unpack systemd_250_all.deb ... > > Unpacking systemd (250) over (1.0) ... > > dpkg: dependency problems prevent configuration of systemd: > > eudev (3.2.9-9~beowulf1) breaks systemd (>> 220) and is installed. > > Version of systemd to be configured is 250. > > > > dpkg: error processing package systemd (--install): > > dependency problems - leaving unconfigured > > Errors were encountered while processing: > > systemd > > I panicked a bit too soon. > > I've purged eudev and now I'm installing FreeSwitch :) > > Thanks for the pointer - looks like this will get me where I wanted to be. Do I understand that you didn't switch to Debian but just installed a fake systemd for FreeSwitch to play with? Or did you find a way to switch from Devuan to Debian? -- hendrik > > > Antony. > > -- > Is it venison for dinner again? Oh deer. > >Please reply to the list; > please *don't* CC me. > ___ > Dng mailing list > Dng@lists.dyne.org > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
On Thursday 19 August 2021 at 13:22:06, Dr. Nikolaus Klepp wrote: > Install "equivs" and build a dummy package. > > Nik Once again, thank you indeed for introducing me to this tool. One tip that I'll pass on in case other people here find it useful: - unless the thing you want to install comprises only one package, and that package depends on systemd, don't create a dummy package of your own named "systemd" - it's likely to conflict with other things you already have installed in Devuan (for obvious reasons). - instead, try to identify the smallest part of what you're installing, which depends on systemd, and create a package named *that* Then you can install your dummy package, plus the rest of what you wanted in the first place, and the only bit missing is something (hopefully small) which really wanted systemd and therefore isn't needed anyway. In my case I was installing FreeSwitch, which you install as "freeswitch-meta- all", and which then installs 336 "real" packages, one of which is named "freeswitch-systemd". It turns out that even *that* "provides freeswitch-init", so you can use equivs to build a dummy package either called "freeswitch-init" or "freeswitch-systemd", and either way you can then install the whole of the rest of FreeSwitch without disrupting your nice systemd-free machine. The absolute irony of all this (where FreeSwitch is concerned) is that the source code for the very latest version still contains the sysvinit script which can you then copy into place and use to manage the application. They've simply made systemd a dependency for no good reason. Antony. -- If you were ploughing a field, which would you rather use - two strong oxen or 1024 chickens? - Seymour Cray, pioneer of supercomputing Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
On Thursday 19 August 2021 at 13:42:28, Antony Stone wrote: > # dpkg -i systemd_250_all.deb > (Reading database ... 43385 files and directories currently installed.) > Preparing to unpack systemd_250_all.deb ... > Unpacking systemd (250) over (1.0) ... > dpkg: dependency problems prevent configuration of systemd: > eudev (3.2.9-9~beowulf1) breaks systemd (>> 220) and is installed. > Version of systemd to be configured is 250. > > dpkg: error processing package systemd (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > systemd I panicked a bit too soon. I've purged eudev and now I'm installing FreeSwitch :) Thanks for the pointer - looks like this will get me where I wanted to be. Antony. -- Is it venison for dinner again? Oh deer. Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
On Thursday 19 August 2021 at 13:27:22, Antony Stone wrote: > On Thursday 19 August 2021 at 13:22:06, Dr. Nikolaus Klepp wrote: > > Anno domini 2021 Thu, 19 Aug 13:18:16 +0200 Antony Stone scripsit: > > > freeswitch-systemd : Depends: systemd which is a virtual package and is > > > not provided by any available package > > > > Install "equivs" and build a dummy package. > > Ooh, interesting - never come across that before... > > I'll give it a go, sounds like a neat solution if it works :) Well, nice try, but: # dpkg -i systemd_1.0_all.deb (Reading database ... 43381 files and directories currently installed.) Preparing to unpack systemd_1.0_all.deb ... Unpacking systemd (1.0) ... dpkg: dependency problems prevent configuration of systemd: sysvinit-utils (2.93-8+devuan1) breaks systemd (<< 215) and is installed. Version of systemd to be configured is 1.0. sysv-rc (2.93-8+devuan1) breaks systemd (<< 215) and is installed. Version of systemd to be configured is 1.0. init-system-helpers (1.56+nmu1+devuan3) breaks systemd (<< 228) and is installed. Version of systemd to be configured is 1.0. ifupdown (0.8.35) breaks systemd (<< 228-3~) and is installed. Version of systemd to be configured is 1.0. dpkg: error processing package systemd (--install): dependency problems - leaving unconfigured Errors were encountered while processing: systemd If I rebuild it with a version number of 250: # dpkg -i systemd_250_all.deb (Reading database ... 43385 files and directories currently installed.) Preparing to unpack systemd_250_all.deb ... Unpacking systemd (250) over (1.0) ... dpkg: dependency problems prevent configuration of systemd: eudev (3.2.9-9~beowulf1) breaks systemd (>> 220) and is installed. Version of systemd to be configured is 250. dpkg: error processing package systemd (--install): dependency problems - leaving unconfigured Errors were encountered while processing: systemd So, it seems I need a version number higher than 228 and also lower than 220. Has anyone already done this equivs trick and found a way to make it work? Antony. -- If the human brain were so simple that we could understand it, we'd be so simple that we couldn't. Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
On Thursday 19 August 2021 at 13:22:06, Dr. Nikolaus Klepp wrote: > Anno domini 2021 Thu, 19 Aug 13:18:16 +0200 Antony Stone scripsit: > > > freeswitch-systemd : Depends: systemd which is a virtual package and is > > not provided by any available package > > Install "equivs" and build a dummy package. Ooh, interesting - never come across that before... I'll give it a go, sounds like a neat solution if it works :) Antony. -- "Black holes are where God divided by zero." - Steven Wright Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Devuan --> Debian?
Anno domini 2021 Thu, 19 Aug 13:18:16 +0200 Antony Stone scripsit: > Hi. > > This may seem like a strange question, but has anyone tried "migrating" a > machine from Devuan to Debian (ie: not the normal way round we discuss it > here)? > > I have a need to play with FreeSwitch, and the package installer tells me: > > freeswitch-systemd : Depends: systemd which is a virtual package and is not > provided by any available package Install "equivs" and build a dummy package. Nik > > I have a *very* fast and convenient method of creating Devuan VMs to play > with, whereas creating a Debian VM would involve going through the entire > standard Debian installer process (time difference: ~1 minute vs. ~1 hour). > > So, is it worth my while trying: > > - create a Beowulf VM > - add either Buster or (since it became officially stable last weekend) > Bullseye to sources.list > - doing an upgrade and/or a dist-upgrade > > Anyone tried it? Success? Failure? You must be mad? > > My intention is simply to get FreeSwitch installed, find out how much it > really > *does* depend on systemd, and see how feasible it is to take those bits out > or > replace the init scripts etc, and then run it on Devuan. > > Opinions and experiences most welcome :) > > > Antony. > -- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ... ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] Devuan --> Debian?
Hi. This may seem like a strange question, but has anyone tried "migrating" a machine from Devuan to Debian (ie: not the normal way round we discuss it here)? I have a need to play with FreeSwitch, and the package installer tells me: freeswitch-systemd : Depends: systemd which is a virtual package and is not provided by any available package I have a *very* fast and convenient method of creating Devuan VMs to play with, whereas creating a Debian VM would involve going through the entire standard Debian installer process (time difference: ~1 minute vs. ~1 hour). So, is it worth my while trying: - create a Beowulf VM - add either Buster or (since it became officially stable last weekend) Bullseye to sources.list - doing an upgrade and/or a dist-upgrade Anyone tried it? Success? Failure? You must be mad? My intention is simply to get FreeSwitch installed, find out how much it really *does* depend on systemd, and see how feasible it is to take those bits out or replace the init scripts etc, and then run it on Devuan. Opinions and experiences most welcome :) Antony. -- Schrödinger's rule of data integrity: the condition of any backup is unknown until a restore is attempted. Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng