You are not logged in.

#1 2016-02-22 14:59:14

neilio
New Member
Registered: 2016-02-22
Posts: 2

Installation script of i386 live ISO fails to install Debian backports

installation image: bl-Hydrogen-rc2-i386.iso
problem: Selecting "Install Debian backports" fails, but reports success.
notes: APT operations impossible until manually removing bad line from /etc/apt/sources.list.d/debian-jessie-backports.list. I have not investigated correct form of the entry, but I assume it needs a URI? Have not tested amd64 image, might just be on i386.
to reporoduce: install bunsen i386 from live iso, select "Install Debian backports"

Below is the output of the install script, and the contents of the bad debian-jessie-backports.list

 

Debian Backports
  ----------------

  Debian backports are packages taken from the next Debian release (called
  "testing"), adjusted and recompiled for usage on Debian stable. If you
  enable this repository you will be able to upgrade some programs to newer
  versions, or install some programs not available in Debian stable.

  However, backports cannot be tested as extensively as Debian stable, and
  are provided on an as-is basis, with risk of incompatibilities with other
  components in Debian stable. It is therefore recommended to only select
  single backported packages that fit your needs, and not use all available
  backports.

  This will add the line:

   deb  jessie-backports main contrib non-free

  to /etc/apt/sources.list.d/debian-jessie-backports.list,
  allowing you to upgrade or install packages using that repository.

  Would you like to enable the Debian Backports repositories? [y/N] y

  Adding Debian backports to apt sources...


  updating apt...


  There were problems during the update.

  Press "d" for details (q to quit) d


E: Malformed line 3 in source list /etc/apt/sources.list.d/debian-jessie-backports.list (URI parse)
E: The list of sources could not be read.

  Would you like to quit now, or continue anyway?
  (Be careful!)
  Press "q" to quit, "c" to continue:


  Press "d" for details (q to quit)

  Would you like to quit now, or continue anyway?
  (Be careful!)
  Press "q" to quit, "c" to continue:

c
  Continuing in spite of update problem...
  Successfully added Debian backports. You can add or upgrade packages with
  the command:
   sudo apt-get install -t jessie-backports <packagename>
Press any key to continue.

$ cat /etc/apt/sources.list.d/debian-jessie-backports.list
# added by bl-welcome
# Debian backports
deb  jessie-backports main contrib non-free

Last edited by neilio (2016-02-22 15:01:53)

Offline

#2 2016-02-22 15:13:23

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

This bug is fixed in the latest `bl-welcome` script. Just run it again, because after the first update/upgrade you will now have the new version.

PS: Please use [ code ] tags for terminal output, instead of [ quote ] wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-02-22 15:21:49

neilio
New Member
Registered: 2016-02-22
Posts: 2

Re: Installation script of i386 live ISO fails to install Debian backports

Will do, thanks for the speedy reply!

Offline

#4 2016-02-25 17:21:14

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

I just installed BL last night and also get

E: Malformed line 3 in source list /etc/apt/sources.list.d/debian-jessie-backports.list (URI parse)
E: The list of sources could not be read.

whenever I try to install something.

How do I run the welcome script again? Will that fix the issue?

Last edited by j0z3ph0s (2016-02-25 17:23:03)

Offline

#5 2016-02-25 17:23:48

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

Open a terminal and type `bl-welcome`;
or
Type the command into the run box (Menu -> Run; or Alt-F2)

Or edit the file directly

sudo nano /etc/apt/sources.list.d/debian-jessie-backports.list 

It should look like

deb http://httpredir.debian.org/debian jessie-backports main contrib non-free

(Or whatever mirror url you want to use)

Last edited by damo (2016-02-25 17:27:02)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-02-25 17:28:51

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

Okay, I tried to run the welcome script again, and I got the same error.

Offline

#7 2016-02-25 17:30:56

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

The first time you run it, it you will still be using the old version of the bl-welcome script. It will then update and upgrade the script, so you need to run it again to use the new version.

It should work the next time you try


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2016-02-25 17:38:08

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

I'm sorry. This is all way over my head. When I

sudo nano /etc/apt/sources.list.d/debian-jessie-backports.list 

I get

# added by bl-welcome
# Debian backports
deb  jessie-backports main contrib non-free

I've tried running the welcome script three times and get the same error

Last edited by j0z3ph0s (2016-02-25 17:38:58)

Offline

#9 2016-02-25 17:42:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

j0z3ph0s wrote:

I'm sorry. This is all way over my head. When I

sudo nano /etc/apt/sources.list.d/debian-jessie-backports.list 

I get

# added by bl-welcome
# Debian backports
deb  jessie-backports main contrib non-free

I've tried running the welcome script three times and get the same error

OK, I think the script is testing for the file, it finds it and thinks it is OK. So either delete it and try again, or edit it as I said before and add the mirror url which is missing. It should read

# added by bl-welcome
# Debian backports
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2016-02-25 17:52:32

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

How exactly do I delete it or edit it?

Offline

#11 2016-02-25 18:02:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

j0z3ph0s wrote:

How exactly do I delete it or edit it?

I think maybe you need to do some basic research on basic linux commands hmm

`nano` is a terminal text editor, `sudo` is the command to run it as root, so edit it in a terminal with the line I posted earlier:

sudo nano /etc/apt/sources.list.d/debian-jessie-backports.list 

Type in the text you want, save with Ctrl-o (Help at the bottom of the nano screen)

OR edit it with geany run as root

gksudo geany /etc/apt/sources.list.d/debian-jessie-backports.list

`sudo rm <filename>` is the command to delete a system file


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#12 2016-02-25 18:18:02

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

I edited it, and now

sudo nano /etc/apt/sources.list.d/debian-jessie-backports.list

returns

# added by bl-welcome
# Debian backports
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free

but I'm still getting the same error when I

bl-welcome
damo wrote:

I think maybe you need to do some basic research on basic linux commands

Yes. I have bitten off more than i can chew here. I should probably return to Newbuntu.

Offline

#13 2016-02-25 18:24:15

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

j0z3ph0s wrote:

...
Yes. I have bitten off more than i can chew here. I should probably return to Newbuntu.

Where is the learning and fun in that! We all started where you are now wink

BTW If you just want to see the contents of a file, don't do `sudo nano`, just use `cat`


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2016-02-25 18:40:16

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

My latest efforts:

cat /etc/apt/sources.list.d/debian-jessie-backports.list
# added by bl-welcome
# Debian backports
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
j0z3ph0s@Titus-Vespasian:~$ sudo apt-get update
[sudo] password for j0z3ph0s: 

at the end:

N: Ignoring file 'debian-jessie-backports.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

What am I doing wrong? Mebbe I should just remove backports. What is the filename I should use for removal? I don't want to remove the wrong file.

Offline

#15 2016-02-25 18:43:19

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

sudo rm /etc/apt/sources.list.d/debian-jessie-backports.list.save.1

(You had created that file at some point)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#16 2016-02-25 18:49:20

j0z3ph0s
Member
From: 'Murica
Registered: 2016-02-16
Posts: 20

Re: Installation script of i386 live ISO fails to install Debian backports

Thank you. I was able to update/upgrade without errors this time.

Offline

#17 2016-02-25 19:50:51

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Installation script of i386 live ISO fails to install Debian backports

j0z3ph0s wrote:

...
Yes. I have bitten off more than i can chew here. I should probably return to Newbuntu.

Do you know how many times I've bitten off more than I can chew when running commands and playing around with linux? That's seriously like 90% of the time I turn on my virtualbox


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#18 2016-02-25 19:57:19

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Installation script of i386 live ISO fails to install Debian backports

Horizon_Brave wrote:

.....
Do you know how many times I've bitten off more than I can chew when running commands and playing around with linux? That's seriously like 90% of the time I turn on my virtualbox

Wimp! Install to bare metal and remove the safety net big_smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#19 2016-02-26 09:26:28

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

Re: Installation script of i386 live ISO fails to install Debian backports

That was an unfortunate bug in bl-welcome. Apologies.  :8
Even running the upgraded script again doesn't work because 'apt-get update' fails right at the start, thrown by the malformed sources list.
Editing debian-jessie-backports.list manually, or just deleting it, are the only ways out.

This happened because of changes in variable names etc which happened in the upgrade of bunsen-welcome... while the script was running! The latest version will have a check for upgrades to restart the script if necessary. As long as such a check is in the version of bunsen-welcome which comes in the next release then we should be OK in future...


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

#20 2016-02-26 12:03:47

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Installation script of i386 live ISO fails to install Debian backports

So for those who came late to the party, this was a regression, but it's patched already?


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

Board footer

Powered by FluxBB