Only upgrade a specific package #156
-
Hi, I was wondering if it's possible, or could easily be made possible, to create an upgrade for a specific package rather than including everything that needs upgrading in a bundle. After creating a bundle using "apt-offline get upgrade.sig --bundle upgrade.zip" and then adding it to the cache of the offline macnine, I could run "apt-get install --only-upgrade " to only upgrade the package I'm interested in but I would have had to put a zip including upgrades for everything on the offline machine to do this. I'm essentially trying to avoid having to download a 300mb zip file when I only need 5mb of the data in it for a specific package as my offline machines are not truly offline but are rather on slow, less reliable connections with very restrictive data usage limits. Apt-offline is a great solution for installing new packages on them but not updating packages unless I'm missing something. Would it be possible to add an option to apt-offline, maybe in the format "sudo apt-offline set package.sig --upgrade-packages " such that the corresponding "apt-offline get package.sig --bundle package.zip" generates a package.zip that only includes the packages required to upgrade the named package? Thanks for your time in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
That functionality is already there. Just the terminology is different.
You can use the |
Beta Was this translation helpful? Give feedback.
That functionality is already there. Just the terminology is different.