Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.3.1 release info here

New users[/u
-- 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: 120
Joined: Tue Dec 19, 2017 6:07 pm

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

#11

Post by Moltke » Fri Feb 01, 2019 9:48 am

"Can't resolve dependencies" The .deb file didn't work either. Well, this is a no for sayonara, so sayonara to this idea lol. Keep on using Clementine which works just fine. Thanks everyone and sorry if caused you any trouble and/or inconvenience with this "ppa" thing thread.
Without each other's help there ain't no hope for us :happy:

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 10636
Joined: Sun Dec 16, 2007 1:17 pm

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

#12

Post by dolphin_oracle » Fri Feb 01, 2019 9:52 am

Moltke wrote:
Fri Feb 01, 2019 9:40 am
Thank you people for all your answers. I found this post in the forum http://forum.mxlinux.org/viewtopic.php?t=42954 plus some more reading on the web and came to realize that jus as richb said
Some ppa's will work and others will not. Nothing to do whether it is MX 17 or MX 18.
Also, this words from dolphin_oracle
there has been no change to the apt backend in mx18 vs. mx17. they are identical.
made it a little clearer to me
did making the /etc/apt/sources.list file work? this file does not exist in MX by default (and never has), but it should be OK to make. they are just simple text files.
Yes and no. No more "Warning:root..." message but still won't work. I'm goona try a .deb file from here http://ppa.launchpad.net/lucioc/sayonar ... /sayonara/ and see it that works. I only wanted to try it, I use clementine and am happy with it but I just read about sayonara and thought of give it a try but it's not like I "need" that package, I'm totally fine with clementine as my music player, I just want to explore some other alternative to see whether there's some edge over it or not 9_9 So far, not being able to install it in MX is a minus.
sayonara is in our test repo.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

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

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

#13

Post by Moltke » Fri Feb 01, 2019 9:59 am

dolphin_oracle wrote:
Fri Feb 01, 2019 9:52 am
Moltke wrote:
Fri Feb 01, 2019 9:40 am
Thank you people for all your answers. I found this post in the forum http://forum.mxlinux.org/viewtopic.php?t=42954 plus some more reading on the web and came to realize that jus as richb said
Some ppa's will work and others will not. Nothing to do whether it is MX 17 or MX 18.
Also, this words from dolphin_oracle
there has been no change to the apt backend in mx18 vs. mx17. they are identical.
made it a little clearer to me
did making the /etc/apt/sources.list file work? this file does not exist in MX by default (and never has), but it should be OK to make. they are just simple text files.
Yes and no. No more "Warning:root..." message but still won't work. I'm goona try a .deb file from here http://ppa.launchpad.net/lucioc/sayonar ... /sayonara/ and see it that works. I only wanted to try it, I use clementine and am happy with it but I just read about sayonara and thought of give it a try but it's not like I "need" that package, I'm totally fine with clementine as my music player, I just want to explore some other alternative to see whether there's some edge over it or not 9_9 So far, not being able to install it in MX is a minus.
sayonara is in our test repo.
Is it? Didn't occur to me to look in there. Thanks! Gonna check that right now! :happy:
Without each other's help there ain't no hope for us :happy:

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

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

#14

Post by Moltke » Fri Feb 01, 2019 10:05 am

@dolphin_oracle "Package «sayonara» has no candidate for install" I got that from MXPI. :frown: So it didn't work.
Without each other's help there ain't no hope for us :happy:

philotux
Forum Regular
Forum Regular
Posts: 393
Joined: Sun Apr 22, 2018 12:57 pm

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

#15

Post by philotux » Fri Feb 01, 2019 10:37 am

Moltke wrote:
Fri Feb 01, 2019 10:05 am
"Package «sayonara» has no candidate for install" I got that from MXPI.
It installed just fine here from test repo. Not sure but could it be a mirror issue?

sayonara.png
You do not have the required permissions to view the files attached to this post.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 10636
Joined: Sun Dec 16, 2007 1:17 pm

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

#16

Post by dolphin_oracle » Fri Feb 01, 2019 10:49 am

the way MXPI test repo tab works, if its shows up in the list, its should be present in the repo. again, unless some kind of sync issue.

I would make sure the attempted PPA addition has been removed maybe.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

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

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

#17

Post by Moltke » Fri Feb 01, 2019 2:25 pm

dolphin_oracle wrote:
Fri Feb 01, 2019 10:49 am
the way MXPI test repo tab works, if its shows up in the list, its should be present in the repo. again, unless some kind of sync issue.

I would make sure the attempted PPA addition has been removed maybe.
I just tried again and got the same message. Here's a screenshot from MXPI

Image

Sorry that it is in Spanish. Hopefully, the error is self-explanatory.
Without each other's help there ain't no hope for us :happy:

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

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

#18

Post by Moltke » Fri Feb 01, 2019 2:36 pm

Oh well...It seems that the problem was caused due to one of the "solutions" I tried and had completely forgotten about. Fortunately, I'd make a backup of /etc/apt/sources.list.d and all I had to do was to restore it and now everything works fine. Sorry, my bad :p

Image
Without each other's help there ain't no hope for us :happy:

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2929
Joined: Wed Apr 11, 2018 5:09 pm

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

#19

Post by fehlix » Fri Feb 01, 2019 2:37 pm

Moltke wrote:
Fri Feb 01, 2019 2:25 pm
I just tried again and got the same message. Here's a screenshot from MXPI

Sorry that it is in Spanish. Hopefully, the error is self-explanatory.
Here my command-line apttestrepo output for checking the version avaialble in MX testrepo:

Code: Select all

$ LANG=es_ES.UTF-8 apttestrepo policy sayonara

## /etc/apt/sources.list.d/mx.list
## mx-testrepo
deb https://mxlinux.mirror.iphh.net/packages/mx/testrepo/ stretch test
sudo apt -o Dir::Etc::sourcelist=/tmp/mx-testrepo-apt-sources.list.d-temp.fehlix.28748.3174831847/temp_source.list policy sayonara
sayonara:
  Instalados: (ninguno)
  Candidato:  0.9.3-0mx17+1
  Tabla de versión:
     0.9.3-0mx17+1 500
        500 https://mxlinux.mirror.iphh.net/packages/mx/testrepo stretch/test amd64 Packages
Does your used test-repo mirror has an issue? You might consider to change the used mx repo mirror.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

philotux
Forum Regular
Forum Regular
Posts: 393
Joined: Sun Apr 22, 2018 12:57 pm

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

#20

Post by philotux » Fri Feb 01, 2019 3:48 pm

fehlix wrote:
Fri Feb 01, 2019 2:37 pm
Here my command-line apttestrepo ...
Does apttestrepo command work similar to the "regular" apt. That is can I run

Code: Select all

sudo apttestrepo update 
and so on?

Post Reply

Return to “General”