LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2019, 08:10 AM   #1
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Rep: Reputation: Disabled
problem with update pacs (mirrors?)


Hello everybody,

I'm new and have just presented myself. I hope to post on the good side.

I've installed MX_Linux, and have problem with mirrors I think. I don't see how to put an image (screen capture) here.

I'll write the message then
:

"E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/fr.mirror.mxlinux.de_packages_antix_stretch_dists_stretch_main_binary-amd64_Packages
E: Impossible d'ouvrir ou d'analyser le fichier contenant la liste des états ou celui des paquets disponibles.
E: _cache->open() failed, please report."

That is. Can you explain please and give an idea to fix it?

Thank you ;-)
 
Old 02-10-2019, 09:45 AM   #2
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
You need to remove /var/lib/apt/lists/*
Then update.
Code:
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update && sudo apt-get upgrade
 
Old 02-10-2019, 10:31 AM   #3
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Original Poster
Rep: Reputation: Disabled
Hi,
thanks, but it doesn't working.
That is the message:
"E: Impossible de récupérer http://fr.mirror.mxlinux.de/packages...etch/InRelease Le fichier signé en clair n'est pas valable, ce qui a été reçu est «*NOSPLIT*». Peut-être le réseau nécessite-t-il une authentification.
E: Impossible de récupérer http://fr.mirror.mxlinux.de/packages...etch/InRelease Le fichier signé en clair n'est pas valable, ce qui a été reçu est «*NOSPLIT*». Peut-être le réseau nécessite-t-il une authentification.
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place."

It cannot reach the mirrors...?!
 
Old 02-10-2019, 10:35 AM   #4
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
Can you post your /etc/apt/sources.list
 
Old 02-10-2019, 10:43 AM   #5
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Original Poster
Rep: Reputation: Disabled
# Use with Debian Stable/stretch repositories. Set as default for antiX-17. Note new repos
deb http://fr.mirror.mxlinux.de/packages/antix/stretch stretch main
#deb-src http://fr.mirror.mxlinux.de/packages/antix/stretch stretch main

# Debian Stable.
deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://ftp.fr.debian.org/debian/ stretch main contrib non-free

#stretch backports
#deb http://deb.debian.org/debian stretch-backports main

# Debian stretch Updates
deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free

# MX Community Main and Test Repos
deb http://fr.mirror.mxlinux.de/packages/mx/repo/ stretch main non-free
#deb http://fr.mirror.mxlinux.de/packages/mx/testrepo/ stretch test

# MX Community Main and Test Repos
deb http://fr.mirror.mxlinux.de/packages/mx/repo/ stretch main non-free
#deb http://fr.mirror.mxlinux.de/packages/mx/testrepo/ stretch test

# opera
#deb http://deb.opera.com/opera/ stable non-free

# virtualbox
#deb http://download.virtualbox.org/virtualbox/debian stretch contrib

That is.
 
Old 02-10-2019, 11:11 AM   #6
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
This is what your /etc/apt/sources.list should look like.

Code:
# Use with Debian Stable/stretch repositories. Set as default for antiX-17. Note new repos

deb http://repo.antixlinux.com/stretch stretch main
#deb-src http://repo.antixlinux.com/stretch stretch main

#stretch backports
deb http://ftp.debian.org/debian stretch-backports main

# Debian stretch Updates
deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib non-free

# MX Community Main and Test Repos
deb http://la.mxrepo.com/mx/repo/ stretch main non-free
#deb http://la.mxrepo.com/mx/testrepo/ stretch test

# opera
#deb http://deb.opera.com/opera/ stable non-free

# virtualbox
#deb http://download.virtualbox.org/virtualbox/debian stretch contrib
 
1 members found this post helpful.
Old 02-10-2019, 11:16 AM   #7
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Original Poster
Rep: Reputation: Disabled
What to do? How to do? Do I use the bash? How to change the repos?
 
Old 02-10-2019, 11:22 AM   #8
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
save what I posted previously on your Desktop. call the file sources or whatever you want to name it.
From a terminal you can cat that file to /etc/apt/sources.list list as follows.
Code:
sudo cat /Desktop/somefile > /etc/apt/sources.list
Then update apt as follows
Code:
sudo apt-get update && sudo apt-get upgrade
 
1 members found this post helpful.
Old 02-10-2019, 11:30 AM   #9
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Original Poster
Rep: Reputation: Disabled
I'll try it
Thank you
 
Old 02-10-2019, 12:16 PM   #10
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Original Poster
Rep: Reputation: Disabled
It's not working
I have a file with the same name that you write ("/etc/apt/sources.list") but it is empty.
But I have also a document with some files containing the list for each repository.
Who to "fill" the file witch is empty?
 
Old 02-10-2019, 12:44 PM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Quote:
Originally Posted by docbg View Post
I have a file with the same name that you write ("/etc/apt/sources.list") but it is empty.
That cannot be empty, you posted the content before. There can be only one file named /etc/apt/sources.list
Quote:
Originally Posted by docbg View Post
But I have also a document with some files containing the list for each repository.
Who to "fill" the file witch is empty?
So I do not understand this.
You need to be root to be able to edit this file.

Looks like you erased that file. Copy back the original content (what you posted) but delete lines containing http://fr.mirror.mxlinux.de
 
1 members found this post helpful.
Old 02-10-2019, 12:49 PM   #12
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
Okay so I downloaded mxlinux to investigate further. I see that there are a few different list in /etc/apt/sources.list.d
So I would add the file to this directory and then comment out or remove the other sources list.
Code:
sudo cat /Desktop/somefile > /etc/apt/sources.list.d/sources
 
1 members found this post helpful.
Old 02-10-2019, 12:58 PM   #13
docbg
LQ Newbie
 
Registered: Feb 2019
Posts: 17

Original Poster
Rep: Reputation: Disabled
I open the file sources.list but I cant save the text with the list

I've tried to do this like before with "cat" etc. but it doesn't work.

I was in "root", yes.
 
Old 02-10-2019, 01:05 PM   #14
1nuxg33k
Member
 
Registered: Feb 2019
Location: PNW
Distribution: Debian, LFS
Posts: 87

Rep: Reputation: 33
Quote:
Originally Posted by docbg View Post
I open the file sources.list but I cant save the text with the list

I've tried to do this like before with "cat" etc. but it doesn't work.

I was in "root", yes.
You are doing this from Terminal? I'm confused as to where you are having issue.
 
Old 02-10-2019, 01:05 PM   #15
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
would be nice to explain exactly what did you try.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Future NAS and Medical / Radiology PACS system Sheppyb Linux - General 18 11-17-2012 03:43 AM
DICOM PACS, HIS/RIS, server & clients shankar_das777 Linux - Server 3 02-08-2009 06:32 AM
MDK10 Update Mirrors EmbraceThePengu Mandriva 2 04-15-2004 02:32 PM
update mirrors still down? walter Mandriva 5 04-14-2004 01:08 PM
mdk 9.2 update mirrors? bubbadoe Mandriva 2 08-24-2003 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration