The officially official Devuan Forum!

You are not logged in.

#126 Re: Devuan » Getting rid of "frankenstein" packages » 2024-02-20 19:11:43

"apt pinning" is a possibility. A priority of at least 1001 allows package downgrade.
In your case, It would be pinning the daedalus packages to 1001 and then doing the usual upgrade.
I've done that a few times, it usually just works.

# cat /etc/apt/preferences
Package: *
Pin: release n=daedalus
Pin-Priority: 1001

# apt update
# apt upgrade
# apt dist-upgrade

#127 Re: Other Issues » Extracting a .zip file absolutely destroys my CPU. » 2024-02-18 08:23:36

In a terminal: Both commands will extract the archive's content in the current directory

$ 7z /path/to/arch.zip 
$ unzip /path/to/arch.zip

Multitasking in compression is a trick that zst does.
I don't use it very often, since the command-line switches and defaults are sick, but (de-)compression works nicely.

#128 Re: Off-topic » Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux) » 2024-02-17 18:01:24

Did you skip Chimaera?
dist-upgrade works fine form one version to the next release.

#129 Re: Installation » Bookworm -> Daedalus migration nscd network-manager failed » 2023-12-27 11:21:03

I would check that sysvinit is installed (and running if booted):

apt list --installed | grep sysvinit-core
apt list --installed | grep systemd

Obviously, there should be sysvinit-core and no systemd. Then:

apt update
apt -s upgrade
apt upgrade
apt -s dist-upgrade
apt dist-upgrade

usually did it (without forcing or expicit de-installs).
The apt -s lines are optional. They do a simulation to spot problems. It might be tricky to solve dependencies in an interrupted migration.

Some programs will be de-installed during migration, so there is stuff to re-install.
And optional clean-up at the end: apt clean and/or apt autoremove

--
PS: Booted installtion with sysvinit:

$ ps ax | head -2
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [2]

In case of systemd: PID 1 is "/sbin/init"

#130 Re: Installation » Bookworm -> Daedalus migration nscd network-manager failed » 2023-12-27 00:09:52

Continuing the migration in a chroot should work. I would do so too.   

Network-manager most likely needs updated configuration after migration (see below).

--
Remembering the migration of my notebook to chimaera:
One thing that happens during migration is: The network-device's name changes (from forgotten) to "wlan0" in case of wifi.
The network-manager's config files were still pointing to the prior device name. This was the reason for "no network connection".
The alternative to reconfigure network-manager was to restore the prior network device names:

# echo 'GRUB_CMDLINE_LINUX="net.ifnames=1"' >>/etc/default/grub
# update-grub
# reboot

Using update-grub may or may not be a bad idea in your multi-boot case.

#131 Documentation » isc-dhcp-client: timeout without running dhcp server » 2023-12-21 19:42:48

delgado
Replies: 2

A quick boot-up was impossible - the default time-out is 60 seconds until isc-dhcp-client skips waiting for an IP address. I would not mind if this happens in the background, but it is blocking the boot process.

The fix / config file is:

cat /etc/dhcp/dhclient.conf | grep timeout
#timeout 60;
timeout 10;

I know, it's not rocket science, but it took me ages to finally do it.

#132 Re: Desktop and Multimedia » Copy and Paste the traditional way » 2023-12-18 13:51:24

Just thinking: The confirm-paste add-on may have been useful in former times, where "paste something with a newline character" lead to direct execution. But this is not the case anymore; pressing the [ENTER] key seems mandatory in bash.

#133 Re: Other Issues » [SOLVED] Problem with ca-certificates-java » 2023-12-13 23:25:36

Do you have a specific need for openjdk-8?
Maybe a newer version is already installed.

apt list --installed | grep openjdk

#136 Re: Other Issues » devuan daedalus: nothing is running in wine » 2023-11-19 12:24:09

Are there files in "$HOME/.wine/drive_c/windows/system32" ?
I would proabaly start with a fresh wine setup.

$ mv .wine .wine_old      # backup
$ winecfg

#137 Re: Desktop and Multimedia » Nuevo Midori » 2023-11-19 12:15:34

It looks like a firefox (variant), which is good form my point of view.
What is midoris selling point?

#138 Re: Freedom Hacks » Anyone know how to make a usb mouse work? » 2023-11-19 12:05:26

Is the mouse's batterie charged?

Can't remember haveing mouse problems the past decade or so. Would you mind sharing the manufacturer?

#139 Re: Hardware & System Configuration » Presentation and question about DoT » 2023-10-13 21:33:22

Are you looking for a local DNS cache or DNS resolver?
Like e.g. dnsmasq or unbound. Most likely these can be configured to use encrypted connections.

Edit: Just the colour.

#140 Re: Desktop and Multimedia » use Bluetooth » 2023-09-22 19:58:09

2nd search hit was: https://askubuntu.com/questions/1479606 … untu-23-04
pipewire is a good option for bluetooth, and the answer is for debian 12. Probably worth a try.

#141 Re: Installation » ceres and semi upgrade » 2023-09-21 07:23:55

Probably nothing.
It's ceres - wait until it's fixed or fix it yourself.

None of my business, but do you really want to use the equivalent of debian SID?

#142 Re: Installation » Daedalus ISOs don't boot » 2023-09-21 05:33:57

The nvme might be physically an older M.2 ssd with sata interface.

#143 Re: Desktop and Multimedia » [SOLVED] gimp not showing the menus . » 2023-09-17 08:04:55

Did you reset gimp's config?

 mv .config/GIMP .config/GIMP_DEF

To be sure: Create a new user and start gimp.

#144 Re: DIY » Question, about dd and/or qemu, for disk cloning » 2023-09-14 13:32:41

The point of zerofree (or just doing cat /dev/zero>zero.bin; rm zero.bin) is to reduce the size of a packed image file created with
dd or cat, e.g. cat /dev/sdXn | gzip >sdXn.img.gz.

When creating a partition image file as sparse file, these sectors are omitted anyway.

#146 Re: Desktop and Multimedia » [SOLVED] Shotwell dependency confusion » 2023-09-14 13:18:15

No solution, just some thoughts:

"libdconf1=0.38.0-2" looks like chimaera. Maybe something is left-over? (packages on hold? Or pinning in /etc/apt/preferecenes)?

ntpd: on one system upgraded to daedalus I did: apt purge ntp; apt install ntpsec.

#147 Re: DIY » Question, about dd and/or qemu, for disk cloning » 2023-09-12 20:07:22

https://unix.stackexchange.com/question … -browse-re

shows some examples using e2image, also for a qcow2- image. Not sure whether this works for your case too.

#148 Re: Devuan » Devuan without elogind » 2023-09-02 07:34:57

Same for me.
Adding alreaday installed programs reduces the loss, but it's just trial and error.

EDIT:
Some more runs: Added iteratively "programs to remove" to install. The next one would be acceptable, but not sure about the desktop-* packages:

apt install -s elogind- seatd udisks2 kate libpolkit-qt5-1-1 alsa-tools-gui pm-utils

The following packages will be REMOVED:
  desktop-base elogind libpam-elogind libpolkit-gobject-elogind-1-0 libpolkit-gobject-elogind-1-dev light-locker lightdm task-desktop task-lxde-desktop

#149 Documentation » e2image - image created as sparse file and is mountable » 2023-09-01 22:07:23

delgado
Replies: 0

I stumbled upon https://unix.stackexchange.com/question … browse-res , which is awesome!
Cite:

e2image can be used to create an image of an ext4 file system, while only copying sectors which are in use:

e2image -ra /dev/sda1 /path/to/file.img

file.img will be created as a sparse file, so it will only occupy the space which is really used in the file system, even though its apparent size will reflect the capacity of the file system. It can be mounted directly, like any file system image:

This will save a massive amount of time when making a backup image and it's mountable. Excellent!
One question remains: How can the sparse file "trick" ls?

.
.
.
.
PS:
Since more than a decade I was happily doing:

su -
mount /dev/sda1 /mnt
cat /dev/zero>/mnt/null.dat    # until "no space left on device"
rm /mnt/null.dat
umount /dev/sda1
cat /dev/sda1 | gzip >sda1.img.gz

The image-archive sda1.img.gz has a size of about half the partition's effective data-content, but is not mountable of course.

#150 Re: Devuan » Devuan without elogind » 2023-09-01 20:31:32

You can always run a simulation and see what would happen, e.g.:

sudo apt install -s elogind- libpam-ck-connector sway seatd

On my machine: Beside loosing some packages, there will be consolekit and seatd for elogind.

Board footer

Forum Software