The officially official Devuan Forum!

You are not logged in.

#26 2023-02-16 23:50:05

Altoid
Member
Registered: 2017-05-07
Posts: 1,583  

Re: sudo and slim

Hello:

nahkhiirmees wrote:

... but i wonder why it is needed?

Run this in a terminal:

~$ aptitude why libcups3

I run Devuan Beowulf with a backported kernel:

~$ uname -a
Linux devuan 5.10.0-0.deb10.16-amd64 #1 SMP Debian 5.10.127-2~bpo10+1 (2022-07-28) x86_64 GNU/Linux
~$ 

I have cups installed:

~$ apt list | grep installed | grep -i cups
---
cups-bsd/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-client/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-common/oldstable,oldstable,oldstable-security,oldstable-security,now 2.2.10-6+deb10u6 all [installed,automatic]
cups-core-drivers/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-daemon/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-filters-core-drivers/oldstable,now 1.21.6-5 amd64 [installed,automatic]
cups-filters/oldstable,now 1.21.6-5 amd64 [installed,automatic]
cups-ipp-utils/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-ppdc/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
cups-server-common/oldstable,oldstable,oldstable-security,oldstable-security,now 2.2.10-6+deb10u6 all [installed,automatic]
cups/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed]
libcups2/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
libcups2/oldstable,oldstable-security,now 2.2.10-6+deb10u6 i386 [installed]
libcupsfilters1/oldstable,now 1.21.6-5 amd64 [installed,automatic]
libcupsimage2/oldstable,oldstable-security,now 2.2.10-6+deb10u6 amd64 [installed,automatic]
printer-driver-hpcups/oldstable,now 3.18.12+dfsg0-2 amd64 [installed,automatic]
~$ 

But the library you referr to is not installed in my system:

~$ apt list | grep installed | grep -i libcups3
---
~$ 
~$ aptitude why libcups3
E: No package named "libcups3" exists.
~$ 

Maybe it is just a chimaera thing?

Best,

A.

Offline

#27 2023-02-17 01:20:44

golinux
Administrator
Registered: 2016-11-25
Posts: 3,333  

Re: sudo and slim

Or possibly a "recommends" thing?

Online

#28 2023-02-17 17:12:54

chris2be8
Member
Registered: 2018-08-11
Posts: 309  

Re: sudo and slim

nahkhiirmees wrote:

One day i had complaints from every https site i tried to visit. The reason was:the hardware decided that current time is january 2002.

That sounds like the battery for the real time clock is going flat. And might cause it to forget changes you made to the BIOS settings (or just randomly change settings). Replacing the battery would be a good start, then check all the BIOS settings.

Offline

#29 2023-02-17 21:35:07

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: sudo and slim

Altoid wrote:

Hello:

~$ aptitude why libcups3
E: No package named "libcups3" exists.
~$ 

Maybe it is just a chimaera thing?

Best,

A.

I think i have mixed libcups2 with libavahi3 when writing the previous messages.
Anyways, can i configure apt in a way that it downloads/installs only the "Depends" packages ?

Offline

#30 2023-02-17 22:16:27

Altoid
Member
Registered: 2017-05-07
Posts: 1,583  

Re: sudo and slim

Hello:

nahkhiirmees wrote:

... mixed libcups2 with libavahi3 when writing the previous messages.

You should check that then.

nahkhiirmees wrote:

... configure apt in a way that it downloads/installs only the "Depends" ...

Yes, install with the --no-install-recommends flag.

eg:

apt install --no-install-recommends [package_name_here]

See https://superuser.com/questions/615565/ … recommends for how to make that permanent in apt.

Best,

A.

Offline

#31 2023-09-17 02:31:49

czeekaj
Member
Registered: 2019-06-12
Posts: 154  

Re: sudo and slim

nahkhiirmees wrote:

So i'm the only one here who has broken slim?-)

have you tried installing seatd?

I recently removed it and slim works fine. There must of been a fix upstream?

However, I removed sudo and make live system. It still autologin into user 1000.
But interesting when I run w. slim session is invisible. When login it shows a user. But I don't see tty7 in daedalus where I would see the openbox session in chimaera.

But yeah you don't need sudo.

Offline

#32 2023-10-28 17:22:45

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: sudo and slim

For a while i thought that wrong access rights in /tmp-directory was a root of all problems i've been lately having with Devuan. Now i'm not so sure anymore. This morning i tried again installling Devuan into Fujitsu. With chimaera desktop image on a stick i mostly made it working.

Then i screwed up something, again. (Being tired enough is not so different from being drunk. ) Could't login as a normal user even after chmod 777 /tmp. And also something went wrong with "iptables/dnsmasq/dhclient"-side of things in the sense that apt didn't work. There were some complaints related to name service.

Again it seems necessary to find a software less difficult than slim.
I don't think sudo is a problem anymore.

Offline

#33 2023-10-28 17:46:09

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: sudo and slim

chris2be8 wrote:
nahkhiirmees wrote:

One day i had complaints from every https site i tried to visit. The reason was:the hardware decided that current time is january 2002.

That sounds like the battery for the real time clock is going flat. And might cause it to forget changes you made to the BIOS settings (or just randomly change settings). Replacing the battery would be a good start, then check all the BIOS settings.

Again i think that bios battery is not the whole story. With my "new" desktop things have detoriorated to a situation where it won't boot even from hard disk. I get complaints from bios instead.

I have changed battery 2 or 3 times this year. Tried also returning bios settings to factory defaults once or twice. Changed sata cables also, just in case.
Very interesting problem indeed. Unfortunately i have some things to do, preferably within a deadline. So now is not a good time for further research.

In a way this reminds me the last seasons of Stargate, there were this bad guy called Anubis. He had to change hosts often.

Offline

Board footer