LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Looking to upgrade Lenny... (https://www.linuxquestions.org/questions/debian-26/looking-to-upgrade-lenny-732510/)

mkisow 06-12-2009 11:43 AM

Looking to upgrade Lenny...
 
I want to upgrade Lenny a bit, I went to use these repositories and tested on another box to see 1) what would be upgraded and 2) to see if a few specific updates I am looking for were included (specifically evolution and nm-applet) they were and I proceeded with my upgrade.

deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free

I went to use apt-get and aptitude wanted me to run apt-get autoremove to remove all the packages I previously had installed, is this due to a conflict with other sources?

When I ran apt-get autoremove it hosed me, I am reinstalling Lenny now to try again.

I have posted my sources.list

Code:

########## MAIN REPOSITORIES ##########
################
#    ETCH      #
################
# deb http://debian.lcs.mit.edu/debian/ etch contrib main non-free
# deb-src http://debian.lcs.mit.edu/debian/ etch contrib main non-free
#
# deb http://security.debian.org/ etch/updates contrib main non-free
# deb-src http://security.debian.org/ etch/updates contrib main non-free

################
#    LENNY    #
################
deb http://debian.lcs.mit.edu/debian/ lenny contrib main non-free
deb-src http://debian.lcs.mit.edu/debian/ lenny contrib main non-free
#
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
#
deb http://volatile.debian.org/debian-volatile/ lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile/ lenny/volatile main contrib non-free
#
# deb ftp://ftp.us.debian.org/debian lenny-proposed-updates main contrib non-free
# deb-src ftp://ftp.us.debian.org/debian lenny-proposed-updates main contrib non-free

################
#    SID      #
################
# deb http://debian.lcs.mit.edu/debian/ sid main contrib non-free 
# deb-src http://debian.lcs.mit.edu/debian/ sid main contrib non-free 
#
# deb http://security.debian.org/ sid/updates main contrib non-free 
# deb-src http://security.debian.org/ sid/updates main contrib non-free

################
#  SQUEEZE    #
################
# deb ftp://ftp.us.debian.org/debian squeeze main non-free contrib
# deb ftp://ftp.us.debian.org/debian-volatile squeeze/volatile main contrib
#
# deb ftp://ftp.us.debian.org/debian-security squeeze/updates main non-free contrib
# deb ftp://ftp.us.debian.org/debian stable-proposed-updates main non-free contrib

################
#  TESTING    #
################
# deb http://ftp.debian.org/debian/ testing main contrib non-free 
# deb-src http://ftp.debian.org/debian/ testing main contrib non-free

################
# EXPERIMENTAL #
################
# deb http://debian.lcs.mit.edu/debian/ experimental contrib main non-free 
# deb-src http://debian.lcs.mit.edu/debian/ experimental contrib main non-free
##########

########## COMPIZ FUSION ##########
#Compiz Fusion Etch
# deb http://download.tuxfamily.org/shames/debian-etch/desktopfx/stable/ ./

#Compiz Fusion Lenny
deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./

#Compiz Fusion Sid
# deb http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/ ./

#Avant Window Navigator
# deb http://download.tuxfamily.org/deb4gilir/avant-window-navigator/ unstable main

##########

########## OTHER ##########
#Ashers 256
# deb http://asher256-repository.tuxfamily.org/ ubuntu main dupdate french 

#FBSplash Kernel Sid
# deb http://jeandamiendurand.free.fr/debian/kernel/ sid main
# deb-src http://jeandamiendurand.free.fr/debian/kernel/ sid main

#FBSplash Sid
# deb ftp://ftp.berlios.de/pub/fbsplash/debian/splashutils/ sid contrib

#FBSplash Themes
# deb http://jeandamiendurand.free.fr/debian/fbsplash-themes/ sid contrib
# deb-src http://jeandamiendurand.free.fr/debian/fbsplash-themes/ sid contrib

#GRUB GFXBoot
# deb http://www.nanolx.org/apt/ excelsior main

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

#Debian Multimedia
deb http://www.debian-multimedia.org/ lenny main 
deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ stable main 
deb-src http://www.las.ic.unicamp.br/pub/debian-multimedia/ stable main 

#DreamLinux
# deb http://ngsys.eti.br/debian/ dream/
# deb http://ngsys.eti.br/debian/ generic/

#French Ubuntu Compiz
# deb http://fr.archive.ubuntu.com/ubuntu/ lenny restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lenny restricted
# deb http://fr.archive.ubuntu.com/ubuntu/ lenny universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lenny universe
# deb http://fr.archive.ubuntu.com/ubuntu/ lenny multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lenny multiverse


AlucardZero 06-12-2009 12:31 PM

It's hard to say without a session log. Try not to mix apt-get and aptitude. Also, your sources.list doesn't have testing (squeeze) enabled.

You should not mix stable and testing, because as time goes on they get further and further apart and you will run into problems like this. Run stable+stable-backports (http://www.backports.org/dokuwiki/doku.php), or run pure testing, or run testing+unstable. Mixed systems are an advanced topic and as you found out can have many pitfalls.

farslayer 06-12-2009 01:39 PM

I would use aptitude exclusively and in your case, if you are indeed planning to upgrade to squeeze, the first command I would issue is aptitude keep-all to prevent autoremove from removing all the packages that were installed automatically.
http://newbiedoc.berlios.de/wiki/Apt...talled.22_flag

With the sources.list configured for squeeze..
aptitude update
aptitude keep-all
aptitude install dpkg apt aptitude
aptitude dist-upgrade


All times are GMT -5. The time now is 03:51 AM.