[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#571660: marked as done (/usr/bin/apt-get: could not lock /var.../lib/apt/lists/volatile... ("Impossible de verrouiller /var..."))



Your message dated Fri, 14 Aug 2015 15:22:10 +0200
with message-id <20150814152111.GA28797@debian.org>
and subject line Re: Bug#571660: /usr/bin/apt-get: could not lock /var.../lib/apt/lists/volatile...  ("Impossible de verrouiller /var...")
has caused the Debian Bug report #571660,
regarding /usr/bin/apt-get: could not lock /var.../lib/apt/lists/volatile... ("Impossible de verrouiller /var...")
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
571660: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571660
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.25.3
Severity: important
File: /usr/bin/apt-get


Hello,

apt-get source reports an error while trying to acquire locks under
/var/lib/apt/lists

 - apt-get is run without root superuser power,
 - non other apt/aptitude processes are running at the same time,
 - except for downloading source packages from time to time, I do not
   use apt (I assume this is the reason why the lock files where not
   available); I use aptitude for system maintenance and installation of
   new packages.
 - the problem was solved by manually creating the required files as a root user.

Here is below a more detailed report of the activity where the error
occurred and how it was fixed.

Cheers
Damien

========================


damien@litaize:~/src$ apt-get source doxygen
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de verrouiller /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_contrib_source_Sources - open (2: Aucun fichier ou dossier de ce type)
damien@litaize:~/src$ lsof | grep apt
damien@litaize:~/src$ ls -l /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_contrib_source_Sources
ls: ne peut accéder /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_contrib_source_Sources: Aucun fichier ou dossier de ce type
damien@litaize:~/src$ ls -l /var/lib/apt/lists
total 313768
-rw-r--r-- 1 root root   314913 août  15  2009 ftp2.fr.debian.org_debian_dists_lenny_contrib_binary-i386_Packages
(... skipped)
-rw-r--r-- 1 root root      835 févr. 26 16:08 ftp.fr.debian.org_debian_dists_unstable_Release.gpg
-rw-r----- 1 root root        0 avril  5  2009 lock
-rw-r--r-- 1 root root   343193 avril  5  2009 mirror.home-dn.net_debian-multimedia_dists_stable_main_binary-i386_Packages
(... skipped)
-rw-r--r-- 1 root root     3142 avril 19  2009 starnux.net_debian_dists_unstable_Release
-rw-r--r-- 1 root root        0 févr. 13  2008 volatile.debian.org_debian-volatile_dists_lenny_volatile_contrib_binary-i386_Packages
-rw-r--r-- 1 root root        0 févr. 13  2008 volatile.debian.org_debian-volatile_dists_lenny_volatile_contrib_source_Sources
-rw-r--r-- 1 root root    19794 févr. 26 18:35 volatile.debian.org_debian-volatile_dists_lenny_volatile_main_binary-i386_Packages
-rw-r--r-- 1 root root     5188 févr. 26 18:35 volatile.debian.org_debian-volatile_dists_lenny_volatile_main_source_Sources
-rw-r--r-- 1 root root        0 févr. 13  2008 volatile.debian.org_debian-volatile_dists_lenny_volatile_non-free_binary-i386_Packages
-rw-r--r-- 1 root root        0 févr. 13  2008 volatile.debian.org_debian-volatile_dists_lenny_volatile_non-free_source_Sources
-rw-r--r-- 1 root root    40723 févr. 26 18:35 volatile.debian.org_debian-volatile_dists_lenny_volatile_Release
-rw-r--r-- 1 root root      189 févr. 26 18:35 volatile.debian.org_debian-volatile_dists_lenny_volatile_Release.gpg
-rw-r--r-- 1 root root        0 févr. 26 21:14 volatile.debian.org_debian-volatile_dists_squeeze_volatile_main_source_Sources

damien@litaize:~/src$ apt-get source doxygen
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de verrouiller /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_main_source_Sources - open (2: Aucun fichier ou dossier de ce type)
litaize:/home/damien/src# touch /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_main_source_Sources
damien@litaize:~/src$ apt-get source doxygen
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de verrouiller /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_contrib_source_Sources - open (2: Aucun fichier ou dossier de ce type)
litaize:/home/damien/src# touch /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_contrib_source_Sources
damien@litaize:~/src$ apt-get source doxygen
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de verrouiller /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_non-free_source_Sources - open (2: Aucun fichier ou dossier de ce type)
litaize:/home/damien/src# touch /var/lib/apt/lists/volatile.debian.org_debian-volatile_dists_squeeze_volatile_non-free_source_Sources

damien@litaize:~/src$ apt-get source doxygen
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Nécessité de prendre 3 192ko dans les sources.
Réception de : 1 http://ftp.fr.debian.org squeeze/main doxygen 1.6.2+20100208-0.1 (dsc) [1 284B]
Réception de : 2 http://ftp.fr.debian.org squeeze/main doxygen 1.6.2+20100208-0.1 (tar) [3 170kB]
Réception de : 3 http://ftp.fr.debian.org squeeze/main doxygen 1.6.2+20100208-0.1 (diff) [21,1kB]
3 192ko réceptionnés en 9s (330ko/s)
dpkg-source: info: extraction de doxygen dans doxygen-1.6.2+20100208
dpkg-source: info: extraction de doxygen_1.6.2+20100208.orig.tar.gz
dpkg-source: info: mise en place de doxygen_1.6.2+20100208-0.1.diff.gz
dpkg-source: info: upstream files that have been modified:
 doxygen-1.6.2+20100208/addon/doxywizard/config.h
 doxygen-1.6.2+20100208/addon/doxywizard/config.l


















-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";
APT::Update "";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:::: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "Debian stable";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then  touch /var/lib/update-notifier/dpkg-run-stamp; fi";

-- /etc/apt/preferences --

Package: *
Pin: release a=stable
Pin-Priority: 200

Package: *
Pin: release a=testing
Pin-Priority: 990

Package: *
Pin: release a=unstable
Pin-Priority: 600


-- /etc/apt/sources.list --

#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 NETINST Binary-1 20090214-16:03]/ lenny main


### LENNY
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

### TESTING
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile squeeze/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main contrib non-free

### UNSTABLE
deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (200, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-9  GCC support library
ii  libstdc++6                    4.4.2-9    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                   <none>         (no description available)
ii  aptitude                  0.4.11.11-1+b2 terminal-based package manager
ii  bzip2                     1.0.5-4        high-quality block-sorting file co
ii  dpkg-dev                  1.15.5.6       Debian package development tools
ii  lzma                      4.43-14        Compression method of 7z format in
ii  python-apt                0.7.13.3       Python interface to libapt-pkg
ii  synaptic                  0.63.1         Graphical package manager

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sat, Feb 27, 2010 at 12:25:35AM +0100, David Kalnischkies wrote:
> Hi Damien Couroussé!
> 
> 2010/2/26 Damien Couroussé <damien.courousse@free.fr>:
> > apt-get source reports an error while trying to acquire locks under
> > /var/lib/apt/lists
> Thanks for your report! For your next one i have a little tip:
> Preface a command with LANG=C to enforce english output to
> help unlucky people like me who had by now never the chance
> to learn French… (Latin for the win) ;)
> 
> For reference, your error in plain english should be:
> E: Could not get lock %s - open (2: No such file or directory)
> E: Could not open file %s - open (2: No such file or directory)
> Both english strings are translated in the same way in fr.po…
> (CC'ing Christian Perrier as this looks like a bug in the translation)

Closing it now, as the translations are different now (so it's probably
fixed), and there was no response from the submitter since 5 years.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.

--- End Message ---

Reply to: