Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

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

Current releases
-- MX-17.1 Final release info here
-- antiX-17 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

Problem with testrepos

Post Reply
Message
Author
User avatar
radissthor
Forum Regular
Forum Regular
Posts: 339
Joined: Mon Sep 13, 2010 11:18 am

Problem with testrepos

#1 Post by radissthor » Sat Nov 07, 2015 4:30 am

Hi all,

Running Mepis 12. I recently tried reloading the package manager and got error messages. Following instructions here, I changed deleted sources.list.d and edited the sources.list file.

Now when updating from terminal I get the following message:

Code: Select all

W: Failed to fetch http://main.mepis-deb.org/mepiscr/testrepo/dists/mepis12cr/Release  Unable to find expected entry 'testrepo/binad64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
My sources.list file looks like this:

Code: Select all

root@PCLIBRE:/home/hernan# cat /etc/apt/sources.list

deb http://ftp.nl.debian.org/debian/ wheezy main contrib non-free 

deb http://security.debian.org/ wheezy/updates main contrib non-free 

deb http://ftp.nl.debian.org/debian/ wheezy-updates main contrib non-free 

deb http://ftp.nl.debian.org/debian/ wheezy-backports main contrib non-free 

# deb http://www.deb-multimedia.org/ wheezy main non-free 

# Mepis mirror
deb http://mepis.mirrorcatalogs.com/packages/mepis/ mepis-12.0 main 

# MEPIS master pools, please use only if mirror is slow or down
# deb ftp://ftp.mepis.com/mepis/ mepis-12.0 main 

# Mepis Community Main and Test Repos
deb http://main.mepis-deb.org/mepiscr/repo/ mepis12cr main non-free  
# deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis12cr test
As expected, the test line is commented. I find it strange that the error is telling me that line should be enabled.

The synaptic package manager cannot even be loaded. I get the following error:

Code: Select all

W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/main amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/contrib amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/non-free amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/main i386 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/contrib i386 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://security.debian.org/ wheezy/updates/non-free i386 Packages (/var/lib/apt/lists/security.debian.org_dists_wheezy_updates_non-free_binary-i386_Packages)
W: Duplicate sources.list entry http://mepis.mirrorcatalogs.com/packages/mepis/ mepis-12.0/main amd64 Packages (/var/lib/apt/lists/mepis.mirrorcatalogs.com_packages_mepis_dists_mepis-12.0_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://mepis.mirrorcatalogs.com/packages/mepis/ mepis-12.0/main i386 Packages (/var/lib/apt/lists/mepis.mirrorcatalogs.com_packages_mepis_dists_mepis-12.0_main_binary-i386_Packages)
W: Duplicate sources.list entry http://main.mepis-deb.org/mepiscr/repo/ mepis12cr/main amd64 Packages (/var/lib/apt/lists/main.mepis-deb.org_mepiscr_repo_dists_mepis12cr_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://main.mepis-deb.org/mepiscr/repo/ mepis12cr/non-free amd64 Packages (/var/lib/apt/lists/main.mepis-deb.org_mepiscr_repo_dists_mepis12cr_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://main.mepis-deb.org/mepiscr/repo/ mepis12cr/main i386 Packages (/var/lib/apt/lists/main.mepis-deb.org_mepiscr_repo_dists_mepis12cr_main_binary-i386_Packages)
W: Duplicate sources.list entry http://main.mepis-deb.org/mepiscr/repo/ mepis12cr/non-free i386 Packages (/var/lib/apt/lists/main.mepis-deb.org_mepiscr_repo_dists_mepis12cr_non-free_binary-i386_Packages)
Any ideas on what might be going on?

Thanks in advance.
Image

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4207
Joined: Wed Jul 12, 2006 4:05 pm

Re: Problem with testrepos

#2 Post by timkb4cq » Sat Nov 07, 2015 9:49 am

Aside from /etc/apt/sources.list, there is also an /etc/apt/sources.list.d/ folder which contains separate lists for each server. In my M12 install I have these lists:
antix.list
google-chrome-unstable.list
violetsky_steam.list
debian.list
mepis.list

If you put all your sources in the main /etc/apt/sources.list then you will have duplicates in those individual lists. You need to delete one or the other. for each duplicate
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
radissthor
Forum Regular
Forum Regular
Posts: 339
Joined: Mon Sep 13, 2010 11:18 am

Re: Problem with testrepos

#3 Post by radissthor » Sat Nov 07, 2015 4:18 pm

timkb4cq wrote:Aside from /etc/apt/sources.list, there is also an /etc/apt/sources.list.d/ folder which contains separate lists for each server. In my M12 install I have these lists:
antix.list
google-chrome-unstable.list
violetsky_steam.list
debian.list
mepis.list

If you put all your sources in the main /etc/apt/sources.list then you will have duplicates in those individual lists. You need to delete one or the other. for each duplicate
Yes! I just copied the extra lines in sources.list.d into the main sources.list file and everything worked perfectly.

Many thanks. :happy:
Image

Post Reply

Return to “General”