FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-17-2008, 08:44 AM
Jude DaShiell
 
Default bsdgames emacs package conflict

The conflict is wider than that since dictionaries-common and dpkg are
also involved in the fighting here. For some reason dpkg persists in
trying to get a lock when it fails the first time. Probably some
misconfigured dpkg default I'll find later can help me abbreviate future
output in similar situations. I can do apt-get -q -q install emacs
bsdgames and get similar output except that bsdgames in this instance will
fail to install. The other consideration is if I don't even attempt to
install bsdgames and say do something like apt-get -q install emacs
planner-el the planner-el package which is an emacs add-on looses the
fight. I predict much the same will be found with the remaining emacs
add-ons and possibly all of them. It needs resources to check this out I
haven't got available. If that looping by dpkg isn't a bad default dpkg
configuration setting then dictionaries-common is probably causing dpkg
itself to go into error state and dpkg doesn't have an exception properly
defined to throw and get more specific about this error situation.

cut here.
Script started on Thu 17 Apr 2008 04:30:50 AM EDT
ns:~# apt-get --quiet --quiet install bsdgaem  mes emacs
Preconfiguring packages ...
Selecting previously deselected package dictionaries-common.
(Reading database ... 36433 files and directories currently installed.)
Unpacking dictionaries-common (from .../dictionaries-common_0.98.5_all.deb) ...
Adding `diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Selecting previously deselected package wamerican.
Unpacking wamerican (from .../wamerican_6-2.1_all.deb) ...
Selecting previously deselected package bsdgames.
Unpacking bsdgames (from .../bsdgames_2.17-14_i386.deb) ...
Selecting previously deselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
Selecting previously deselected package emacs22-common.
Unpacking emacs22-common (from .../emacs22-common_22.2+1-1_all.deb) ...
Selecting previously deselected package emacs22-bin-common.
Unpacking emacs22-bin-common (from .../emacs22-bin-common_22.2+1-1_i386.deb) ...
Selecting previously deselected package libxmu6.
Unpacking libxmu6 (from .../libxmu6_2%3a1.0.4-1_i386.deb) ...
Selecting previously deselected package libxpm4.
Unpacking libxpm4 (from .../libxpm4_1%3a3.5.7-1_i386.deb) ...
Selecting previously deselected package xaw3dg.
Unpacking xaw3dg (from .../xaw3dg_1.5+E-15_i386.deb) ...
Selecting previously deselected package emacs22.
Unpacking emacs22 (from .../emacs22_22.2+1-1_i386.deb) ...
Selecting previously deselected package emacs.
Unpacking emacs (from .../emacs_22.2+1-1_all.deb) ...
Setting up dictionaries-common (0.98.5) ...
Updating OpenOffice.org's dictionary list... done.
Setting up wamerican (6-2.1) ...
Setting up bsdgames (2.17-14) ...
Setting up emacsen-common (1.4.17) ...
emacsen-common: Handling install of emacsen flavor emacs
Setting up emacs22-common (22.2+1-1) ...
Setting up emacs22-bin-common (22.2+1-1) ...
Setting up libxmu6 (2:1.0.4-1) ...
Setting up libxpm4 (1:3.5.7-1) ...
Setting up xaw3dg (1.5+E-15) ...
Setting up emacs22 (22.2+1-1) ...
emacs-install emacs22
install/dictionaries-common: Byte-compiling for emacsen flavour emacs22
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 4%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 82%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 70%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 6%

Reading extended state information... 71%

Reading extended state information

Initializing package states... 0%


Initializing package states... 97%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 83%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 61%

Reading extended state information

Initializing package states... 0%


Initializing package states... 98%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 82%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 61%

Reading extended state information

Initializing package states... 0%


Initializing package states... 49%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 6%

Reading extended state information... 75%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 79%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 69%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 6%

Reading extended state information... 75%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 60%

Reading extended state information

Initializing package states... 0%


Initializing package states... 99%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 6%

Reading extended state information... 76%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 6%

Reading extended state information... 75%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 82%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 69%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 6%

Reading extended state information... 76%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 7%

Reading extended state information... 73%

Reading extended state information

Initializing package states... 0%


Initializing package states... 92%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 85%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 62%

Reading extended state information

Initializing package states... 0%


Initializing package states... 87%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 82%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 63%

Reading extended state information

Initializing package states... 0%


Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree... 81%

Building dependency tree

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Reading extended state information... 0%

Reading extended state information... 0%

Reading extended state information... 61%

Reading extended state information

Initializing package states... 0%


Initializing package states... 99%

Initializing package states... Done

Reading task descriptions... 0%


Reading task descriptions... 0%

Reading task descriptions... Done
W: Could not lock the cache file; this usually means that dpkg or another apt tool is already installing packages. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
emacs-install: /usr/lib/emacsen-common/packages/install/dictionaries-common emacs22 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 3.
dpkg: error processing emacs22 (--configure):
subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of emacs:
emacs depends on emacs22 | emacs22-gtk | emacs22-nox; however:
Package emacs22 is not configured yet.
Package emacs22-nox which provides emacs22 is not installed.
Package emacs22-gtk is not installed.
Package emacs22-nox is not installed.
dpkg: error processing emacs (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
emacs22
emacs
E: Sub-process /usr/bin/dpkg returned an error code (1)
ns:~# exit
exit

Script done on Thu 17 Apr 2008 04:33:52 AM EDT
cut here.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-17-2008, 06:22 PM
Florian Kulzer
 
Default bsdgames emacs package conflict

On Thu, Apr 17, 2008 at 03:44:58 -0500, Jude DaShiell wrote:
> The conflict is wider than that since dictionaries-common and dpkg are
> also involved in the fighting here. For some reason dpkg persists in
> trying to get a lock when it fails the first time.

Dpkg needs to get the lock, otherwise it cannot do anything. The lock
mechanism makes sure that only one process can make changes to the
states of your packages at any given time. The package database might
end up in an inconsistent state if two or more processes mess around
with it at the same time.

> W: Could not lock the cache file; this usually means that dpkg or
> another apt tool is already installing packages.
> Opening in read-only mode; any changes you make to the states of
> packages will NOT be preserved!

You have to kill the process that maintains this lock on the package
cache.

> E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Run the following command as root and post its output:

lsof /var/lib/dpkg/{lock,status}

This should show us which process is responsible for your problems.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org