ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] создание собственного репозитория
@ 2006-02-21  9:50 Igo
  2006-02-21 10:17 ` Igo
  0 siblings, 1 reply; 2+ messages in thread
From: Igo @ 2006-02-21  9:50 UTC (permalink / raw)
  To: ALT Linux Community

Что то никак не осилю
есть папка на винде(ntfs) где сделаны линки самой виндой как написано 
на  http://docs.altlinux.ru/beta/admin/ch02s02s01.html
что сделано не так? здесь лежат rpm с 7 дисков
[root@test apt]# du /mnt/repository/i586/RPMS
3.8G    /mnt/repository/i586/RPMS
[root@test apt]# du /mnt/repository/i586/RPMS.local/
3.8G    /mnt/repository/i586/RPMS.local/

[root@test repository]# ls -l /mnt/repository/ -R
/mnt/repository/:
total 12
drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS
drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS.security
drwxr-xr-x  1 root root 4096 Feb 21  2006 i586
/mnt/repository/SRPMS:
total 0
/mnt/repository/SRPMS.security:
total 0
/mnt/repository/i586:
total 24
drwxr-xr-x  1 root root 4096 Feb 20  2006 RPMS
drwxr-xr-x  1 root root 4096 Feb 21  2006 RPMS.local
drwxr-xr-x  1 root root 4096 Feb 21  2006 RPMS.security
drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS.local
drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS.security
drwxr-xr-x  1 root root 4096 Feb 21  2006 base


[root@test repository]# genbasedir --topdir=/mnt/repository i586 
--progress --create
Components: local security
Processing pkglists... local security done
Processing srclists...  security done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... local security done
Creating legacy hashfile... local security done
All your base are belong to us!!!

[root@test apt]# cat /etc/apt/sources.list
rpm file:/mnt/repository i586 local
#rpm-src file:/mnt/repository i586 local
#rpm file:/mnt/repository i586
#rpm-src file:/mnt/repository i586

[root@test apt]# apt-get update
Reading Package Lists... Done
Building Dependency Tree... Done
[root@test apt]# apt-get install
Reading Package Lists... 0%
[root@test apt]# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package apache




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] создание собственного репозитория
  2006-02-21  9:50 [Comm] создание собственного репозитория Igo
@ 2006-02-21 10:17 ` Igo
  0 siblings, 0 replies; 2+ messages in thread
From: Igo @ 2006-02-21 10:17 UTC (permalink / raw)
  To: altlinux, ALT Linux Community

проблема решина
[root@test base]# genbasedir --topdir=/mnt/repository i586 local 
security --progress
спс

>Что то никак не осилю
>есть папка на винде(ntfs) где сделаны линки самой виндой как написано 
>на  http://docs.altlinux.ru/beta/admin/ch02s02s01.html
>что сделано не так? здесь лежат rpm с 7 дисков
>[root@test apt]# du /mnt/repository/i586/RPMS
>3.8G    /mnt/repository/i586/RPMS
>[root@test apt]# du /mnt/repository/i586/RPMS.local/
>3.8G    /mnt/repository/i586/RPMS.local/
>
>[root@test repository]# ls -l /mnt/repository/ -R
>/mnt/repository/:
>total 12
>drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS
>drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS.security
>drwxr-xr-x  1 root root 4096 Feb 21  2006 i586
>/mnt/repository/SRPMS:
>total 0
>/mnt/repository/SRPMS.security:
>total 0
>/mnt/repository/i586:
>total 24
>drwxr-xr-x  1 root root 4096 Feb 20  2006 RPMS
>drwxr-xr-x  1 root root 4096 Feb 21  2006 RPMS.local
>drwxr-xr-x  1 root root 4096 Feb 21  2006 RPMS.security
>drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS.local
>drwxr-xr-x  1 root root 4096 Feb 21  2006 SRPMS.security
>drwxr-xr-x  1 root root 4096 Feb 21  2006 base
>
>
>[root@test repository]# genbasedir --topdir=/mnt/repository i586 
>--progress --create
>Components: local security
>Processing pkglists... local security done
>Processing srclists...  security done
>Creating component releases... done
>Updating global release file... done
>Appending MD5Sum... local security done
>Creating legacy hashfile... local security done
>All your base are belong to us!!!
>
>[root@test apt]# cat /etc/apt/sources.list
>rpm file:/mnt/repository i586 local
>#rpm-src file:/mnt/repository i586 local
>#rpm file:/mnt/repository i586
>#rpm-src file:/mnt/repository i586
>
>[root@test apt]# apt-get update
>Reading Package Lists... Done
>Building Dependency Tree... Done
>[root@test apt]# apt-get install
>Reading Package Lists... 0%
>[root@test apt]# apt-get install apache
>Reading Package Lists... Done
>Building Dependency Tree... Done
>E: Couldn't find package apache
>
>
>_______________________________________________
>Community mailing list
>Community@lists.altlinux.org
>https://lists.altlinux.org/mailman/listinfo/community
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-21 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-21  9:50 [Comm] создание собственного репозитория Igo
2006-02-21 10:17 ` Igo

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