ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] крах apt (кривые руки)
@ 2004-11-19  8:50 Владимир Гусев
  2004-11-19  9:13 ` Andriy Dobrovol's'kii
  2004-11-19 13:31 ` [Comm] " Michael Shigorin
  0 siblings, 2 replies; 3+ messages in thread
From: Владимир Гусев @ 2004-11-19  8:50 UTC (permalink / raw)
  To: AltLinux форум

Здравствуйте!

Случайно удалил все содержимое /var/lib/apt вместе с файлом lock
теперь при apt-get update выскакивает сообщение:

[root@dialup root]# apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file  
or directory)
E: Unable to lock the list directory

Что сделать, чтобы исправить ситуацию?

-- 
С уважением, Владимир Гусев


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] крах apt (кривые руки)
  2004-11-19  8:50 [Comm] крах apt (кривые руки) Владимир Гусев
@ 2004-11-19  9:13 ` Andriy Dobrovol's'kii
  2004-11-19 13:31 ` [Comm] " Michael Shigorin
  1 sibling, 0 replies; 3+ messages in thread
From: Andriy Dobrovol's'kii @ 2004-11-19  9:13 UTC (permalink / raw)
  To: community

Владимир Гусев wrote:
> Здравствуйте!
> 
> Случайно удалил все содержимое /var/lib/apt вместе с файлом lock
> теперь при apt-get update выскакивает сообщение:
> 
> [root@dialup root]# apt-get update
> E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such 
> file  or directory)
> E: Unable to lock the list directory
> 
> Что сделать, чтобы исправить ситуацию?
> 
Раз уж всё равно удалили уже, попробуйте rpm -i apt и всё что скажет 
с ключами переустановки если будет артачится.

-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   265-7824            Department of Gas Electronics
Fax:   (380-44)   265-2329             Institute of Physics of NASU
*********************************************************************


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Comm] Re: крах apt (кривые руки)
  2004-11-19  8:50 [Comm] крах apt (кривые руки) Владимир Гусев
  2004-11-19  9:13 ` Andriy Dobrovol's'kii
@ 2004-11-19 13:31 ` Michael Shigorin
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2004-11-19 13:31 UTC (permalink / raw)
  To: AltLinux форум

On Fri, Nov 19, 2004 at 11:50:19AM +0300, Владимир Гусев wrote:
> E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file  

mkdir -p /var/lib/apt/lists/

~> find /var/lib/apt -type d | xargs ls -ld
drwxr-xr-x  4 root root 4096 Aug 31 18:37 /var/lib/apt
drwxr-xr-x  3 root root 4096 Oct 19 21:41 /var/lib/apt/lists
drwxr-xr-x  2 root root 4096 Oct 19 21:41 /var/lib/apt/lists/partial
drwxr-xr-x  2 root root 4096 Aug 31 18:37 /var/lib/apt/prefetch

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-19 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-19  8:50 [Comm] крах apt (кривые руки) Владимир Гусев
2004-11-19  9:13 ` Andriy Dobrovol's'kii
2004-11-19 13:31 ` [Comm] " Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git