Форум русскоязычного сообщества Ubuntu


Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco

Автор Тема: Не удалось получить доступ к файлу блокировки /var/lib/dpkg/lock - open  (Прочитано 22943 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн attraction

  • Автор темы
  • Новичок
  • *
  • Сообщений: 4
    • Просмотр профиля
Первый раз на ubuntu, помогите решить проблему... даже проблемы, просто их много)))
делаю sudo apt-get update
Игн http://ru.archive.ubuntu.com natty InRelease
Игн http://ru.archive.ubuntu.com natty-updates InRelease                       
В кэше http://ru.archive.ubuntu.com natty Release.gpg                         
В кэше http://ru.archive.ubuntu.com natty-updates Release.gpg                 
В кэше http://ru.archive.ubuntu.com natty Release                             
В кэше http://ru.archive.ubuntu.com natty-updates Release                     
В кэше http://ru.archive.ubuntu.com natty/main Sources                         
В кэше http://ru.archive.ubuntu.com natty/restricted Sources                   
В кэше http://ru.archive.ubuntu.com natty/universe Sources                     
В кэше http://ru.archive.ubuntu.com natty/multiverse Sources                   
В кэше http://ru.archive.ubuntu.com natty/main i386 Packages                   
Игн http://security.ubuntu.com natty-security InRelease                       
В кэше http://ru.archive.ubuntu.com natty/restricted i386 Packages             
В кэше http://ru.archive.ubuntu.com natty/universe i386 Packages               
В кэше http://ru.archive.ubuntu.com natty/multiverse i386 Packages             
Игн http://ru.archive.ubuntu.com natty/main TranslationIndex                   
Игн http://ru.archive.ubuntu.com natty/multiverse TranslationIndex             
Игн http://ru.archive.ubuntu.com natty/restricted TranslationIndex             
Игн http://ru.archive.ubuntu.com natty/universe TranslationIndex               
В кэше http://ru.archive.ubuntu.com natty-updates/main Sources                 
В кэше http://ru.archive.ubuntu.com natty-updates/restricted Sources           
В кэше http://security.ubuntu.com natty-security Release.gpg                   
Игн http://extras.ubuntu.com natty InRelease                                   
В кэше http://ru.archive.ubuntu.com natty-updates/universe Sources             
В кэше http://ru.archive.ubuntu.com natty-updates/multiverse Sources           
Игн http://ppa.launchpad.net hardy InRelease                                   
Игн http://ppa.launchpad.net natty InRelease                                   
В кэше http://ru.archive.ubuntu.com natty-updates/main i386 Packages           
В кэше http://ru.archive.ubuntu.com natty-updates/restricted i386 Packages     
В кэше http://ru.archive.ubuntu.com natty-updates/universe i386 Packages       
В кэше http://security.ubuntu.com natty-security Release                       
В кэше http://ru.archive.ubuntu.com natty-updates/multiverse i386 Packages     
В кэше http://extras.ubuntu.com natty Release.gpg                             
Игн http://ru.archive.ubuntu.com natty-updates/main TranslationIndex           
Игн http://ru.archive.ubuntu.com natty-updates/multiverse TranslationIndex     
Игн http://ru.archive.ubuntu.com natty-updates/restricted TranslationIndex     
Игн http://ru.archive.ubuntu.com natty-updates/universe TranslationIndex       
В кэше http://ru.archive.ubuntu.com natty/main Translation-ru                 
В кэше http://ru.archive.ubuntu.com natty/multiverse Translation-ru           
Игн http://ppa.launchpad.net hardy Release.gpg                                 
В кэше http://ru.archive.ubuntu.com natty/restricted Translation-ru           
В кэше http://ru.archive.ubuntu.com natty/universe Translation-ru             
В кэше http://extras.ubuntu.com natty Release                                 
В кэше http://security.ubuntu.com natty-security/main Sources                 
В кэше http://ppa.launchpad.net natty Release.gpg                             
Игн http://ru.archive.ubuntu.com natty/main Translation-ru_RU                 
Игн http://ru.archive.ubuntu.com natty/main Translation-en                     
Игн http://ru.archive.ubuntu.com natty/multiverse Translation-ru_RU           
Игн http://ru.archive.ubuntu.com natty/multiverse Translation-en               
Игн http://ru.archive.ubuntu.com natty/restricted Translation-ru_RU           
Игн http://ru.archive.ubuntu.com natty/restricted Translation-en               
Игн http://ru.archive.ubuntu.com natty/universe Translation-ru_RU             
Игн http://ru.archive.ubuntu.com natty/universe Translation-en                 
Игн http://ru.archive.ubuntu.com natty-updates/main Translation-ru_RU         
Игн http://ru.archive.ubuntu.com natty-updates/main Translation-ru             
Игн http://ru.archive.ubuntu.com natty-updates/main Translation-en             
Игн http://ru.archive.ubuntu.com natty-updates/multiverse Translation-ru_RU   
Игн http://ru.archive.ubuntu.com natty-updates/multiverse Translation-ru       
Игн http://ru.archive.ubuntu.com natty-updates/multiverse Translation-en       
В кэше http://security.ubuntu.com natty-security/restricted Sources           
В кэше http://security.ubuntu.com natty-security/universe Sources             
В кэше http://security.ubuntu.com natty-security/multiverse Sources           
В кэше http://security.ubuntu.com natty-security/main i386 Packages           
В кэше http://security.ubuntu.com natty-security/restricted i386 Packages     
Игн http://ru.archive.ubuntu.com natty-updates/restricted Translation-ru_RU   
Игн http://ru.archive.ubuntu.com natty-updates/restricted Translation-ru       
Игн http://ru.archive.ubuntu.com natty-updates/restricted Translation-en       
Игн http://ru.archive.ubuntu.com natty-updates/universe Translation-ru_RU     
Игн http://ru.archive.ubuntu.com natty-updates/universe Translation-ru         
Игн http://ru.archive.ubuntu.com natty-updates/universe Translation-en         
В кэше http://extras.ubuntu.com natty/main Sources                             
В кэше http://ppa.launchpad.net hardy Release                                 
В кэше http://security.ubuntu.com natty-security/universe i386 Packages       
В кэше http://security.ubuntu.com natty-security/multiverse i386 Packages     
Игн http://security.ubuntu.com natty-security/main TranslationIndex           
Игн http://security.ubuntu.com natty-security/multiverse TranslationIndex     
Игн http://security.ubuntu.com natty-security/restricted TranslationIndex     
Игн http://security.ubuntu.com natty-security/universe TranslationIndex       
В кэше http://extras.ubuntu.com natty/main i386 Packages                       
Игн http://extras.ubuntu.com natty/main TranslationIndex                       
В кэше http://ppa.launchpad.net natty Release                                 
Игн http://ppa.launchpad.net hardy/main i386 Packages/DiffIndex               
Игн http://ppa.launchpad.net hardy/main TranslationIndex                       
В кэше http://ppa.launchpad.net natty/main Sources                             
В кэше http://ppa.launchpad.net natty/main i386 Packages                       
Игн http://ppa.launchpad.net natty/main TranslationIndex                       
Игн http://security.ubuntu.com natty-security/main Translation-ru_RU           
Игн http://security.ubuntu.com natty-security/main Translation-ru             
Игн http://security.ubuntu.com natty-security/main Translation-en             
Игн http://security.ubuntu.com natty-security/multiverse Translation-ru_RU     
Игн http://security.ubuntu.com natty-security/multiverse Translation-ru       
Игн http://extras.ubuntu.com natty/main Translation-ru_RU                     
Игн http://security.ubuntu.com natty-security/multiverse Translation-en       
Игн http://security.ubuntu.com natty-security/restricted Translation-ru_RU     
Игн http://security.ubuntu.com natty-security/restricted Translation-ru       
Игн http://security.ubuntu.com natty-security/restricted Translation-en       
Игн http://security.ubuntu.com natty-security/universe Translation-ru_RU       
Игн http://security.ubuntu.com natty-security/universe Translation-ru         
В кэше http://ppa.launchpad.net hardy/main i386 Packages                       
Игн http://extras.ubuntu.com natty/main Translation-ru                         
Игн http://security.ubuntu.com natty-security/universe Translation-en         
Игн http://extras.ubuntu.com natty/main Translation-en                         
Игн http://ppa.launchpad.net hardy/main Translation-ru_RU                     
Игн http://ppa.launchpad.net hardy/main Translation-ru
Игн http://ppa.launchpad.net hardy/main Translation-en
Игн http://ppa.launchpad.net natty/main Translation-ru_RU
Игн http://ppa.launchpad.net natty/main Translation-ru
Игн http://ppa.launchpad.net natty/main Translation-en
E: Не удалось получить доступ к файлу блокировки /var/lib/dpkg/lock - open (11: Ресурс временно недоступен)
E: Не удалось выполнить блокировку управляющего каталога (/var/lib/dpkg/); он уже используется другим процессом?
вот что пишет..
читал форум, делал как написано, но все равно, какая-то другая ошибка выскакивала(

Оффлайн Eggg

  • Участник
  • *
  • Сообщений: 198
  • И Tux, и Gish
    • Просмотр профиля
у тебя уже апт открыт, если нет - то sudo rm /var/lib/dpkg/lock

Оффлайн RQWERQWER

  • Активист
  • *
  • Сообщений: 252
    • Просмотр профиля
Перезагрузись, чтоб наверняка, а потом, если будет ошибка повторятся, как советовали
sudo rm /var/lib/dpkg/lock

Оффлайн attraction

  • Автор темы
  • Новичок
  • *
  • Сообщений: 4
    • Просмотр профиля
sudo rm /var/lib/dpkg/lock
сделал это..
rm: невозможно удалить «/var/lib/dpkg/lock»: Нет такого файла или каталога

Оффлайн RQWERQWER

  • Активист
  • *
  • Сообщений: 252
    • Просмотр профиля
А потом пробовали
sudo apt-get updateРаботает?

Оффлайн attraction

  • Автор темы
  • Новичок
  • *
  • Сообщений: 4
    • Просмотр профиля
E: Работа dpkg прервана, вы должны вручную запустить sudo dpkg --configure -a для устранения проблемы.
теперь такая ошибка...

Оффлайн RQWERQWER

  • Активист
  • *
  • Сообщений: 252
    • Просмотр профиля
Ну сделайте, что он просит, запустите
sudo dpkg --configure -a

Оффлайн attraction

  • Автор темы
  • Новичок
  • *
  • Сообщений: 4
    • Просмотр профиля
сделал
sudo dpkg --configure -a
нечего не произошло(

Пользователь решил продолжить мысль 26 Мая 2011, 15:13:59:
sudo apt-get update
сделал это и пропала ошибка.

Пользователь решил продолжить мысль 26 Мая 2011, 15:15:05:
Теперь хотелось бы узнать, почему пишет Boot error при установке ОС с флешки, до этого ставил и нечего не писало.

Пользователь решил продолжить мысль 26 Мая 2011, 15:18:06:
Есть еще одна проблемка...
При установке приложения Wine из Центра приложений пишет такую ошибку
Судя по всему, в aptdaemon, программном обеспечении, позволяющем вам устанавливать/удалять программы и выполнять связанные с пакетами задачи, присутствует программная ошибка.
Везде искал, опять же некоторым помогали рекомендации, а мне как всегда..

Пользователь решил продолжить мысль 26 Мая 2011, 15:21:57:

после sudo apt-get upgrate
« Последнее редактирование: 26 Мая 2011, 15:27:33 от attraction »

Оффлайн Eggg

  • Участник
  • *
  • Сообщений: 198
  • И Tux, и Gish
    • Просмотр профиля

 

Страница сгенерирована за 0.039 секунд. Запросов: 23.