Bug 242549

Summary: installing package from commandline display ciphered message
Product: [openSUSE] openSUSE 10.2 Reporter: Pavel Nemec <pnemec>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: locilka
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: snapshot

Description Pavel Nemec 2007-02-06 10:11:30 UTC
When calling 
sudo /sbin/yast2 -i wormux*
ncurses gui show up and display unreadable message. 
y2log and snapshot will follow.
Comment 1 Pavel Nemec 2007-02-06 10:15:02 UTC
Created attachment 117573 [details]
snapshot
Comment 2 Pavel Nemec 2007-02-06 10:23:28 UTC
y2 logs are too big for bugzilla.
They are here:
http://beta.suse.com/private/pnemec/y2log_bug242549.tar.bz2
Comment 3 Ladislav Slezák 2007-02-07 15:16:52 UTC
Uh, you have wormux* files in the current directory, right?

-i option is strange, if the argument is a file then yast treats the file as a list with package names. If the file is a RPM package then it obviously fails...

There should be implemented a different option for a file with package names.
Comment 4 Pavel Nemec 2007-02-07 15:32:54 UTC
I am not sure if i understand right.
womux* was completed by shell into one rpm file (wormux-0.7.9-2.1.x86_64.rpm
)
Accoarding to /sbin/yast2 -h:
<snip>
exceptional case for installing packages:
/sbin/yast2 OPTION <package> [<package> [...]]

OPTION:
        -i, --install   install rpm package
<snip>

So it should not fail AFAIK. Correct me if i am wrong.
Comment 5 Ladislav Slezák 2007-02-08 07:01:16 UTC
Also the help text should be updated...
Comment 6 Pavel Nemec 2007-07-18 12:01:43 UTC
ping, what is status of this bug? Should i close this bug as LATER?
Comment 7 Lukas Ocilka 2007-09-12 17:14:29 UTC
The command was:

Launched YaST2 component 'y2base' 'sw_single' '("wormux-0.7.9-2.1.x86_64.rpm.part")' 'ncurses' '--nothreads'
...
clients/sw_single.ycp:167 Parsing file 'wormux-0.7.9-2.1.x86_64.rpm.part' failed
clients/sw_single.ycp:177 packagelist: ["355253356333\0033532615ca6cffdc43d5ac4a7e17523c559e271cf628837041c7cbc7492bd793d1d0be2b3d388
e1f233000ec362b19126f860e18566371bcfe99da0d4darootroot1\021>\0301\021>\0241\021>\f1\021>\r1\021>\0161\021>\0201\021>", "1\021>\0261\021>\0251\021>\0131\021>\0221\021>\0211\021>\027
1\021>E1\021>T1\021>\\1\021>]1\021>h1\021>a1\021>W1\021>X1\021>Y1\021>Z1\021>d1\021>g1\021>U1\021>^1\021>V1\021>b1\021>c1\021>e1\021>_1\021>`1\021>[1\021>f1\021>51\021>?1\021>D1\02
1>=1\021>71\021>81\021>91\021>:1\021>61\021>A1\021>>1\021>@1\021>B1\021><1\021>;1\021>C1\021>|1\021>2061\021>2071\021>2151\021>2111\021>^?1\021>2001\021>2011\021>2021\021>}1\021>
2031\021>2141\021>2121\021>2101\021>~1\021>2041\021>2051\021>2131\021=3701\021>\0051\021>\b1\021>\0031

Heh, yast2 sw_single has opened the file wormux-0.7.9-2.1.x86_64.rpm.part because it thought it was a file containing list of packages to be installed.

...260"251271^P^T<226wy212O360230366273|x^Dp371^Q223251256317346^L226)#l273, 303%270255+I3349316% aren't available

Please, finish downloading the RPM (not ....rpm.part) and try it again.
Thanks
Comment 8 Pavel Nemec 2007-10-10 16:52:36 UTC
Sorry forget to remove needinfo.
Comment 9 Christoph Thiel 2008-04-25 14:02:56 UTC
Use zypper :)