From: Chad <tama4@amnet.co.cr> To: community-en@altlinux.org Subject: [Comm-en] Creating local directory for apt-get Date: Wed, 23 Jul 2003 09:36:14 -0600 Message-ID: <200307230936.14826.tama4@amnet.co.cr> (raw) Here is what I have come up with: ****READ ALL AND SEE PROBLEMS AT THE END**** 1) need to: apt-get install apt-utils (this will allow you to run 'genbasedir' later. 2) need to create the directory structure. I did mine in /home/chad/rep [chad@localhost rep]$ find . ./i586 ./i586/base ./i586/RPMS.sisyphus ./i586/SRPMS.sisyphus 3) edit as root etc/apt/sources.list and add the new repositories and save # rep rpm file:/home/chad/rep/ i586 sisyphus rpm-src file:/home/chad/rep/ i586 sisyphus 4) download files you want to install *.src.rpm into SRPMS.sisyphus and *.rpm into RPMS.sisyphus 5) run [chad@localhost rep]$ genbasedir --topdir=/home/chad/rep i586 sisyphus Components: sisyphus Processing pkglists... sisyphus done Processing srclists... done Creating component releases... done Updating global release file... done Appending MD5Sum... sisyphus done Creating legacy hashfile... sisyphus done All your base are belong to us!!! 6) the above should create the hashfile, pkglist, etc....check w/: [chad@localhost rep]$ ls -1 ./i586/base hashfile pkglist.sisyphus pkglist.sisyphus.bz2 release release.sisyphus srclist.sisyphus srclist.sisyphus.bz2 7) run: find and should see all including files downloaded [chad@localhost rep]$ find . ./i586 ./i586/base ./i586/base/pkglist.sisyphus ./i586/base/pkglist.sisyphus.bz2 ./i586/base/srclist.sisyphus ./i586/base/srclist.sisyphus.bz2 ./i586/base/release.sisyphus ./i586/base/release ./i586/base/hashfile ./i586/RPMS.sisyphus ./i586/RPMS.sisyphus/palm-doctoolkit-1.1.4-1.noarch.rpm ./i586/RPMS.sisyphus/ms-ttf-1.0-alt5.src.rpm ./i586/RPMS.sisyphus/cabextract-0.6-alt1.src.rpm ./i586/RPMS.sisyphus/mozilla-1.4-alt5.src.rpm ./i586/SRPMS.sisyphus ./i586/SRPMS.sisyphus/apt4rpm-0.64.4-1.src.rpm 8) as root [root@localhost root]# apt-get update 9) New programs should be available via synaptic or apt-get install. Will show dependencies etc 10) need to run the 'genbasedir' (see # 5) if you get more programs PROBLEMS: a) only files I put into RPMS.sisyphus are available for install. For some reason the ones in SRPMS.sisyphus are not (Synaptic can not even see them). So far it works fine for anything I put in RPMS.sisyphus (*rpm OR *.src.rpm). I have tried moving SRPMS.sisyphus under /rep, I have tried doing it in both locations. I have tried moving *.src.rpm's around I used the following locations for information: https://moin.conectiva.com.br/AptRpm/Repositories http://atmsk.ru/viewtopic.php?t=68&sid=14f2ab599b81fc45260661c3c8734e43 (in konqueror>tools>translate>russian to english) So, if anyone can help me 'clean' this up. I would appreciate it. I am new at this stuff and that is one reason for this post. Maybe someone can point out what I did wrong and I can correct it for myself.
reply other threads:[~2003-07-23 15:36 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200307230936.14826.tama4@amnet.co.cr \ --to=tama4@amnet.co.cr \ --cc=community-en@altlinux.org \ /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 users (in English only) This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community-en/0 community-en/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-en community-en/ http://lore.altlinux.org/community-en \ community-en@lists.altlinux.org community-en@lists.altlinux.ru community-en@lists.altlinux.com public-inbox-index community-en Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community-en AGPL code for this site: git clone https://public-inbox.org/public-inbox.git