LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem apt-getting kdelibs-data (https://www.linuxquestions.org/questions/debian-26/problem-apt-getting-kdelibs-data-218807/)

powadha 08-17-2004 11:41 AM

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?

HappyTux 08-17-2004 02:11 PM

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.

powadha 08-17-2004 02:52 PM

Great! Worked like a charm....

debian_dummy 08-17-2004 10:02 PM

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)

HappyTux 08-17-2004 10:45 PM

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.

debian_dummy 08-17-2004 11:01 PM

Sweet :-) Worked a treat

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

Thanks HappyTux !

powadha 08-18-2004 12:14 AM

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

HappyTux 08-18-2004 12:48 AM

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.

nuka_t 08-18-2004 01:45 AM

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")

powadha 08-18-2004 02:41 AM

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

nuka_t 08-18-2004 03:13 AM

^ 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).

nuka_t 08-18-2004 07:05 PM

a mod should pin this thread.

nuka_t 08-18-2004 07:10 PM

i tried it again and it worked, however, my kde is still at 3.2..2, not 3.3 like its supposed to be.

nuka_t 08-19-2004 02:44 AM

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.

gwittenburg 08-23-2004 05:32 AM

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


All times are GMT -5. The time now is 12:47 AM.