4

OpenSUSE Linux: When 1-Click Install Bites the Dust

view full story
linux-howto

http://feedproxy.google.com – In OpenSUSE Linux, we have a wonderful thing called One-Click Install. This is a marvelous thing for new users. I love it to death, and care for it as I would my own child. Almost everyone knows that this is very cool except for maybe Christer, as he is not a believer (nuttin but love bro, loved your presentation @ UTOSC). That said, what happens when it stops working or gets broken? Use Windows. Let’s head over to the OpenSUSE Build Service. Search for something cool like the fluxbox window manager. The results come up, and you click on the 1-Click Install. You should see something like this: However, if it is broken, you will not see the “YaST Meta Package Handler (default)” in the OPEN WITH radio button drop-down. You may see something like this: The first thing to do is tear your hair out. If you don’t have any, turn to the closest person to you (I do not recommend a spouse unless you want to spend the rest of your life on the couch). The first thing to do is to click CANCEL. Then, look right above the 1-Click Install button. There is a link in gray: Click that bad boy. You are taken to a really scary-looking page like this: Totally no worries here. Copy everything in the address bar: Pop open a terminal window, become root, and use zypper to add the repository. Then refresh it, like so: [0917][scott@suse-desktop:~]$ su Password: [0917][root@suse-desktop:/home/scott]$ zypper addrepo "http://download.opensuse.org/repositories/X11:/windowmanagers/openSUSE_11.1/" windowmanagers Adding repository 'windowmanagers' [done] Repository 'windowmanagers' successfully added Enabled: Yes Autorefresh: No URI: http://download.opensuse.org/repositories/X11:/windowmanagers/openSUSE_1... [0917][root@suse-desktop:/home/scott]$ zypper refresh windowmanagers Retrieving repository 'windowmanagers' metadata [done] Building repository 'windowmanagers' cache [done] Specified repositories have been refreshed. [0917][root@suse-desktop:/home/scott]$ Now, you can search for fluxbox and it will find it in your repositories, because you just added the one with fluxbox in it: [0919][root@suse-desktop:/home/scott]$ zypper search fluxbox Loading repository data... Reading installed packages... S | Name | Summary | Type --+---------+---------------------------+----------- | fluxbox | The fluxbox windowmanager | package | fluxbox | The fluxbox windowmanager | srcpackage [0919][root@suse-desktop:/home/scott]$ If you’d like to install it, go for it, baby. No holds barred: [0919][root@suse-desktop:/home/scott]$ zypper in fluxbox Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: fluxbox Overall download size: 920.0 K. After the operation, additional 3.6 M will be used. Continue? [YES/no]: Retrieving package fluxbox-1.1.1-1.2.i586 (1/1), 920.0 K (3.6 M unpacked) Retrieving: fluxbox-1.1.1-1.2.i586.rpm [done (236.8 K/s)] Installing: fluxbox-1.1.1-1.2 [done] [0920][root@suse-desktop:/home/scott]$ Houston, we have landed. Now, go enjoy your new package. This method should work with virtually any package where the 1-Click install fails. (Distributions)