View Single Post
Old 31-05-2008, 11:15 PM   #2 (permalink)
NucleusKore
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,447
Default Re: OpenSuSE 10.3 Packages+Dependencies+System Upgrade May 30th 2008

Let me tell you how I pull this off

When I started in December I used to do this using YaST->Software Management.

Procedure:
1. Open YaST
2. Open Software Repositories and add the required repos (see end of above post for sources I have used).
3. Open Software Management. Let's try an example. I want to install arccad. So I search for arccad and mark it for install. Now when I click continue I get the following message form YaST telling me dependencies have to be resolved, three in this case



4. So I press the Print Screen button on my keyboard to take a screenshot, save it, and click cancel in this dependency resolution window.

5. Now in the search box, search for the packages listed in the dependency window, this is where your screenshot becomes handy. You will see that YaST has already marked the packages; highlight them by clicking on them and click on the versions tab below as shown in these two images



6. Now I can see the source of the dependency. With Kwrite open I note these down one by one, and then download them.
7. I then create a folder in my Home directory with all these dependencies and the rpm of the program I want to install.
8. Add this to YaST-> Software Sources as a rpm dir repository and disable all other repositories, except the OpenSuSE DVD.
9. If I have got all the dependencies correctly it should resolve and install without a hitch. If not go back to YaST and try to see what went wrong

As you can see the whole process is quite cumbersome.

Now for this thread of one GB software install, I followed a different method. This is far simpler than the above.

Procedure:
1. Open YaST and install smart-gui
2. After this close YaST, Open a konsole and type su and become root
3. Type smart config --set remove-packages=false
4. Type smart --gui, this will open the smart package manager


5. Click on edit->channels


and add the repositories as follows

Type YaST
ftp://mirrorservice.org/sites/ftp.op...10.3/repo/oss/
ftp://mirrorservice.org/sites/ftp.op.../repo/non-oss/

Type rpm-metadata
ftp://mirrorservice.org/sites/ftp.op...e/update/10.3/
http://packman.unixheads.com/suse/10.3/
http://download.videolan.org/pub/vlc/SuSE/10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://ftp5.gwdg.de/pub/opensuse/rep...openSUSE_10.3/
http://download.opensuse.org/reposit...openSUSE_10.3/
http://download.opensuse.org/reposit...openSUSE_10.3/

Click Update channels


6. Click search and mark various software for installation, dependencies will be automatically resolved. Then click on edit->upgrade all

This will upgrade the system.
Go through the entire package list in the popup that comes and search for packages with i686 (if you have an i686 architecture like me). You will have to make a note of those and download the corresponding i586 packages if you want to make redistributable updates like I do that will work well on both i586 and i686.
Click apply (the cogwheel icon) update.

7. After the update open Konqueror in superuser mode and go to /var/lib/smart/packages to see all the packages with dependencies, copy them to a folder in your home directory and if you want, change the ownership on the folder in your home directory and its contents by right clicking on it and changing the ownership in the permissions tab.

You might be wondering why have I not used smart in the above post to update the system; I ran into a lot of trouble. Smart looks for the gpg keys and gets pissed off on not finding them. I did not find a --no-gpg option in smart like zypper has. Besides a smart upgrade command was working but not smart install packagename; this is why I used zypper.

Anyway you have to copy all those packages to a /var/lib/smart/packages in a GNOME install, add all the repos as above and start the update. Only the addiitonal packages will be downloaded which is not much.
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"

Last edited by NucleusKore; 01-06-2008 at 11:11 AM.
NucleusKore is offline