From: "\"Баталов Григорий\"" <bga@kgok.murmansk.su> To: mandrake-russian@altlinux.ru Subject: Re[11]: [mdk-re] apt-get troubles Date: Fri Dec 21 10:40:17 2001 Message-ID: <20011221104158.66641084.bga@kgok.murmansk.su> (raw) In-Reply-To: <160663834.20011221091153@narod.ru> [-- Attachment #1: Type: text/plain, Size: 2589 bytes --] On Fri, 21 Dec 2001 09:11:53 +0500 Andrey Kudryashov <andrey-ak@narod.ru> wrote: > >> 1) нельзя ли как-то обяснить apt-get'y чтобы он вёл себя как wGet? > > БГ> Это как? =) > Не знаю как внутри, снаружи это выглядит так > [warlock@OXYGEN warlock]$ wget http://andrey-ak.narod.ru/index.html > --08:46:14-- http://andrey-ak.narod.ru/index.html > => `index.html.1' > Connecting to 151.10.10.1:8080... connected! > Proxy request sent, awaiting response... 200 OK > Length: 1,349 [text/html] > > 0K . 100% 0:00 1.35M > > 08:46:18 (1.29 MB/s) - `index.html.1' saved [1349/1349] Не могу сказать, почему работает wget и не работает apt-get. Слишком мало информации. > БГ> Если она не имеет реального IP и не прописана в NAT-е, > БГ> то пинг не пройдет. > Что прочитать чтоб разобраться (в мысле какие доки)? В /usr/share/doc/HOWTO есть кое-что, на www.linuxdoc.org есть всё остальное. Ищите NET-3-HOWTO, DNS-HOWTO, Firewall-HOWTO и т.п. > А какие ещё есть способы обновиться, если есть инет, но apt-get не > работает? Если уж работает wget, то можно немного исхитриться. Я тут набросал скрипт заместо apt-get update, прилагаю. Зависимости всё равно лучше проверять apt-get, а файлы скачивать, чем получится. Например: ------------------------------ # apt-get -y --print-uris install lyx Processing File Dependencies... Done Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libpwlib The following NEW packages will be installed: libpwlib The following packages will be upgraded lyx 1 packages upgraded, 1 newly installed, 0 to remove(replace) and 128 not upgraded. Need to get 5063kB of archives. After unpacking 3366kB will be used. 'ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/Mandrake/RPMS.sisyphus/libpwlib-1.1.36-alt1.i586.rpm' libpwlib_1.1.36-alt1_i586.rpm 856221 4fff8cf13ba2e2663ff24d8e1c32690b 'ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/Mandrake/RPMS.sisyphus/lyx-1.1.6-alt6.i586.rpm' lyx_1.1.6-alt6_i586.rpm 4206504 4e3f165485480bfd9006c4a14a64b51c ------------------------------ Этот вывод можно перенаправить в файл и считать из него ссылки из X-Downloader-a. А можно отфильтровать и отдать wget-y. -- Баталов Григорий. --------------------------------------------------------------------------- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License. [-- Attachment #2: apt-wget --] [-- Type: text/plain, Size: 971 bytes --] #!/bin/sh cd /var/lib/apt/lists wget ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/Mandrake/base/pkglist.sisyphus.bz2 \ ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/Mandrake/base/srclist.sisyphus.bz2 \ ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/Mandrake/base/release.sisyphus \ ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/i586/Mandrake/base/hashfile.gpg bzip2 -d pkglist.sisyphus.bz2 bzip2 -d srclist.sisyphus.bz2 gpg hashfile.gpg rm -f hashfile.gpg mv -f hashfile ftp.altlinux.ru_pub_distributions_ALTLinux_Sisyphus_i586_Mandrake_base_hashfile mv -f pkglist.sisyphus ftp.altlinux.ru_pub_distributions_ALTLinux_Sisyphus_i586_Mandrake_base_pkglist.sisyphus mv -f release.sisyphus ftp.altlinux.ru_pub_distributions_ALTLinux_Sisyphus_i586_Mandrake_base_release.sisyphus mv -f srclist.sisyphus ftp.altlinux.ru_pub_distributions_ALTLinux_Sisyphus_i586_Mandrake_base_srclist.sisyphus
next prev parent reply other threads:[~2001-12-21 10:40 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-07 11:36 Andrey Kudryashov 2001-12-07 12:46 ` Vyt 2001-12-10 8:18 ` Re[2]: " Andrey Kudryashov 2001-12-10 8:40 ` "Баталов Григорий" 2001-12-10 13:00 ` Re[2]: " Andrey Kudryashov 2001-12-10 14:44 ` Re[3]: " "Баталов Григорий" 2001-12-13 7:57 ` Re[4]: " Andrey Kudryashov 2001-12-13 8:31 ` "Баталов Григорий" 2001-12-14 7:55 ` Re[6]: " Andrey Kudryashov 2001-12-14 8:38 ` Re[7]: " "Баталов Григорий" 2001-12-20 7:04 ` Re[8]: " Andrey Kudryashov 2001-12-20 8:19 ` Re[9]: " "Баталов Григорий" 2001-12-21 7:14 ` Re[10]: " Andrey Kudryashov 2001-12-21 10:40 ` "Баталов Григорий" [this message] 2001-12-21 11:54 ` Re[12]: " Phoenix 2001-12-21 12:09 ` Re[13]: " "Баталов Григорий" 2001-12-21 12:15 ` Re[14]: " Phoenix 2001-12-21 12:15 ` Re[12]: " Korshunov Ilya 2001-12-21 15:00 ` Andrey Kudryashov 2001-12-21 15:13 ` Sergey Degtyaryov 2001-12-13 11:11 ` Michael Shigorin 2001-12-14 7:55 ` Re[2]: " Andrey Kudryashov
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=20011221104158.66641084.bga@kgok.murmansk.su \ --to=bga@kgok.murmansk.su \ --cc=mandrake-russian@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