The officially official Devuan Forum!

You are not logged in.

#1226 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.

#1227 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.

#1228 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.

#1229 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.

#1230 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.

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

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

#1232 Re: DIY » Input requested regarding Suspend » 2019-02-20 12:00:45

mmm maybe a

dpkg -S loginctl

could shed some light on it. For me, as I don't have that program, I tried

apt-file find loginctl

which reported it as belonging to systemd. And as far as I can tell, there is no installation candidate for that package in any Devuan repository.

#1233 Re: DIY » Input requested regarding Suspend » 2019-02-20 07:06:49

Well, I think one can say you are threading the boundary at least smile

MiyoLinux distribution = Devuan beowulf + ( some bits of systemd that happened to work today )

It doesn't bother me as such, but I might be special wink wink

#1234 Re: DIY » Input requested regarding Suspend » 2019-02-20 06:47:59

Are you sure? loginctl is in the systemd package .. or rather, where did you get it from?

#1235 Re: Desktop and Multimedia » Software update notifications in XFCE » 2019-02-12 09:29:48

With * as "minute" it'll run every minute at the hours that divide evenly. So, you do need a specific minute number.

#1236 Re: Hardware & System Configuration » ethernet and login manager concerns » 2019-02-10 05:51:54

At a guess, you have set up your machine to share /home between systems, but "forgotten" to synchronize the UID of the user(s)...

#1237 Re: Installation » winehq 4.0 » 2019-02-10 03:48:55

By the looks of it, wine version 4.0-1~bpo9+1 is available in ascii-backports.

#1238 Re: Hardware & System Configuration » ethernet and login manager concerns » 2019-02-10 03:42:12

1.  How can I get the packages for lightdm seeing as I have no internet connection on that install and devuan does not seem to offer the packages via web site like debian does with packages.debian.org?

Given that you can boot up some other partition/system with network connection, it should be easy enough the use chroot to the failing partition/system, and then use apt-get as per normal for it.

E.g., if the failing partition/system happen to be /dev/sda5, you would do the following, starting in the working system:

# mount /dev/sda5 /mnt
# chroot /mnt
# mount -t procfs proc /proc
# mount -t sysfs sys /sys
# mount -t devpts devpts /dev/pts
# apt-get install lightdm

That would install lightdm to the failing partition/system, which I assume is correctly set up as to its sources.list.

Note that the three later mount commands are not always needed; it depends on what you want to install. In fact, in some cases you also need to ensure there are nodes for /dev/sda and /dev/sda5 in the chroot file system, but that certainly shouldn't be needed for a lightdm installation.

To exit gracefully, you would first umount the three points within the chroot, then exit and umount /mnt.

#1239 Re: Hardware & System Configuration » [SOLVED]I had upgrade Jessie to Ascii and i need some fixes.[SOLVED] » 2019-02-09 07:53:34

i really don't understand what need udev for stop that errors

You need fewer spaces wink

#1241 Re: Devuan Derivatives » Miyo Modern: problem with external monitor » 2019-02-06 22:36:59

Are you sure it is sc -c ... and not sh -c .....
But then, why not have the command xrandr ... directly? What does sc do?

#1242 Re: Installation » Can't install i2p-router » 2019-02-06 21:58:38

Are you sure about the clock on your system?

#1243 Re: Installation » NTFS Partitions not recognised » 2019-02-04 20:29:15

In order to deal with exfat file systems, you need to have the exfat-fuse and exfat-utils packages installed.

#1244 Re: Hardware & System Configuration » safe networking with only one tool » 2019-01-31 07:45:47

/etc/resolv.conf is needed for DNS to work, but before that you need to declare the routing paths.

How about adding a default route?

# ip route add default via 192.168.0.1 dev eth0

That's assuming your router having IP 192.168.0.1. Use

$ ip route show

to inspect the routing table. There's plenty more to read about routing, which is what provides networking above the link level packet exchange.

You don't need /etc/networks or the /etc/network tree; these are used by the ifupdown networking support, but they are not necessary for networking to work.

#1245 Re: Hardware & System Configuration » right click on mac » 2019-01-28 02:35:16

I have an ASUS with a touchpad, with both left and right corner being click buttons, but without proper middle button. I'm therefore using synclient to make it behave, and run it as follows:

synclient RightButtonAreaLeft=1625 RightButtonAreaRight=3249 \
    RightButtonAreaTop=1800 RightButtonAreaBottom=2223 \
    RightEdge=2500 TopEdge=500 \
    RTCornerButton=2 RBCornerButton=0 \
    TapButton1=1 TapButton2=2 TapButton3=3 \
    ClickFinger1=1 ClickFinger2=2 ClickFinger3=3 \
    VertEdgeScroll=0 HorizEdgeScroll=0 CornerCoasting=0 \
    VertTwoFingerScroll=0 HorizTwoFingerScroll=0 \
    CircularScrolling=0

With that set up, I get a middle-button click area in the upper right corner, and also alternative left/middle/right buttons by 1/2/3-fincger taps and clicks (and scrolling sensing turned off, since I found it too easy to trigger while typing).

As I remember, it took a bit of experimentation to get the 6 magic numbers right. The first 4 tells where that middle-button area is, and the next 2 is for something else that I don't remember.  /var/log/Xorg.0.log might tell the x/y dimensions for your touchpad, and man synaptics provides documentation of the available options.

#1246 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-06 00:57:55

If the new package file has newer version, then it will cause uninstall of the previous version.

If it was me, I would download the .deb file rather than changing my sources list.

For Devuan ASCII you would try installing the debian 9.0 version. Of course, if it ends up in direct or indirect dependencies of systemd it will fail, and your system might be in an iffy state. An installation might also want to pull upgrades to other packages, so you should certainly trial it with --simulate first, to see what is about to happen.

#1247 Re: Installation » E: Package 'python-ipalib' has no installation candidate » 2019-01-05 22:20:40

With equivs you rather easily define an empty dummy package that satisfies an installation dependency. It has excellent documentation (well, at least I understood to use it, to dummy out the avahi nonsense).

#1248 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 22:13:45

Fair enough. If it was a script, file would have said so. Now it says it's an ELF executable, which is not a script.

The principle of having a wrapper script is fairly easy, but I will bail out at this point, especially since the idea itself is merely based on a hunch of the source of the problem. Ideally someone who is already using SMPlayer and/or mpv will step in and lead the way through the "morass" of scripting exercises needed to resolve this. Or provide some other, perhaps better, way to deal with it.

Or, of course, your own research and learning may well bring about a working solution. You'll probably find it worth trying, even just for the joy of learning something new.

#1249 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 02:32:10

One way is by a command:

$ file $(which mpv)

or if that says "symbolic link" you may need:

$ file $(readlink -f $(which mpv))

#1250 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 00:00:57

With my infinite "google fu" I dredged up this comment from 2017:  (https://bugs.mageia.org/show_bug.cgi?id=20550#c5)

José Jorge 2017-04-22 21:39:55 CEST wrote:

I got it. mpv refuses cdda://1, it only works with cdda:// . It is an upstream problem to report either to smplayer or mpv if you want, to get this bug fixed.

Presumably that's still standing.

You might possibly be able to make your own patch by wrapping mpv through a script that makes any cdda://1 argument (or part of argument) be a cdda:// argument (or part of argument). Maybe mpv is a script already, and then it'd be a walk in the park. By the looks of it in the OP log, that cdda://1 is passed in to mpv rather than being invented by it. Perhaps it gets 1 from an environment variable (perhaps  media-title). Or, by increasing convolution, perhaps the 1 gets passed in via stdin, embedded in some way? A wrapper script might deal with any of those.

Board footer

Forum Software