Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Installation database corruption (http://www.linux-archive.org/ubuntu-user/601992-installation-database-corruption.html)

Leo Noordhuizen 11-24-2011 12:21 AM

Installation database corruption
 
Hello,
(Running UBUNTU 11.04)
I seem to be unable to do anything regarding installing or removing applications, as I get an errormessage that the system is broken:


"Check if you are using third party repositories. If so disable them, since they are a common source of problems.Furthermore run the following command in a Terminal: apt-get install -f

The following packages have unmet dependencies:
gimp-plugin-registry: Depends: libgcc1 (>= 1:4.1.1) but 1:4.5.2-8ubuntu4 is installed* * * * * * * * * * * Depends: libice6 (>= 1:1.0.0) but 2:1.0.7-1ubuntu1 is installed

* * * * * * * * * * * Depends: libjpeg62 (>= 6b1) but 6b1-1ubuntu1 is installed* * * * * * * * * * * Depends: libstdc++6 (>= 4.5) but 4.5.2-8ubuntu4 is installed* * * * * * * * * * * Depends: libtiff-tools but it is not installed

"If I do the suggested "apt-get install -f" I get:$ sudo apt-get install -fReading package lists... DoneBuilding dependency tree * * **Reading state information... Done

Correcting dependencies... DoneThe following package was automatically installed and is no longer required:* screen-resolution-extraUse 'apt-get autoremove' to remove them.

The following extra packages will be installed:* libtiff-toolsSuggested packages:* libtiff-openglThe following NEW packages will be installed:* libtiff-tools

0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.5 not fully installed or removed.Need to get 0 B/246 kB of archives.After this operation, 750 kB of additional disk space will be used.

Do you want to continue [Y/n]?*(Reading database ... 264856 files and directories currently installed.)Unpacking libtiff-tools (from .../libtiff-tools_3.9.4-5ubuntu6_i386.deb) ...dpkg: error processing /var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb (--unpack):

*trying to overwrite '/usr/share/man/man1/fax2ps.1.gz', which is also in package libtiff 3.9.4-2dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)Processing triggers for man-db ...

Errors were encountered while processing:*/var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.debE: Sub-process /usr/bin/dpkg returned an error code (1)
Which isnt veryhelpful.


I would appreciate any suggestions to get me out of this situation.
Thanks very much in advance
Leo Noordhuizen

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Colin Watson 11-24-2011 07:30 AM

Installation database corruption
 
On Thu, Nov 24, 2011 at 02:21:31AM +0100, Leo Noordhuizen wrote:
> Unpacking libtiff-tools (from .../libtiff-tools_3.9.4-5ubuntu6_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb (--unpack):
> trying to overwrite '/usr/share/man/man1/fax2ps.1.gz', which is also in
> package libtiff 3.9.4-2
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Processing triggers for man-db ...
> Errors were encountered while processing:
> /var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb

That said, I'm curious why a 'libtiff' package exists. At version
3.9.4-2, there was a 'libtiff4' package (and others), but not 'libtiff'.
Might you have built this yourself at some point? It might be worth
removing it.

--
Colin Watson [cjwatson@ubuntu.com]

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Leo Noordhuizen 11-25-2011 08:48 AM

Installation database corruption
 
This is a ctach-22 situation, as I seem to be completely unable to do something regarding the installed packages.So removing libtiff doesnt work since it seems to be a mess.(Executing the suggested 'force-overwrite' command resulted in new error messages indicating more issues.


Is there a way to remove a number of packages by force and then cleaning up the database ?
I will be moving to a new computer within a few weeks and then this problem is resolved automatically, but I want to know anyway.


Thanks, Leo

On Thu, Nov 24, 2011 at 9:30 AM, Colin Watson <cjwatson@ubuntu.com> wrote:


On Thu, Nov 24, 2011 at 02:21:31AM +0100, Leo Noordhuizen wrote:

> Unpacking libtiff-tools (from .../libtiff-tools_3.9.4-5ubuntu6_i386.deb) ...

> dpkg: error processing

> /var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb (--unpack):

> *trying to overwrite '/usr/share/man/man1/fax2ps.1.gz', which is also in

> package libtiff 3.9.4-2

> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

> Processing triggers for man-db ...

> Errors were encountered while processing:

> */var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb



*sudo dpkg -i --force-overwrite /var/cache/apt/archives/libtiff-tools_3.9.4-5ubuntu6_i386.deb



That said, I'm curious why a 'libtiff' package exists. *At version

3.9.4-2, there was a 'libtiff4' package (and others), but not 'libtiff'.

Might you have built this yourself at some point? *It might be worth

removing it.



--

Colin Watson * * * * * * * * * * * * * * * * * * * [cjwatson@ubuntu.com]



--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Colin Watson 11-25-2011 10:29 AM

Installation database corruption
 
On Fri, Nov 25, 2011 at 10:48:11AM +0100, Leo Noordhuizen wrote:
> This is a ctach-22 situation, as I seem to be completely unable to do
> something regarding the installed packages.
> So removing libtiff doesnt work since it seems to be a mess.
> (Executing the suggested 'force-overwrite' command resulted in new error
> messages indicating more issues.

Please post the exact commands you're running and the exact error
messages you see. They will mean something to me even if they don't
mean anything to you.

> Is there a way to remove a number of packages by force and then cleaning up
> the database ?

Don't - you need to know what you're doing. I'll be able to give you
better advice given the error messages you're seeing.

--
Colin Watson [cjwatson@ubuntu.com]

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Leo Noordhuizen 11-25-2011 09:16 PM

Installation database corruption
 
Colin:
An example:--------------------------------------------lcn@ubulcn:~$ sudo apt-get install -f[sudo] password for lcn:*Reading package lists... Done

Building dependency tree * * **Reading state information... DoneThe following packages were automatically installed and are no longer required:* ttf-umefont wine1.3-gecko liblcms2-2 winetricks libmpg123-0 winbind

* ttf-droidUse 'apt-get autoremove' to remove them.0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.

Setting up libgl1-mesa-glx (7.10.2-0ubuntu2.1) ...update-alternatives: error: alternative link /usr/lib/xorg/extra-modules is already managed by i386-linux-gnu_gl_conf.dpkg: error processing libgl1-mesa-glx (--configure):

*subprocess installed post-installation script returned error exit status 2dpkg: dependency problems prevent configuration of libglu1-mesa:*libglu1-mesa depends on libgl1-mesa-glx | libgl1; however:

* Package libgl1-mesa-glx is not configured yet.* Package libgl1 is not installed.* Package libgl1-mesa-glx which provides libgl1 is not configured yet.dpkg: error processing libglu1-mesa (--configure):

*dependency problems - leaving unconfiguredNo apport report written because the error message indicates its a followup error from a previous failure.* * * * * * * * * * * * * Errors were encountered while processing:

*libgl1-mesa-glx*libglu1-mesaE: Sub-process /usr/bin/dpkg returned an error code (1)---------------------------------------It seems a mess, but after having been running UBUNTU and some other Linux versions, I have never been in a situation like this.


as I will be switching to new hardware in about a week I will re-install everything then, but I still am curious what went/is wrong and how to repair it.
Thanks, Leo


On Fri, Nov 25, 2011 at 12:29 PM, Colin Watson <cjwatson@ubuntu.com> wrote:


On Fri, Nov 25, 2011 at 10:48:11AM +0100, Leo Noordhuizen wrote:

> This is a ctach-22 situation, as I seem to be completely unable to do

> something regarding the installed packages.

> So removing libtiff doesnt work since it seems to be a mess.

> (Executing the suggested 'force-overwrite' command resulted in new error

> messages indicating more issues.



Please post the exact commands you're running and the exact error

messages you see. *They will mean something to me even if they don't

mean anything to you.



> Is there a way to remove a number of packages by force and then cleaning up

> the database ?



Don't - you need to know what you're doing. *I'll be able to give you

better advice given the error messages you're seeing.



--

Colin Watson * * * * * * * * * * * * * * * * * * * [cjwatson@ubuntu.com]



--

ubuntu-users mailing list

ubuntu-users@lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 04:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.