Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page My upgrade from etch to lenny wont work!
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 04-16-2008   #1 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 9
My upgrade from etch to lenny wont work!

Hello,

I have followed all the instructions for upgrading.

I have changed my sources.list from etch to lenny - stable to testing

I have apt-get update which downloaded about 5mb worth of stuff.

I then put in apt-get dist-upgrade and nothing happens.

It spits out:

Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And that us it.

I left out dist and just typed in apt-get upgrade and it did the same thing.

It doesnt want to upgrade.

I changed my mirrors and it didnt help.
onemind is offline   Reply With Quote
Old 04-16-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Hi and Welcome !

Execute this :
Code:
cat /etc/debian_version
Post output here.
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 04-16-2008   #3 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 9
4.0

Here is my sources.list

#security
deb Debian -- Security Information lenny/updates main contrib

#updates
deb ftp://ftp.iinet.net.au/debian/debian testing main contrib non-free

-----------------

Here is the output from "aptitude dist-upgrade"


Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
libqt4-core libqt4-gui libqt4-qt3support libqt4-sql libsqlite0
qt4-qtconfig
0 packages upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 18.6MB will be freed.
Do you want to continue? [Y/n/?] n
onemind is offline   Reply With Quote
Old 04-16-2008   #4 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Quote:
Do you want to continue? [Y/n/?] n
Press y and let aptitude install/remove packages. Check the contents of /etc/debian_version file. Is it listing Lenny?
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 04-16-2008   #5 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 9
Quote:
Check the contents of /etc/debian_version file. Is it listing Lenny?
It just says: 4.0
onemind is offline   Reply With Quote
Old 04-16-2008   #6 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Its listing lenny/sid in my box.
Try replacing lenny with testing in sources.list file.
My sources.list :
Code:
deb http://http.us.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 04-16-2008   #7 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 9
Quote:
Its listing lenny/sid in my box.
And? I am running etch.

Quote:
Try replacing lenny with testing in sources.list file.
That does nothing. lenny and testing have the same files on the server.
onemind is offline   Reply With Quote
Old 04-16-2008   #8 (permalink)
Linux Enthusiast
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: MA, USA
Posts: 647
thats weird, you should only need to change etch/stable to lenny or testing and then run, only sid would be different, since there are no security updates for sid
Code:
apt-get update
apt-get dist-upgrade
that should be enough, try running
Code:
apt-get clean
maybe some cached files are causing some problems, you never know
coopstah13 is offline   Reply With Quote
Old 04-16-2008   #9 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 9
Thanks

Tried that, didnt work..
onemind is offline   Reply With Quote
Old 04-16-2008   #10 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 9
Thanks all.

It turned out to be the preferences file in /etc/apt

I deleted it and it is now working

Cheers
onemind is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:34 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0