Автор Тема: Debian 7 проблем при актуализация  (Прочетена 1180 пъти)

dimitar88

  • Напреднали
  • *****
  • Публикации: 205
    • Профил
Здравейте колеги,немога да си актуализирам системата.Единия проблем го отстраних,а именно:

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?


sudo fuser -vki /var/lib/dpkg/lock
sudo dpkg --configure -a

Ето какво се получава сега:


root@debian:/home/dimitar# apt-get update
Hit http://ftp.bg.debian.org stable Release.gpg
Hit http://ftp.bg.debian.org stable Release                                   
Hit http://ftp.bg.debian.org stable/main Sources                               
Ign http://repo.mate-desktop.org wheezy Release.gpg                           
Hit http://dl.google.com stable Release.gpg                                   
Hit http://ftp.bg.debian.org stable/contrib Sources                           
Hit http://ftp.bg.debian.org stable/non-free Sources                           
Hit http://ftp.bg.debian.org stable/main i386 Packages                         
Ign http://repo.mate-desktop.org wheezy Release                               
Hit http://ftp.bg.debian.org stable/contrib i386 Packages                     
Hit http://ftp.debian.org wheezy-updates Release.gpg                           
Hit http://dl.google.com stable Release                                       
Hit http://ftp.bg.debian.org stable/non-free i386 Packages                     
Hit http://ftp.bg.debian.org stable/contrib Translation-en                     
Hit http://ftp.bg.debian.org stable/main Translation-en                       
Ign http://repo.mate-desktop.org wheezy/main Sources/DiffIndex                 
Hit http://ftp.bg.debian.org stable/non-free Translation-en                   
Hit http://dl.google.com stable/main i386 Packages                             
Hit http://ftp.debian.org wheezy-updates Release                               
Err http://repo.mate-desktop.org wheezy/main Sources                           
 
Err http://repo.mate-desktop.org wheezy/main Sources                           
 
Hit http://security.debian.org wheezy/updates Release.gpg           
Hit http://ftp.debian.org wheezy-updates/main Sources               
Err http://repo.mate-desktop.org wheezy/main Sources                 
 
Err http://repo.mate-desktop.org wheezy/main Sources                 
 
Hit http://ftp.debian.org wheezy-updates/contrib Sources             
Err http://repo.mate-desktop.org wheezy/main Sources                           
  404  Not Found
Hit http://security.debian.org wheezy/updates Release                         
Hit http://ftp.debian.org wheezy-updates/non-free Sources           
Ign http://dl.google.com stable/main Translation-en                 
Hit http://ftp.debian.org wheezy-updates/main i386 Packages/DiffIndex
Hit http://ftp.debian.org wheezy-updates/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://ftp.debian.org wheezy-updates/non-free i386 Packages
Hit http://ftp.debian.org wheezy-updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex
Hit http://ftp.debian.org wheezy-updates/non-free Translation-en
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/contrib i386 Packages
Hit http://security.debian.org wheezy/updates/non-free i386 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
W: Failed to fetch http://repo.mate-desktop.org/debian/dists/wheezy/main/source/Sources  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:/home/dimitar#

Махнах отметката на  http://repo.mate-desktop.org/debian/dists/wheezy/main/source/ , но нищо не се промени.Проблема си остана
Активен

malin

  • Гост
Re: Debian 7 проблем при актуализация
« Отговор #1 -: Mar 11, 2015, 18:58 »
Ами освен да разгледаш/редактираш съдържанието на /etc/apt/sources.list ръчно.
Активен

Odido

  • Напреднали
  • *****
  • Публикации: 627
  • Distribution: Arch Linux
  • Window Manager: Gnome
    • Профил
Re: Debian 7 проблем при актуализация
« Отговор #2 -: Mar 11, 2015, 19:24 »
Err http://repo.mate-desktop.org wheezy/main Sources  също ти дава грешка ,изобщо всичко започващо с repo.mate-desktop.org ти дава грешка,няма достъп до сървъра.Махни всички отметки на това репо.
МОже и временно да няма достъп и да опиташ по-късно.
Активен

"Congratulations, you broke the Internet
Look at what you did! Are you happy now?"

jet

  • Напреднали
  • *****
  • Публикации: 3473
  • Distribution: debian
  • Window Manager: kde
    • Профил
Re: Debian 7 проблем при актуализация
« Отговор #3 -: Mar 11, 2015, 20:10 »
Аз не виждам проблем тук.
Това "E: Some index files failed to download. They have been ignored, or old ones used instead." ли те шашка?
Това е само предупреждение.
Какво искаш да кажеш с "...немога да си актуализирам системата..." ?
Пробва ли:
     apt-get upgrade

Активен

..⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋
  ⠈⠳⣄⠀⠀⠀⠀  Debian, the universal operating system.

dimitar88

  • Напреднали
  • *****
  • Публикации: 205
    • Профил
Re: Debian 7 проблем при актуализация
« Отговор #4 -: Mar 11, 2015, 21:13 »
Благодаря момчета,всичко оправих.Не бях забелязал и другия сървър  в Software Sources-Other Software http://repo.mate-desktop.org/debian/ се повтаряше два пъти  :).Сега махнах и двете отметки и всичко тръгна.Имам още един въпрос,преди ОС беше на български.Върнах го на английски,но при писането на команди в терминала ми излизат въпросителни:


root@debian:/home/dimitar# apt-get update
������ http://ftp.bg.debian.org stable Release.gpg
������ http://ftp.bg.debian.org stable Release                                 
������ http://ftp.bg.debian.org stable/main Sources                           
������ http://dl.google.com stable Release.gpg                                 
������ http://security.debian.org wheezy/updates Release.gpg                   
������ http://ftp.debian.org wheezy-updates Release.gpg                       
������ http://ftp.bg.debian.org stable/contrib Sources                         
������ http://ftp.bg.debian.org stable/non-free Sources                       
������ http://ftp.bg.debian.org stable/main i386 Packages                     
������ http://security.debian.org wheezy/updates Release                       
������ http://dl.google.com stable Release                                     
������ http://ftp.bg.debian.org stable/contrib i386 Packages                   
������ http://ftp.debian.org wheezy-updates Release                           
������ http://ftp.bg.debian.org stable/non-free i386 Packages                 
������ http://ftp.bg.debian.org stable/contrib Translation-en                 
������ http://ftp.bg.debian.org stable/main Translation-en                     
������ http://ftp.bg.debian.org stable/non-free Translation-en                 
������ http://security.debian.org wheezy/updates/main Sources                 
������ http://dl.google.com stable/main i386 Packages                         
������ http://ftp.debian.org wheezy-updates/main Sources                       
������ http://security.debian.org wheezy/updates/contrib Sources               
������ http://ftp.debian.org wheezy-updates/contrib Sources                   
������ http://security.debian.org wheezy/updates/non-free Sources             
������ http://ftp.debian.org wheezy-updates/non-free Sources                   
������ http://security.debian.org wheezy/updates/main i386 Packages           
������ http://ftp.debian.org wheezy-updates/main i386 Packages/DiffIndex       
������ http://security.debian.org wheezy/updates/contrib i386 Packages         
������ http://ftp.debian.org wheezy-updates/contrib i386 Packages             
������ http://security.debian.org wheezy/updates/non-free i386 Packages       
������ http://ftp.debian.org wheezy-updates/non-free i386 Packages             
������ http://security.debian.org wheezy/updates/contrib Translation-en       
������ http://ftp.debian.org wheezy-updates/contrib Translation-en             
������ http://security.debian.org wheezy/updates/main Translation-en           
������ http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex     
������ http://security.debian.org wheezy/updates/non-free Translation-en       
������ http://ftp.debian.org wheezy-updates/non-free Translation-en           
������ http://dl.google.com stable/main Translation-bg_BG                     
������ http://dl.google.com stable/main Translation-bg               
������ http://dl.google.com stable/main Translation-en               
������������ ���� ������������������ �� ������������... ������������
root@debian:/home/dimitar#

Написах следното:
LANG=en_EN
LANGUAGE=en_EN:en

Всичко се оправя,но след като затворя терминала и го стартирам наново въпросителните пак излизат.
Активен

10101

  • Напреднали
  • *****
  • Публикации: 384
  • Distribution: GNU LINUX
    • Профил
Re: Debian 7 проблем при актуализация
« Отговор #5 -: Mar 11, 2015, 21:22 »
Опитай с
dpkg-reconfigure locales
Ако не помогне може ето тук да разгледаш
nano /etc/locale.gen
« Последна редакция: Mar 11, 2015, 21:25 от 10101 »
Активен

А печат ?

dimitar88

  • Напреднали
  • *****
  • Публикации: 205
    • Профил
Re: Debian 7 проблем при актуализация
« Отговор #6 -: Mar 11, 2015, 21:44 »
Опитай с
dpkg-reconfigure locales
Ако не помогне може ето тук да разгледаш
nano /etc/locale.gen

Благодаря много  [_]3
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
BG Debian
Предложения за български проект
asa 0 4785 Последна публикация Sep 25, 2002, 11:52
от asa
Debian i KDE
Настройка на програми
IvanST 9 11583 Последна публикация Jan 05, 2003, 21:54
от n_antonov
Грешка в MBR Debian не стартира!
Настройка на програми
IvanST 8 10905 Последна публикация Jan 07, 2003, 13:36
от IvanST
debian + kde 3.1
Настройка на програми
rat 0 3772 Последна публикация Jan 28, 2003, 17:28
от rat
кои CD-та на Debian ми трябва ?
Настройка на програми
brady 5 7849 Последна публикация Jul 10, 2003, 16:33
от FuckBTK