LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2009, 01:31 PM   #1
acute123
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Rep: Reputation: 15
Lightbulb Converting Debian Stable to Unstable


Hi Everyone

I have upgraded from Debian Stable to Unstable so many times before but never had any problems. I am using Debian 4.0 or Etch. But now i am facing a hell of problems.

My /etc/apt/sources.list file looks like this

#
# deb cdrom:[Debian GNU/Linux 4.0 r5 _Etch_ - Official i386 CD Binary-1 20081023-23:20]/ etch contrib main

# deb cdrom:[Debian GNU/Linux 4.0 r5 _Etch_ - Official i386 CD Binary-1 20081023-23:20]/ etch contrib main

deb http://ftp.se.debian.org/debian/ unstable main
deb-src http://ftp.se.debian.org/debian/ unstable main

# deb http://security.debian.org/ unstable/updates main contrib
# deb-src http://security.debian.org/ unstable/updates main contrib



When i run apt-get update it executes ok.
But when i apt-get dist-upgrade i get following error messages.

Errors were encountered while processing:
/var/cache/apt/archives/gtk2-engines_1%3a2.16.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have used apt-get -f install
and then run apt-get dist-upgrade


but still the error remains the same.

Any help is highly appreciated.
 
Old 03-10-2009, 06:52 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
are you out of disk space?
 
Old 03-10-2009, 08:33 PM   #3
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
try to clean out your apt cache.. apt-get clean ..It has happened to me a few times and that cleared it..

Last edited by stratotak; 03-10-2009 at 08:35 PM.
 
Old 03-10-2009, 10:13 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
TRy upgrading to lenny first then to sid. I seriously doubt you can go from Etch straight to sid.
 
Old 03-11-2009, 07:06 AM   #5
acute123
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you everyone for your guidance.

I am running virtual machine(vmware) on Windows and Debian is installed on it. I have allocated 8 GB of harddisk space and 1 GB of RAM to Debian machine. So i think resources are not an issue.

Now i have done something like this. I have downloaded latest version of Debian(lenny) and i am trying to convert it to Unstable.
Now my /etc/apt/sources.list file looks like this

#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

deb http://ftp.se.debian.org/debian/ unstable main
deb-src http://ftp.se.debian.org/debian/ unstable main

# deb http://security.debian.org/ lenny/updates main
# deb-src http://security.debian.org/ lenny/updates main

# deb http://volatile.debian.org/debian-volatile lenny/volatile main
# deb-src http://volatile.debian.org/debian-volatile lenny/volatile main


now when i run apt-get update it runs ok(as before).

but when i run apt-get dist-upgrade
i get the following error:
The NetworkManager applet could not find some required resources. It cannot continue.


Please guide me what should i do now.
Thanking you all.
Regards
 
Old 03-11-2009, 08:06 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would rip out network manager by the roots.. and move forward.. it's not like network manager is needed or can't be re-installed. .

aptitude update
aptitude install apt dpkg aptitude
aptitude remove network-manager
aptitude dist-upgrade
aptitude install network-manager
- if you really feel you must have it back..
 
Old 03-11-2009, 09:14 AM   #7
acute123
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you for your reply

But when i run the command: aptitude remove network-manager
i lose my internet connection.
so aptitude dist-upgrade is not possible to execute.

Please reply
 
Old 03-11-2009, 09:29 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Are you using a wired network connection for internet or wireless ?

A wired connection should be no issue, without network manager. Wireless could be a little more work, since you would have to configure it manually in the /etc/network/interfaces configuration file.

Another option is to install wicd instead of network-manager. http://wicd.sourceforge.net/
(personally I like wicd much more than network-manager)

Wicd is in the repositories for testing and unstable, but not for etch or lenny at this time. Directions for installing it on lenny are on the wicd download page, or if you have your connection back up it should be able to be installed directly from the unstable repositories. wicd and network-manager will conflict with one another so once wicd is installed you need to remove network-manager, and configure the connection in wicd.

aptitude update
aptitude install wicd
aptitude remove network-manager


Configure your wireless with wicd.
 
Old 03-11-2009, 10:00 AM   #9
acute123
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
I am using wired connection. Debian is running on a Virtual Machine in VMWARE. My host O.S is Windows Vista.
 
Old 03-11-2009, 10:55 AM   #10
acute123
LQ Newbie
 
Registered: Dec 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you everyone for your help(specially farslayer).

My /etc/apt/sources.list file looks like this:

#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

deb http://ftp.se.debian.org/debian/ unstable main
deb-src http://ftp.se.debian.org/debian/ unstable main

# deb http://security.debian.org/ lenny/updates main
# deb-src http://security.debian.org/ lenny/updates main

# deb http://volatile.debian.org/debian-volatile lenny/volatile main
# deb-src http://volatile.debian.org/debian-volatile lenny/volatile main



After executing the following commands, i have successfully upgraded to Debian Unstable.

aptitude update
aptitude install apt dpkg aptitude
aptitude remove network-manager
aptitude dist-upgrade


Thank you once again

Regards
 
Old 03-11-2009, 11:01 AM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Glad to see you got it all sorted out
 
  


Reply



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
[HOW-TO] debian stable -> unstable??? g_srinivas Linux - Newbie 5 03-31-2006 10:49 AM
converting from debian unstable to ubuntu? moxfyre Debian 1 11-23-2004 04:55 PM
stable vs unstable jazzben Linux - Newbie 5 08-16-2004 10:32 AM
installing debian stable, unstable ... ? acker Debian 12 04-12-2004 09:00 AM
stable --> unstable security4ever Linux - General 1 06-30-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 PM.

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
Open Source Consulting | Domain Registration