ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: [Comm] Cоздание репозитария: как создать файл srclist.*
Date: Sat, 10 Jul 2004 16:36:17 +0400
Message-ID: <40EFE2C1.6000007@rmts.donpac.ru> (raw)

Здравствуйте!

Пытаюсь собрать собственный репозитарий

Создал следующую структуру каталогов:

$ ls -l ~/repository/
итого 1
drwxrwxrwx    3 john     john           72 Июл 10 15:37 i586
drwxrwxrwx    2 john     john           96 Июл 10 15:42 SRPMS
$ ls -l ~/repository/SRPMS/
итого 732
-rw-rw-rw-    1 john     john       747258 Июл 10 15:37 
dhcp-3.0.1-custom.src.rpm
$ ls -l ~/repository/i586/
итого 1
drwxrwxrwx    4 john     john          144 Июл 10 15:39 NM
$ ls -l ~/repository/i586/NM/
итого 2
drwxrwxrwx    2 john     john           48 Июл 10 16:29 base
drwxrwxrwx    2 john     john          416 Июл 10 15:42 RPMS
lrwxrwxrwx    1 john     john            5 Июл 10 15:38 RPMS.nm -> RPMS/
lrwxrwxrwx    1 john     john           12 Июл 10 15:39 SRPMS.nm -> 
../../SRPMS/
$ ls -l ~/repository/i586/NM/RPMS
итого 1056
-rw-rw-rw-    1 john     john       300131 Июл 10 15:37 
dhcp-3.0.1-custom.i586.rpm
-rw-rw-rw-    1 john     john       181357 Июл 10 15:37 
dhcp-client-3.0.1-custom.i586.rpm
-rw-rw-rw-    1 john     john       269750 Июл 10 15:37 
dhcp-common-3.0.1-custom.i586.rpm
-rw-rw-rw-    1 john     john        30350 Июл 10 15:37 
dhcp-devel-3.0.1-custom.i586.rpm
-rw-rw-rw-    1 john     john        55359 Июл 10 15:37 
dhcp-devel-static-3.0.1-custom.i586.rpm
-rw-rw-rw-    1 john     john       151851 Июл 10 15:37 
dhcp-omshell-3.0.1-custom.i586.rpm
-rw-rw-rw-    1 john     john        74526 Июл 10 15:37 
dhcp-relay-3.0.1-custom.i586.rpm

Затем выполнил:

$ genbasedir --topdir ~/repository i586/NM nm
Components: nm
Processing pkglists... nm done
Processing srclists... done
Creating component releases... nm done
Creating global release file... done
Appending MD5Sum... nm done
Creating legacy hashfile... nm done
All your base are belong to us!!!

После этого появились следующие файлы:
$ ls -l ~/repository/i586/NM/base/
итого 28
-rw-rw-rw-    1 john     john          202 Июл 10 16:31 hashfile
-rw-r--r--    1 john     john        10119 Июл 10 16:31 pkglist.nm
-rw-r--r--    1 john     john         2993 Июл 10 16:31 pkglist.nm.bz2
-rw-rw-rw-    1 john     john          345 Июл 10 16:31 release
-rw-rw-rw-    1 john     john          121 Июл 10 16:31 release.nm

Вписываю в sources.list:
rpm file:/home/john/NM i586/NM nm
rpm-src file:/home/john/NM i586/NM nm

Обновляю:
# apt-get update
Err file: i586/NM/nm srclist
   File not found
Failed to fetch file:/home/john/NM/i586/NM/base/srclist.nm  File not found
Reading Package Lists... Done
Collecting File Provides... Done
W: Release file did not contain checksum information for 
file:/home/john/NM/i586/NM/base/srclist.nm
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old 
ones used instead.

И как мне сделать этот srclist.nm?

-- 
С уважением, Прокопьев Евгений



             reply	other threads:[~2004-07-10 12:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-10 12:36 Eugene Prokopiev [this message]
2004-07-10 15:07 ` Nick S. Grechukh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40EFE2C1.6000007@rmts.donpac.ru \
    --to=john@rmts.donpac.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git