Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #255392
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . |
| Date | 2023-02-26 19:10 +0100 |
| Message-ID | <G3tDb-8FUS-3@gated-at.bofh.it> (permalink) |
| References | <G3t0t-8Frn-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Feb 26, 2023 at 05:28:44PM +0000, Albretch Mueller wrote: > Basically, I am trying to download all packages that are part of the > installation dependencies of a given one into a directory of my > choosing to then install packages on an unexposed machine. The tricky part here is that the packages on machine A are not necessarily the same as on machine B. So, installing package P1 on machine A may need dependencies P2, P3 and P4. But on machine B, it may need dependencies P3, P4 and P5 instead. If you ignore that, then the obvious answer is: A# apt-get --download-only --reinstall install P1 A# cd /var/cache/apt/archives A# scp *.deb B:/var/cache/apt/archives/ A# ssh root@B B# cd /var/cache/apt/archives B# apt-get install ./P1.deb That should utilize the cached dependent packages P2, P3, P4 which are located in /v/c/a/a on machine B. If additional dependencies are needed, you'll have to fetch those by hand.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Albretch Mueller <lbrtchx@gmail.com> - 2023-02-26 18:30 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Greg Wooledge <greg@wooledge.org> - 2023-02-26 19:10 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Albretch Mueller <lbrtchx@gmail.com> - 2023-02-26 23:10 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Tim Woodall <debianuser@woodall.me.uk> - 2023-02-27 22:50 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Roberto C. Sánchez <roberto@debian.org> - 2023-02-26 23:20 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . davidson <davidson@freevolt.org> - 2023-02-27 04:10 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Anders Andersson <pipatron@gmail.com> - 2023-03-01 01:20 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Albretch Mueller <lbrtchx@gmail.com> - 2023-03-01 18:00 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Albretch Mueller <lbrtchx@gmail.com> - 2023-03-01 18:10 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . "Andrew M.A. Cater" <amacater@einval.com> - 2023-03-01 20:40 +0100
Re: where are the actual ".deb" packages? all I see are "pkgcache.bin" and "srcpkgcache.bin" . . . Albretch Mueller <lbrtchx@gmail.com> - 2023-03-01 21:40 +0100
csiph-web