LinuxQuestions.org
Visit Jeremy's Blog.
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 07-23-2006, 10:49 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
Error in apt-get during upgrade


Hi I execute
apt-get update

and then apt-get upgrade and I got the following error


noccbox:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
dpkg-dev: Depends: dpkg (>= 1.13.20) but 1.10.28 is installed

I googled alot and I tried several things but nothing seems to work out and I could not find the package dpkg 1.13.20

Any help is welcome
 
Old 07-23-2006, 11:29 AM   #2
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863

Rep: Reputation: 45
This sometimes happens with dependencies.
Dpkg 1.13.21 is still in the TESTING distribution. As you are running the STABLE (Sarge) distribution you can't see it.

Your options are:
1. Wait for it to reach Stable.
2. Edit sources.list to include Testing, perform this upgrade, revert to Stable.

Note that the latter _might_ cause problems.

Of course you may opt to live a little more dangerously and move to testing. You can expect a few more bugs. By reporting them you will participate in the devolopment of Debian. The upside is that you get newer versions of packages earlier.
 
Old 07-23-2006, 12:37 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by davcefai
This sometimes happens with dependencies.
Dpkg 1.13.21 is still in the TESTING distribution. As you are running the STABLE (Sarge) distribution you can't see it.

Your options are:
1. Wait for it to reach Stable.
It won't reach/be in stable until Etch is released.
Quote:
2. Edit sources.list to include Testing, perform this upgrade, revert to Stable.

Note that the latter _might_ cause problems.

Of course you may opt to live a little more dangerously and move to testing. You can expect a few more bugs. By reporting them you will participate in the devolopment of Debian. The upside is that you get newer versions of packages earlier.
He has already put testing/etch in the sources.list that is why it is showing up and still has stable in there as well so it is trying to get the package from there. The OP is better off either doing a apt-get dist-upgrade to move entirely to testing/etch or taking those lines out of the sources.list and sticking to stable.
 
Old 07-24-2006, 07:50 AM   #4
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Thank you both for your quick replies...for anyone facing the same problem..HappyTux's answer solved the problem for me..apparently it is not a good idea to mix up testing and unstable with sarge in the sources.list. I removed the unstable and testing entries. And I had to do some apt-get -f install but in the end it worked quite well.

Thx for the support
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get upgrade error jokerbw Debian 8 01-16-2006 08:08 PM
Apt Upgrade Error BittaBrotha MEPIS 6 11-26-2005 01:27 AM
Apt-get upgrade error Quietus25 Linux - Newbie 3 07-11-2005 07:02 PM
Error on 'apt-get upgrade' slackmagic Linux - Software 1 05-04-2004 02:54 PM
error with apt-get upgrade bronko Debian 6 01-07-2004 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:21 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
Open Source Consulting | Domain Registration