LinuxQuestions.org
Help answer threads with 0 replies.
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 07-10-2005, 07:29 PM   #1
Quietus25
LQ Newbie
 
Registered: Jul 2005
Distribution: Kubuntu
Posts: 2

Rep: Reputation: 0
Apt-get upgrade error


Hi, I'm runing Kubuntu 5.04 and just recently had a problem doing an apt-get upgrade.

Konsole Output:
Code:
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  mozilla-firefox
The following packages will be upgraded:
  linux-image-2.6.10-5-386
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/15.6MB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y

Preconfiguring packages ...
(Reading database ... 76376 files and directories currently installed.)
Preparing to replace linux-image-2.6.10-5-386 2.6.10-34 (using .../linux-image-2.6.10-5-386_2.6.10-34.3_i386.deb) ...
The directory /lib/modules/2.6.10-5-386 still exists. Continuing as directed.
Unpacking replacement linux-image-2.6.10-5-386 ...
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.10-5-386_2.6.10-34.3_i386.deb (--unpack):
 trying to overwrite `/lib/modules/2.6.10-5-386/kernel/drivers/net/ndiswrapper/ndiswrapper.ko', which is also in package ndiswrapper-modules-2.6.10-5-386
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /boot/vmlinuz-2.6.10-5-386
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.10-5-386_2.6.10-34.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions as to how to fix this would be greatly appreciated.

Thanks
-Dan
 
Old 07-11-2005, 03:10 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Question 1: did you get the package from the kubuntu repository, or the deb? The binaries are not exactly the same, and could result in unexpected errors.

Check /etc/apt/sources.list to verify the kubuntu repository.

Question 2: did you run apt-get as root, or as user. If user, installation probably failed for wont of root authority. Try this:

Open a term window, and cd to /var/cache/apt/archives (the package should still be there).
su to root
apt-get install <packagename> (with root authority).

Does the error repeat?
 
Old 07-11-2005, 06:23 PM   #3
Quietus25
LQ Newbie
 
Registered: Jul 2005
Distribution: Kubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
I got the package from the repository and have also tried deleting it and getting it with apt again. It would cause the same problem. I also tried to apt-get install it as root by following your directions but it could seem to find the package, or any of the other ones listed when I type in ls.
 
Old 07-11-2005, 08:02 PM   #4
funkydan2
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
AFAIK the only user who can run apt-get is the root user.

What do you mean by 'deleting it and getting it again'? Did you run 'sudo apt-get remove linux-image-2.6.10-5-386'?

Two more things you could try - the first is 'sudo apt-get update && sudo apt-get -f install'. The -f switch is the 'fix' switch and might work.

Otherwise - you could try installing the linux-386 meta-package (sudo apt-get update && sudo apt-get install linux-386) which will download the newest linux-image as well as the various kernel modules pacakges as well.

Daniel
 
  


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 Upgrade Error BittaBrotha MEPIS 6 11-26-2005 02:27 AM
debian apt-get upgrade error strattonbrazil Debian 4 11-17-2005 07:52 AM
error after apt-get upgrade... twkz Debian 10 07-04-2005 10:28 AM
Error on 'apt-get upgrade' slackmagic Linux - Software 1 05-04-2004 03:54 PM
error with apt-get upgrade bronko Debian 6 01-07-2004 07:10 PM


All times are GMT -5. The time now is 08:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration