DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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)
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.
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.....
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.
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")
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!
^ 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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.