/etc/apt/sources.list for US wanted (resolved)

Posts: 62
mizpa
Joined: 21 Jan 2009
#1
Can someone post a sample of a good, complete Antix /etc/apt/sources.list for me? Mine has become very jumbled with all of the different advice out on the internet, so I would like to have one that is specifically tailored for Antix/sidux. I would like to either use MIT (Massachusetts) or OSU (Oregon) if possible, since I travel a lot, but would consider something in the Central part of the US if you think that would be faster. Thanks, mizpa
Last edited by mizpa on 30 May 2011, 23:56, edited 1 time in total.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#2

Code: Select all

# See sources.list(5) for more information

# This file should be edited through synaptic

###
###
### MEPIS: Use for kernel upgrades and nvidia/ati drivers only ###
# deb ftp://ftp.mepis.com/mepis/ mepis-7.0 main 

###Mepis 8
 deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main  

# deb http://ftp.us.debian.org/debian/ stable main contrib non-free  
# deb http://ftp.us.debian.org/debian/ testing main contrib non-free  

# deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free 

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

# mplayer
# deb http://www.debian-multimedia.org/ etch main 
deb http://www.debian-multimedia.org/ unstable main 

# VirtualBox
# deb http://www.virtualbox.org/debian/ etch non-free 

# wicd
deb http://apt.wicd.net/ debian extras 

# deb http://download.skype.com/linux/repos/debian/ stable non-free 

# deb http://ftp.us.debian.org/debian/ experimental main non-free contrib 

######Sidux#######
deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free  

##########
##########
###### Debian Unstable/Sid ##########
########
########
###### Use at your own risk! ########
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free  
deb http://www.debian-multimedia.org/ unstable main  
anticapitalista
Posts: 5,959
Site Admin
Joined: 11 Sep 2007
#3
This is the latest on antiX-M8

Code: Select all

# See sources.list(5) for more information

#Mepis8
deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main 

# Debian
deb http://ftp.de.debian.org/debian/ stable main contrib non-free 
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free 
#deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free 
 
# mplayer
deb http://www.debian-multimedia.org etch main
deb http://www.debian-multimedia.org testing main

# wicd
deb http://apt.wicd.net debian extras

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

#virtualbox
#deb http://download.virtualbox.org/virtualbox/debian lenny non-free

# Remastersys
#deb http://www.remastersys.klikit-linux.com/repository debian/

###### Debian Unstable/Sid/sidux ##########
###### Use at your own risk! ########
#deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
#deb http://www.debian-multimedia.org unstable main
#deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free

If you are using antiX-M7.5 and wish to do a dist-upgrade to antiX-M8 then you are best using the antiX-upgrader script. (Not finished yet. Should be ready in a day or so)
Posts: 1,139
masinick
Joined: 26 Apr 2008
#4
How about this?

# See sources.list(5) for more information

Code: Select all

#Mepis8
deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main 

# Debian
deb http://debian.lcs.mit.edu/debian/ stable main contrib non-free   
deb http://debian.lcs.mit.edu/debian/ testing main contrib non-free   
deb http://security.debian.org/ testing/updates main contrib non-free   
# deb-src http://debian.lcs.mit.edu/debian/ stable main contrib non-free   

# mplayer
deb http://www.debian-multimedia.org/ etch main  
deb http://www.debian-multimedia.org/ testing main 

# wicd
deb http://apt.wicd.net/ debian extras 

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

##########
###### Debian Unstable/Sid/sidux ##########
########
###### Use at your own risk! ########
# deb http://debian.lcs.mit.edu/debian/ unstable main contrib non-free  
# deb http://www.debian-multimedia.org/ unstable main  
# deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free  

Posts: 62
mizpa
Joined: 21 Jan 2009
#5
anticapitalista wrote:This is the latest on antiX-M8

Code: Select all

# See sources.list(5) for more information

#Mepis8
deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main 

# Debian
deb http://ftp.de.debian.org/debian/ stable main contrib non-free 
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free 
#deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free 
 
# mplayer
deb http://www.debian-multimedia.org etch main
deb http://www.debian-multimedia.org testing main

# wicd
deb http://apt.wicd.net debian extras

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

#virtualbox
#deb http://download.virtualbox.org/virtualbox/debian lenny non-free

# Remastersys
#deb http://www.remastersys.klikit-linux.com/repository debian/

###### Debian Unstable/Sid/sidux ##########
###### Use at your own risk! ########
#deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
#deb http://www.debian-multimedia.org unstable main
#deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free

If you are using antiX-M7.5 and wish to do a dist-upgrade to antiX-M8 then you are best using the antiX-upgrader script. (Not finished yet. Should be ready in a day or so)
This is the readout at the end of

Code: Select all

apt-get upgrade
using the above devised sources ( I combined both of them so as to get US oriented sources). Is a problem with the sources, or is it a problem with Mepis 8 or is it a problem with /usr/bin/dpkg?

Code: Select all

Errors were encountered while processing:
 /var/cache/apt/archives/mepis-init_8.0.03_all.deb
localepurge: Disk space freed in /usr/share/locale: 8576K
localepurge: Disk space freed in /usr/share/man: 172K

Total disk space freed by localepurge: 8748K

E: Sub-process /usr/bin/dpkg returned an error code (1)
Sorry, I forgot to show you my new /etc/apt/sources.list:

Code: Select all

# See sources.list(5) for more information

# This file should be edited through synaptic

###
###
### MEPIS: Use for kernel upgrades and nvidia/ati drivers only  ###
#deb ftp://ftp.mepis.com/mepis/ mepis-7.0 main

###Mepis 8
deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main

# Debian
# deb http://ftp.us.debian.org/debian/ stable main contrib non-free   
# deb http://ftp.us.debian.org/debian/ testing main contrib non-free

# deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free 

# deb http://security.debian.org/ testing/updates main contrib

# mplayer
#deb http://www.debian-multimedia.org/ etch main 
#deb http://www.debian-multimedia.org/ unstable main 

#VirtualBox
# deb http://www.virtualbox.org/debian/ etch non-free

# wicd
deb http://apt.wicd.net/ debian extras 

#Opera
# deb http://deb.opera.com/opera/lenny non-free

# deb http://download.skype.com/linux/repos/debian/ stable non-free

# deb http://ftp.us.debian.org/debian/ experimental main non-free contrib

# Remastersys
# deb http://www.remastersys.klikit-linux.com/repository debian/

##########
###### Debian Unstable/Sid ##########
########
###### Use at your own risk! ########
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free 
deb http://www.debian-multimedia.org/ unstable main 
deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.$

I'm trying to learn, sorry for all the dumb questions. Mark
Last edited by mizpa on 12 Feb 2009, 00:10, edited 2 times in total.
anticapitalista
Posts: 5,959
Site Admin
Joined: 11 Sep 2007
#6
To fix that error, as root in a terminal

dpkg -i --force-all /var/cache/apt/archives/mepis-init*.deb

then do
apt-get -f install
Posts: 62
mizpa
Joined: 21 Jan 2009
#7
anticapitalista wrote:To fix that error, as root in a terminal

dpkg -i --force-all /var/cache/apt/archives/mepis-init*.deb

then do
apt-get -f install
this is the output after the apt-get -f install

Code: Select all

Errors were encountered while processing:
 libmagic1
 file
 debhelper
 dh-make
E: Sub-process /usr/bin/dpkg returned an error code (1)
more errors ??
Posts: 1,139
masinick
Joined: 26 Apr 2008
#8
Try clearing your cache: apt-get clean, then try apt-get -f install again. If you get the same message, try removing the packages mentioned, then install them again. By any chance, do you have multiple repositories enabled for the same feature - such as stable and unstable multimedia repos? I thought I saw that in there somewhere. Stick with the repos that come with antiX, at least until you get it sorted out; just change country codes on the repos from de (Germany) to us, and leave the rest alone.

Let us know what you get next.
Posts: 62
mizpa
Joined: 21 Jan 2009
#9
masinick wrote:Try clearing your cache: apt-get clean, then try apt-get -f install again. If you get the same message, try removing the packages mentioned, then install them again. By any chance, do you have multiple repositories enabled for the same feature - such as stable and unstable multimedia repos? I thought I saw that in there somewhere. Stick with the repos that come with antiX, at least until you get it sorted out; just change country codes on the repos from de (Germany) to us, and leave the rest alone.

Let us know what you get next.
when I removed and then reinstalled, it worked. tyvm __{{emoticon}}__
Posts: 1,139
masinick
Joined: 26 Apr 2008
#10
You are welcome! Glad you got it working!