LinuxQuestions.org
Help answer threads with 0 replies.
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 08-17-2004, 11:41 AM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Problem apt-getting kdelibs-data


For some reason I can't update this part of KDE. Even if I try -f option I keep getting:

debian:~# apt-get install kdelibs-data
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
kdelibs-data
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
164 not fully installed or removed.
Need to get 0B/7045kB of archives.
After unpacking 1532kB of additional disk space will be used.
(Reading database ... 114845 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.2.3-4 (using .../kdelibs-data_4%3a3.3.0-1_all.deb) ...
Unpacking replacement kdelibs-data ...
Replacing files in old package korganizer ...
Replacing files in old package openoffice.org-mimelnk ...
dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.3.0-1_all.deb (--unpack):
trying to overwrite `/usr/share/mimelnk/audio/x-ms-wma.desktop', which is also in package kmplayer
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kdelibs-data_4%3a3.3.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:~#


There are quite some packages to be update but I can't get them installed until this is fixed. Any clues?
 
Old 08-17-2004, 02:11 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Problem apt-getting kdelibs-data

Quote:
Originally posted by powadha
For some reason I can't update this part of KDE. Even if I try -f option I keep getting:

debian:~# apt-get install kdelibs-data
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
kdelibs-data
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
164 not fully installed or removed.
Need to get 0B/7045kB of archives.
After unpacking 1532kB of additional disk space will be used.
(Reading database ... 114845 files and directories currently installed.)
Preparing to replace kdelibs-data 4:3.2.3-4 (using .../kdelibs-data_4%3a3.3.0-1_all.deb) ...
Unpacking replacement kdelibs-data ...
Replacing files in old package korganizer ...
Replacing files in old package openoffice.org-mimelnk ...
dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.3.0-1_all.deb (--unpack):
trying to overwrite `/usr/share/mimelnk/audio/x-ms-wma.desktop', which is also in package kmplayer
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kdelibs-data_4%3a3.3.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:~#


There are quite some packages to be update but I can't get them installed until this is fixed. Any clues?
cd /var/cache/apt/archives then dpkg -i --force-overwrite kdelibs-data_4%3a3.3.0-1_all.deb and now dpkg --configure -a to get the packages left unconfigured. You may have to repeat the process a couple of times if you get more errors.
 
Old 08-17-2004, 02:52 PM   #3
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Great! Worked like a charm....
 
Old 08-17-2004, 10:02 PM   #4
debian_dummy
Member
 
Registered: Apr 2004
Distribution: Debian SID and Woody
Posts: 77

Rep: Reputation: 15
I have a similar problem after upgrading from Woody to Sarge.
The problem package is Webmin. Removing and reinstalling Webmin doesn't work. I have even deleted all the webmin files in /var/cache/apt/archives but no joy and I ran the dpkg --configure -a command listed above but still the same error appears every time I apt-get upgrade

I have tried the following commands and the output is below. Any assitance is appreciated

storage:/var/cache/apt/archives# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up webmin-apache (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-apache (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-core (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-core (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-inetd (1.150-2) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-inetd (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-mysql (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-mysql (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-sshd (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-sshd (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
webmin-apache
webmin-core
webmin-inetd
webmin-mysql
webmin-sshd
E: Sub-process /usr/bin/dpkg returned an error code (1)

storage:/var/cache/apt/archives# dpkg --configure -a

storage:/var/cache/apt/archives# apt-get remove webmin
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
webmin webmin-apache webmin-core webmin-inetd webmin-mysql webmin-sshd
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0B of archives.
After unpacking 19.0MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 36213 files and directories currently installed.)
Removing webmin-apache ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-apache (--remove):
subprocess pre-removal script returned error exit status 2
/etc/webmin/update.conf: No such file or directory
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Removing webmin-core ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-core (--remove):
subprocess pre-removal script returned error exit status 2
Removing webmin-inetd ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-inetd (--remove):
subprocess pre-removal script returned error exit status 2
Removing webmin-mysql ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-mysql (--remove):
subprocess pre-removal script returned error exit status 2
Removing webmin-sshd ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-sshd (--remove):
subprocess pre-removal script returned error exit status 2
Removing webmin ...
Stopping webmin: webmin.
Errors were encountered while processing:
webmin-apache
webmin-core
webmin-inetd
webmin-mysql
webmin-sshd
E: Sub-process /usr/bin/dpkg returned an error code (1)
storage:/var/cache/apt/archives# apt-get install webmin
Reading Package Lists... Done
Building Dependency Tree... Done
Recommended packages:
webmin-core
The following NEW packages will be installed:
webmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0B/1037kB of archives.
After unpacking 5722kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package webmin.
(Reading database ... 35185 files and directories currently installed.)
Unpacking webmin (from .../webmin_1.150-3_all.deb) ...
Setting up webmin (1.150-3) ...
You already have /etc/webmin/miniserv.pem
Starting webmin: webmin.

Setting up webmin-apache (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-apache (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-core (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-core (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-inetd (1.150-2) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-inetd (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-mysql (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-mysql (--configure):
subprocess post-installation script returned error exit status 2
Setting up webmin-sshd (1.150-3) ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-sshd (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
webmin-apache
webmin-core
webmin-inetd
webmin-mysql
webmin-sshd
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 08-17-2004, 10:45 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by debian_dummy




storage:/var/cache/apt/archives# apt-get remove webmin
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
webmin webmin-apache webmin-core webmin-inetd webmin-mysql webmin-sshd
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0B of archives.
After unpacking 19.0MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 36213 files and directories currently installed.)
Removing webmin-apache ...
/etc/webmin/update.conf: No such file or directory
dpkg: error processing webmin-apache (--remove):
subprocess pre-removal script returned error exit status 2
/etc/webmin/update.conf: No such file or directory
dpkg: error while cleaning up:
Try this to get rid of it dpkg -P --force-remove-reinstreq webmin and if it complains about the missing file again then touch /etc/webmin/update.conf and it will find it.
 
Old 08-17-2004, 11:01 PM   #6
debian_dummy
Member
 
Registered: Apr 2004
Distribution: Debian SID and Woody
Posts: 77

Rep: Reputation: 15
Sweet :-) Worked a treat

dpkg -P --force-remove-reinstreq webmin and then apt-get -f install

Thanks HappyTux !
 
Old 08-18-2004, 12:14 AM   #7
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Since problem 1 is solved, new ones keep popping up:

The following NEW packages will be installed:
kdenetwork-filesharing
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 620kB of archives.
After unpacking 2023kB of additional disk space will be used.
Get:1 ftp://ftp.nl.debian.org unstable/main kdenetwork-filesharing 4:3.3.0-1 [620kB]
Fetched 620kB in 2s (216kB/s)
(Reading database ... 115689 files and directories currently installed.)
Unpacking kdenetwork-filesharing (from .../kdenetwork-filesharing_4%3a3.3.0-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/kdenetwork-filesharing_4%3a3.3.0-1_i386.deb (--unpack):
trying to overwrite `/usr/lib/kde3/libkcm_kcmsambaconf.la', which is also in package ksambaplugin
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kdenetwork-filesharing_4%3a3.3.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:~#

A similar error but a different package (this time it's a new package not an upgrade) any clues on how to get this installed and why do these errors occur? I tried dpkg --force-help but couldn't find the option I need. --Force-all didn't work. System used to run very smooth, I hope this is not going to be a daily routine.....

Regards
 
Old 08-18-2004, 12:48 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by powadha
Since problem 1 is solved, new ones keep popping up:

debian:~#

A similar error but a different package (this time it's a new package not an upgrade) any clues on how to get this installed and why do these errors occur? I tried dpkg --force-help but couldn't find the option I need. --Force-all didn't work. System used to run very smooth, I hope this is not going to be a daily routine.....

Regards
No it is not a daily routine those are newer packages that have just entered testing from unstable and just a week or so ago they were still in experimental and they are a little rough around the edges installing but run great once installed, their are only a few of them. You just use the same --force-overwrite command as already mentioned you may have to put a couple of packages on the same command line use the --configure -a and they will install eventually.
 
Old 08-18-2004, 01:45 AM   #9
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
Quote:
Originally posted by powadha
Great! Worked like a charm....
suree........... it works for other people but not for me(see a thread i made a couple threads down called "error updating kde through synaptic in mepis")
 
Old 08-18-2004, 02:41 AM   #10
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by HappyTux
No it is not a daily routine those are newer packages that have just entered testing from unstable and just a week or so ago they were still in experimental and they are a little rough around the edges installing but run great once installed, their are only a few of them. You just use the same --force-overwrite command as already mentioned you may have to put a couple of packages on the same command line use the --configure -a and they will install eventually.
Thanx for explaining! The force option did his job (again) so all is back to normal. They programs do indeed run perfectly once installed, so I just have to write this solution down for wenever I need to use this again in the future!

Regards
 
Old 08-18-2004, 03:13 AM   #11
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
^ so kde 3.3 rc2 runs ok after doing this? i got it to install, but it was all messed up. anyway, Final is due in a few hours so les hope they fix this.

hehe, theres a pic of al gore with a caption that says

"any more of this shit and ill turn off the interweb"

i dunno why, but this thread reminded me of that (the topic of the thread, not the thread itself).
 
Old 08-18-2004, 07:05 PM   #12
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
a mod should pin this thread.
 
Old 08-18-2004, 07:10 PM   #13
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
i tried it again and it worked, however, my kde is still at 3.2..2, not 3.3 like its supposed to be.
 
Old 08-19-2004, 02:44 AM   #14
nuka_t
Member
 
Registered: Jun 2004
Location: Kalifornia
Distribution: YOPER+KDE
Posts: 263

Rep: Reputation: 30
well, 2 hours and 530 packages later, i finally got it to work. thanks happytux. kde 3.3 pwnz BTW. it looks sooo much cleaner and less bloated. hell, even keramik dosnt look half bad.
 
Old 08-23-2004, 05:32 AM   #15
gwittenburg
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Fixed in new package of KMplayer.

Hi!

The problem with kdelibs-data is fixed in the new package of kmplayer available at http://mentors.debian.net/debian/pool/main/k/kmplayer/. Unfortunately, mentors.debian.net has switched to source-only packages, so there's no binary. Suggestions for an alternative repository are welcome.

Regards,
Georg
 
  


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
KDElibs problem f1dave Ubuntu 1 07-01-2005 03:54 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
kdelibs... ganninu Debian 4 11-09-2003 05:16 AM
cannot apt-get anything Kdelibs-data error quo_vadis Debian 1 10-15-2003 06:23 AM
kdelibs-3.0.2 karinne Linux - Software 1 07-25-2002 03:22 PM

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

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