Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Problem with testrepos

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

Problem with testrepos

#1 Post 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.
Image

User avatar
timkb4cq
Developer
Posts: 3179
Joined: Wed Jul 12, 2006 4:05 pm

Re: Problem with testrepos

#2 Post 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
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
radissthor
Posts: 67
Joined: Mon Sep 13, 2010 11:18 am

Re: Problem with testrepos

#3 Post 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:
Image

Post Reply

Return to “General”