LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2015, 08:21 PM   #16
twork
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Rep: Reputation: Disabled

Okay, my mistake. I thought maybe some process had died and left a lock file behind, and that was why some of your package utilities are failing to run. But my guess was wrong; checked one of my own Debian machines and it has a lock file in the same place. Sorry for the bad guess.

So, no idea why your 'apt-get update' is refusing to run. Has that ever happened to you before? Are you sure you ran that command with sudo?

But, that's independent from being unable to remove kipi-plugins.

I'm wondering if there are other pieces of kibi that might be getting in our way. What do you get from:
Code:
% dpkg-query -l 'kipi*'
...?

Does anything in your system depend on the package? Try:
Code:
% apt-cache rdepends kipi-plugins
If kibi-plugins is a package we really don't need, there might be a way to just get rid of it.

Or, we may discover something that you do want to keep after all.
 
Old 09-05-2015, 04:39 PM   #17
LinuxSU
LQ Newbie
 
Registered: Jul 2015
Posts: 25

Original Poster
Rep: Reputation: Disabled
I do not used digi cam and do not needed so I removed. Was only for fun. Only few times I used digi cam. I installed only to try. And before never was any problem with apt-get update. And first time I have problem with some error.

root@linuxSU:/home/linuxSU# sudo apt-cache rdepends kipi-plugins
kipi-plugins
Reverse Depends:
kipi-plugins:i386
kipi-plugins:armhf
kphotoalbum
kamoso
showfoto
digikam
education-desktop-kde
root@linuxSU:/home/linuxSU# sudo dpkg-query -l 'kipi*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-============-============-====================================
rH kipi-plugins 4:2.6.0-1+de amd64 image manipulation/handling plugins
ii kipi-plugins-co 4:2.6.0-1+de all kipi-plugins architecture-independen
root@linuxSU:/home/linuxSU# sudo lsof /var/lib/apt/lists/lock
root@linuxSU:/home/linuxSU# sudo ls -al /var/lib/apt/lists
total 149112
drwxr-xr-x 3 root root 20480 Sep 5 00:01 .
drwxr-xr-x 5 root root 4096 Aug 31 02:00 ..
-rw-r--r-- 1 root root 6535 Aug 13 20:02 download.virtualbox.org_virtualbox_debian_dists_wheezy_contrib_binary-amd64_Packages
-rw-r--r-- 1 root root 6537 Aug 13 20:02 download.virtualbox.org_virtualbox_debian_dists_wheezy_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 5398 Aug 13 20:03 download.virtualbox.org_virtualbox_debian_dists_wheezy_Release
-rw-r--r-- 1 root root 33826 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-amd64_Packages
-rw-r--r-- 1 root root 262 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-amd64_Packages.ed
-rw-r--r-- 1 root root 5611 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-amd64_Packages.IndexDiff
-rw-r--r-- 1 root root 19860 Feb 3 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-armhf_Packages
-rw-r--r-- 1 root root 53 Feb 3 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-armhf_Packages.ed
-rw-r--r-- 1 root root 3403 Feb 3 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-armhf_Packages.IndexDiff
-rw-r--r-- 1 root root 33776 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 261 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-i386_Packages.ed
-rw-r--r-- 1 root root 5611 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_binary-i386_Packages.IndexDiff
-rw-r--r-- 1 root root 20770 Nov 14 2014 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_i18n_Translation-en
-rw-r--r-- 1 root root 2161 Nov 22 2014 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_i18n_Translation-en.IndexDiff
-rw-r--r-- 1 root root 29848 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_source_Sources
-rw-r--r-- 1 root root 29 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_source_Sources.ed
-rw-r--r-- 1 root root 7819 Jun 3 10:30 ftp.uk.debian.org_debian_dists_wheezy-backports_contrib_source_Sources.IndexDiff
-rw-r--r-- 1 root root 2867983 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-amd64_Packages
-rw-r--r-- 1 root root 33 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-amd64_Packages.ed
-rw-r--r-- 1 root root 7819 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-amd64_Packages.IndexDiff
-rw-r--r-- 1 root root 2749208 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-armhf_Packages
-rw-r--r-- 1 root root 33 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-armhf_Packages.ed
-rw-r--r-- 1 root root 7819 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-armhf_Packages.IndexDiff
-rw-r--r-- 1 root root 2865930 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-i386_Packages
-rw-r--r-- 1 root root 33 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-i386_Packages.ed
-rw-r--r-- 1 root root 7819 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_binary-i386_Packages.IndexDiff
-rw-r--r-- 1 root root 2061245 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_i18n_Translation-en
-rw-r--r-- 1 root root 33 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_i18n_Translation-en.ed
-rw-r--r-- 1 root root 7819 Aug 16 15:35 ftp.uk.debian.org_debian_dists_wheezy-backports_main_i18n_Translation-en.IndexDiff
-rw-r--r-- 1 root root 2390465 Aug 21 15:56 ftp.uk.debian.org_debian_dists_wheezy-backports_main_source_Sources
-rw-r--r-- 1 root root 33 Aug 21 15:56 ftp.uk.debian.org_debian_dists_wheezy-backports_main_source_Sources.ed
-rw-r--r-- 1 root root 7819 Aug 21 15:56 ftp.uk.debian.org_debian_dists_wheezy-backports_main_source_Sources.IndexDiff
-rw-r--r-- 1 root root 115059 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-amd64_Packages
-rw-r--r-- 1 root root 256 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-amd64_Packages.ed
-rw-r--r-- 1 root root 6853 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-amd64_Packages.IndexDiff
-rw-r--r-- 1 root root 20438 Feb 2 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-armhf_Packages
-rw-r--r-- 1 root root 295 Feb 2 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-armhf_Packages.ed
-rw-r--r-- 1 root root 2713 Feb 2 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-armhf_Packages.IndexDiff
-rw-r--r-- 1 root root 122526 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 257 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-i386_Packages.ed
-rw-r--r-- 1 root root 6715 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_binary-i386_Packages.IndexDiff
-rw-r--r-- 1 root root 130217 Jan 26 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_i18n_Translation-en
-rw-r--r-- 1 root root 345 Jan 26 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_i18n_Translation-en.ed
-rw-r--r-- 1 root root 4507 Jan 26 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_i18n_Translation-en.IndexDiff
-rw-r--r-- 1 root root 37565 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_source_Sources
-rw-r--r-- 1 root root 29 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_source_Sources.ed
-rw-r--r-- 1 root root 6991 Feb 17 2015 ftp.uk.debian.org_debian_dists_wheezy-backports_non-free_source_Sources.IndexDiff
-rw-r--r-- 1 root root 166799 Sep 4 21:42 ftp.uk.debian.org_debian_dists_wheezy-backports_Release
-rw-r--r-- 1 root root 1554 Sep 4 21:42 ftp.uk.debian.org_debian_dists_wheezy-backports_Release.gpg
-rw-r--r-- 1 root root 164412 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_contrib_binary-amd64_Packages
-rw-r--r-- 1 root root 124029 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_contrib_binary-armhf_Packages
-rw-r--r-- 1 root root 165620 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 123828 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_contrib_i18n_Translation-en
-rw-r--r-- 1 root root 175723 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_contrib_source_Sources
-rw-r--r-- 1 root root 28478149 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
-rw-r--r-- 1 root root 27797173 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_main_binary-armhf_Packages
-rw-r--r-- 1 root root 28529643 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_main_binary-i386_Packages
-rw-r--r-- 1 root root 18477139 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_main_i18n_Translation-en
-rw-r--r-- 1 root root 25289574 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_main_source_Sources
-rw-r--r-- 1 root root 370361 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_non-free_binary-amd64_Packages
-rw-r--r-- 1 root root 233309 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_non-free_binary-armhf_Packages
-rw-r--r-- 1 root root 351164 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 285566 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_non-free_i18n_Translation-en
-rw-r--r-- 1 root root 373762 Jan 10 2015 ftp.uk.debian.org_debian_dists_wheezy_non-free_source_Sources
-rw-r--r-- 1 root root 168219 Apr 25 11:59 ftp.uk.debian.org_debian_dists_wheezy_Release
-rw-r--r-- 1 root root 2390 Apr 25 12:16 ftp.uk.debian.org_debian_dists_wheezy_Release.gpg
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_contrib_binary-amd64_Packages
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_contrib_binary-armhf_Packages
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_contrib_i18n_Translation-en
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_contrib_source_Sources
-rw-r--r-- 1 root root 18994 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages
-rw-r--r-- 1 root root 523 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages.ed
-rw-r--r-- 1 root root 3403 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages.IndexDiff
-rw-r--r-- 1 root root 15732 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-armhf_Packages
-rw-r--r-- 1 root root 523 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-armhf_Packages.ed
-rw-r--r-- 1 root root 3403 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-armhf_Packages.IndexDiff
-rw-r--r-- 1 root root 18969 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-i386_Packages
-rw-r--r-- 1 root root 523 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-i386_Packages.ed
-rw-r--r-- 1 root root 3403 Aug 12 22:06 ftp.uk.debian.org_debian_dists_wheezy-updates_main_binary-i386_Packages.IndexDiff
-rw-r--r-- 1 root root 14215 May 7 22:36 ftp.uk.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en
-rw-r--r-- 1 root root 690 May 7 22:36 ftp.uk.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en.ed
-rw-r--r-- 1 root root 2023 May 7 22:36 ftp.uk.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en.IndexDiff
-rw-r--r-- 1 root root 10335 Sep 4 21:16 ftp.uk.debian.org_debian_dists_wheezy-updates_main_source_Sources
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_non-free_binary-amd64_Packages
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_non-free_binary-armhf_Packages
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_non-free_i18n_Translation-en
-rw-r--r-- 1 root root 0 Sep 4 21:17 ftp.uk.debian.org_debian_dists_wheezy-updates_non-free_source_Sources
-rw-r--r-- 1 root root 150865 Sep 4 21:42 ftp.uk.debian.org_debian_dists_wheezy-updates_Release
-rw-r--r-- 1 root root 1554 Sep 4 21:42 ftp.uk.debian.org_debian_dists_wheezy-updates_Release.gpg
-rw-r----- 1 root root 0 Oct 27 2013 lock
drwxr-xr-x 2 root root 4096 Sep 5 00:01 partial
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_contrib_binary-amd64_Packages
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_contrib_binary-armhf_Packages
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 799 Sep 4 09:41 security.debian.org_dists_wheezy_updates_contrib_i18n_Translation-en
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_contrib_source_Sources
-rw-r--r-- 1 root root 1670989 Sep 4 09:41 security.debian.org_dists_wheezy_updates_main_binary-amd64_Packages
-rw-r--r-- 1 root root 1631592 Sep 4 09:41 security.debian.org_dists_wheezy_updates_main_binary-armhf_Packages
-rw-r--r-- 1 root root 1684694 Sep 4 09:41 security.debian.org_dists_wheezy_updates_main_binary-i386_Packages
-rw-r--r-- 1 root root 1138885 Sep 4 09:41 security.debian.org_dists_wheezy_updates_main_i18n_Translation-en
-rw-r--r-- 1 root root 1000312 Sep 4 09:41 security.debian.org_dists_wheezy_updates_main_source_Sources
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_non-free_binary-amd64_Packages
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_non-free_binary-armhf_Packages
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_non-free_i18n_Translation-en
-rw-r--r-- 1 root root 0 Sep 4 09:41 security.debian.org_dists_wheezy_updates_non-free_source_Sources
-rw-r--r-- 1 root root 102271 Sep 4 09:41 security.debian.org_dists_wheezy_updates_Release
-rw-r--r-- 1 root root 1554 Sep 4 09:41 security.debian.org_dists_wheezy_updates_Release.gpg
-rw-r--r-- 1 root root 40232 Dec 1 2014 http://www.openprinting.org_download...amd64_Packages
-rw-r--r-- 1 root root 40198 Dec 1 2014 http://www.openprinting.org_download...-i386_Packages
-rw-r--r-- 1 root root 0 Mar 7 2014 http://www.openprinting.org_download...Translation-en
-rw-r--r-- 1 root root 8180 Dec 1 2014 http://www.openprinting.org_download...lsb3.2_Release

Last edited by LinuxSU; 09-05-2015 at 04:45 PM.
 
Old 09-05-2015, 08:58 PM   #18
twork
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Rep: Reputation: Disabled
Okay. Have you tried removing all those packages, then trying your original goal again?
 
Old 09-06-2015, 04:26 PM   #19
LinuxSU
LQ Newbie
 
Registered: Jul 2015
Posts: 25

Original Poster
Rep: Reputation: Disabled
I trying without positive results:
Quote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libwpd-0.9-9 libwpg-0.2-2
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
digikam gerbv kipi-plugins libamd2.2.0 libatk-wrapper-java-jni libatkmm-1.6-1
libaudcore1 libbabl-0.1-0 libcairo-gobject2 libcanberra-gtk3-0 libcolamd2.7.1
libdb5.1-java-jni libexo-1-0 libfarstream-0.1-0 libgail-3-0 libgail18 libgcr-3-1
libgdk-pixbuf2.0-0 libgegl-0.2-0 libgimp2.0 libgksu2-0 libgpod4-nogtk
libgraphicsmagick++3 libgraphicsmagick3 libgtk-3-0 libgtk2.0-0 libgtkglext1
libgtkmm-2.4-1c2a libgtkmm-3.0-1 libgtkspell0 libkeybinder0 libksane0 libmpdclient2
libnotify4 libopencv-calib3d2.3 libopencv-contrib2.3 libopencv-features2d2.3
libopencv-highgui2.3 libopencv-legacy2.3 libopencv-objdetect2.3 libpangomm-1.4-1
libpurple0 librsvg2-2 libscim8c2a libtelepathy-farstream2
libtelepathy-qt4-farstream2 libthunarx-2-0 libtiff5 libtumbler-1-0 libumfpack5.4.0
libvisio-0.0-0 libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwmf0.2-7 libwnck22
libwps-0.2-2 libwxgtk2.8-0 libxfce4ui-1-0 linuxcnc-sim xfce4-panel xfce4-session
0 upgraded, 0 newly installed, 61 to remove and 34 not upgraded.
62 not fully installed or removed.
After this operation, 202 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 214712 files and directories currently installed.)
Removing kipi-plugins ...
ldconfig: Writing of cache data failed: No such file or directory
dpkg: error processing kipi-plugins (--remove):
subprocess installed post-removal script returned error exit status 1
Removing digikam ...
ldconfig: Writing of cache data failed: No such file or directory
dpkg: error processing digikam (--remove):
...
With autoremove also are errors.

Last edited by LinuxSU; 09-06-2015 at 04:29 PM.
 
Old 09-07-2015, 08:27 PM   #20
twork
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Rep: Reputation: Disabled
Without a wider look at your system, I don't know what's failing, sorry. Hoping somebody with more experience with the finer details of Debian's package handling can step in.

...what's the path that ldconfig doesn't find? Whatever it is, it looks like it isn't specific to the package you're trying to remove. But I'm at a loss to suggest where to look next, sorry.
 
Old 09-10-2015, 06:39 PM   #21
LinuxSU
LQ Newbie
 
Registered: Jul 2015
Posts: 25

Original Poster
Rep: Reputation: Disabled
Hi. Now is:

Quote:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mime-support (3.52-1+deb7u1) ...
Error: contents of '/etc/mailcap.new' do not match what was written -- abort
dpkg: error processing mime-support (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
mime-support
Press Return to continue.
Quote:
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
Still to install anything is info:
Quote:
The following packages will be REMOVED:
digikam gerbv kipi-plugins libamd2.2.0 libatk-wrapper-java-jni libatkmm-1.6-1
libaudcore1 libbabl-0.1-0 libcairo-gobject2 libcanberra-gtk3-0 libcolamd2.7.1
libdb5.1-java-jni libexo-1-0 libfarstream-0.1-0 libgail-3-0 libgail18 libgcr-3-1
libgdk-pixbuf2.0-0 libgegl-0.2-0 libgimp2.0 libgksu2-0 libgpod4-nogtk
libgraphicsmagick++3 libgraphicsmagick3 libgtk-3-0 libgtk2.0-0 libgtkglext1
libgtkmm-2.4-1c2a libgtkmm-3.0-1 libgtkspell0 libkeybinder0 libksane0 libmpdclient2
libnotify4 libopencv-calib3d2.3 libopencv-contrib2.3 libopencv-features2d2.3
libopencv-highgui2.3 libopencv-legacy2.3 libopencv-objdetect2.3 libpangomm-1.4-1
libpurple0 librsvg2-2 libscim8c2a libtelepathy-farstream2
libtelepathy-qt4-farstream2 libthunarx-2-0 libtiff5 libtumbler-1-0 libumfpack5.4.0
libvisio-0.0-0 libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwmf0.2-7 libwnck22
libwps-0.2-2 libwxgtk2.8-0 libxfce4ui-1-0 linuxcnc-sim xfce4-panel xfce4-session
Quote:
sudo apt-get clean; sudo apt-get update
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
This packages was broken, was fixed:
Quote:
libvisio-0.0- 0
libwpg-0.2- 2
libwps-0.2- 2
But now is:
Quote:
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mime-support (3.52-1+deb7u1) ...
Error: contents of '/etc/mailcap.new' do not match what was written -- abort
dpkg: error processing mime-support (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
mime-support
Press Return to continue.
I don't know really how to solve this problem(s).
Regards.

Last edited by LinuxSU; 09-10-2015 at 07:10 PM.
 
Old 09-17-2015, 11:57 AM   #22
twork
LQ Newbie
 
Registered: Mar 2015
Posts: 20

Rep: Reputation: Disabled
Sorry, I don't have a solution to this.

One thing I notice:

Code:
sudo apt-get clean; sudo apt-get update
...should be:

Code:
sudo apt-get clean && sudo apt-get update
That way, the second command will only run if the first one completes successfully. The way you've written it, I don't know which one failed. But, until we get your system fixed, apt-get won't be able to update it, so there's not much point in trying those commands right now.

Do you ever install software by any means other than the Debian package system? That might account for some of the path errors we see.

This:
Code:
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
...is something we need to solve somehow, but it's strange. The error message about not being able to lock it suggests that some other process is running there, but we don't find one. (RIght?)

How long has this system been running? What do we get from:
Code:
$ uptime
...?
 
Old 09-17-2015, 04:12 PM   #23
LinuxSU
LQ Newbie
 
Registered: Jul 2015
Posts: 25

Original Poster
Rep: Reputation: Disabled
My friend said to me "Check if you have directory outside of the normal tree. Unmount the boot, check the contents of the boot clear without mercy, mount the boot
Check / root, clean without mercy." I asked him how I can check tree, when I do not have installed tree and I can't install?? And I trying cleaning, before he sending me this mail, but without results. Any update, upgrade do not helping me. Do I installed something?? Wow. I'm not sure, but perhabs yes... I do not remember what, and when, right now I try all the time find solution to have working properly my system.
Quote:
Filesystem Size Used Avail Use% Mounted on
rootfs 991M 975M 0 100% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 789M 836K 788M 1% /run
/dev/sda8 991M 975M 0 100% /
/dev/sda9 23G 9.4G 13G 43% /usr
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.1G 84K 3.1G 1% /run/shm
/dev/sda6 238M 62M 159M 29% /boot
/dev/sda1 260M 51M 210M 20% /boot/efi
/dev/sda11 23G 8.1G 14G 37% /home
/dev/sda12 9.8G 23M 9.2G 1% /tmp
/dev/sda10 9.8G 1020M 8.3G 11% /var
This happen when I every time try install something...
Quote:
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mime-support (3.52-1+deb7u1) ...
Error: contents of '/etc/mailcap.new' do not match what was written -- abort
dpkg: error processing mime-support (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
mime-support
Press Return to continue.
After when I be successfully cleaning root I thinking to install exroot.
And I don't know why is kipi-plugins on first place. I trying force remove kipi-plugins, but system do not removed.
Regards. Thanks for respond.
 
  


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
building sge-8.1.3 error - collect2: error: ld returned 1 exit status Reignfire Linux - Software 0 05-08-2013 01:45 PM
Error: collect 2: ld returned 1 exit status Rituparna Linux - Software 11 06-25-2009 02:54 PM
eturned error exit status 2 sulekha Ubuntu 1 11-14-2008 04:05 AM
error exit status 30 debian_dummy Debian 2 09-21-2004 10:26 PM
glibc error: ld retured 1 exit status rahul_jain_9684 Linux From Scratch 2 09-17-2003 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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