[opensuse] apt-offline offline update alternative tool for openSUSE?
Currently I don't need this, but for interest: Is there any alternative for Debian/Ubuntu's apt-offline for openSUSE? How to Update/Upgrade Your Ubuntu Without Internet Connection https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec... Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
zypper up --download-only
--
Later,
Darin
On Mon, Jun 20, 2016 at 4:39 PM, Bjoern Voigt
Currently I don't need this, but for interest:
Is there any alternative for Debian/Ubuntu's apt-offline for openSUSE?
How to Update/Upgrade Your Ubuntu Without Internet Connection https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec...
Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21 June 2016 at 15:47, Bjoern Voigt
Darin Perusich wrote:
zypper up --download-only Ok, but both computers need exactly the same packages and package versions then.
You could try something like this: wget -m ftp://ftp5.gwdg.de/pub/opensuse/update/leap/42.1/oss/ Then add the folder (or usb drive) with that folder as a repo and update from there. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/21/2016 09:47 AM, Bjoern Voigt wrote:
Ok, but both computers need exactly the same packages and package versions then.
Well, you could NFS share the download directory. You don't want that cleaned out when one machine does an install so use the "zypper --keep-packages" option for the repositories you want to share (see the "zypper modifyrepo" command for how to do this). -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 21.06.2016 um 16:18 schrieb Anton Aylward:
Ok, but both computers need exactly the same packages and package versions then. Well, you could NFS share the download directory. You don't want that cleaned out when one machine does an install so use
On 06/21/2016 09:47 AM, Bjoern Voigt wrote: the "zypper --keep-packages" option for the repositories you want to share (see the "zypper modifyrepo" command for how to do this). Unfortunately this keeps all older versions of packages, too.
Would be nice to have some option "zypper --keep-newer-packages", which removed older versions of a package whenever a new version of the same packages is downloaded. Herbert
Herbert Graeber wrote:
Would be nice to have some option "zypper --keep-newer-packages", which removed older versions of a package whenever a new version of the same packages is downloaded. +1
I also like to have this also for repositories, which in rare case cause problems, such as Kernel:stable. Currently I use keeppackages=1 for Kernel_stable. If for instance my Nvidia driver does not compile against the latest Kernel I can manually downgrade the kernel from /var/cache/zypp/packages/Kernel_stable. Unfortunately there no function to cleanup the cache directories so, that only new packages are kept. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Jun 21, 2016 at 4:47 PM, Bjoern Voigt
Darin Perusich wrote:
zypper up --download-only Ok, but both computers need exactly the same packages and package versions then.
You probably need to explain what functionality you expect. I do not know what apt-offline does and my first reaction to this question was "boot off DVD". -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
On Tue, Jun 21, 2016 at 4:47 PM, Bjoern Voigt
wrote: Darin Perusich wrote:
zypper up --download-only Ok, but both computers need exactly the same packages and package versions then.
You probably need to explain what functionality you expect. I do not know what apt-offline does and my first reaction to this question was "boot off DVD". One use case is described in the blog article linked from my initial post:
"Let’s imagine the scenario: You have a Ubuntu machine at home that doesn’t come with any Internet connection (probably because home networking is /very/ expensive), and your office (or school) PC is connected to a broadband connection with blazingly fast speed. With apt-offline, you can now make use of the office or school PC (regardless it is running Linux or Windows) to download the necessary packages to your USB drive, and then bring it home to update your home computer." Source: https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec... A slightly different use case I saw in a German Linux group: One user has Internet access, but only with a low amount of data per month, let's say 500 MB per month. He downloads the Ubuntu (or openSUSE) DVD from his office computer with a good Internet connection and takes this DVD to his home computer to install Ubuntu. The question of this user was: How I can get the online updates in this scenario? Someone suggested apt-offline. And my question is, what someone can do, if I want to have something similar for openSUSE? One advantage of apt-offline is, that the office computer doesn't necessarily need Linux. A windows computer can download the packages too. Another use case is the following. I had this often as a Linux trainer: At the beginning of a Linux course, all participants, let's say 20 people, have to learn to install openSUSE on their PCs. The initial media can be delivered as DVDs, USB devices or as a network drive. (Network drive was usually faster than DVDs, but more difficult to set-up for beginners.) But how they get the online updates? Often this takes many hours or days, if everyone downloads and installs his own online updates. At least in the past openSUSE had an issue with libZypp/libCURL so that using a caching proxy to accelerate the downloads for many machines was useless. libZypp had configured libCURL so, that caching was disabled. With some tricks (I remember adding 'header "Pragma:"' to ~root/.curlrc) this issue could be worked around. I don't know, if this issue still exists. Another problem with the caching proxy solution was, that libZypp used mirrors, which makes caching ineffective too. So we have 2,5 use cases at the beginning. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
21.06.2016 22:30, Bjoern Voigt пишет:
Andrei Borzenkov wrote:
On Tue, Jun 21, 2016 at 4:47 PM, Bjoern Voigt
wrote: Darin Perusich wrote:
zypper up --download-only Ok, but both computers need exactly the same packages and package versions then.
You probably need to explain what functionality you expect. I do not know what apt-offline does and my first reaction to this question was "boot off DVD". One use case is described in the blog article linked from my initial post:
"Let’s imagine the scenario: You have a Ubuntu machine at home that doesn’t come with any Internet connection (probably because home networking is /very/ expensive), and your office (or school) PC is connected to a broadband connection with blazingly fast speed. With apt-offline, you can now make use of the office or school PC (regardless it is running Linux or Windows) to download the necessary packages to your USB drive, and then bring it home to update your home computer." Source: https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec...
My second reaction remains - use DVD with next version and do either online or offline update with it. Although ability to download updates only for a given package list is nice, and this is not the first time I see it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I think apt-offline was developed after the success of APTonCD,
http://aptoncd.sourceforge.net/ (you can use it on a flash drive, not
only a CD). It was a Brazilian project at 2006, and was very useful
because some regions in Brazil don't have a high speed connection.
The problem is not only updating, but installing new software. It's
very hard to do it without a internet connection (you need satisfy a
lot of dependencies!).
Atenciosamente / Best regards,
Marcelo Atie.
2016-06-22 0:27 GMT-03:00 Andrei Borzenkov
21.06.2016 22:30, Bjoern Voigt пишет:
Andrei Borzenkov wrote:
On Tue, Jun 21, 2016 at 4:47 PM, Bjoern Voigt
wrote: Darin Perusich wrote:
zypper up --download-only Ok, but both computers need exactly the same packages and package versions then.
You probably need to explain what functionality you expect. I do not know what apt-offline does and my first reaction to this question was "boot off DVD". One use case is described in the blog article linked from my initial post:
"Let’s imagine the scenario: You have a Ubuntu machine at home that doesn’t come with any Internet connection (probably because home networking is /very/ expensive), and your office (or school) PC is connected to a broadband connection with blazingly fast speed. With apt-offline, you can now make use of the office or school PC (regardless it is running Linux or Windows) to download the necessary packages to your USB drive, and then bring it home to update your home computer." Source: https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec...
My second reaction remains - use DVD with next version and do either online or offline update with it.
Although ability to download updates only for a given package list is nice, and this is not the first time I see it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-06-22 05:27, Andrei Borzenkov wrote:
21.06.2016 22:30, Bjoern Voigt пишет:
Andrei Borzenkov wrote:
On Tue, Jun 21, 2016 at 4:47 PM, Bjoern Voigt
wrote: Darin Perusich wrote:
One use case is described in the blog article linked from my initial post:
"Let’s imagine the scenario: You have a Ubuntu machine at home that doesn’t come with any Internet connection (probably because home networking is /very/ expensive), and your office (or school) PC is connected to a broadband connection with blazingly fast speed. With apt-offline, you can now make use of the office or school PC (regardless it is running Linux or Windows) to download the necessary packages to your USB drive, and then bring it home to update your home computer." Source: https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec...
Very nice idea!
My second reaction remains - use DVD with next version and do either online or offline update with it.
Although ability to download updates only for a given package list is nice, and this is not the first time I see it.
The problem is mostly routine software updates, after the system is installed. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Bjoern Voigt wrote:
Currently I don't need this, but for interest:
Is there any alternative for Debian/Ubuntu's apt-offline for openSUSE?
How to Update/Upgrade Your Ubuntu Without Internet Connection
You could download the desired repos, put them on USB and run a local repo-server at home. Updates for leap only take 20Gb right now, 13.2 is 43Gb. -- Per Jessen, Zürich (19.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Bjoern Voigt wrote:
Currently I don't need this, but for interest:
Is there any alternative for Debian/Ubuntu's apt-offline for openSUSE?
How to Update/Upgrade Your Ubuntu Without Internet Connection https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec...
I found two related feature requests, which are 6 and 7 years old. Anyway, you can still vote for these requests. zypper: list download URLs https://features.opensuse.org/310479 Use Zypper to create OSI (for offline installlation) https://features.opensuse.org/308145 I think, one problem with both features is, that it is unclear, how the local repository data should be updated. My idea to solve this problem is: - Offline-Tool on the offline PC copies the package list, the repository configuration and the action (update, dist-upgrade, install a single package, install some packages ...) to an offline media - Offline-Tool on the online PC reads all this information, downloads the required packages, updates the repositories and copies this back to the offline media - Offline-Tool on the offline PC does the update and install actions and updates the repositories from offline media Unfortunately it's probably costly to implement with Zypper as basis. Without Zypper it would become inconsistent to Zypper's update strategies. Maybe business users such as medium cloud providers demand this feature, so that the development got financed. Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Currently I don't need this, but for interest:
Is there any alternative for Debian/Ubuntu's apt-offline for openSUSE?
How to Update/Upgrade Your Ubuntu Without Internet Connection https://www.maketecheasier.com/update-upgrade-ubuntu-without-internet-connec...
Greetings, Björn After reading all the replies, I've noticed that nobody has mentioned https://susestudio.com where you can make an image of everything which includes the latest updates and then burn that image to a usb stick or dvd and upgrade openSUSE without an internet connection. This isn't quite as simple as what ubuntu/debian has but it's most
On 20/06/2016 22:39, Bjoern Voigt wrote: probably the only easy(ish) path to do an offline update. What we do need is a Suse Studio path to create an update only image. You can log in to Studio with your Novell account. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (10)
-
Andrei Borzenkov
-
Anton Aylward
-
Bjoern Voigt
-
Carlos E. R.
-
Darin Perusich
-
Dave Plater
-
Herbert Graeber
-
Marcelo Atie
-
Per Jessen
-
Stanislav Baiduzhyi