The officially official Devuan Forum!

You are not logged in.

#776 Desktop and Multimedia » [SOLVED] Delete track number from music file names » 2021-11-07 20:47:21

rolfie
Replies: 9

Got a lot of music data on my file server. Before finding out that an easy duplicate recognition isn't possible, files were ripped beginning with the track number from the CD. I stopped this later on and want to clean up now. Example:

01 - Canned Heat - On The Road Again.wav

My goal is to remove the track number from the file name for all files having this in the current directory. Example:

Canned Heat - On The Road Again.wav

From digging through man pages and several threads on many forums, I finally came up with this approach:

find . -type f -name '[0-9][0-9] - *' -exec rename 's/^[0-9][0-9] - //' {} +

The find part works, with the -print option it lists all the files in the test directory I have set up. The rename part has a problem, and I can't figure out what's wrong. I have learned that compared to Debian the rename utility isn't part of the util-linux package but a perl application that has to be installed separately. How is the relation between regex and a perl-expression?

In any case, above line in a script does not seem to do anything, the script terminates without action, output or error. What ido I need to change?

rolfie

#777 Re: Installation » Looking for advice for upgrading from Ascii to Chimaera. » 2021-11-06 20:03:51

A direct upgrade isn't advised and possible (if you don't want to break your server).

Either stepwise to Beowulf first with enough reboots to digest the changes (read the release notes), or a complete new installation is required to achieve what you want.

rolfie

#778 Re: Installation » [SOLVED] change from cdrom to USB flash drive in sources.list » 2021-11-04 21:59:02

What for? Your approach isn't useful. Delete that line(s) and you're done.

rolfie

#779 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-11-02 19:55:46

Why all this hickup - just checked my 78.15.0ESR: the upgrade to 91.3.0ESR is possible.

#780 Re: Hardware & System Configuration » [SOLVED] Display / monitor / mouse freeze after hours - Chimaera, not ASCII » 2021-10-31 18:08:11

Try to replace slim (no more developed) with lightdm. I am running that on a 3700X.

rolfie

#781 Re: Installation » Devuan was working ok, but now no internet » 2021-10-29 19:52:06

Mike-thinky wrote:

ahh, adding /sbin/blkid now works,

so sudo blkid gives command not found,
but sudo /sbin/blkid works!

Explanation: please read the Chimaera release notes https://files.devuan.org/devuan_chimaer … _notes.txt, especially the section about su (not a Devuan specific problem).

rolfie

#782 Re: Installation » Devuan was working ok, but now no internet » 2021-10-28 18:48:54

Mike-thinky wrote:

How do I display the uuid's of the disks?

# blkid

#783 Re: Devuan » Test Testing version » 2021-10-26 19:57:32

Devuan is free from systemd. Thats the purpose.

#784 Re: Installation » [SOLVED] sysvinit, runit, or OpenRC? » 2021-10-22 19:10:15

I am using openrc since ASCII. Works fine.

My first encounter with runit in a virtual machine a while ago was frustrating. Didn't realy work. Though there are people that are using it with success now. Maybe its time for another try.

rolfie

#785 Re: Installation » How to have updated firefox-esr in Chimaera? » 2021-10-22 19:07:26

What is wrong with firefox-esr 78.15.0? When it is no more supported Chimaera will update to the next release.

Anyhow, I am using firefox-esr downloaded from upstream. It will tell me when the Upgrade to 91.2 is due. I can wait.

rolfie

#786 Re: Other Issues » Devuan on Virtualbox share not working » 2021-10-18 19:38:00

You have to define the shared folder in the VBox Manager and then you need to mount it within Devuan. Refer to VBox manual.

#787 Re: Other Issues » Devuan on Virtualbox share not working » 2021-10-18 19:07:56

Not a Devuan problem. What exactly do you want to achieve, and what have you done as preparation?

#788 Re: Hardware & System Configuration » Chimaera upgrade - Printing » 2021-10-18 17:18:35

Good that you got it working again the oldfashioned way.

In my private environment at home, I did disable IPP in the printer because it interfered with the classic ppd and did not allow to modify the options. This was on a Kyocera P6230 laserprinter a bit more than a year ago. The PPD control survived the upgrade from Beowulf to Chimaera.

rolfie

#790 Re: Other Issues » Updated inxi, have issue » 2021-10-17 13:28:09

Your update bypassed the apt database. Synaptic looks at the database and not at the application.

rolfie

#791 Re: Installation » no ext3 and ext4 option for formatting partitions during installation » 2021-10-16 18:27:04

pblanker wrote:

... and installed in expert mode. the only options for the file system were ext2, fat, fat32 and that was about it, as far as I can remember ...

This happens if you skip the step "load components". These "components" supply the required modules for the full installation.
Example: https://dev1galaxy.org/viewtopic.php?id=4509&p=2

rolfie

#792 Re: Installation » [SOLVED] Apt-get update error during Chimaera upgrade » 2021-10-15 16:21:40

The recommendation is to exclude all foreign sources from the upgrade. In your case Earth and Skype and maybe Zoom.

Once the upgrade is done you may take care for the other stuff one by one.

rolfie

#793 Re: Other Issues » slow shutdown: remaining crypto disks busy failed » 2021-10-15 16:17:07

Well, I have several luks2 encrypted LVMs with ext4/swap running under Chimaera, no delays. As well upgrades from Beowulf as native installs.

What do you mean by overlay fs?

rolfie

#794 Re: Devuan » As Debian 11 moves closer to Devuan. Is there any reason to stay on De » 2021-10-12 12:25:02

Tatwi wrote:

There's something to be said about purpose built devices; I would prefer to use Devuan over Debian, because Devuan is supposed to work 100% fine with SystemV Init. I know I won't need to fight with the system just to get it work and that means a lot to me!

For me, it's not about "not using ____", it's about continuing to use that which "ain't broke and don't need fix'n"!

Same for me,

rolfie

#795 Re: Other Issues » slow shutdown: remaining crypto disks busy failed » 2021-10-03 09:51:14

Well, the symptoms are similar to the ones I had with ASCII and Beowulf. Encrypted LVMs were not shut down correctly.

When you see this problem with Chimaera I guess something along the cryptsetup packages is missing on your machine. I have installed:

cryptsetup
cryptsetup-bin
cryptsetup-initramfs
cryptsetup-run
libcryptsetup12
udisks2

HTH, rolfie

#796 Re: Other Issues » slow shutdown: remaining crypto disks busy failed » 2021-10-02 22:08:49

Beowulf? Then you need to patch a file. Gone with Chimaera.

For the patch read this please: https://dev1galaxy.org/viewtopic.php?id=1753

rolfie

#797 Re: Installation » When did Legacy BIOS cease to exist? » 2021-10-01 19:48:48

ralph.ronnquist wrote:

.. and then you can remove the "supervisor password" with the machine still having disabled SecureBoot ?

Haven't tried that because the Supervisor PW disables any change of the BIOS settings. Since its a mobile unit I think PW protection makes sense.

And Chimaera is encrypted anyhow.

Maybe I give it a try while I am at home ....

rolfie

#798 Re: Hardware & System Configuration » Laptop cannot finish booting - Again! » 2021-10-01 19:09:50

Micronaut wrote:

I did not choose the display manager, I simply got whatever the default is. Is there some reasonably simply config file that can be changed to use a different display manager?

Yes, I'm getting seriously interested in upgrading. This string of disabling screwups is really getting frustrating.

Well, meanwhile I know what I want and how to install a system with SW I want from CLI level onward. I have read the release notes and the recommendations of the suitable combinations. I am happy with lightdm.

What I do is:
apt install xorg
apt install lightdm
apt install mate-desktop-environment-extras --no-install-recommends on older PCs/for my wife
apt install cinnamon --no-install-recommends on my workstation and laptop.

followed by installation of all the goodies I use and need (got a nice piece of paper documenting my procedures and experiences).

About switching the display manager: I have no experience with that.

rolfie

#799 Re: Hardware & System Configuration » Laptop cannot finish booting - Again! » 2021-09-30 21:07:38

I gave Slim a try on ASCII and abandoned it for LightDM. Get rid of Slim. I consider it to be a pain .....

And consider upgrading to Beowulf, works fine. Meanwhile I am on Chimaera on all the every day used computers. Its rock stable.

rolfie

#800 Re: Installation » When did Legacy BIOS cease to exist? » 2021-09-30 20:52:54

Bought an Acer Aspire 5 laptop in April this year. No more CSM present, thanks to the agreement of the major HW/SW suppliers.

To be able to disable SecureBoot you have to set a supervisor password.

Installed Chimaera on it, since then working fine.

rolfie

Board footer

Forum Software