You are not logged in.
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
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 ]
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
Will do, thanks for the speedy reply!
Offline
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
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
Okay, I tried to run the welcome script again, and I got the same error.
Offline
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
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
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
How exactly do I delete it or edit it?
Offline
How exactly do I delete it or edit it?
I think maybe you need to do some basic research on basic linux commands
`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
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
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
...
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
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
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
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
Thank you. I was able to update/upgrade without errors this time.
Offline
...
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
.....
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
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
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 )
Offline
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