LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 06-16-2005, 03:36 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 45
apt error, messed up after tried installing kernel-source-2.6.8


ok, so I downloaded a sarge CD set. The only difference is that disk one was downloaded 8 days before sarge went stable. I don't think that would affect anything. I tried installing the kernel-source-2.6.8 package, and I got some error because the CD was scratched, and it was unable to read the CD. Now it won't let me uninstall this half of a package. I removed the file kernel-source-2.6.8.tar.bz2.<can't remember what was here, it wasn't .deb>. Aptitude is not showing this package as installed, and any time I try to install something, it say something about kernel-source-2.6.8 needing to be reinstalled, but that it can't find an archive of it. I have run apt-get clean a couple of times, trying to keep my system clean. Any suggestions? I may need a little while to get any more information, because I don't have internet under linux. Thanks in advance.
 
Old 06-17-2005, 12:38 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Do apt-get remove <package_name> and then apt-get --purge remove <package_name>.
If that fails try;
If an installation breaks in the middle of the process and you find that it's no longer possible to install or remove packages, try running these two commands:

# apt-get -f install
# dpkg --configure -a

And then try again. It may be necessary to run the second of the above commands more than once. This is an important lesson for those adventurers who use `unstable'.
It is useful to have APT Documentation in your bookmarks or even a printed copy for reference

Last edited by TigerOC; 06-17-2005 at 12:42 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
Error installing nVidia-driver-missing kernel-source? anemic Debian 6 12-17-2004 11:52 AM
Kernel source error installing OSS inca88 Linux - Software 1 08-10-2004 06:20 PM
apt-get kernel source Zaskar Debian 2 02-25-2004 02:22 PM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM


All times are GMT -5. The time now is 12:53 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