You are not logged in.

#1 2021-08-24 05:18:47

jjbackagain
Member
Registered: 2018-06-06
Posts: 26

[SOLVED] - Fresh Install - Debian Repositories fail on install???

Had a good experience with BunsenLabs so thought I would install it on another system, but I am plagued by issues..

During the install it says it times out connecting to the debian repositories. There is an option to "choose mirror" or "ignore".... no matter what I do it errors so I chose ignore.

After install I had to edit the source.list and uncomment out the 3 debian sources....

I run update and dist-upgrade, no errors and reboot.... but it is still acting super strange.

For example... I can not run bl-welcome... it says it will only run on Debian Buster... I can not install some apps I know I should be able to as they installed perfectly fine on my other busenlabs install.

Any ideas what is going on here?

/etc/apt/sources.list

# 

#deb cdrom:[Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20210130-13:51]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20210130-13:51]/ buster contrib main non-free

## Debian security updates
# Line commented out by installer because it failed to verify:
deb https://deb.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
# Line commented out by installer because it failed to verify:
deb https://deb.debian.org/debian buster-updates main contrib non-free
deb-src https://deb.debian.org/debian buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Last edited by jjbackagain (2021-08-26 22:26:02)

Offline

#2 2021-08-24 05:59:02

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

jjbackagain wrote:

Any ideas what is going on here?

When meet by difficulties, first check Bug-reports, for example post Errors in lithium-2.1 install iso


// 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

Online

#3 2021-08-24 06:44:00

jjbackagain
Member
Registered: 2018-06-06
Posts: 26

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

rbh wrote:
jjbackagain wrote:

Any ideas what is going on here?

When meet by difficulties, first check Bug-reports, for example post Errors in lithium-2.1 install iso

Ok.. so.. he says at the end the problem is fixed.. but it isn't for me.. so... what do I need to do to fix it? I read the thread but there is a lot of back and forth and discussion, and I am not seeing any clear solution procedure I can run on my install, or after the install.

Offline

#4 2021-08-24 09:04:14

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

jjbackagain wrote:

Ok.. so.. he says at the end the problem is fixed..

Who "he"? No one has anounced that the problem is fixed!
I and some others, have said there is a workarounds.
@johnraff has said he has compiled a new iso, that soon will be available to download.

but it isn't for me.. so... what do I need to do to fix it? I read the thread but there is a lot of back and forth and discussion, and I am not seeing any clear solution procedure I can run on my install, or after the install.

If you don't want to make the workaround, you can wait till the iso is available for download.

If you want to make the workaround, there should be no problems.
If you have updatet all bunsen packages, you should have installed the fix, for running bl-welcome script.

Command "inxi -r", lists all your enabled repositorys. Run it and compare with the list on https://www.bunsenlabs.org/repositories.html . buster-backports, is not essential. Ev edit /etc/apt/sources.list.d/bunsen.list, to add "deb http://pkg.bunsenlabs.org/debian lithium main".

If BL-repos was enabled, check instal logs. Or, just reinstall. The workaround should work ok. It is hard to tell what misstake you have done.

Last edited by rbh (2021-08-24 09:06:04)


// 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

Online

#5 2021-08-25 02:24:39

jjbackagain
Member
Registered: 2018-06-06
Posts: 26

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

rbh wrote:
jjbackagain wrote:

Ok.. so.. he says at the end the problem is fixed..

Who "he"? No one has anounced that the problem is fixed!
I and some others, have said there is a workarounds.
@johnraff has said he has compiled a new iso, that soon will be available to download

johnraff made a post saying he was making a new iso.. I miss read the joined forum date for the time of post, so thought this thread was from 2015, so the fix would be in the current iso.

rbh wrote:

If you want to make the workaround, there should be no problems.
If you have updatet all bunsen packages, you should have installed the fix, for running bl-welcome script.

What do you mean "if you updated the bunsen packages"? Like when the install finishes I can run apt update; apt dist-upgrade (I normally run dist-upgrade after a fresh install then use upgrade from then on)

It seems to connect fine to the busen repo.. but nothing else.. but the repo is not in the /etc/apt/sources.list file at all.. only the commented out debian repos.. (like in the OP I posted the /etc/apt/sources.list file after uncommenting the 3 lines.

Anyway... after running update nothing errors but still the script does not work and I can nto install such common things as mc or nvim and stuff.

rbh wrote:

Command "inxi -r", lists all your enabled repositorys. Run it and compare with the list on https://www.bunsenlabs.org/repositories.html . buster-backports, is not essential. Ev edit /etc/apt/sources.list.d/bunsen.list, to add "deb http://pkg.bunsenlabs.org/debian lithium main".

If BL-repos was enabled, check instal logs. Or, just reinstall. The workaround should work ok. It is hard to tell what misstake you have done.

Ok.. I'll do this when I get home from work... I'll do a fresh install, ignore the error.. then run the inxi command you said and edit the /etc/apt/sources.list.d/bunsen.list.

Dose this also mean I should not edit the /etc/apt/sources.list at all?

Offline

#6 2021-08-25 05:28:25

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

As I wrote and stated on https://www.bunsenlabs.org/repositories.html, BL repos is in /etc/apt/sources.list.d/bunsen.list. If you install Goohle Chrome, its source list will default be /etc/apt/sources.list.d/google-chrome.list.

But, you thought apt connected to Lithium repo when upfating. If it does so, then you should get the BL fix. There should definitley not be any problems after manualy upgrading to install more packages.

You can take a look at the versions of the BL packages in the Lithium packagelist; http://pkg.bunsenlabs.org/debian/dists/ … 4/Packages and compare with your installed.
You realy should take care and don't sloppy-read and jump to biased conclusuons.

Last edited by rbh (2021-08-25 05:36:37)


// 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

Online

#7 2021-08-26 05:25:10

jjbackagain
Member
Registered: 2018-06-06
Posts: 26

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

I still can not get this to work : (....

  1. I did a fresh install

  2. The installer timedout when setting up apt.

  3. I clicked ignore

  4. the install finished.

  5. The OS booted fine

  6. The welcome script will not run (Error: This script should be run only on Debian Buster.)


Once in the OS I ran... inxi -r. I didn't write it down, but it said "no active repos in : /etc/apt/sources.list" and only listed 1 repo in "/etc/apt/sources.list.d/bunsen.list"

I edited the bunsen.list file and added the repos from the link you posted for me (https://www.bunsenlabs.org/repositories.html)

sudo nano /etc/apt/sources.list.d/bunsen.list

deb http://pkg.bunsenlabs.org/debian lithium main
deb http://pkg.bunsenlabs.org/debian buster-backports main

I then did sudo apt update. Everything updated fine... but the system found nothing to upgrade... so I assumed I needed to add the debian repos commented out during the install.

sudo nano /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20210130-13:51]/ bus$

#deb cdrom:[Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20210130-13:51]/ bust$

## Debian security updates
# Line commented out by installer because it failed to verify:
deb https://deb.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
# Line commented out by installer because it failed to verify:
deb https://deb.debian.org/debian buster-updates main contrib non-free
deb-src https://deb.debian.org/debian buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

I then ran sudo apt update... this time it found 64 updates... I now run sudo apt dist-upgrade -y.

This find a bunch of things, I download and install. Running the same command again, this time with sudo apt upgrade makes no modifications.

I reboot the system.

After boot I run sudo apt update once more to be sure.

I then run inxi -r

Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb https://deb.debian.org/debian-security buster/updates main contrib non-free
           2: deb https://deb.debian.org/debian buster-updates main contrib non-free
           3: deb-src https://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/bunsen.list 
           1: deb http://pkg.bunsenlabs.org/debian lithium main
           2: deb http://pkg.bunsenlabs.org/debian buster-backports main

BUT... if I try to run the welcome script I get the same error. (Error: This script should be run only on Debian Buster.).

Also I can not install even very common apps...

sudo apt install mc

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mc' has no installation candidate

sudo apt install vim

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'vim' has no installation candidate

sudo apt install focuswriter

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package focuswriter

So... any idea what I should try now?

Last edited by jjbackagain (2021-08-26 05:25:47)

Offline

#8 2021-08-26 10:12:01

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

jjbackagain wrote:

I still can not get this to work : (....
[...]
[*]The welcome script will not run (Error: This script should be run only on Debian Buster.)[/*]

Yes, that is confirmed and we know that bug.

Once in the OS I ran... inxi -r. I didn't write it down, but it said "no active repos in : /etc/apt/sources.list" and only listed 1 repo in "/etc/apt/sources.list.d/bunsen.list"

I edited the bunsen.list file and added the repos from the link you posted for me (https://www.bunsenlabs.org/repositories.html)

I wrote that "buster-backports, is not essential". In fact today it has only two packages: mpv and mpv-dbgsym. See https://pkg.bunsenlabs.org/debian/dists … 4/Packages.

I then did sudo apt update. Everything updated fine... but the system found nothing to upgrade... so I assumed I needed to add the debian repos commented out during the install.

Why "asume", that which is stated as necessary?  When installing with lithium-2.1 iso, it is necessary to editapt sources before updating/upgrading.

I then ran sudo apt update... this time it found 64 updates... I now run sudo apt dist-upgrade -y.

I only use dist-upgrade, when doing an upgrade of the dist. Command "apt dist-upgrade, will if neccessary to upgrade, remove a package. Command "apt upgrade", will notdo that. Doing dist-upgrade, might break things. If I see there is many packages witheld and not upgraded, I examine which and why...

This find a bunch of things, I download and install. Running the same command again, this time with sudo apt upgrade makes no modifications.

Yes. But, if you had reversed the order, there might been more job the second run...

I then run inxi -r

Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb https://deb.debian.org/debian-security buster/updates main contrib non-free
           2: deb https://deb.debian.org/debian buster-updates main contrib non-free
           3: deb-src https://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/bunsen.list 
           1: deb http://pkg.bunsenlabs.org/debian lithium main
           2: deb http://pkg.bunsenlabs.org/debian buster-backports main

It shows that you are missing the indispensable

deb https://deb.debian.org/debian buster main contrib non-free

BUT... if I try to run the welcome script I get the same error. (Error: This script should be run only on Debian Buster.).

Has any BunsenLabs packages been updated? Check install logs and as i wrote before, check installed version and available last version for Lithium on the repo server: http://eu.pkg.bunsenlabs.org/debian/dis … 4/Packages (if you have arch amd64). The bug This script should be run only on Buster is fixed and will disapear after upgrading BunsenLabs.

ifthe fix is not installed, the command "lsb_release -cs", will return answer "lithium", The bl-welcome script checks "lsb_release -cs" and exit if the answer is lithium". When upgraded, the script returns buster, and the script will continue run.

Also I can not install even very common apps...

Will be fixed with adding buster repo.


// 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

Online

#9 2021-08-26 19:19:27

rbh
Moderator
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,182

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

If you still can't get it to work, you can do another workaround.

Read the https://github.com/BunsenLabs/bunsen-netinstall#readme carefully
Install plain debian buster, without x.
Do not allow root to login.
Download the Lithium netinstaller from https://github.com/BunsenLabs/bunsen-netinstall.

Unpack and run the netinstaller.


// 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

Online

#10 2021-08-26 22:25:32

jjbackagain
Member
Registered: 2018-06-06
Posts: 26

Re: [SOLVED] - Fresh Install - Debian Repositories fail on install???

@rbh... It seems to all be working now.. thanks for walking me through this. I could feel that it was a little frustrating for you dealing with a noob like me, but I am appreciative that you stuck with me and got it all working. Thank you.

I'm going to try and distill the solution down for other noobs like me until the iso fix is implemented by the busenlab devs.

If this is wrong (it seems to work from fresh install), then let me know and I will edit it.

SOLUTION

: BUG : Installer errors during APT configuration by timing out. This leads to app repos not being fully setup, and leads to issues after install.

After boot open a terminal mod+t and edit the source file for apt to make it look like this....

sudo nano /etc/apt/sources.list

## Indispensable Debian Buster Repo 
deb https://deb.debian.org/debian buster main contrib non-free

## Debian security updates
deb https://deb.debian.org/debian-security buster/updates main contrib non-free

## buster-updates, previously known as 'volatile'
deb https://deb.debian.org/debian buster-updates main contrib non-free
deb-src https://deb.debian.org/debian buster-updates main contrib non-free

Then edit the bunsenlab curated repo source file to make it look like this...

sudo nano /etc/apt/sources.list.d/bunsen.list

deb http://pkg.bunsenlabs.org/debian lithium main

Once you have done this you need to run update and upgrade....

sudo apt update && sudo apt upgrade -y --with-new-pkgs

This should update the system and install anything needed. After this has finished run... lsb_release -cs it should return "buster"

Once it is finished reboot (not sure reboot is needed, but I want to be safe).

When you login.. now the bl-welcome script should run after your desktop loads. The script allows you to install some common software as well as add the remaining bunsenlabs repo if you wish (apparently it is not really needed). Just follow the script instructions. You can run it again anytime you wish with bl-welcome

That is it.. the system should be working fine now.

Last edited by jjbackagain (2021-08-26 22:26:55)

Offline

Board footer

Powered by FluxBB