Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: dimitar88 в Mar 11, 2015, 18:53



Титла: Debian 7 проблем при актуализация
Публикувано от: dimitar88 в Mar 11, 2015, 18:53
Здравейте колеги,немога да си актуализирам системата.Единия проблем го отстраних,а именно:

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/ , но нищо не се промени.Проблема си остана


Титла: Re: Debian 7 проблем при актуализация
Публикувано от: malin в Mar 11, 2015, 18:58
Ами освен да разгледаш/редактираш съдържанието на /etc/apt/sources.list ръчно.


Титла: Re: Debian 7 проблем при актуализация
Публикувано от: Odido в Mar 11, 2015, 19:24
Err http://repo.mate-desktop.org wheezy/main Sources  също ти дава грешка ,изобщо всичко започващо с repo.mate-desktop.org ти дава грешка,няма достъп до сървъра.Махни всички отметки на това репо.
МОже и временно да няма достъп и да опиташ по-късно.


Титла: Re: Debian 7 проблем при актуализация
Публикувано от: jet в Mar 11, 2015, 20:10
Аз не виждам проблем тук.
Това "E: Some index files failed to download. They have been ignored, or old ones used instead." ли те шашка?
Това е само предупреждение.
Какво искаш да кажеш с "...немога да си актуализирам системата..." ?
Пробва ли:
     apt-get upgrade



Титла: Re: Debian 7 проблем при актуализация
Публикувано от: dimitar88 в 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

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


Титла: Re: Debian 7 проблем при актуализация
Публикувано от: 10101 в Mar 11, 2015, 21:22
Опитай с
dpkg-reconfigure locales
Ако не помогне може ето тук да разгледаш
nano /etc/locale.gen


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

Благодаря много  [_]3