LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-30-2006, 05:46 AM   #1
kuusma
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Exclamation Problem with upgrading Ubuntu 5.04 kernel


Okay, I am completely new to linux, just started using it and wanted to upgrade my ubuntu from 5.04 to 5.10 and there are several errors.

So, I open the Synaptic Package Manager to make the updates, mark all upgrades in smart mode and hit apply. It says:
332 new packages will be installed
741 packages will be upgraded
42 packages will be removed
510 MB of extra space will be used
602 MB have to be downloaded


And the system is applying.
Then comes the error:
E: /var/cache/apt/archives/linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb: trying to overwrite `/usr/include/asm/bootsetup.h', which is also in package amd64-libs-dev

So I click OK (what else do I have left..)
Failed to apply all changes. Scroll in the terminal buffer to see what went wrong.

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 72493 files and directories currently installed.)
Preparing to replace linux-kernel-headers 2.5.99-test7-bk-17 (using .../linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb) ...
Unpacking replacement linux-kernel-headers ...
dpkg: error processing /var/cache/apt/archives/linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb (--unpack):
trying to owerwrite `/usr/include/asm/bootsetup.h', which is also in package amd64-libs-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselcted package gcc-4.0-base.
Unpacking gcc-4.0-base (from .../gcc-4.0-base_4.0.1-4ubuntu9_i386.deb) ...
Selecting previously deselected package libstdc++6.
Unpacking libstdc+66 (from .../libstdc++6_4.0.1-4ubuntu9_i386.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb


So, almost nothing actually changes. The SPM shows 1071 packages to install/upgrade and 42 to remove (509 MB will be used). Which should mean that 2 packages (in size of approx. 1 MB) have been installed/upgraded. Amazing. I close the SPM and run sudo atp-get -f install which brings me to:

kuusma@kuusma:~$ sudo atp-get -f install
Password:
sudo: atp-get: command not found
kuusma@kuusma:~$ sudo 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:
libc6-dev: Depends: linux-kernel-headers (>= 2.6.11.2-0) but 2.5.999-test7-bk-17 is installed
E: Unmet dependencies. Try using -f.
kuusma@kuusma:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-kernel-headers
The following packages will be upgraded:
linux-kernel-headers
1 upgraded, 0 newly installed, 0 to remove and 742 not upgraded.
3 not fully installed or removed.
Need to get 0B/1037kB of archives.
After unpacking 733kB disk space will be freed.
Do you want to continue [Y/n]? y

Preconfiguring packages ...
(Reading database ... 72505 files and directories currently installed.)
Preparing to replace linux-kernel-headers 2.5.999-test7-bk-17 (using .../linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb) ...
Unpacking replacement linux-kernel-headers ...
dpkg: error processing /var/cache/apt/archives/linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb (--unpack):
trying to overwrite `/usr/include/asm/bootsetup.h', which is also in package amd64-libs-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-kernel-headers_2.6.11.2-0ubuntu13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
kuusma@kuusma:~$


I have no idea what the problem could be, even less how to solve it. Got some recommendations?


Thank you.

Last edited by kuusma; 05-30-2006 at 02:41 PM.
 
Old 05-30-2006, 02:45 PM   #2
kuusma
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Update:
So, I might presume that the problem is somewhat involved with the kernel but the question still remains how to solve it.
If someone had any questions considering the details or recommendations, I\d be glad to hear/try them out.
 
Old 05-30-2006, 03:00 PM   #3
marit
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Well, you should consider removing the amd64-libs-dev or the linux-kernel-headers
 
Old 06-02-2006, 05:32 PM   #4
n_hendrick
Member
 
Registered: Jan 2004
Location: Canal Fulton OH.
Distribution: Ubuntu 7.04, RedHat
Posts: 67

Rep: Reputation: 15
kuusma,
usually the problem with dpkg and apt can be resolved by a force overwrite option in dpkg. most of the time the file conflict your experiencing is due to a common file sitting in the road of the installation. Goto the directory of the downloaded kernel headers deb and type " dpkg -i --force-overwrite nameoffile" This will install the kernel headers package overwritting the default file in its road. You shouldn't experience any errors from doing the overwrite considering your doing a dist-upgrade. most of the files won't rely on the original package but the package overwrite shouldn't effect the original file anyway. after the overwrite you can continue on with apt-get -f install and then start up your upgrade again. good luck.
 
  


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
Problem upgrading to 2.6.7 Corallis Slackware 3 07-05-2004 06:49 PM
Upgrading from XMMS 1.2.8 to 1.2.10 problem lucasrj Slackware 6 06-15-2004 08:11 PM
Problem upgrading KDE 3.2.0 Ninja_212 Slackware 2 02-14-2004 11:13 PM
problem after upgrading the kernel juanb Linux - Software 1 03-11-2003 08:34 AM
problem upgrading kernel TravisB Linux - Software 9 03-20-2002 02:48 PM


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

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