LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-28-2009, 12:33 AM   #1
ashikaumanga
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Rep: Reputation: 0
Question Can not upgrade from Etch to Lenny ?


Greetings all,

I wanted to upgrade my Etch box into Lenny , I modified my sources.list as follows:

Quote:
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
then when I execute "apt-get update" output is as follows:

Quote:
umanga:/etc/apt# apt-get update
Get:1 http://ftp.us.debian.org lenny Release.gpg [189B]
Hit http://ftp.us.debian.org lenny Release
Get:2 http://security.debian.org lenny/updates Release.gpg [189B]
Get:3 http://ftp.us.debian.org lenny/main Packages/DiffIndex [926B]
Get:4 http://security.debian.org lenny/updates Release [40.8kB]
Get:5 http://ftp.us.debian.org lenny/contrib Packages/DiffIndex [367B]
Get:6 http://ftp.us.debian.org lenny/non-free Packages/DiffIndex [229B]
Get:7 http://security.debian.org lenny/updates/main Packages [20.2kB]
Get:8 http://security.debian.org lenny/updates/contrib Packages [14B]
Get:9 http://security.debian.org lenny/updates/non-free Packages [14B]
Fetched 62.8kB in 2s (23.1kB/s)
Reading package lists... Done
Then I execute "apt-get dist-upgrade" and it wont do any upgrading?? Output is as

Quote:
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What could be the problem ?
 
Old 01-28-2009, 08:45 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Post the entire contents of /etc/apt/sources.list and /etc/apt/preferences and /etc/debian_release

Last edited by AlucardZero; 01-28-2009 at 08:46 AM.
 
Old 01-29-2009, 12:09 AM   #3
ashikaumanga
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Original Poster
Rep: Reputation: 0
sources.list
Quote:
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

deb http://security.debian.org/ etch/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ etch main contrib non-free
# deb http://security.debian.org/ lenny/updates main contrib non-free
# deb-src http://ftp.us.debian.org/debian lenny non-free main contrib
# deb http://sinhala.sourceforge.net/debian/i386/lenny/ ./
# deb http://www.openprinting.org/download...driver/debian/ lsb3.2 main
# deb http://www.backports.org/debian etch-backports main contrib
preferences
Quote:
Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 500

Package: flashplugin-nonfree
Pin: release o=Debian,a=stable
Pin-Priority: -1

Package: flashplugin-nonfree
Pin: release o=Backports.org archive,a=etch-backports
Pin-Priority: 500

Package: *
Pin: release a=now
Pin-Priority: 100

Package: *
Pin: release o=Debian
Pin-Priority: -1

Package: *
Pin: release *
Pin-Priority: -1
no file named 'debian_release' but has one camed 'debian_version'
Quote:
4.0
 
Old 01-29-2009, 12:47 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
Your problem is that you didn't uncomment the lenny lines and you left the etch lines uncommented. You are also Pinning stable in your preferences file; I would have to look up what 500 means but you may want to change that.

Last edited by AlucardZero; 01-29-2009 at 06:03 PM. Reason: un
 
Old 01-29-2009, 02:21 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
http://wiki.debian.org/AptPinning

http://jaqque.sbih.org/kplug/apt-pinning.html
 
Old 02-02-2009, 01:59 AM   #6
ashikaumanga
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry my sources.list is as follows
Quote:
#deb http://security.debian.org/ etch/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://ftp.us.debian.org/debian lenny non-free main contrib
# deb http://sinhala.sourceforge.net/debian/i386/lenny/ ./
# deb http://www.openprinting.org/download...driver/debian/ lsb3.2 main
# deb http://www.backports.org/debian etch-backports main contrib
deb http://www.debian-multimedia.org lenny main
What should I changed in preferences file ?

Thanks in advance

Last edited by ashikaumanga; 02-02-2009 at 02:13 AM.
 
Old 02-02-2009, 09:14 PM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Looking at the latest sources.list you posted, I don't believe you even need the preferences file if everything is pointed at lenny. I would just rename preferences to preference.old update and try again.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Etch to Lenny Upgrade Cleanup Help richinsc Debian 2 01-06-2009 05:49 PM
Etch-to-Lenny upgrade? pietruszewski Debian 36 05-09-2008 04:59 PM
Possible to Upgrade Etch to Lenny? BobNutfield Debian 5 02-29-2008 02:45 PM
-best way to upgrade from Etch to Lenny ? el amigo* Debian 10 09-25-2007 12:40 AM
etch upgrade to lenny StargateSteve Debian 8 04-12-2007 04:11 PM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
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