The officially official Devuan Forum!

You are not logged in.

#151 Re: Installation » Space on root missing » 2023-06-26 15:45:27

df -i show you the number of inodes in a filesystem. df --total show how many 1k blocks of disk space there are (in both cases you get total, used and available). See man df for details.

It's possible to run out of inodes but not space. This makes it impossible to add any new files to the filesystem. Which can be very confusing if you don't realise what's happened (I fell into this trap, though the disk was faulty and bought a new disk before realising I only needed to tidy up junk files).

Also you don't usually need to run df as root, it should work just as well as a non-root account.

#152 Installation » Updating from ASCII » 2023-06-21 20:42:03

chris2be8
Replies: 6

The hard disk on my Devuan system has failed, so I've had to replace it. I've recovered most of the contents of /home, but the OS has gone. So I've got to re-install Devuan on the new (and larger) disk.

I've got two DVDs from Linux Format with Devuan on them, an old one with ascii and a newer one with chimera. But for some reason the installer on the newer DVD won't work, it's probably not compatible with the rather old motherboard etc. So I've had to install ascii to get the system to boot up at all.

When I tried to update it I got errors because http://pkgmaster.devuan.org/merged doesn't contain ascii any more. I found the readme pointing me to http://archive.devuan.org/merged which gets a little further.

But that hasn't got ascii-updates:

root@rigel:~# apt update
Get:1 http://archive.devuan.org/merged ascii InRelease [29.4 kB]
Ign:2 http://archive.devuan.org/merged ascii-updates InRelease
Get:3 http://archive.devuan.org/merged ascii-security InRelease [29.8 kB]
Err:4 http://archive.devuan.org/merged ascii-updates Release  
  404  Not Found [IP: 88.198.100.113 80]
Get:5 http://archive.devuan.org/merged ascii/main amd64 Packages [7,193 kB]
Get:6 http://archive.devuan.org/merged ascii/main Translation-en [5,652 kB]
Get:7 http://archive.devuan.org/merged ascii/contrib amd64 Packages [50.8 kB]                                                                               
Get:8 http://archive.devuan.org/merged ascii/contrib Translation-en [45.9 kB]                                                                               
Get:9 http://archive.devuan.org/merged ascii/non-free amd64 Packages [78.8 kB]                                                                              
Get:10 http://archive.devuan.org/merged ascii/non-free Translation-en [79.3 kB]                                                                             
Get:11 http://archive.devuan.org/merged ascii-security/main amd64 Packages [741 kB]                                                                         
Get:12 http://archive.devuan.org/merged ascii-security/main Translation-en [382 kB]                                                                         
Get:13 http://archive.devuan.org/merged ascii-security/contrib amd64 Packages [1,776 B]                                                                     
Get:14 http://archive.devuan.org/merged ascii-security/contrib Translation-en [1,759 B]                                                                     
Get:15 http://archive.devuan.org/merged ascii-security/non-free amd64 Packages [14.1 kB]                                                                    
Get:16 http://archive.devuan.org/merged ascii-security/non-free Translation-en [21.2 kB]                                                                    
Reading package lists... Done                                                                                                                               
E: The repository 'http://archive.devuan.org/merged ascii-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Is it worth trying to do a series of updates from ascii or should I try to do complete reinstall of a later release? If it's worth updating ascii should I just comment out ascii-updates in /etc/apt/sources.list ?

#153 Re: Other Issues » [SOLVED] File "recently-used.xbel" » 2023-06-02 16:03:57

The program that re-creates it probably deletes it before re-writing the latest contents into it. If you own .local/share/ then a program, running as you can delete files from it, even if you don't own them.

You might be able to stop this by making .local/share/ owned by root. But this would break anything else trying to create a file in .local/share/

#154 Re: Off-topic » AI on mainstream media » 2023-05-24 16:27:22

zapper wrote:
golinux wrote:

@chris2be8 . . . Thanks for the great description. Found it . . . I think . . .

Which one is it? Just curious

The one I'm referring to was in issue 269, so it should be number 109 (number 099 was in issue 259). But that site won't show it.

I have a nasty suspicion you can't see the cartoons in the last year (you probably need a subscription). Sorry.

#155 Re: DIY » [SOLVED] doas help, » 2023-05-24 16:15:26

I've not used doas (I learnt sudo before doas was available), but you will need to think hard about what you want to do. If you let people run an arbitrary command as root they could just run bash as root to get the same effect as doas -s.

With sudo it's possible to let people run a list of commands as root, but not a shell, as long as none of the commands you allow can spawn a shell. But it's easy to let a way to a root shell slip through.

Forcing people to jump through a few hoops to get to a root shell *might* have some value, but it's more likely to give you a false sense of security.

#156 Re: Off-topic » AI on mainstream media » 2023-05-14 15:52:07

I get the paper magazine, so I don't know if it's available online or where it would be. Sorry.

It's the Elvie cartoon if you want a search term.

#157 Re: Off-topic » AI on mainstream media » 2023-05-13 16:04:20

zapper wrote:

Google's name comes from nonsensical babbling from a mathematician's child

You should look at the cartoon in the April 2023 issue of Linux Magazine (Linux Pro Magazine in North America). It has an alternative meaning for the name.

#158 Re: Desktop and Multimedia » missing shutdown menu item in mate desktop/ panel / system menus » 2023-05-09 16:42:57

Compare what groups the users are in on the faulty system and both the working systems. And how sudo (or doas) is configured on them.

#159 Re: Desktop and Multimedia » missing shutdown menu item in mate desktop/ panel / system menus » 2023-05-04 16:05:06

Assuming the system where the mate components are missing is the one that had the HDD crash:

Check the config files in your home dir. And compare them with the systems that are OK. That sounds the most likely cause if the OS is identical.

#160 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-05-02 16:05:39

Thanks, that gives us something to go on.

There are a *lot* of models of laptop you might have and a lot of models of TV you might be trying to connect to. So telling us what you have makes it a lot easier to offer useful advice.

Let us know if you get it working or find it won't work. That would help someone else in a similar situation.

#161 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-05-01 16:34:02

amc252 wrote:
chris2be8 wrote:

You would probably have got a better response if you had started by saying what make and model of laptop you have and what make and model of TV you would like to connect it to. And putting the above link in your first post would have been more helpful (or just saying what make and model it is).

As it is no one could offer any specific help since they could only guess what you were trying to connect.

It seemed rather clear to me, then again perception is everything.

And it seemed as clear as mud to me. You still havn't answered my questions:

What make and model of laptop do you have?
What make and model of TV would you like to connect it to?

Without that information we can't offer any specific advice.

#162 Re: Hardware & System Configuration » How do I get USB to RCA connection to work? » 2023-04-30 15:59:10

You would probably have got a better response if you had started by saying what make and model of laptop you have and what make and model of TV you would like to connect it to. And putting the above link in your first post would have been more helpful (or just saying what make and model it is).

As it is no one could offer any specific help since they could only guess what you were trying to connect.

#163 Re: Desktop and Multimedia » A possible login bug » 2023-04-18 16:19:33

Do you have a GUI installed? If so what one? I assume tty1 is the normal text only display.

Exactly what happens when you try to log on to tty7 with a long password? It sounds as if it *might* be the GUI only allows you to enter 20 (or so) characters for the password (the programmers probably assumed no one would want to use a 24 char password). Does trying to log on produce a failed login reported in syslog or by lastb? If not the GUI might not be allowing you to try to log on.

#164 Re: Desktop and Multimedia » Loss of on-hover response » 2023-04-07 16:23:43

Do you have another system? If so can you log on to the systems with problems via ssh (preferably before causing it to hang)? That should give you a way to enter commands (I've had to do this).

Just to confirm, does Ctrl-Alt-F1---7 work whan the system is not hung?

#165 Re: Desktop and Multimedia » Loss of on-hover response » 2023-04-05 16:32:55

ctrl-alt-f1 (press all 3 keys at once) should get you to a text screen (there are 6 of them, ctrl-alt-f1 to ctrl-alt-f6). ctrl-alt-f7 should get you back to the GUI (try this out *before* you get another hang). If that works you should be able to log on and try commands like killall firefox and killall thunderbird.

If you can't free the GUI you could use sudo shutdown -r now as a slightly gentler way to force a reboot.

#166 Re: Off-topic » AI+ML article in ElReg » 2023-04-04 16:22:37

China (and other countries) will also be developing LLM and other AI systems. So any moratorium only lets China etc get a head start.

I can't think of a good option. But allowing Microsoft and Google to carry on as they wish is probably the least bad.

#167 Re: Installation » [SOLVED] how to reinstall a package needed for maintaining a system? » 2023-04-03 16:05:49

bai4Iej2need wrote:

System FUBAR (video ATI RadeOn 4225 failed, no display. )

How badly failed is it?
Does the system show any sign of life when you try to boot it?
Does the display work if you try to boot off a live disk/USB stick? If not it might be a hardware fault.
Have you got another computer on the same network? If so does the faulty system respond to ping? Or come up far enough to SSH onto it?
Does ctrl-alt-f1 get you to a text screen?

#168 Re: Installation » [SOLVED] can't login use correct user and password » 2023-03-14 17:03:34

If you re-installed the system then your username might have had it's numeric UID changed (it's the 3rd field in /etc/passwd). That would mean that everything in it's home dir would be owned by the old UID, not it's new UID. The sudo chown -R user:user /home/user command would have fixed it. And destroyed most of the evidence.

I've hit this problem before when switching distributions.

#169 Re: Freedom Hacks » Is it safe to encrypt only the home directory? » 2023-03-07 17:06:32

If your problem is that the system runs slowly then start by trying to fix that *without* disabling FDE.

A few questions to start with:
What sort of system is it? (Desktop or Laptop, make model, etc?)
What CPU has it got?
How much memory has it?
What is it's display? (Could you add a GPU if it hasn't got one?)
What is running on it? (OS, desktop env, etc?)
Is it using swap space very often? (If yes then adding memory might speed it up a lot.)

Try running top and vmstat to see if they say anything interesting.

Hopefully answering that lot will point you towards a fix.

#170 Re: Freedom Hacks » Is it safe to encrypt only the home directory? » 2023-03-06 17:10:39

Try searching everywhere outside /home that your user account could write to. (Ignore symlinks though, only permissions on what they point to matter.) Personal data could leak into any of them.

At least check /tmp/ and /var/tmp/ (you would probably need to make them separate encrypted partitions).

#171 Re: Hardware & System Configuration » [SOLVED] Stupid two screen question (screens before login) » 2023-02-20 17:04:59

I assume both screens will be powered on before the boot. But how are they connected (are there two motherboard sockets or is one on a GPU)? And what sort of PC is it?

There *should* be a BIOS option to say which screen to use. But that probably only applies to the BIOS output.

You could try booting the system with one screen powered off and see what happens. Then try the other. (It probably won't help but costs nothing to experiment.)

#172 Re: DIY » sudo and slim » 2023-02-17 17:12:54

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.

#173 Re: Other Issues » sha512sum... » 2023-02-17 17:02:29

The first thing I'd try is to repeat round 1, cp sums.txt sums_1.txt, repeat round 2 and diff sums_1.txt sums.txt to see if they differ.

#174 Re: Other Issues » [SOLVED] Bookworm's "which" pogram » 2023-02-09 17:49:49

It will cause problems for scripts that call which. Unless stderr is sent somewhere harmless such as /dev/null it will either put out the message to the terminal (annoying, but probably the script will still work) or get mixed up with the output the script will try to parse (and probably make the script fail).

https://wiki.debian.org/NewInBookworm says:

Shell script writers are advised to use command -v instead.

But I won't be holding my breath waiting for *every* script calling which to be updated.

which is actually a shell script, so if this proves too annoying you could just update it on your system to comment out the message. And try to remember this if you write a script for someone else that uses which.

#175 Re: Off-topic » Idle chatter nonsense » 2023-02-08 17:24:04

Don't blindly assume everyone on the left is virtuous. That would place you in grave danger if you encounter a psychopathic murderer who claims to be on the left to give people a false sense of security. And a con artist doing the same thing could give you a painful lesson.

In any case trying to fit all political views onto one dimension is far to simplistic. The extreme left and extreme right are almost identical in what they actually do, the centre are much further from them than they are from each other. Remember that Nazi is short for National Socialist.

Board footer

Forum Software