logo       

Re: create_package_desc (warnings and different packages): msg#00041

linux.suse.autoinstall

Subject: Re: create_package_desc (warnings and different packages)

Martin Vogt wrote:
> Martin Vogt wrote:
>
>> Hello list,
>>
>> another feature in the file create_package_desrc on beta9:
>>
>>
>>
>>
>>> create_package_descr -d ../suse -d ../../CD2/suse -d ../../CD3/suse -d
>>>
>>>
>> ../../CD4/suse -d ../../CD5/suse -x >setup/descr/EXTRA_PROV
>>
>>
>>> find: warning: you have specified the -maxdepth option after a
>>>
>>>
>> non-option argument -name, but options are not positional >(-maxdepth
>> affects tests specified before it as well as those specified after it).
>> Please specify options before other >arguments.
>>
>> The warning is actually only a warning:
>>
>>
>>
>>> processed 2648 packages
>>> now recoding to UTF-8: packages packages.DU packages.en
>>>
>>>
>> Seems ok.
>>
>> But what worries me, is that the packages on beta9 and the newly created
>> differs in size:
>>
>> packages bytes: 2424016
>> packages.beta9 bytes: 2883689
>>
>> The diff of 400k is rather big....
>> I will try a testinstallation now.
>>
>>
>>
>>
>>
>
> Guess......
>
>
>
> does not work. (beta9)
>
> The error is:
>
> "Could not set base selection: default"
>
> Is the tag
> <base>default</base>
>
> OK?
> It worked withouth remastering the packe description......
>
>
>
>
> <software>
> <base>default</base>
> <kernel>kernel-smp</kernel>
> <addons config:type="list">
> <addon>Basis-Devel</addon>
> <addon>Basis-Sound</addon>
> <addon>Fonts</addon>
> <addon>Games</addon>
> <addon>Gnome</addon>
> <addon>Gnome-Devel</addon>
> <addon>Hacker</addon>
> <addon>Java</addon>
> <addon>Kde</addon>
> <addon>Kde-Desktop</addon>
> <addon>Kde-Devel</addon>
> <addon>Kernel-Devel</addon>
> <addon>Laptop</addon>
> <addon>Latex</addon>
> <addon>Mobile</addon>
> <addon>Mono</addon>
> <addon>Multimedia</addon>
> <addon>Network</addon>
> <addon>Non-OSS</addon>
> <addon>Office</addon>
> <addon>SuSE-Documentation</addon>
> <addon>Tcl-Development</addon>
> </addons>
> </software>
>
> Martin
>
>
>
>
AutoinstSoftware.ycp 375:

Packages::Init(true);
string base_selection = base;
if (size(base_selection) > 0)
{
if (! Pkg::ResolvableInstall( base_selection, `selection ))
{
y2error("Error while setting base selection: %1",
base_selection);
Report::Error(sformat(_("Could not set base selection:
%1"), base_selection));
return false;
}
}

Looks like internally the default selection has some dependency problems...
(maybe)
Well, 400k are missing in the created packages file....


Martin


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise