The officially official Devuan Forum!

You are not logged in.

#126 Re: DIY » [SOLVED] git program for easy automated fixes » 2023-06-09 09:04:37

Do you mean remove mentions in that file with 12K lines of all the mentions that dont work?
You would need to get a list of the ones that dont work and comment them out in that file so they dont run.

#127 Re: Other Issues » [SOLVED] Chromium Upgrade: 3 Packages have been Kept Back » 2023-06-05 08:14:53

boughtonp wrote:
soren wrote:

I find it odd that stable wants to install chromium 114 as im on unstable and its still only at 113?

Unstable (Ceres/Sid) is on 114 too, it's Testing (Daedalus/Bookworm) that is on 113.

Thats what I meant to say (testing, Daedaulus). Sorry for the confusion.

#128 Re: Other Issues » [SOLVED] Chromium Upgrade: 3 Packages have been Kept Back » 2023-06-04 10:00:17

Hi,

Just use the command as so without packages, it should/might give options.

sudo apt --fix-broken install

#129 Re: Other Issues » open source all Devuan drivers under the free GPLv3 license » 2023-06-04 09:02:29

I wouldnt bother responding to OP, seems like a spam account.

#130 Re: Other Issues » [SOLVED] Chromium Upgrade: 3 Packages have been Kept Back » 2023-06-04 07:46:35

Have you tried the following command?

sudo apt --fix-broken install

I find it odd that stable wants to install chromium 114 as im on unstable and its still only at 113?

#131 Re: DIY » [SOLVED] doas help, » 2023-06-03 08:16:38

zapper wrote:
soren wrote:
zapper wrote:

This did in fact work! Thank you.

@chris2be8  I suppose it could give a false sense of security, but its also a habit I want to be better at fighting as well.

I sometimes become root this way a hell of a lot. So... yeah.

Btw, clarifying thank you @aitor

Just making sure you know that. big_smile

Do you have other users on your machines? I dont understand the reasoning to deny root via doas if you are the sole user?

A few things, one of which being its a habit I have to use doas -s

I don't think its a wise behaviour if connected to internet

permit zapper as root
deny zapper as root cmd /bin/bash

Ok, but what about su?
su will still be able to get a shell wont it?
Or is the behavior you want, just to deny zapper root via doas.conf?
I would want to deny zapper via su as well if that is your threat model.

#132 Re: Desktop and Multimedia » Webcam numpty » 2023-05-31 12:23:03

Archlinux wiki has a bit of info that may help.

https://wiki.archlinux.org/title/webcam_setup

Note: The Linux kernel to userspace API used to control webcams is named Video4Linux2, v4l2 for short. All applications which support v4l2 will work with the kernel's drivers.

Install v4l-utils

sudo apt install v4l-utils

Then in a terminal post the results of the below command.

v4l2-ctl --list-devices

Another link that may help...
https://askubuntu.com/questions/348838/ … mmand-line

#133 Re: DIY » [SOLVED] doas help, » 2023-05-26 11:41:42

zapper wrote:
soren wrote:
aitor wrote:

Did you try with the following ruleset in your /etc/doas.conf?

permit zapper as root
deny zapper as root cmd /bin/bash

You can define more rules for other shells like /bin/sh, /bin/zsh, ...

I was confused what OP wanted to achieve.

Your answer looks to be the best after tinkering with doas config file.

This did in fact work! Thank you.

@chris2be8  I suppose it could give a false sense of security, but its also a habit I want to be better at fighting as well.

I sometimes become root this way a hell of a lot. So... yeah.

Btw, clarifying thank you @aitor

Just making sure you know that. big_smile

Do you have other users on your machines? I dont understand the reasoning to deny root via doas if you are the sole user?

#134 Re: DIY » [SOLVED] doas help, » 2023-05-25 09:18:17

aitor wrote:
zapper wrote:

This could be potentially helpful for me on any operating system as well and other people's too.

Does anyone know how to disallow the parameter that allows the user to become root?

doas -s

keeping all the power doas already has, but without allowing user to become fully root by doas -s and only that.

su must remain the same though as a huge edit and as said, the rest of doas as well.

Did you try with the following ruleset in your /etc/doas.conf?

permit zapper as root
deny zapper as root cmd /bin/bash

You can define more rules for other shells like /bin/sh, /bin/zsh, ...

I was confused what OP wanted to achieve.

Your answer looks to be the best after tinkering with doas config file.

#135 Re: DIY » [SOLVED] doas help, » 2023-05-24 08:16:07

If you just want to disable su then comment the following in /etc/pam.d/su like so...

#auth       sufficient pam_rootok.so



Ive never done this and dont plan to, so buyer beware, could be bugs.

Decided to give this a try to see if it worked and it failed.

A better option contained in the /etc/pam.d/su file would be to do this...

# Uncomment this if you want members of a specific group to not
# be allowed to use su at all.
auth       required   pam_wheel.so deny group=nosu

You could set up a group called nosu or just use your login group.

#136 Re: Other Issues » usb pendrive always mounted as read-only » 2023-05-19 11:36:40

Wipe the device fully and try again.
Install gdisk and parted - sudo apt install gdisk parted
I would do this in a terminal as root user and see if it still has input/output errors.

sudo wipefs --all /dev/sdb
sudo gdisk -z /dev/sdb
sudo parted /dev/sdb mklabel msdos
sudo parted -a opt /dev/sdb mkpart primary ext2 0% 100%
sudo mkfs.ext2 -c /dev/sdb1 

#137 Re: Other Issues » [SOLVED] TTF True Type Fonts » 2023-05-19 08:38:55

Does the font show up if you grep for the font.

Try this.

fc-list | grep "YOUR FONT NAME.TTF"

#138 Re: Intergalactic Communities » Interest probing: Devuan Conference » 2023-05-17 11:13:26

I would love to attend a Devuan conference but live in a country far away from central Europe. It would be cool if there was an online presence to participate as well via something like zoom or a live feed where people all over the world could comment and contribute somehow.

#139 Re: Off-topic » Show your desktop (rebooted) » 2023-05-01 09:18:10

I am a dwm, st, dmenu ,spacefm user. Some of the best base free software for casual linux/gnu users imo, building up from these tools is a real pleasure.

2023-05-01-191307-1920x1200-scrot.png

#140 Re: Other Issues » Gdebi/dpkg and zst archives? » 2023-05-01 08:29:41

swanson wrote:
ralph.ronnquist wrote:

Given that a .deb file is an ar archive file containing two .tar.gz files it might be within scope for you to repackage things yourself.

Yeah, but I forgot how to do it. I could possibly unpack debs and unzst them, and then repack them as new debs.

Where can I find good guides on that?

Thanks for the help guys!

I havent done this in awhile either but ill try and give a somewhat simplistic guide, in a terminal i just tried with the jq package but the data and control file were in xz format.

mkdir jq
ar vx jq.deb --output /home/soren/jq
cd /home/soren/jq
tar xvf data.tar.xz
tar xvf control.tar.xz
rm control.tar.xz data.tar.xz
mkdir DEBIAN
mv usr/ control debian-binary md5sums DEBIAN/
cd ..
dpkg-deb -b /home/soren/jq jq.fixed.deb

#141 Re: Other Issues » Gdebi/dpkg and zst archives? » 2023-04-30 07:58:07

swanson wrote:

I've recently tried to install deb packages containing zst-archives and failed. I have zstd installed (Chimeara).
What can I do? I can unpack zst archives in terminal, but Gdebi and Dpkg fails.

I don't mind hacking the deb packages if only I knew how to do it. Must be some way...

Where did you get the deb package, what is it? If it is a ubuntu package or a debian 12 package you shouldnt try doing that on chimaera (debian/devuan 11) or at all. Support for zst is slated for debian 12 (unstable at the moment).

In addition:
https://tracker.debian.org/news/1407587 … -unstable/

- libdpkg: Add zstd support for .deb archives. Closes: #892664

Board footer

Forum Software