Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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

User avatar
Moltke
Forum Regular
Forum Regular
Posts: 150
Joined: Tue Dec 19, 2017 6:07 pm

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

#31

Post by Moltke » Sun Feb 03, 2019 1:25 pm

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: 18504
Joined: Wed Jul 12, 2006 2:17 pm

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

#32

Post by richb » Sun Feb 03, 2019 1:35 pm

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

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
Captain Brillo
Forum Regular
Forum Regular
Posts: 198
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 » Tue Feb 05, 2019 1:37 pm

Have a look at this then

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

User avatar
manyroads
Forum Guide
Forum Guide
Posts: 1037
Joined: Sat Jun 30, 2018 6:33 pm

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

#34

Post by manyroads » 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
"Don't believe everything you think."
Pax vobiscum,
Mark Rabideau - http://many-roads.com
MX-18 5.0.0-6.1-liquorix-amd64-smp x86_64
Dell Latitude E5470
Intel i5-6300U (-MT MCP-)
Mem: 24GB SSD: 978.09 GB
Reg. Linux User #449130

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3411
Joined: Wed Apr 11, 2018 5:09 pm

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

#35

Post by fehlix » Fri Feb 08, 2019 7:30 pm

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”