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 06-07-2006, 09:18 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: 48
apt-get update problem


I tried to upgrade my KDE install, and it broke it. I can't get KDE to happen anymore. When I try to run apt-get update; apt-get dist-upgrade, I get the error
Code:
dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb (--unpack): trying to overwrite '/usr/X11R6/bin', which is also in package opera
Errors encountered while processing: /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to fix it a couple of times, and sometimes I get errors about that package not being authentic. I'm getting them from the debian repos. Suggestions?
 
Old 06-07-2006, 09:39 PM   #2
docalton
Member
 
Registered: Dec 2002
Location: St Louis, MO
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 15
I had problems like that, I believe that I fixed it by cleaning up the cached updates. Of course, if your on a slow modem that might suck having to start over. But the command: apt-get clean
will clean up your downloads of previous updates and partial downloads. Perhaps a corrupt download? I don't remember exactly. I suppose I should document these types of things. :-(

As for the authenticity warnings, it sounds like gnupg isnt installed. Or perhaps the keys have expired and you need to put the latest keys on the keyring. The command: apt-keys list
will list all the keys on that keyring and tell you which are expired. It will complain if gnupg isn't installed and will give you a hint.

Hope this helps
 
Old 06-07-2006, 11:14 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
I've got gnupg, I'll look into the expiration of it. I've cleaned the cache a couple of times.
 
Old 06-08-2006, 12:04 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Uninstall Opera then run it again. Opera has been causing problems lately. There are a couple other threads with the same problems.
 
Old 06-08-2006, 12:07 AM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
it won't let me uninstall opera. I tried that, and it kept giving me a similar error, about how packages were broken. I've tried everything I can think of. Is there a way to force dpkg to uninstall a package?
 
Old 06-08-2006, 05:53 PM   #6
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
I'm not exactly sure what I did to fix it. I did the
Code:
apt-key update
and that did a little bit. Then I ran deselect, and hit the "remove" option. It deleted a bunch of stuff. I had to go back and reinstall the xserver, and KDE. But it's now working, so all is good. Thanks for your help
 
Old 06-09-2006, 07:17 AM   #7
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Rep: Reputation: 15
you can also try the command
Code:
dpkg --force-overwrite -i /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb

Last edited by Cataract; 06-15-2006 at 06:29 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



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update problem gmh04 Debian 10 01-16-2007 07:49 PM
apt-get update problem darknails Linux - General 2 06-04-2006 12:36 PM
apt-get update problem rockymaxsource Debian 1 02-26-2006 04:14 AM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM
Problem with apt-get update norfenstein Debian 2 02-05-2004 01:36 PM

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

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