The officially official Devuan Forum!

You are not logged in.

#1 2025-05-14 10:38:33

Dee
Member
Registered: 2025-05-14
Posts: 2  

[SOLVED] Problem with Failed to execute login command - Daedalus

Hi to all, newbie here. I hope you could help me. I have a devuan daedalus 5 with init.
I have the problem of Failed to execute login command that happened after ive rebooted (last thing i've installed was wine and I remember that I was using whatsie, basically whatsapp, and the program couldn't stragely load so i've rebooted). This issue happens with my username but with root there is no problem (with f1 i can use cinnamon, kodi or xfce4).
I cannot for some obscure reason update, upgrade or remove/reinstall slim because terminal says not enough space, despite there is couple of gb. I am really lost because this thing happened when i needed the pc the most (preparing for an exam in elettronica were pspice windows program is needed).
If you guide me what commands I could type for investigating the problem i will be very happy to do so and I would provide you a feedback.
Thank you in advance for any kind hearth who would provide me some help.
Greetings Dee.

Offline

#2 2025-05-14 11:48:49

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,650  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Start with df -h which will show your mounted partitions with their size and amount used. Pay particular attention to the percentage used on your root filesystem. If it goes beyond 95% you're likely to have problems. If anything is too full, find some big files to delete.

You might run apt-cache autoclean to get rid of old deb packages in /var/cache/apt/archives or even apt-cache clean to get rid of all the deb packages in that directory. Note that this will not uninstall any programs. It just remove the .deb packages, so if you needed to reinstall something, you'd need to pull it from the repository. (i.e. the way most people install packages most of the time.)

Offline

#3 2025-05-14 16:14:10

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

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

df -i to see how many inodes are used in each filesystem would also be worthwhile. Although you are not very likely to run out on a new install.

Offline

#4 2025-05-15 18:08:21

greenjeans
Member
Registered: 2017-04-07
Posts: 953  
Website

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

^^Is kinda what it sounds like, OP did mention that he had "a couple of gb" left, if he's only got a couple GB left on any kind of modern drive, then he has a LOT of files on that drive. Even my my ancient laptop from 2012 has a 350 gb hard-drive.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Online

#5 2025-05-15 19:35:45

mweishaar
Member
Registered: 2018-11-11
Posts: 40  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

You might run apt-cache autoclean to get rid of old deb packages in /var/cache/apt/archives or even apt-cache clean to get rid of all the deb packages in that directory.

I am not OP, but I have forgotten all about apt-cache... clearly, since I have 4253 pkgs as far back as 2015 in there taking up 13GB !
However, 'clean' and 'autoclean' are not valid operations for apt-cache. (apt 2.1.1devuan1). I'm on daedalus and am up to date. ¯\_(ツ)_/¯

Edit: apt-get autoclean works. I'm down to 487 pkgs @ 6GB. smile

Last edited by mweishaar (2025-05-15 20:32:12)

Offline

#6 2025-05-16 12:18:26

Dee
Member
Registered: 2025-05-14
Posts: 2  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

OK, I did all the commands and at the end I had to delete couple of files in order to get some space (I use pipx for yt-dlp for downloading tutorials from youtube videos, so cleaning cache couldn't do much better) some of your commands showed me the partition to be 100% used. So what I did?
I did remove slim and somehow that command told me automatically to install another thing as a substitution of slim and now I'm back.
It's not so good looking like slim was but everything seems fine.
At the moment WINE for some reason doesn't work for me nor installing virtualbox but I don't have time to really investigate and i'm a lot to learn about linux.

Thank you all for the help and explanations you gave me.
Dee.

Offline

#7 2025-05-16 16:31:27

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

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Hello:

fsmithred wrote:

... run apt-cache autoclean to get rid of old deb packages

Was passing by, had a read and tried it.
Had never used it before.

# uname -a
Linux devuan 6.1.0-34-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.135-1 (2025-04-25) x86_64 GNU/Linux
# 
# apt-cache autoclean
E: Invalid operation autoclean
#
# apt-cache clean
E: Invalid operation clean
# 

System is up to date.

What am I missing?

Thanks in advance.

Best,

A.

Last edited by Altoid (2025-05-16 16:33:04)

Offline

#8 2025-05-16 16:36:25

greenjeans
Member
Registered: 2017-04-07
Posts: 953  
Website

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Cleaning: I let Bleachbit do the heavy lifting, but I also do a lot of manual cleaning of things it misses.

/var/anything and /usr/share/things are the worst offenders. One of these days I need to write a list.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded April 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Online

#9 2025-05-16 20:02:56

mweishaar
Member
Registered: 2018-11-11
Posts: 40  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

@Altoid, scroll up 2 posts from yours and see my Edit: comment.

Offline

#10 2025-05-16 20:55:45

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

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Hello:

mweishaar wrote:

... see my Edit: comment.

Yes, I saw it.
I use apt autoclean and apt autoremove along with apt install -f all the time.

But I have read that they do not take care of what has accumulated in /var/cache/apt/archives and /var/cache/apt/archives/partial.
Sorry, cannot find the link ... 8^°

Thanks for your input.

Best,

A.

Last edited by Altoid (2025-05-17 09:14:05)

Offline

#11 2025-05-16 22:18:37

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

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

greenjeans wrote:

... Bleachbit do the heavy lifting ...

My favourite was fslint but it's now long gone on account of python 2.7.x being deprecated.

Best,

A.

Last edited by Altoid (2025-05-16 22:19:28)

Offline

#12 2025-05-17 09:13:40

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

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Hello:

I wrote:

I use apt autoclean and apt autoremove along with apt install -f all the time.

Yes.

apt autoclean will remove obsolete packages but to clear the /var/cache/apt/archives and /var/cache/apt/archives/partial directories you have to use apt clean.

Just checked in my netbook's Chimaera system and I came across a dozen or so packages from over three years ago.

Makes sense.
They were there because I never use apt clean, just apt autoclean and apt autoremove.

Best,

A.

Last edited by Altoid (2025-05-17 09:14:33)

Offline

#13 2025-05-17 13:01:16

mweishaar
Member
Registered: 2018-11-11
Posts: 40  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

I am not sure what I am missing here... @Altoid is quoting and replying to his own posts, and some are saying apt clean/autoclean and apt-cache clean/autoclean  works on Daedalus when clean/autoclean are not even options for those tools. They are only available in apt-get.

Am I losing it or has this thread gone off the rails?

Offline

#14 2025-05-17 13:44:51

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

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Hello:

mweishaar wrote:

... @Altoid is quoting and replying to his own posts ...

Yes.
Instead of editing the previous post, I posted again.
Makes more sense when you are following the thread.
Granted, I neglected to add Update at the beginning of the post the quote to myself.
Sorry about that ...

But I digress ...

Running apt clean or apt autoclean requires root or sudo.
Depending on how your system is configured.

# apt clean
# 
# apt autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
# 

Likewise, to run apt-get clean or apt-get autoclean also requires root or sudo.

# apt-get clean
# 
# apt-get autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
# 

With respect to apt-cache ...
You are quite right: clean and autoclean are not valid options.
What has happened is most probably a typo on behalf of one of our (most active) admins: fsmithred.

Strange ...
I have been a member of Dev1 for eight years now and it is the first time I see such a thing.
No big deal, just this week I have made more than a half dozen typos myself.
Happens.

So, no.
My guess is that you are not losing it, whatever it may be.
I keep my own it in a small box under the kitchen sink so it does not get lost. 8^°

Hope that clears up things for you.

Best,

A.

Last edited by Altoid (2025-05-17 16:25:21)

Offline

#15 2025-05-17 14:59:22

mweishaar
Member
Registered: 2018-11-11
Posts: 40  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Got it.

Strange that clean/autoclean aren't in the man pages for apt.

Offline

#16 2025-05-17 15:15:27

RedGreen925
Member
Registered: 2024-12-07
Posts: 117  

Re: [SOLVED] Problem with Failed to execute login command - Daedalus

Strange that clean/autoclean aren't in the man pages for apt.

It appears they are only mentioned with a reference to read apt-get man page.

edit-sources (work-in-progress)
           edit-sources lets you edit your sources.list(5) files in your
           preferred text editor while also providing basic sanity checks.

       showsrc, depends, rdepends, policy (summarised in apt-cache(8))

source, build-dep, download, changelog, clean, distclean, autoclean
       (summarised in apt-get(8))

Edit: that would be in excalibur it is not in a previous version of apt on a bookworm based install.

Last edited by RedGreen925 (2025-05-17 15:20:40)

Offline

Board footer