(Solved) WARNING:root:could not open file '/etc/apt/sources.list'

Message
Author
User avatar
Moltke
Posts: 229
Joined: Tue Dec 19, 2017 6:07 pm

Re: (Solved) WARNING:root:could not open file '/etc/apt/sources.list'

#31 Post by Moltke »

asqwerth wrote: Sat Feb 02, 2019 7:48 pm
Moltke wrote: Sat Feb 02, 2019 2:13 pm

... By the way, Sayonara has nothing to offer over Clementine. I thought it might be something like guayadeque player maybe a little better but...haven't played that much with it but still...so far not impressed.
Have you tried lollypop?
No, I hadn't, till now. I just tried it and still like better Clementine. Lollypop seems to be kind of heavy on resources, isn't it?
Quod Libet is a nice player. 4.2 is in MX test repo
Maybe I try it to see what is like. For now it doesn't seem to be a good competitor over Clementine, at least for me.
Without each other's help there ain't no hope for us :happy:

User avatar
richb
Administrator
Posts: 10322
Joined: Wed Jul 12, 2006 2:17 pm

Re: (Solved) WARNING:root:could not open file '/etc/apt/sources.list'

#32 Post by richb »

Please open a new thread if the discussion changes to another subject. It is confusing when a thread titled
(Solved) WARNING:root:could not open file '/etc/apt/sources.list'
has posts about music players.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Captain Brillo
Posts: 106
Joined: Mon Jan 07, 2019 12:29 am

Re: (Solved) WARNING:root:could not open file '/etc/apt/sources.list'

#33 Post by Captain Brillo »

Have a look at this then

viewtopic.php?f=134&p=484145#p484145
GAFA-free zone

User avatar
manyroads
Posts: 2603
Joined: Sat Jun 30, 2018 6:33 pm

Re: (Solved) WARNING:root:could not open file '/etc/apt/sources.list'

#34 Post by manyroads »

I have built a single script to clean and update MX (using @fehlix's apttestrepo script) This script will upgrade testrepo and the stable base, plus scrub away most of the system cruff prior to running the upgrades. I have tested and my system stills seems to work. I am certain this can be massively enhanced by people more knowledgeable than me. Hopefully it provides a decent base from which to move further. :anispider2:

Code: Select all

#!/bin/bash

# ======  Cleanup  ======
# Clean packages and install scripts in /var/cache/apt/archives/
sudo apt-get clean
# Removes orphaned packages which are no longer needed and purges
sudo apt autoremove --purge
#
# ======  Update-Upgrade  ======
#
# update the stable software
sudo apt update
# perform full stable update/ upgrade
sudo apt full-upgrade
# perform testrepo full update
sudo apttestrepo upgrade
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
fehlix
Developer
Posts: 10308
Joined: Wed Apr 11, 2018 5:09 pm

Re: (Solved) WARNING:root:could not open file '/etc/apt/sources.list'

#35 Post by fehlix »

manyroads wrote: Fri Feb 08, 2019 6:58 pm I have built a single script to clean and update MX (using @fehlix's apttestrepo script) This script will upgrade testrepo and the stable base, plus scrub away most of the system cruff prior to running the upgrades. I have tested and my system stills seems to work. I am certain this can be massively enhanced by people more knowledgeable than me. Hopefully it provides a decent base from which to move further. :anispider2:

Code: Select all

#!/bin/bash

# ======  Cleanup  ======
# Clean packages and install scripts in /var/cache/apt/archives/
sudo apt-get clean
# Removes orphaned packages which are no longer needed and purges
sudo apt autoremove --purge
#
# ======  Update-Upgrade  ======
#
# update the stable software
sudo apt update
# perform full stable update/ upgrade
sudo apt full-upgrade
# perform testrepo full update
sudo apttestrepo upgrade
I think you might need to add "apttestrep update", before the last line, as otherwise the overlayed-packge list from apttestrepo is empty. ... :snail:
You script would then upgrade all packages which are available from testrepo as upgrade in one go.
I would rather do individual per package upgrades, to check for any issues with those packages
and report back to the package team if any.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “General”