Page 1 of 1

Problem with testrepos

Posted: Sat Nov 07, 2015 4:30 am
by radissthor
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.

Re: Problem with testrepos

Posted: Sat Nov 07, 2015 9:49 am
by timkb4cq
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

Re: Problem with testrepos

Posted: Sat Nov 07, 2015 4:18 pm
by radissthor
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: