On 2014-01-13 14:06, dn312sr wrote:
>
> robin_listas;2614883 Wrote:
>> On 2014-01-10 11:26, dn312sr wrote:
>> As the DVD is too small, it can not contain the entire OSS repository
>> and the Offline System Upgrade procedure can not upgrade everything. You
>> have to run after it completes, this:
>>
>>>
> Code:
> --------------------
> > >
> > zypper dup
> > zypper up
> > zypper patch
> >
> --------------------
>>>
>>
>> Make sure you only have the 4 official repos active before running
>> that.
> I guess the official repos are on the Internet?
Yes, of course.
> Internet access will be difficult with this machine.
Oh
That’s very unfortunate.
> Is it possible to download the repositories I need, then do it all from
> a USB memory stick?
Well, yes, it is possible… but those repos are quite large. Hold on…
Ok, I connected to “ftp://ftp5.gwdg.de/pub/opensuse/” with midnight
commander, marked all files to find out the total sizes, and the results
are:
(64 bit only data)
oss
x86_64: 6,791,349K bytes in 11790 files
noarch: 8,918,625K bytes in 9580 files
non.oss:
x86_64: 56,519,067 bytes in 23 files
noarch: 103,076,075 bytes in 13 files
update:
x86_64: 1,680,969K bytes in 2668 files
noarch: 1,449,114K bytes in 849 files
nosrc: 534,605 bytes in 1 file
update-non-oss:
x86_64: 27,502,685 bytes in 21 files
nosrc: flash-player-11.2.202.332-22.1.nosrc.rpm
noarch: does not exist.
(plus the small repodata directories on each one)
So you see, the sizes needed are quite large. Not huge, but large
enough; and you need all of them to be sure, because you do not know in
advance what you really need.
There is another route, though. You can run this query:
rpm -q -a --queryformat "%{INSTALLTIME} %{INSTALLTIME:day} \
%{BUILDTIME:day} %-30{NAME} %15{VERSION}-%-7{RELEASE} %{arch} \
%25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}
" \
| sort | cut --fields="2-" | tee rpmlist | less -S
which lists all the installed packages, sorted by installation date. you
have to look at the lines at the top, but they can be hundreds. You have
to take down the list of packages that say they belong to the previous
version, then manually download the corresponding new version on another
computer, and finally update them using the rpm command on the target
computer.
This may need several iterations if you do mistakes or if the packages
have dependencies that you have not downloaded yet.
In fact, you can add a local directory as repository to yast, instead of
the internet repos you can’t access, and use yast to install those.
Doing this will make it easier to handle dependencies than plain rpm,
but still, if those packages needed on the local dir, dependencies can
not be satisfied…
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)