The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-08-04 16:07:24

fsmithred wrote:

Does the error message appear inside the terminal that you just opened, or is it in a notification window or other popup?

It is the first line in every terminal I open:

ash: 0: Can't open completion

What terminal is it?

GNOME-Terminal 3.30.2
Desktop: Cinnamon 3.8.8
Distro: Devuan GNU/Linux 3 (beowulf)

Maybe a right-click on that icon will let you see a list of Properties that will show the command.

By right-clicking  under "edit" I get a window (launcher properties) with the following entries:

Name: Terminal
Command: gnome-terminal  (with a button "Browse" which opens a file manager)
Comment: Use the command line
there is a tickable box "Launch in Terminal? (not checked)

If you have a terminal that will let you run commands, run the command that the panel icon uses to open a terminal and see if it gives you any more information.

If I run  "gnome-terminal" (in a GNOME-Terminal) I get a new terminal (including :"ash: 0: Can't open completion" as first line).

If I stop that terminal with CTRL +D, the original terminal displays:

# Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
# watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
# unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
# watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)

All above as user!


If I switch to root and try to run "gnome-terminal"

I get this error (and NO new terminal-window!):

# Error constructing proxy for :1.98:/org/gnome/Terminal/Factory0: Verbindung ist geschlossen
# Failed to use specified server: Verbindung ist geschlossen
# Falling back to default server.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Verbindung ist geschlossen

"Verbindung ist geschlossen" means: "connection closed"


Thanks for your patience!
wink

#3 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-08-03 16:11:21

You wrote:

I don't get an error message when I start an ash shell.

Same with me!
I do get an error message, when I open an console.

How did you install the system?

I installed ascii from a netinstall iso. Upgraded to beowulf by replacing "ascii" in my sources.list

What did you do that's different from everyone else?

;-)
well I really don't know. It all started when I upgraded from ascii to beowulf.
Since then I got

bash: ash: command not found

whenever I open a console.
After installing "ash" I get

ash: 0: Can't open completion

I'm not finding that error message on a web search. (Can't open completion)

Me neither.
Perhaps we ask the guys who develop ash/dash?
greetings

#4 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-08-03 07:04:59

bash-completion ist schon die neueste Version (1:2.8-6).

is already newest version
greetings

#5 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-08-02 15:49:40

@fsmithred
thanks for answering ...
sorry, I found out that ash was NOT installed. So I installed it (again? I am really not quite shure)
I don't remember exactly what kind of prompt-behaviour I had, before I did that su alias.
Before installing ash I deleted that empty ash file.
/bin looks like this now:

ls -l *ash
lrwxrwxrwx 1 root root       4 Jan 17  2019 ash -> dash
-rwxr-xr-x 1 root root 1168776 Apr 18  2019 bash
-rwxr-xr-x 1 root root  121464 Jan 17  2019 dash
lrwxrwxrwx 1 root root       4 Apr 18  2019 rbash -> bash

NOW opening a console, I get:

ash: 0: Can't open completion 

#6 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-08-02 13:31:12

To finish that

bash:ash: command not found

thing:
I just added an empty  "ash"-file in /bin.

Since then there are no more errors like

bash:ash: command not found

If anyone has an better idea or just can explain to me where that error message came/comes from;
you are very welcome!

I found no hint in .bashrc of any script or program that needs ash.
greetings

#8 Re: Installation » [solved]Upgrading to Beowulf packages held back » 2020-07-04 21:13:15

apt full-upgrade

made no difference.
So I tried

apt-get install elogind libelogind0 libpam-elogind 

after update there was no

"packages held back"

message any more.

Thanks for helping.

#9 Installation » [solved]Upgrading to Beowulf packages held back » 2020-07-03 15:07:28

roluan17
Replies: 3

I don't know whether my question has anything to do  with the problems described above ...
I did upgrade from ascii to beowulf.

when I do

apt-get upgrade

I get:

Die folgenden Pakete sind zurückgehalten worden:
  elogind libelogind0 libpam-elogind

meaning the following packages have been held back

Everything seems to work fine on my machine, but I'd like to know if I need to take action?
Which part of beowulf needs elogind, libelogind0 and  libpam-elogind?
How could I have found out for myself?

greetings

#11 Forum Feedback » Where to report broken link on https://devuan.org/os/keyring? » 2020-07-01 06:39:23

roluan17
Replies: 2

There is a broken link on https://devuan.org/os/keyring:

"You can get it here: E032 601B 7CA1 0BC3 EA53 FA81 BB23 C00C 61FC 752C"
does  lead to:
Document Not Found
Where should this be reported?
greetings

#12 Re: Hardware & System Configuration » [SOLVED]Detached signature file(s) » 2020-07-01 06:08:19

Thank you!
Keyring was the newest.
All seems to be fine now, replaced country mirrors.
greetings

#13 Hardware & System Configuration » [SOLVED]Detached signature file(s) » 2020-06-30 21:34:42

roluan17
Replies: 2

Hi
since upgrading from ascii to beowulf, I get the following errors, when I do:

apt-get update:
Detached signature file '/var/lib/apt/lists/partial/us.deb.devuan.org_merged_dists_beowulf_Release.gpg' is in unsupported binary format

for each of these sources:

us.deb.devuan.org_merged_dists_beowulf-security_Release.gpg' 

us.deb.devuan.org_merged_dists_beowulf_Release.gpg' 

us.deb.devuan.org_merged_dists_beowulf-updates_Release.gpg'
apt-get install devuan-keyring

is answered by:

devuan-keyring ist schon die neueste Version (2017.10.03).

(keyring is already newest version)

Anyone can help?

#14 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-28 15:35:31

@Head_on_a_Stick:

"su" without argument

works fine

Yes .bashrc and .bash_aliases are those from root

GNU nano 3.2                     /root/.bashrc                                

# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
HISTSIZE=1000
HISTCONTROL=ignoredups:erasedups
GNU nano 3.2                  /root/.bash_aliases                             

alias su='su -'

But I overlooked three lines out commented in /etc/pam.d/su:
sad


# This allows root to su without passwords (normal operation)
auth       sufficient pam_rootok.so

session       required   pam_env.so readenv=1 envfile=/etc/default/locale

session    optional   pam_mail.so nopen

session    required   pam_limits.so

greetings

#15 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-28 10:44:54

@steve
yes, there is a root password!

@ralph
I can't reproduce the problem anymore (puuh, saved)

su -
su --login

and

su

all demand a password. (Everywhere, also on a non grafic console. "ctrl-alt-f1").
Sent securrity home again.
-----------------------------------

su -

and

su --login

with output

-bash: ash: Kommando nicht gefunden.

(command not found)

-----------------------------------------------------
Only

su

(after setting alias)

alias su='su -'

does NOT output

-bash: ash: Kommando nicht gefunden.

but silently opens a root-shell

root@someone:/home/someone# 

------------------------------------------------------
Remains the "ash output".
Couldn't find much in the web:
https://en.wikipedia.org/wiki/Almquist_shell
https://www.in-ulm.de/~mascheck/various/ash/
which leaves me as ignorant as before.

greetings

#16 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-26 15:08:46

Hi Steve, ptmy!

~# printenv
SHELL=/bin/bash
PWD=/root
LOGNAME=root
HOME=/root
LANG=de_DE.UTF-8
TERM=xterm-256color
USER=root
SHLVL=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MAIL=/var/mail/root
_=/usr/bin/printenv

.bashrc:

HISTSIZE=100
HISTCONTROL=ignoredups:erasedups

.profile

if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

mesg n || true

.bash_profile does not exist

.bash_aliases

alias su='su -'

smile

/etc/pam.d/su

@include common-auth
@include common-account
@include common-session

/etc/pam.d/su-l

#%PAM-1.0
auth		include		su
account		include		su
password	include		su
session		optional	pam_keyinit.so force revoke
session		include		su

Thanks
greetings

#17 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-26 10:06:34

Hi Ralph,
thanks for the answer!
1)
Well my "su" still works fine. I was a bit of confused that I should work from now on with "su -". But I tried it with "command not found" result.
Why should I check up why "su -" is not working, when "su" is working as usual? Btw I have no idea how to check up why I get that "ash" output.
Any suggestions?

2)
Being able as normal user to get a root-shell by just typing su "--login" without need for a password  makes me a little nervous.
Not you?
greetings

#18 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-26 09:26:44

Hi LarsH,

well if you read my post, you can see that

su -

is not working on my Beowulf.

Distro: Devuan GNU/Linux 3 (beowulf) 

If I use the recommended long form

su --login

I even get a root-shell without a password.
And you are writing:"it is not a bug but a deliberate change from debian."
Well if that is so it must be changed again!
I don't want debian stuff of that nature!
Last not least: "su" ist still working on my PC as usual!
Warmest regards

#19 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-26 09:12:16

btw
I had similar problems with installed programs (since Beowulf) as i.e.  "dmidecode"

invoking "dmidecode" led to "program not found".
But

apt-get install dmidecode

led to

dmidecode ist schon die neueste Version (3.2-1)

meaning "is already the newest version"

Here's the kicker:
after updating no difference

but after reboot dmidecode worked as it should!
Bug or feature?
smile

#20 Re: Hardware & System Configuration » [ SOLVED ] cant run command from commandsline » 2020-06-26 08:43:59

Can't reproduce this "su -" thing

su-
bash: su-: Kommando nicht gefunden.

command not found

su -
-bash: ash: Kommando nicht gefunden.

command not found

Man-pages say:

Es wird empfohlen, stets die  Option  --login  (statt  deren
Kurzform  -)  zu verwenden

means"--login" recommended instead of shortform "-"
BUT
if I use

su --login


I get a root-shell without filling in my password!

Passwort: 
-bash: ash: Kommando nicht gefunden

Sic!

 ~# whoami
root

I would suggest to put the thread again to

not solved

and inform security
smile

#21 Re: Hardware & System Configuration » USB Multiboot » 2019-12-29 16:05:36

Thank you for the reply!
I thought, it would be something similar to STAR,  Login: starlive Pwd: live.
I'll by me a new stick, tomorrow. Then I will go on again.
greetings

#22 Re: Hardware & System Configuration » USB Multiboot » 2019-12-29 10:13:21

Well I put that img (dev1usb_2019-03-28.img) to a stick and it runs ok until  I have a black screen leaving the prompt blinking after
"login:"

I thought there might be a hint in any READme, but couldn't find one.

This was no try to create a multiboot system though it definitely has several different Devuan distros on board which can be selected during the boot process.

#23 Re: Hardware & System Configuration » USB Multiboot » 2019-12-28 17:18:32

@golinux
well, dev1usb seems to run. But I can't get further than login:

Please give me a hint, the readme is quite frugal.

#24 Re: Hardware & System Configuration » USB Multiboot » 2019-12-28 16:25:16

rufus? Isn't that for "He Who Cannot Be Named"?

#25 Re: Off-topic » Happy Holidays & Merry Christmas » 2019-12-25 07:41:13

Same to you!
Merry Christmas.
Thanks for your work!
Looking for a small LIVE Distro and so I got here. Distrowatch mentions a user Forum (https://sourceforge.net/p/linnix/discussion/) but the link goes nowhere.
Does STAR still exist?
CROWZ is  not mentioned yet on Distrowatch. Where can I get news on what is going on from your side?
Greetings

Board footer

Forum Software