how to auto install downloaded packages using zypper?
*To check file conflict: # zypper --dry-run --download-only git * zypper has downloaded package but **not installed** it * which zypper command recognises packages which are downloaded but not installed aka how do i install downloaded packages [ in cache? ] using zypper command? Regards, Jindam
On 2023-06-27 11:29, vani jindam via openSUSE Users wrote:
*To check file conflict: # zypper --dry-run --download-only git * zypper has downloaded package but **not installed** it * which zypper command recognises packages which are downloaded but not installed aka how do i install downloaded packages [ in cache? ] using zypper command?
zypper install git -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Carlos E. R. wrote: > On 2023-06-27 11:29, vani jindam via openSUSE Users wrote: > > *To check file conflict: > > # zypper --dry-run --download-only git > > > > zypper has downloaded package but **not installed** it > > which zypper command recognises packages which are downloaded but not installed aka how do i install downloaded packages [ in cache? ] using zypper command? > > > > zypper install git * What if i forgot about the downloaded package?!? * And i never had need or opportunity about using or installing git? * Does the downloaded package stays on device without installed? Regards, Jindam
Op dinsdag 27 juni 2023 12:40:47 CEST schreef vani jindam via openSUSE Users:
Carlos E. R. wrote:
On 2023-06-27 11:29, vani jindam via openSUSE Users wrote:
*To check file conflict: # zypper --dry-run --download-only git
zypper has downloaded package but **not installed** it which zypper command recognises packages which are downloaded but not installed aka how do i install downloaded packages [ in cache? ] using zypper command?
zypper install git
* What if i forgot about the downloaded package?!? * And i never had need or opportunity about using or installing git? * Does the downloaded package stays on device without installed?
Regards, Jindam Before going on: What is the usecase for all this? To be honest, I don't see any usecase for downloading packages and then do nothing with them. -- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team
On 2023-06-27 12:40, vani jindam via openSUSE Users wrote: > Carlos E. R. wrote: >> On 2023-06-27 11:29, vani jindam via openSUSE Users wrote: >>> *To check file conflict: >>> # zypper --dry-run --download-only git >>> >>> zypper has downloaded package but **not installed** it >>> which zypper command recognises packages which are downloaded but not installed aka how do i install downloaded packages [ in cache? ] using zypper command? >>> >>> zypper install git > * What if i forgot about the downloaded package?!? > * And i never had need or opportunity about using or installing git? > * Does the downloaded package stays on device without installed? The downloaded packages remain on disk till you do a "zypper clean". If "keep installed packages" is enabled, the packages will be kept on disk after installation. If disabled, they will be erased from cache on install. And, if you decide to install "git" or whatever package, and it has been updated, zypper will download the new version and install that one, not the one you downloaded before. There is no zypper command to install everything that is in the cache, makes no sense. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Tue, 27 Jun 2023 12:52:40 +0200 "Carlos E. R." <robin.listas@telefonica.net> : > On 2023-06-27 12:40, vani jindam via openSUSE Users wrote: > > Carlos E. R. wrote: > >> On 2023-06-27 11:29, vani jindam via openSUSE Users wrote: > >>> *To check file conflict: > >>> # zypper --dry-run --download-only git > >>> > >>> zypper has downloaded package but **not installed** it > >>> which zypper command recognises packages which are downloaded but not installed aka how do i install downloaded packages [ in cache? ] using zypper command? > >>> > >>> zypper install git > > * What if i forgot about the downloaded package?!? > > * And i never had need or opportunity about using or installing git? > > * Does the downloaded package stays on device without installed? > > The downloaded packages remain on disk till you do a "zypper clean". If > "keep installed packages" is enabled, the packages will be kept on disk > after installation. If disabled, they will be erased from cache on install. > > And, if you decide to install "git" or whatever package, and it has been > updated, zypper will download the new version and install that one, not > the one you downloaded before. > > There is no zypper command to install everything that is in the cache, > makes no sense. According to one security philosophy there is only 'sterile' and 'dirty'. Anything that has ever been in contact with any network is 'dirty'. In such an environment one wants to download first, then inspect the source code, fumigate if necessary and then install if required. There was a time when I would not install except from a DVD while not connected to anything and condemn the entire installation as well as anythiong it had contacted upon first connection so that a new copy woould have to be launched just about every time. I stopped this practice since it was only an exercise and because I no longer have a problem with providing the snoopgoons with a streaming colonoscopy. > -- > Cheers / Saludos, > > Carlos E. R. > (from 15.4 x86_64 at Telcontar) >
participants (4)
-
bent fender
-
Carlos E. R.
-
Knurpht-openSUSE
-
vani jindam