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


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Битые пакеты в репозитории - debmirror  (Прочитано 1030 раз)

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

Оффлайн CitiЯen

  • Автор темы
  • Участник
  • *
  • Сообщений: 138
  • Ubuntu Natty + OB
    • Просмотр профиля
Битые пакеты в репозитории - debmirror
« : 17 Сентября 2010, 21:12:01 »
Здравствуйте. Использовал этот скрипт для создания локальной репы #### Start script to automate building of Ubuntu mirror #####
## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED

!/bin/bash

## Setting variables with explanations.

# Arch=         -a      # Architecture. For Ubuntu can be i386, powerpc or amd64.
# sparc, only starts in dapper, it is only the later models of sparc
#
arch=i386

# Minimum Ubuntu system requires main, restricted
# Section=      -s      # Section (One of the following - main/restricted/universe/multiverse).
#
section=main,restricted,universe,multiverse

# Release=      -d      # Release of the system (Dapper, Edgy, Feisty, Gutsy), and the -updates and -security ( -backports can be added if desired)
#
release=lucid,lucid-security,lucid-updates,lucid-backports

# Server=       -h      # Server name, minus the protocol and the path at the end
# CHANGE "*" to equal the mirror you want to create your mirror from. au. in Australia  ca. in Canada.
# This can be found in your own /etc/apt/sources.list file, assuming you have Ubuntu installed.
#
server=ftp.corbina.ru/pub/Linux/

# Dir=          -r      # Path from the main server, so http://my.web.server/$dir, Server dependant
#
inPath=/ubuntu

# Proto=        -e      # Protocol to use for transfer (http, ftp, hftp, rsync)
# Choose one - http is most usual the service, and the service must be avaialbe on the server you point at.
#
proto=http

# Outpath=              # Directory to store the mirror in
# Make this a full path to where you want to mirror the material.
#
outPath=/media/transend/Linux/Repository

# The --nosource option only downloads debs and not deb-src's
# The --progress option shows files as they are downloaded
# --source \ in the place of --no-source \ if you want sources also.
# Start script
#
debmirror       -a $arch \
                --no-source \
                -s $section \
                -h $server \
                -d $release \
                -r $inPath \
                --progress \
                -e $proto \
                --ignore-release-gpg \
                $outPath


#### End script to automate building of Ubuntu mirror ####

Но сегодня попытавшись установить из репы chromium-browser получил след ошибку

Ош  file:/media/transend/Linux/Repository/ lucid-security/universe chromium-browser-inspector 5.0.375.127~r55887-0ubuntu0.10.04.1
  Файл не найден
Ош  file:/media/transend/Linux/Repository/ lucid-security/universe chromium-browser 5.0.375.127~r55887-0ubuntu0.10.04.1
  Файл не найден
Не удалось получить file:///media/transend/Linux/Repository/pool/universe/c/chromium-browser/chromium-browser-inspector_5.0.375.127~r55887-0ubuntu0.10.04.1_all.deb  Файл не найден
Не удалось получить file:///media/transend/Linux/Repository/pool/universe/c/chromium-browser/chromium-browser_5.0.375.127~r55887-0ubuntu0.10.04.1_i386.deb  Файл не найден
E: Невозможно получить некоторые архивы, вероятно надо запустить apt-get update или попытаться повторить запуск с ключом --fix-missing

Иные приложения ставятся нормально, но не все. Каким образом все битые пакеты можно заменить на нормальные? 40 гб заново пусть даже из локалки качать не хочется.
« Последнее редактирование: 17 Сентября 2010, 21:15:11 от CitiЯen »

Оффлайн ArcFi

  • Старожил
  • *
  • Сообщений: 15189
    • Просмотр профиля
    • aetera.net
Re: Битые пакеты в репозитории - debmirror
« Ответ #1 : 17 Сентября 2010, 21:18:24 »
Они не битые, а отсутствуют.
Вероятно в процессе создания зеркала произошло обновление некоторых пакетов и часть из них не была скачана.
Рекомендуется повторить синхронизацию зеркала для докачки отсутствующих пакетов.

Оффлайн CitiЯen

  • Автор темы
  • Участник
  • *
  • Сообщений: 138
  • Ubuntu Natty + OB
    • Просмотр профиля
Re: Битые пакеты в репозитории - debmirror
« Ответ #2 : 19 Сентября 2010, 01:02:16 »
Спасибо. Теперь все исправлено.)

 

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