You are not logged in.

#1 2024-01-19 16:07:35

dmontaine
Member
Registered: 2017-02-14
Posts: 79

bl-welcome error

If everything is chosen for install, then during the actual install the output becomes chaotic, with text overwriting existing text and ending up with a mess on the screen.  It works correctly, just looks bad.

Offline

#2 2024-01-20 01:48:44

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: bl-welcome error

^There is some messing up of text formatting sometimes, but in my experience it's only been for short periods, occasionally when apt is performing some operations. I haven't seen any overwriting of text, though, just messed-up line breaks.

The text formatting recovers when the script gets back to actual user interaction, I hope?

What do you mean by "everything is chosen for install"? Saying yes to every option offered? That's an unusual choice, but I'll try it on my VM install and see what happens.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2024-01-20 11:04:47

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: bl-welcome error

johnraff wrote:

^There is some messing up of text formatting sometimes,

No, it is allways. Not nice, but no big deal...

but in my experience it's only been for short periods, occasionally when apt is performing some operations.

Output of bl-welcome, is ok until after output from "apt update".  It's only the formating of text from output of "apt upgrade", when getting packages.
First line of "get ..." is shifted to the right some 100 pixels. Next line shifted additional a couple of pixels to the right and so on. Makes it harder to read.
When apt starts unpacking, output is ok again and remains so.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#4 2024-01-21 09:19:30

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: bl-welcome error

rbh wrote:
johnraff wrote:

^There is some messing up of text formatting sometimes,

No, it is allways. Not nice, but no big deal...

but in my experience it's only been for short periods, occasionally when apt is performing some operations.

Output of bl-welcome, is ok until after output from "apt update".  It's only the formating of text from output of "apt upgrade", when getting packages.
First line of "get ..." is shifted to the right some 100 pixels. Next line shifted additional a couple of pixels to the right and so on. Makes it harder to read.
When apt starts unpacking, output is ok again and remains so.

I just installed a long list of packages via bl-welcome, and what's happening is that each "Get:" line is started level with the end of the previous line. For some reason a new line is started but the carriage return has been lost. On Windows I think that would be \n without the usual \r added. But in Unix generally \n is enough to start a new line and do a carriage return.

I don't know why this is happening - as you say it's not pretty, but things return to normal as soon as the package downloading stage is over. When I have some free time I might play with some simplified scripts to see if I can put my finger on what is triggering this behaviour...

It likely won't be simple because this is apt's internal workings printing out to the terminal.

Last edited by johnraff (2024-01-21 09:26:08)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#5 2024-01-21 09:49:58

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: bl-welcome error

johnraff wrote:

I just installed a long list of packages via bl-welcome, and what's happening is that each "Get:" line is started level with the end of the previous line.

Maybe on your screen, but not on my screens.

this is apt's internal workings printing out to the terminal.

The output of command "apt upgrade" works ok. So something in the welcome-script or common BL script disturbs the output from apt.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#6 2024-01-21 10:21:25

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: bl-welcome error

Interesting: I logged in to other computer with ssh. Output from bl-welcome script normal!


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#7 2024-01-22 04:38:24

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: bl-welcome error

rbh wrote:
johnraff wrote:

I just installed a long list of packages via bl-welcome, and what's happening is that each "Get:" line is started level with the end of the previous line.

Maybe on your screen, but not on my screens.

Here is my (on a qemu VM) terminal output from bl-welcome while downloading packages to install:
1tbtFYFl.png
See how each Get line after Get:1 starts at the same indentation as the previous line ends? It looks like a new line without the usual carriage return.
Maybe you could post a similar screenshot so we can compare?

Another interesting point: the same section in ~/.cache/bunsen-welcome/bl-welcome.log is quite normally formatted:
Ji8wJ1vl.png

I get the impression apt might be using wget to download files - wget flashed up briefly in my network monitor. But in the earlier section of the script when apt is running update, it is fetching (index) files with similar lines starting with Get: but they are formatted normally.

Anyway, the immediate task at hand is to release Boron.

johnraff wrote:

When I have some free time I might play with some simplified scripts to see if I can put my finger on what is triggering this behaviour.

Please feel free to do your own investigations in the meantime. The ssh result was interesting. smile


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB