LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-28-2006, 08:54 AM   #1
Pudduh
LQ Newbie
 
Registered: Jun 2004
Location: Essex, UK
Distribution: Debian (Sarge)
Posts: 26

Rep: Reputation: 15
Apt-get upgrade problem on Sarge work PC.


Hello I'm trying to update my Debian linux install. It is on a PC on my work network behind a proxy. cat /proc/version gives us:

Code:
Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Wed Aug 17 09:33:35 UTC 2005
My apt-get sources list is the same as that posted in the very first post of the Apt sources sticky in this Debian forum. However all sources except for the standard Debian stable & unstable and the Unoffical Debian depositories are #'ed out. Debian can't seem to see or find Marillat. I put that down to the fact I am behind a proxy.

Now when I use apt-get dist-upgrade to update my Linux install it downloads the files. However when it comes to install them it goes so far before comming up with this:

Code:
Preparing to replace kdemultimedia-kio-plugins 4:3.3.2-1 (using .../kdemultimedia-kio-plugins_4%3a3.5.1-1_i386.deb) ...
Unpacking replacement kdemultimedia-kio-plugins ...
dpkg: error processing /var/cache/apt/archives/kdemultimedia-kio-plugins_4%3a3.5.1-1_i386.deb (--unpack):
 trying to overwrite `/usr/share/doc/kde/HTML/en/kioslave/audiocd.docbook', which is also in package kdebase-kio-plugins
Segmentation fault
Alphonse:/etc/apt# dpkg-deb: subprocess paste killed by signal (Broken pipe)
Can anyone tell me where I'm going wrong here and what I can do to get around this?
 
Old 02-28-2006, 09:33 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Packaging bug one package contains a file that is in another try dpkg -i --force-overwrite /var/cache/apt/archives/kdemultimedia-kio-plugins_4%3a3.5.1-1_i386.deb then dpkg --configure -a to get the unconfigured packages when the error happend and repeat the last command before the error to make sure everything got installed.
 
Old 02-28-2006, 09:51 AM   #3
Pudduh
LQ Newbie
 
Registered: Jun 2004
Location: Essex, UK
Distribution: Debian (Sarge)
Posts: 26

Original Poster
Rep: Reputation: 15
Hmm when I enter the first command I get this:

Code:
Alphonse:/home/prestwick# dpkg -i --force-overwrite /var/cache/apt/archives/kdemultimedia-kio-plugins_4%3a3.5.1-1_i386.deb
(Reading database ... 95158 files and directories currently installed.)
Preparing to replace kdemultimedia-kio-plugins 4:3.3.2-1 (using .../kdemultimedia-kio-plugins_4%3a3.5.1-1_i386.deb) ...
Unpacking replacement kdemultimedia-kio-plugins ...
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/share/doc/kde/HTML/en/kioslave/audiocd.docbook', which is also in package kdebase-kio-plugins
dpkg: dependency problems prevent configuration of kdemultimedia-kio-plugins:
 kdemultimedia-kio-plugins depends on kdelibs4c2a (>= 4:3.5.1-1); however:
  Package kdelibs4c2a is not installed.
 kdemultimedia-kio-plugins depends on libartsc0 (>= 1.5.0-1); however:
  Package libartsc0 is not configured yet.
 kdemultimedia-kio-plugins depends on libcdparanoia0 (>= 3a9.8-11); however:
  Package libcdparanoia0 is not configured yet.
 kdemultimedia-kio-plugins depends on libkcddb1 (>= 4:3.5.1-1); however:
  Package libkcddb1 is not configured yet.
 kdemultimedia-kio-plugins depends on libtag1c2a (>= 1.4); however:
  Package libtag1c2a is not configured yet.
 kdemultimedia-kio-plugins depends on libvorbis0a (>= 1.1.2); however:
  Package libvorbis0a is not configured yet.
 kdemultimedia-kio-plugins depends on libvorbisenc2 (>= 1.1.2); however:
  Package libvorbisenc2 is not configured yet.
 kdemultimedia-kio-plugins depends on libvorbisfile3 (>= 1.1.2); however:
  Package libvorbisfile3 is not configured yet.
dpkg: error processing kdemultimedia-kio-plugins (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 kdemultimedia-kio-plugins
Is this good. It sounds like that those unresolved dependencies are a result of me not having the right depositories enabled?
 
Old 02-28-2006, 10:05 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Try the --configure -a command first to see if those package will configure themselves you may have to thrown in a apt-get -f install along the way as well and comment out anything having to do with stable in the sources.list then apt-get update.
 
Old 02-28-2006, 10:56 AM   #5
Pudduh
LQ Newbie
 
Registered: Jun 2004
Location: Essex, UK
Distribution: Debian (Sarge)
Posts: 26

Original Poster
Rep: Reputation: 15
Right! Cheers I seem to be blundering in the right direction now!

I will let you know how I get on.
 
Old 02-28-2006, 02:05 PM   #6
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
You were upgrading Sarge to Etch or Sid? I remember upgrading Sarge to Etch and having to upgrade kernel and xorg(and redoing nvidia setup)1st before doing rest of aptitude --with-recommends dist-upgrade(after changing apt sources.list from sarge to etch/testing as well as the marillat to etch). And doing the dist-upgrade without gdm and X running worked out better.
Doing the dist-upgrade straight off gave me numerous error messages about udev,hot plug and similar broken packages errors. aptitude -s dist-upgrades(practice runs) were also helpful.

Last edited by lestoil; 02-28-2006 at 02:09 PM.
 
Old 03-01-2006, 03:13 AM   #7
Pudduh
LQ Newbie
 
Registered: Jun 2004
Location: Essex, UK
Distribution: Debian (Sarge)
Posts: 26

Original Poster
Rep: Reputation: 15
I honestly don't know what I've upgraded to, I'm kind of randomly doing things here to see what happens

Currently I am running what appears to be "Debian Unstable" and it goes straight to the command prompt on loading. "startx" works but loads KDE 3.5 instead of Gnome
 
Old 03-01-2006, 03:48 AM   #8
lpd
Member
 
Registered: Nov 2004
Distribution: Debian Unstable
Posts: 77

Rep: Reputation: 15
You had a graphical login screen before the upgrade?
Sounds like your display manage(xdm, kdm, gdm etc) got thrown out during the upgrade. That happens some times when you upgrade. Just reinstall it and perhaps some of the gnome packages too. (gnome-core perhaps?)
 
Old 03-01-2006, 03:50 AM   #9
Pudduh
LQ Newbie
 
Registered: Jun 2004
Location: Essex, UK
Distribution: Debian (Sarge)
Posts: 26

Original Poster
Rep: Reputation: 15
Yes I did have a graphical login screen before

I think dpkg configure had been inturrupted so I'll finish that before anything.
 
Old 03-01-2006, 10:54 AM   #10
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
sarge upgrade.

Random upgrade can be bad for your system. Upgrades through synaptic's smart upgrade(after changing sources.list to version to want to upgrade to) can workout. But from command line it is best not to have gdm or x running. Check http://www.debianhelp.co.uk/ for helpful guides. Good luck.
 
  


Reply



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
Upgrade from Sarge to Etch: problem w/ locale and GUI drakebasher Debian 9 05-20-2008 03:14 AM
Qt upgrade in Debian (sarge) using apt-get? Saith Linux - Software 2 02-11-2006 07:55 PM
Network problem after upgrade to sarge Nykon Debian 1 09-23-2005 06:54 PM
Problem when configuring apt after installing sarge tomj88 Debian 3 06-08-2005 02:25 PM
Problems configuring apt-get: It seems to work but I can't dist-upgrade or install chaca1983 Debian 2 10-13-2004 12:14 PM

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

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