The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [SOLVED] [Devuan ASCII] Error in dist-upgrade upgrading libeudev1 » 2018-01-22 11:02:31

See https://dev1galaxy.org/viewtopic.php?id=1833 for more info about the problem, it seems relative to MiYoLinux, but just in case someone have the same problem.

#2 Re: Devuan Derivatives » [Solved] [MiYoLinux] Error updating Ascii version: libeudev1 conflict » 2018-01-21 20:00:20

It was an error of conflicting libraries, solved

1) comment out ascii-backports
2) reinstalling the libraries

3)with this little workaround for eudev (Some bug was filed so maybe it will be not necessary in the near future).

cd /etc/init.d
ln -s eudev udev

#3 Re: Devuan Derivatives » [Solved] [MiYoLinux] Error updating Ascii version: libeudev1 conflict » 2018-01-21 17:10:13

No luck

sudo apt-get install eudev=3.2.2-9 libeudev1=3.2.2-9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
eudev is already the newest version (3.2.2-9).
The following package was automatically installed and is no longer required:
  python-collada
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  libeudev1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/92,3 kB of archives.
After this operation, 208 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 186955 files and directories currently installed.)
Preparing to unpack .../libeudev1_3.2.2-9_amd64.deb ...
Unpacking libeudev1:amd64 (3.2.2-9) ...
dpkg: error processing archive /var/cache/apt/archives/libeudev1_3.2.2-9_amd64.deb (--unpack):
 trying to overwrite '/lib/x86_64-linux-gnu/libudev.so.1.6.3', which is also in package libudev1:amd64 220:3.2.2-devuan2.3
dpkg-deb: error: subprocess paste was killed by signal (Pipe interrotta)
Errors were encountered while processing:
 /var/cache/apt/archives/libeudev1_3.2.2-9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

#4 Devuan Derivatives » [Solved] [MiYoLinux] Error updating Ascii version: libeudev1 conflict » 2018-01-21 09:36:03

onekk
Replies: 8

I have posted the relevant information also in

https://dev1galaxy.org/viewtopic.php?pid=7194#p7194

I will post the relevant code for the error.

Doing apt dist-upgrade

The following NEW packages will be installed:
  libeudev1
The following packages will be upgraded:
  colord libcolord2 libcolorhug2
....
Get:1 http://pkgmaster.devuan.org/merged ascii/main amd64 libeudev1 amd64 3.2.2-9 [92,3 kB]
Get:2 http://pkgmaster.devuan.org/merged ascii/main amd64 libcolord2 amd64 1.3.3-1+devuan1 [253 kB]
Get:3 http://pkgmaster.devuan.org/merged ascii/main amd64 libcolorhug2 amd64 1.3.3-1+devuan1 [184 kB]
Get:4 http://pkgmaster.devuan.org/merged ascii/main amd64 colord amd64 1.3.3-1+devuan1 [338 kB
....
Unpacking libeudev1:amd64 (3.2.2-9) ...
dpkg: error processing archive /var/cache/apt/archives/libeudev1_3.2.2-9_amd64.deb (--unpack):
 trying to overwrite '/lib/x86_64-linux-gnu/libudev.so.1.6.3', which is also in package libudev1:amd64 220:3.2.2-devuan2.3

It seems that libeudev1 have a conflicting file with libudev1.

Maybe there are some conflict in the package base.

apt-cache policy libudev1
libudev1:
  Installed: 220:3.2.2-devuan2.3
  Candidate: 220:3.2.2-devuan2.3
  Version table:
 *** 220:3.2.2-devuan2.3 100
        100 /var/lib/dpkg/status
     1:3.2.2+devuan2.10 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
     236-3~bpo9+1 100
        100 http://pkgmaster.devuan.org/merged ascii-backports/main amd64 Packages

Hope it can help in solving the problem

#5 Hardware & System Configuration » [SOLVED] [Devuan ASCII] Error in dist-upgrade upgrading libeudev1 » 2018-01-20 08:33:20

onekk
Replies: 1

I will post the relevant code for the error.

Doing apt dist-upgrade

The following NEW packages will be installed:
  libeudev1
The following packages will be upgraded:
  colord libcolord2 libcolorhug2
....
Get:1 http://pkgmaster.devuan.org/merged ascii/main amd64 libeudev1 amd64 3.2.2-9 [92,3 kB]
Get:2 http://pkgmaster.devuan.org/merged ascii/main amd64 libcolord2 amd64 1.3.3-1+devuan1 [253 kB]
Get:3 http://pkgmaster.devuan.org/merged ascii/main amd64 libcolorhug2 amd64 1.3.3-1+devuan1 [184 kB]
Get:4 http://pkgmaster.devuan.org/merged ascii/main amd64 colord amd64 1.3.3-1+devuan1 [338 kB
....
Unpacking libeudev1:amd64 (3.2.2-9) ...
dpkg: error processing archive /var/cache/apt/archives/libeudev1_3.2.2-9_amd64.deb (--unpack):
 trying to overwrite '/lib/x86_64-linux-gnu/libudev.so.1.6.3', which is also in package libudev1:amd64 220:3.2.2-devuan2.3

It seems that libeudev1 have a conflicting file with libudev1.

Maybe there are some conflict in the package base.

apt-cache policy libudev1
libudev1:
  Installed: 220:3.2.2-devuan2.3
  Candidate: 220:3.2.2-devuan2.3
  Version table:
 *** 220:3.2.2-devuan2.3 100
        100 /var/lib/dpkg/status
     1:3.2.2+devuan2.10 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
     236-3~bpo9+1 100
        100 http://pkgmaster.devuan.org/merged ascii-backports/main amd64 Packages

Hope it can help in solving the problem

Regards

Carlo D.

#6 Re: Installation » [CLOSED] <Ascii> Minimal Install - OB - Issues » 2018-01-08 18:13:53

Thank @MIYOLinux for explaining this.

makh wrote:

@ onekk:
Hi
Welcome you to Devuan...
But kindly start another thread, as your point is out of bounds of this current discussion.
Click new thread on the main index of any sub forum. As you think, as applies.
Thankyou

Sorry if this is OT but I think that @MiYoLinux post in this thread has became my post not too OT.

Regards and thanks to all Devuan developers.

Carlo D.

#7 Re: Other Issues » Meltdown and Spectre » 2018-01-06 16:03:28

It seems that a dist-upgrade on ascii done yesterday pulls in 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux

as I'm on Intel as reported by dmesg

CPU0: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz (family: 0x6, model: 0x2a, stepping: 0x7)

Regards

Carlo D.

#8 Re: Installation » [CLOSED] <Ascii> Minimal Install - OB - Issues » 2018-01-06 15:55:07

I have installed MiyoLinux  ascii version (dind't remember the name exact name) The Refracta installer did a good job and now It seems that it is working quite well with OB and tint2 and conky, some information about MIYO customisation (I wonder if they are mainly estetic tweaking) are welcome, I have tried to guess the MIYOLinux customisation to modify some behaviour.

Thanks to MIYOLinux and fsmithread posts I've learned some things.

I wonder what are the differences from MIYOLinux to a "plain" Ascii.

Regards to All and expecially to MIYOLinux and fsmithread for their good job.

Carlo D.

#9 Re: Hardware & System Configuration » configure scanner brother dcp197c » 2017-12-27 14:55:27

For the error, (as a future memory) you could tweak the installer and substitute the word "debian" with devuan in the proper line.

Also a little note, the scanner group is not strictly joined with the printer (The hardware device is owned as a printer) but it is related to the "scanning" chain the programs, so the various advices to check the USB port for the group "scanner" is not a real solution.

As it's time of story telling (not a Xmas story) the brother drivers are quite complicated

For the printing part a "filter" is invoked based on ghostscript that transform your image or pdf-page in sort of raw format that is processed by an executable (If I didn't remember wrong is a 32-bit) and the send to the printer in the "native" format, some problem may arise if the 32-bit library are not installed properly, the brprinter installer generally take care of this and does a quite good job.

The original "brprinter-install" script was developed in a french forum and the adopted by brother.

The part that install the library in the wrong place is this installer and it is not well updated (the product is out of production so maybe it will be unmantained).

The scanner part is based on sane and you have to take care of the presence of the line brother3 in the /etc/sane.d/dll.conf (generally is the last line as it is added by the installer), so if in future the scanner is not working anymore maybe an update to the sane package replace this file.

Some decision made in the installer are not update proof, the relevant part as the drivers are generally safe as they are not overwritten, but the /etc/sane.d/dll.conf and the part of the /udev rule are somewhat fragile, and have to be the first part to check when a problem arise.

#10 Re: Hardware & System Configuration » configure scanner brother dcp197c » 2017-12-20 09:55:48

Use the installer from the brother site but then you have to tweak some links to make it works, some libraries are in the wrong place, See:

http://support.brother.com/g/b/download … dcp197c_eu

for the installer

and then as a superuser you have to copy or link the files

libsane-brother3.so* from /usr/lib64/sane to /usr/lib/sane

and all is working, plus you have to make a file :

60-scanner.rules

ACTION!="add", GOTO="libsane_rules_end"
ENV{DEVTYPE}=="usb_device", GOTO="libsane_create_usb_dev"
SUBSYSTEM=="usb_device", GOTO="libsane_usb_rules_begin"
SUBSYSTEM!="usb_device", GOTO="libsane_usb_rules_end"

# Kernel >= 2.6.22 jumps here
LABEL="libsane_create_usb_dev"

# For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y
# If the following rule does not exist on your system yet, uncomment it
# ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root", GROUP="root"

# Kernel < 2.6.22 jumps here
LABEL="libsane_usb_rules_begin"

# Brother scanners

ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="023e",  ENV{libsane_matched}="yes"

# The following rule will disable USB autosuspend for the device
ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"

LABEL="libsane_usb_rules_end"

ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"

LABEL="libsane_rules_end"

This file is useful because the usual places are overwritten if the debian package is updated, the additional file is never deleted, and it's your care to mantain it whenever is necessary.

Hope it is quite clear

Regards

Carlo D.

Board footer

Forum Software