LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-12-2009, 11:43 AM   #1
mkisow
LQ Newbie
 
Registered: May 2008
Posts: 28

Rep: Reputation: 15
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
 
Old 06-12-2009, 12:31 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,642

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
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.
 
Old 06-12-2009, 01:39 PM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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
 
  


Reply

Tags
apt-get, debian, lenny, repositories


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken upgrade to Lenny Ephracis Debian 2 02-21-2009 07:49 PM
Can not upgrade from Etch to Lenny ? ashikaumanga Linux - General 6 02-02-2009 08:14 PM
Etch-to-Lenny upgrade? pietruszewski Debian 36 05-09-2008 03:59 PM
lenny upgrade problem buhtl Debian 1 01-03-2008 05:07 PM
-best way to upgrade from Etch to Lenny ? el amigo* Debian 10 09-24-2007 11:40 PM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration