The officially official Devuan Forum!

You are not logged in.

#1226 Re: Other Issues » deb.devuan.org doesn't get updates for Jessie, auto.mirror.devuan does » 2019-05-07 22:24:22

Let me derail a moment with this note (that might be obvious to many): that I'm learning new about the repo's and that my "world model" above is a bit too simplistic for reality. Probably a good thing, though that model kind of works for me for the moment.

Then, about HTTPS.

The current mirroring technique uses DNS to make deb.devuan.org resolve to some mirror's IP for each "request". Then the problem with using HTTPS is that it requires the sharing of credentials, where recipient organisations need to take on the responsibility of taking due care of them. This is part of the 'trust aspect' of using HTTPS more than the transport encryption aspect, and to have a commercial organisation (which is applicable for many mirrors) take on a responsibility is asking for more than the mere mirroring functionality. Many mirrors do serve via HTTPS, but they do so with their own domain names rather than named as deb.devuan.org.

The alternative solutions would involve handling all requests, either proxying them or bouncing temporary redirects, by a layer of deb.devuan.org hosts physically distributed over the world. This would attract a significant ongoing effort and cost.

Thus, if HTTPS is my thing, then I need to set up my sources.list to use the accredited name(s) of my chosen server(s) directly.

#1227 Re: Other Issues » deb.devuan.org doesn't get updates for Jessie, auto.mirror.devuan does » 2019-05-07 11:41:57

Please note that packages.devuan.org (and auto.mirror.devuan.org is an alias for that domain name) is the historic repository for Devuan. It still provides it's old repository service, but it should be understood as disconnected from the current packaging workflow, which instead results in populating pkgmaster.devuan.org, and then that is mirrored to the hosts that are identified as deb.devuan.org.

The notion of "using Devuan" is now equivalent with having deb.devuan.org/merged as repository.

In extreme circumstances, one might use pkgmaster.devuan.org; for example during the short periods where mirrors show inconsistency during their sync times. However, it typically works equally well and better to just wait a bit and then repeat the failing update or installation command, having allowed time for the mirror(s) to synchronize. If the problem persists, say a couple of hours, then it is likely to be a source inconsistency at pkgmaster.devuan.org. Please report that, even though the automated work flow may well correct the situation eventually; sometimes a manual touch speeds it up.

Changing to a different repository, such as one of those at the top, is like changing distribution. Don't do that.

#1228 Re: Other Issues » deb.devuan.org doesn't get updates for Jessie, auto.mirror.devuan does » 2019-05-07 08:36:27

Yes, you should use deb.devuan.org, and the URLs should also end with /merged. Please check and try again.

#1229 Re: Other Issues » VLC has no codecs » 2019-05-05 13:13:47

@Head_on_a_Stick I can't decide if I should label you stupidly arrogant or arrogantly stupid. In any case I look forward to you growing up.

#1230 Re: Other Issues » VLC has no codecs » 2019-05-05 05:22:48

Well, totally right in that about insults, though. Not the Google bit, obviously, but the rest smile

#1231 Re: Hardware & System Configuration » [Solved] Beowulf update holds back packages » 2019-05-01 13:08:18

239.1+20181115-1 is from http://deb.devuan.org/devuan experimental/main.
not sure where 239.3+20190131-1 is from though.

#1232 Re: Other Issues » openjdk-8 on Jessie » 2019-04-28 22:40:46

The Devuan link just goes directly to that link as-is and for some reason only has directories for five packages. Not sure what's going there.

The Devuan repository contains a couple of Devuan-only packages, but mostly it contains packages that have been "sanitized". It's an overlay to override those packages, while all else comes from Debian.

Still, the pool contains packages for the union of all versions and variants of all distributions.

Each distribution version/variant is rather declared in an "index file", such as

http://deb.devuan.org/merged/dists/ascii/main/binary-amd64/Packages.xz

which nominates all the packages of the main section in the merged amd64 architecture ascii repository. I.e., it defines everything that on an amd64 host would be targeted as

http://deb.debian.org/merged ascii main

in sources.list.

In fact, that exact file gets downloaded and unzipped into

/var/lib/apt/lists/deb.devuan.org_merged_dists_ascii_main_binary-amd64_Packages

when you do apt-get update, so that the apt sub system locally knows which packages and versions belong to that distribution, section and architecture.

Note then that the merged distributions of Devuan refer to both overriding packages from the Devuan pool, and packages directly from the Debian pool. The beautiful magic that makes that possible is some simple translations of the Filename attributes in the index.

#1233 Re: Installation » [Solved] apt sources list retrieve? » 2019-04-28 00:43:46

As you know, the file /etc/apt/sources.list and all the files /etc/apt/sources.list.d/*.list together form a configuration for apt-get (or "the apt sub system"), so that it knows which repositories, and which sections in those it should access. Thus, you can't really install such a configuration without already having a configuration, which kind of makes this a circular thought.

But there are utilities that can produce different source.list files for different distribution flavours, and that might be useful initially. Use your favourite WWW search engine to find a good one if you like. Typically you make a few selections of what to include and what not, then, assuming your can trust it, you download the result and place into your sources.list.

However, I would say it is of highest importance security-wise that the machine administrator knows exactly what the "apt sub system" configuration is. There is no escape from putting enough cognitive effort into learning it. This also includes the "pinning" aspect, which is configured in the /etc/apt/preferences.d/* files, and the "general apt parameters" of /etc/apt/apt.conf and the /etc/apt/apt.conf.d/* files.

Unfortunately the apt sub system was devised at a time when the nuances of "trust" were less developed; the ease by which it can be changed, even by vendors as you install their distributed packages, is totally off parity with its importance.

#1234 Re: Other Issues » openjdk-8 on Jessie » 2019-04-27 23:44:16

Firstly it's useful to know which "section" (main, contrib, non-free) that package should belong to. In this case its main.

Then you look for the Devuan package in

http://deb.devuan.org/devuan/pool/main/o/

As there's nothing suitable there, you look for the Debian package in

http://deb.debian.org/debian/pool/main/o/

Note that the path includes the section and the first letter of the name. If you are looking for a "lib*" package, you use the first 4 letters.

Both deb.devuan.org and deb.debian.org result in one or more redirects to some mirror.

#1235 Re: Other Issues » Ncurses » 2019-03-30 21:58:18

You do know how to leave an audience guessing wink

Perhaps you should test the waters at the freenode IRC #devuan as well, to increase the chances of running into someone else doing C with ncurses on both freebsd and devuan. It might be a more select group than this one.

#1236 Re: Off-topic » Gmail rejects messages from own server » 2019-03-30 21:37:12

I think that the most important problem is that I cannot resolve rDNS, as the IP is owned by my ISP

Maybe you've tried it already, but otherwise you should query your ISP about how to set up your reverse DNS. It should really be possible for you, especially as you are paying for having a static IP, but then again, every ISP is a company of its own.

#1237 Re: Devuan » Using Debian packages » 2019-03-30 01:26:36

@Head_on_a_Stick: You've got that advice backassed. It should be: don't pollute your system with flatpack.

#1238 Re: Devuan » ssh with a file manager??? » 2019-03-23 04:27:19

You might like to use sshfs, which lets you mount the remote file system as if a local directory tree. Then you can can browse them with your local file manager.

#1239 Re: Desktop and Multimedia » Tiny fonts » 2019-03-19 20:18:58

You may find qt5ct in beowulf. However installing it on ascii wants to pull in quite a few upgrades of other packages, and I wouldn't do it before fully dist-upgrading to beowulf (which still is some weeks into the future for me).

#1240 Re: DIY » run script after suspend » 2019-03-18 22:45:06

A quick review of the code suggests that "local" specializations should rather reside in /etc/pm/sleep.d than /usr/lib/pm-utils/sleep.d, but that's not the problem here (since the latter is the "program" place for such scripts). However, the order is important. Scripts run in the order of their filenames, sorted as per sort (with LC_COLLATE=C).

Thus, the first check is where in the list of sleep scripts your script ends up, and then you need to determine whether that's the wrong place, and if so, rename it so as to have it run earlier or later. Note, if I understand it right, the scripts are run in the sort order before suspending, and reverse to that when resuming.

btw, it's good to append a true to your script, to make it always return success instead of returning whatever the amixer command returns.

#1241 Re: Desktop and Multimedia » Avidemux and h264enc » 2019-03-18 21:28:14

Yes it's good to be weary about that. Important, really. Especially if you're unsure about how to recover if things break.

At the same time, avidemux is imo the very best tool for e.g., easily and quickly cutting out the ads in a tv streamed Barbie movie you have captured for your granddaughter. Since I have it installed and verified myself, I decided that the benefit of suggesting this action outweighed the general "badness" of proposing this repo mixing.

But you are right, the rule of thumb is still: "don't mix repos" .

#1242 Re: Desktop and Multimedia » Avidemux and h264enc » 2019-03-18 12:44:15

I did this by using www.deb-multimedia.org, where their stretch distribution is compatible with ascii. It's the usual process of adding the source, update, install their keyring, and then install the packages.

Thus, add to your sources

deb http://www.deb-multimedia.org stretch main

then

apt-get update

then

install deb-multimedia-keyring

then another

apt-get update

then

apt-get install --no-install-recommends avidemux h264enc

and then comment out the source line and update yet again.

That last step is a precaution, to avoid any "accidental" other installations from that repository.

#1243 Re: Hardware & System Configuration » Preventing module load at boot » 2019-03-15 23:12:07

Perhaps you're using an initrd and omitted/forgot you update it after making the black listing?

In any case, the following steps worked fine for me:

# echo blacklist psmouse >> /etc/modprobe.d/psmouse-blacklist.conf
# update-initramfs -u -k all
# reboot

(See man update-initramfs for details about that command)

Note, I know it's a good/better habit to also add a comment into the black listing file, to remind yourself about when/what/why you made that system correction, for the (possible) future day when you pull your hair about not getting psmouse loaded. I'm a bit lazy that way, and leave this as a reader's exercise.

#1244 Re: Installation » [SOLVED] disabling slim » 2019-03-12 06:34:32

guuml.dev1 wrote:

Where does this "hidden database" come from? As far as I know there was no written manual at all-

Not very new, but it was new to me too until some few years ago... start with $ man insserv, I think.

#1245 Re: Installation » [SOLVED] disabling slim » 2019-03-11 22:06:47

Note that "disabling" slim with update-rc.d doesn't uninstall it, and it can well be started and stopped manually also after "disabling", which only means to remove it from the boot sequence.

Manual removal of the rc?.d links (that guuml.dev1 suggests) has almost the same effect, except that it doesn't remove slim from the "/etc/init.d/.depend.*" database, which also plays a role for sysvinit.

#1246 Re: Installation » [SOLVED] disabling slim » 2019-03-11 20:57:23

I don't think the service script can disable a facility, and you'll need to use update-rc.d directly for that. The command line would be

# update-rc.d slim disable

Refer to

$ man update-rc.d

for details.

#1247 Re: Installation » [SOLVED] ISO Installer - Installed on Canaimita MG101A3 [SOLVED] » 2019-03-01 05:06:00

inukaze wrote:

Save the changes and exit

echo "Edit the file resolv.conf"  #NOTE : you can ignore this line
nano /etc/resolv.conf

Content :

1.1.1.1

That file would normally have a line like (or up to 3 of these):

nameserver 1.1.1.1

and not just the IP address on its own. In some cases it has a line starting with domain and sometimes a line starting with search, and more ... see

$ man resolv.conf

for details.

#1248 Re: Other Issues » PHP 7.2 on Jessie » 2019-02-28 04:35:08

You should be aware that you've given yourself a new repository point to install software from, in the file /etc/apt/sources.list.d/php.list. That repository seems to offer some random pickings from debian jessie/stretch/buster. You could browse the pool https://packages.sury.org/php/pool yourself and see which goodies you possibly have got.

That "unknown" tag might be the result of running lsb_release -sc.

If you want to recover, whilst keeping php 7.2, it might work that you comment out the repository point in that file, then do an update followed by a dist-upgrade. Or just comment it out without dist-upgrade so as to avoid pulling in stuff from there in the future.

#1249 Re: Devuan Derivatives » [Fixed] Upgraded "Miyo-XTRA Beowulf" boot suspend/resume delay » 2019-02-27 10:45:13

If the file has an initial microcode blob before the ramdisk file system, you'll probably need two successive cpio calls to read it. And even more fun, the second part might be compressed separately, which then needs decompression into the pipeline as well.

For example: unpack first archive (microcode) and check type of second (probably gzipped).

cat /initrd.img | ( cpio -i ; file - )

Then: unpack the first archive, then the second with gunzip-ing

cat /initrd.img |  ( cpio -i ; gunzip | cpio -i )

Or if you like: unpack first, and copy second (compressed) into a file ramdisk.gz

cat /initrd.img |  ( cpio -i ; cat > ramdisk.gz )

The last one might be useful if you want to repack things manually since it lets you work out the byte size of the first archive, so you can prepend those bytes to a repacked image.

#1250 Re: DIY » Input requested regarding Suspend » 2019-02-20 20:59:32

Good. Apparently my use of apt-file leaves some to be desired.

Board footer

Forum Software