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


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: как восстановить репозиторий  (Прочитано 11559 раз)

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

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
как восстановить репозиторий
« : 31 Июля 2011, 22:36:04 »
после безуспешных попыток завести нормально дурацкую прогу xNeur типа заменитель пунто свитчера, появилась проблема с репозитарием. А именно когда пытаюсь что-либо установить вылазит такая фигня
Цитировать
E: Неизвестный тип 'eb' в строке 2 в списке источников /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list
E: Не читается перечень источников.


Пользователь решил продолжить мысль 01 Августа 2011, 00:44:15:
при чем я эту х..ню удалил с источников но по команде sudo apt-get update вылазит эта хрень
« Последнее редактирование: 31 Июля 2011, 23:17:22 от RazrFalcon »

Оффлайн AAXEE

  • Активист
  • *
  • Сообщений: 291
    • Просмотр профиля
Re: как восстановить репозитарий
« Ответ #1 : 31 Июля 2011, 22:48:36 »
sudo  rm /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list
Правда этот репозиторий пропадет. Или покажи cat /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
Re: как восстановить репозитарий
« Ответ #2 : 31 Июля 2011, 22:54:30 »
https://forum.ubuntu.ru/index.php?topic=2521.3930  вот тут я выкладывал внизу

Оффлайн AAXEE

  • Активист
  • *
  • Сообщений: 291
    • Просмотр профиля
Re: как восстановить репозитарий
« Ответ #3 : 31 Июля 2011, 22:58:29 »
Там ты другой файл показываешь, а ты покажи
cat /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
Re: как восстановить репозитарий
« Ответ #4 : 31 Июля 2011, 22:59:01 »
cat: /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list: Нет такого файла или каталога

Оффлайн AAXEE

  • Активист
  • *
  • Сообщений: 291
    • Просмотр профиля
Re: как восстановить репозитарий
« Ответ #5 : 31 Июля 2011, 23:04:49 »
Так. Покажи ка полностью файл /etc/apt/sources.list
Ты в той ветке форума через нано открывал? Тfм не все кажется ты скопировал.
сделай cat /etc/apt/sources.list

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
Re: как восстановить репозитарий
« Ответ #6 : 31 Июля 2011, 23:05:45 »
Цитировать
# deb cdrom:[Kubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ua.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://ua.archive.ubuntu.com/ubuntu/ natty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ua.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ua.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://ua.archive.ubuntu.com/ubuntu/ natty universe
deb http://ua.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ua.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://ua.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://ua.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ua.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb http://security.ubuntu.com/ubuntu/ natty-security universe
deb-src http://security.ubuntu.com/ubuntu/ natty-security universe
deb http://security.ubuntu.com/ubuntu/ natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu/ natty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu/ natty partner
# deb-src http://archive.canonical.com/ubuntu/ natty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu/ natty main
deb-src http://extras.ubuntu.com/ubuntu/ natty main

Оффлайн AAXEE

  • Активист
  • *
  • Сообщений: 291
    • Просмотр профиля
Re: как восстановить репозиторий
« Ответ #7 : 31 Июля 2011, 23:22:28 »
ls /etc/apt/sources.list.d/

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
Re: как восстановить репозиторий
« Ответ #8 : 01 Августа 2011, 00:30:01 »
Цитировать
ls /etc/apt/sources.list.d/
andrew-crew-kuznetsov-xneur-stable-natty.list.save    mozillateam-firefox-stable-natty.list.save  rvm-smplayer-natty.list.save
andrew-crew-kuznetsov-xneur-unstable-natty.list       opera.list                                  tualatrix-ppa-natty.list
andrew-crew-kuznetsov-xneur-unstable-natty.list.save  opera.list.save                             ubuntu-wine-ppa-natty.list
mozillateam-firefox-stable-natty.list                 rvm-smplayer-natty.list                     ubuntu-wine-ppa-natty.list.save

Оффлайн AAXEE

  • Активист
  • *
  • Сообщений: 291
    • Просмотр профиля
Re: как восстановить репозиторий
« Ответ #9 : 01 Августа 2011, 07:48:53 »
sudo rm /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list.save

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
Re: как восстановить репозиторий
« Ответ #10 : 01 Августа 2011, 14:50:47 »
сделал . но все равно
Цитировать
E: Неизвестный тип 'eb' в строке 2 в списке источников /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-unstable-natty.list     
E: Не читается перечень источников.   
:(

Оффлайн ArcFi

  • Старожил
  • *
  • Сообщений: 15189
    • Просмотр профиля
    • aetera.net
Re: как восстановить репозиторий
« Ответ #11 : 01 Августа 2011, 14:56:02 »
grep -v '^#\|^$' /etc/apt/sources.list{,.d/*.list}?

Оффлайн denis12

  • Автор темы
  • Новичок
  • *
  • Сообщений: 43
    • Просмотр профиля
Re: как восстановить репозиторий
« Ответ #12 : 01 Августа 2011, 15:47:46 »
Цитировать
/etc/apt/sources.list:deb http://ua.archive.ubuntu.com/ubuntu/ natty main restricted
/etc/apt/sources.list:deb-src http://ua.archive.ubuntu.com/ubuntu/ natty main restricted
/etc/apt/sources.list:deb http://ua.archive.ubuntu.com/ubuntu/ natty-updates main restricted
/etc/apt/sources.list:deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-updates main restricted
/etc/apt/sources.list:deb http://ua.archive.ubuntu.com/ubuntu/ natty universe
/etc/apt/sources.list:deb-src http://ua.archive.ubuntu.com/ubuntu/ natty universe
/etc/apt/sources.list:deb http://ua.archive.ubuntu.com/ubuntu/ natty-updates universe
/etc/apt/sources.list:deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-updates universe
/etc/apt/sources.list:deb http://ua.archive.ubuntu.com/ubuntu/ natty multiverse
/etc/apt/sources.list:deb-src http://ua.archive.ubuntu.com/ubuntu/ natty multiverse
/etc/apt/sources.list:deb http://ua.archive.ubuntu.com/ubuntu/ natty-updates multiverse
/etc/apt/sources.list:deb-src http://ua.archive.ubuntu.com/ubuntu/ natty-updates multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu/ natty-security main restricted
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu/ natty-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu/ natty-security universe
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu/ natty-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu/ natty-security multiverse
/etc/apt/sources.list:deb-src http://security.ubuntu.com/ubuntu/ natty-security multiverse
/etc/apt/sources.list:deb http://extras.ubuntu.com/ubuntu/ natty main
/etc/apt/sources.list:deb-src http://extras.ubuntu.com/ubuntu/ natty main
/etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-unstable-natty.list:eb http://ppa.launchpad.net/andrew-crew-kuznetsov/xneur-unstable/ubuntu natty main
/etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list:deb http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu natty main
/etc/apt/sources.list.d/mozillateam-firefox-stable-natty.list:deb-src http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu natty main
/etc/apt/sources.list.d/opera.list:deb http://deb.opera.com/opera/ stable non-free
/etc/apt/sources.list.d/rvm-smplayer-natty.list:deb http://ppa.launchpad.net/rvm/smplayer/ubuntu/ natty main
/etc/apt/sources.list.d/rvm-smplayer-natty.list:deb-src http://ppa.launchpad.net/rvm/smplayer/ubuntu/ natty main
/etc/apt/sources.list.d/tualatrix-ppa-natty.list:deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main
/etc/apt/sources.list.d/tualatrix-ppa-natty.list:deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main
/etc/apt/sources.list.d/ubuntu-wine-ppa-natty.list:deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ natty main
/etc/apt/sources.list.d/ubuntu-wine-ppa-natty.list:deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ natty main

Оффлайн ArcFi

  • Старожил
  • *
  • Сообщений: 15189
    • Просмотр профиля
    • aetera.net
Re: как восстановить репозиторий
« Ответ #13 : 01 Августа 2011, 16:56:47 »
sudo rm -f /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-unstable-natty.list
sudo apt-get update

Оффлайн AAXEE

  • Активист
  • *
  • Сообщений: 291
    • Просмотр профиля
Re: как восстановить репозиторий
« Ответ #14 : 01 Августа 2011, 16:59:07 »
сделал . но все равно
Цитировать
E: Неизвестный тип 'eb' в строке 2 в списке источников /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-unstable-natty.list     
E: Не читается перечень источников.   
:(
На /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-stable-natty.list  уже не ругается же  ;)
Теперь осталось удалить /etc/apt/sources.list.d/andrew-crew-kuznetsov-xneur-unstable-natty.list  :)     

 

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