The officially official Devuan Forum!

You are not logged in.

#901 Re: Other Issues » [SOLVED] Getting "Lock Version" in Synaptic to work » 2022-02-26 16:01:42

Check

dpkg --get-selections gnome-sudoku

I think both Synaptic's package lock option and apt-mark hold will change that setting to

gnome-sudoku					hold

To confirm this run

sudo dpkg --set-selections <<<"gnome-sudoku install"

And check dpkg --get-selections gnome-sudoku, apt-mark showhold and Synaptic itself to see if this changes the "Latest Version" shown in your screenshot.

Revert the change with

sudo dpkg --set-selections <<<"gnome-sudoku hold"

Perhaps that is needed as well as APT pinning for it to work with both Synaptic and apt/apt-get/aptitude.

EDIT: it seems aptitude uses either the dpkg database or APT's pin values. This is confusing.

#903 Re: Other Issues » [SOLVED] Getting "Lock Version" in Synaptic to work » 2022-02-26 15:25:58

Yes, apt upgrade would bring the gnome-sudoku package up to the chimaera version. Use my suggested /etc/apt/preferences.d/gnome-sudoku.pref file to prevent that.

I have no idea about Synaptic or how that works, sorry. I never use it.

#904 Re: Other Issues » [SOLVED] Getting "Lock Version" in Synaptic to work » 2022-02-26 15:09:39

Ron wrote:
$ apt policy gnome-sudoku
gnome-sudoku:
  Installed: 1:3.22.2-1
  Candidate: 1:3.38.0-1
  Version table:
     1:3.38.0-1 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages
 *** 1:3.22.2-1 100
        100 /var/lib/dpkg/status

There is no pinning for that package. If you run apt update followed by apt list --upgradable I think gnome-sudoku will still be marked for upgrade to the chimaera version.

The apt-mark hold suggestion doesn't work either in my testing but this does:

Package: gnome-sudoku
Pin: version 1:3.30.0-2
Pin-Priority: 501

^ Save that under /etc/apt/preferences.d/gnome-sudoku.pref, run apt update and check the Candidate line in the output of apt policy gnome-sudoku. It should prefer the old version with that setting.

The man page states that a pin value of 1001 would be needed because the beowulf version constitutes a downgrade but that doesn't seem to be the case in my tests with a Debian bullseye chroot. If your system behaves differently please report back, I would appreciate the feedback. TIA.

If you want to keep the package updated from beowulf then add these lines to /etc/apt/sources.list:

deb http://deb.devuan.org/merged beowulf main
deb http://deb.devuan.org/merged beowulf-updates main
deb http://deb.devuan.org/merged beowulf-security main

Then change the Pin: version line in /etc/apt/preferences.d/gnome-sudoku.pref to

Pin: release beowulf

And remember to run apt update afterwards.

Ron wrote:

Why does pinning make you nervous?

Because it's very complicated to use (see apt_preferences(5) for the official documentation, the Debian wiki page is bollocks) and it's far too easy to break your system if you don't know what you're doing.

I've just got the Debian buster version of gnome-sudoku running from a chroot in my Alpine system with no issues but the chroot takes up almost a gigabyte of disk space, which is ridiculous.

#905 Re: Other Issues » [SOLVED] Getting "Lock Version" in Synaptic to work » 2022-02-26 10:21:37

Either location should work.

Check the pinning with

apt policy
apt policy gnome-sudoku

I would consider running the program from a chroot because pinning makes me nervous but that would take significantly more disk space.

#906 Re: ARM Builds » Installer images for armel, armhf and ppc64 need testing » 2022-02-26 10:17:44

For the mini.iso images just use

# cp mini.iso /dev/mmcblkX ; sync

Replace X with the correct identifier for the SD card. It should be copied to the entire card rather than a partition.

I think the armel versions need the various components copied to specific locations on the card using dd and the seek option but I've never actually tried it so I'll have to leave that to somebody who knows better.

#907 Re: Off-topic » ssd failure » 2022-02-26 09:56:52

James1138 wrote:

Setting automatic TRIM job to daily https://easylinuxtipsproject.blogspot.c … d.html#ID6

Daily is probably excessive and anyway that guide is for systemd. If you are using systemd then the util-linux package already supplies a (weekly) fstrim.timer unit file that can be enabled without having to create your own version.

For my Alpine system I have this in /etc/periodic/weekly/fstrim:

#!/bin/sh
/usr/bin/fstrim --listed-in /etc/fstab:/proc/self/mountinfo --verbose --quiet-unsupported

EDIT: for Devuan I think the appropriate location would be /etc/cron.weekly/fstrim. Not sure though.

#908 Re: Installation » [SOLVED] How to blow away efi partition using live-install iso? » 2022-02-24 18:33:56

terryc wrote:

Can anyone give me some tips to overcome this?

Please stop posting vague, confusing descriptions. Instead post clear explanations of what you actually see.

Do not ask about XY problems. Instead simply state the actual issue, which in this case is that your AMD graphics are not working. UEFI has *nothing* to do with that and installing a non-UEFI system will not help. Please change the thread title to reflect this and help prevent further confusion and noise.

@fsmithred's suggestion to try a newer kernel might help. Brand new hardware might not be supported by chimaera's six month old kernel.

Unfortunately though the AMD graphics firmware hasn't been updated since 2021-08-18, even in ceres, so you might have to draw it directly from upstream:

apt install git
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cp -r linux-firmware/amdgpu /lib/firmware

#909 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-23 17:36:01

k3yw0ow wrote:

Mount the file systems

Create the directory where you can mount the home partition filesystem:

mkdir /mnt/home

Mount the home partition file system:

mount /dev/disk/by-label/HOME /mnt/home

Mount the root filesystem on /mnt:

mount /dev/disk/by-label/ROOT /mnt

You have that backwards. If you create /mnt/home/ before mounting the root partition then the root partition will cover it up when it is mounted:

# mkdir /mnt/home
# mount -o subvol=HOME /dev/nvme0n1p2 /mnt/home/
# mount -o subvol=ROOT /dev/nvme0n1p2 /mnt
# ls /mnt
# umount /mnt
# ls /mnt     
home
#

The process should be

# mount /dev/disk/by-label/ROOT /mnt
# mkdir /mnt/home
# mount /dev/disk/by-label/HOME /mnt/home
k3yw0ow wrote:

Mount the pseudo-filesystems needed for a chroot:

mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev
mount --rbind /dev/pts /mnt/dev/pts && mount --make-rslave /mnt/dev/pts
mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys

Copy the DNS configuration into the new root so that we can download new packages inside the chroot:

cp /etc/resolv.conf /mnt/etc/

Change root into the new system:

chroot /mnt /bin/bash

Those steps can be replaced with two commands:

# apt install arch-install-scripts
# arch-chroot /mnt
k3yw0ow wrote:

Configure fstab

Simpler method (run before entering the chroot):

# genfstab -U /mnt > /mnt/etc/fstab

The genfstab command is also supplied by the arch-install-scripts package.

k3yw0ow wrote:

You may also want to add some additional sources, for example source packages and security updates

The security repositories are absolutely essential, omitting them is a very bad idea. The source repositories are entirely optional and are only needed for patching packages.

k3yw0ow wrote:

Install the Intel Microcode

There is also an amd-microcode package, which should be considered essential for AMD systems (just as the Intel version is).

k3yw0ow wrote:

To install the latest Linux kernel, run this command:

apt install linux-headers-amd64 linux-image-amd64

The headers are only needed for building kernel modules such as the proprietary NVIDIA drivers.

For such cases it is best to use

# apt install module-assistant
# m-a prepare

^ That will install the headers and any other packages needed to build the modules.

k3yw0ow wrote:

After that, create a user that you will use for your normal operations:

useradd -m username

It's probably best to use the provided Debian abstraction instead:

# adduser

Note that your guide only covers non-UEFI systems, which aren't very common these days.

#911 Re: Desktop and Multimedia » [SOLVED] intel_reg write is disabled upon display off/sleep » 2022-02-23 17:07:44

What is the content of /etc/intelpwm.conf?

As I said earlier it might be best to open an issue on the GitHub repository so the author of the script can advise.

#912 Re: Hardware & System Configuration » Chimaera upgrade - ddclient » 2022-02-23 17:03:04

nightmedicine wrote:

I solved it by just unquoting OPTIONS where it is used later in the file

Yes, word splitting is needed to avoid passing the options as a single string.

A bug has been filed: https://bugs.debian.org/cgi-bin/bugrepo … bug=998650

No action yet though.

#913 Re: Off-topic » The seitan conundrum » 2022-02-22 20:49:51

golinux wrote:

Having a bad day HoaS?

Yeah. My bike wouldn't start this morning and it took eleven hours to get to the garage.

#914 Re: Off-topic » The seitan conundrum » 2022-02-22 15:00:18

@Miyo: sorry but I'm not in the mood. You can stop baiting now.

#915 Re: Off-topic » The seitan conundrum » 2022-02-21 20:34:47

Right back at you golinux. Perhaps with some social distancing though tongue

#916 Re: Hardware & System Configuration » Question about portable drives for persistent live installations: » 2022-02-21 20:33:11

Erm, I don't know. I have an X201 but I don't have any portable NVMe SSDs. Sorry.

#917 Re: Off-topic » The seitan conundrum » 2022-02-21 19:45:45

golinux wrote:

Where did the data of "normal" height, weight and arm circumference etc. come from?  From kids who were fed the SAD diet which leads to obesity, diabetes etc?  Or data from a culture that eats in a different way like Asian countries?

There is no assumption of "normal" height, weight or arm circumference in the paper. The study looks at the change in measurements over time as referenced against the standard growth curves. Of particular interest is the observation of catch-up growth after the children were taken off the strict macrobiotic diet and placed on a more balanced regimen.

#918 Re: Hardware & System Configuration » Question about portable drives for persistent live installations: » 2022-02-21 16:04:44

SSD longevity is very good these days, they may even outlast spinning rust drives now.

My ThinkPad P14s Gen 2a NVMe drive has had ~6TB of writes and reports itself as 1% used in respect of total lifetime:

alpine:~$ doas nvme smart-log /dev/nvme0n1 | grep 'percentage\|write'
percentage_used				: 1%
host_write_commands			: 66812355
alpine:~$

See also https://techreport.com/review/27909/the … -all-dead/ ← and that's almost seven years old now so current drives should be even better.

zapper wrote:

good for linux hardware

There shouldn't be compatibility problems for any hard drives. The firmware exposes the same interface regardless of manufacturer AFAIK.

#919 Re: Off-topic » What are you reading/want to read ? » 2022-02-21 15:50:29

I'm reading the website linked from Ogis1975's profile. What an awesome resource :-)

#920 Re: Devuan » Something strange happens to OpenRC after upgrade to Chimaera » 2022-02-20 18:46:20

chris2be8 wrote:

Try reading the man pages for ebegin and eend (if they have them) to see what they should do.

They just provide status messages for startup and rc-status.

The OP has clearly been modifying their system in various ways because I can't get the k3s service running under OpenRC without changing the source bashism to .. Since they can't be bothered telling us what they have done to either of their systems or even share more information about this k3s service I really can't be bothered digging deeper...

#921 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-20 15:28:12

Follow the linked guide.

I did a brief test yesterday from my Arch box using debootstrap and I was able to install grub-pc with no problems.

If you do encounter any issues be sure to post the complete list of commands that were used along with the full error message(s).

#922 Re: Off-topic » What are you reading/want to read ? » 2022-02-19 20:59:31

Since we're posting political stuff:

https://theanarchistlibrary.org/library … t-faq-full

All you lucky Devuan users can install a local copy under /usr/share/doc/anarchism/ with

# apt install anarchism

Related:

# apt install fortune-anarchism

smile

#923 Re: Off-topic » The seitan conundrum » 2022-02-19 18:27:19

The hosting website of the paper does not affect the data contained therein. The principle of peer review ensures that any methodological or statistical errors would be picked up by others not connected to the institution to which you refer.

I appreciate that the medical system in the US does appear to be fundamentally broken but I live in the UK and here an NHS doctor's pay does not depend on the prescriptions they write. We have NICE to ensure that any and all spending is tightly controlled and offers the best value possible.

#924 Re: Installation » Gdebi would not install packages in graphical installer mode? » 2022-02-19 18:22:49

Got it.

Create a file at /usr/local/bin/gdebi-gtk with this content:

#!/bin/sh
pkexec /usr/bin/gdebi-gtk "$@"

Then save the file and make it executable:

# chmod +x /usr/local/bin/gdebi-gtk

So now pkexec will ask for the password and authorise gdebi before it attempts to install the .deb.

It's a horrible hack and it shouldn't be needed. Perhaps consider opening a bug report about this.

#925 Re: Off-topic » The seitan conundrum » 2022-02-19 18:05:35

golinux wrote:

There is no "data" that does not have confirmation bias because humans collect and interpret it.

For the first paper to which I linked the data in question was the children's height, weight and arm circumference. Any claims of misinterpretation in respect of such data are clearly ridiculous.

Perhaps actually read the paper and offer substantive criticisms of the methods instead?

Board footer

Forum Software