LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-13-2014, 05:05 PM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
Zypper ; add/use options that rpm command has?


I would like to use wget with it's 'retry' option along with 'resolve' like urpmi has or something similar . Can can another commands options be used with zypper?

Thanks!

Last edited by theKbStockpiler; 08-13-2014 at 05:07 PM.
 
Old 08-13-2014, 05:34 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
have you read
Code:
su -
zypper --help
-------- and this ------------
man zypper
and have you searched the suse docs ?
http://activedoc.opensuse.org/search...pper&op=Search
 
Old 08-16-2014, 09:26 PM   #3
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
I could not find any info on using wget with zypper and I also looked through the /etc/zypp/ configuration files. Ugh!
 
Old 08-16-2014, 11:02 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
why would you use "wget" to grab rpm's from the suse repos

wget can NOT resolve dependencies like zypper

what problem are you having

Last edited by John VV; 08-16-2014 at 11:05 PM.
 
Old 08-17-2014, 11:49 AM   #5
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
Here is the issue. I really don't need a fast internet connection unless I'm using suse so I have dialup. In my locale it's either roadrunner for $50 a month or dsl for $30 and they bottle down the speed after you have had it a few months. I was planning on going with dsl soon but it looks like I have to take a pay cut so I would rather not.

All of suse's servers are so slow that the repo can only update it's self %50 of the time. This is Not the case with Mageia and Fedora. If you could enlighten me on a few topics I would appreciate it.

-I see at suse's repo page that there is a listing of rsync servers. How do I get the correct path for updates with that?

-Yum will let you try to install a rpm file and if the dependencies are not met ,yum will take care of that faction for you. Is there a way zypper can do that? That way I can use wget to get the big files and then let zypper take care of dependency hell.
 
Old 08-17-2014, 07:42 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
do not update EVERYTHING at the same time then

when you run
Code:
su -
zypper up
you get a long list of software

say "n" no to updateing

then update one thing at a time
( some WILL have dependencies but zypper will figure it out )
and if TOO LONG AND BIG you can say " no "

then only update something in the dependency list

for example :
i have not updated in a bit so
Code:
zypper up

Loading repository data...
Reading installed packages...

The following 7 package updates will NOT be installed:
  cpp33 gcc33 gcc33-c++ gcc33-fortran libg2c33 libstdc++33 libstdc++33-devel 

The following 4 NEW packages are going to be installed:
  kernel-desktop-3.11.10-21.1 kernel-desktop-devel-3.11.10-21.1 kernel-devel-3.11.10-21.1 oyranos-profile-graph 

The following 61 packages are going to be upgraded:
  MozillaThunderbird NetworkManager NetworkManager-devel at chromium chromium-desktop-kde chromium-suid-helper 
  cinepaint elfutils flash-player flash-player-kde4 gdb hunspell hunspell-tools icc-examin kde4-kgreeter-plugins 
  kdebase4-workspace kdebase4-workspace-devel kdebase4-workspace-ksysguardd kdebase4-workspace-liboxygenstyle 
  kdebase4-workspace-plasma-calendar kdelibs4 kdelibs4-core kdelibs4-doc kdm krb5 krb5-32bit krb5-devel kwin libasm1 
  libdw1 libebl1 libelf1 libelf1-32bit libjbig2 libjbig2-32bit libkde4 libkde4-devel libkdecore4 libkdecore4-devel 
  libksuseinstall1 libnm-glib-vpn1 libnm-glib4 libnm-util2 liboyranos0 liboyranos0-cups liboyranos0-lraw 
  liboyranos0-monitor libsgutils2-2 libzypp oyranos oyranos-monitor oyranos-ui-fltk python-kdebase4 sg3_utils 
  typelib-1_0-NMClient-1_0 typelib-1_0-NetworkManager-1_0 xen-libs zypper zypper-aptitude zypper-log 

61 packages to upgrade, 4 new.
Overall download size: 164.0 MiB. After the operation, additional 211.6 MiB will be used.
Continue? [y/n/? shows all options] (y):
i would type in "n" for no
then do this
Code:
su -
zypper up MozillaThunderbird
---- then ------
zypper up chromium
---- then ----
zypper up NetworkManager NetworkManager-devel
and so on ...
 
Old 08-17-2014, 08:19 PM   #7
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
The problem is getting the xml repo data files to load. I'm looking into loading those manually and also investigating packagekitd. I don't know what packagekitd is a wrapper for but I know fedora and Mageia/Mandriva will take care of dependencies with it. Suse has it too and the commandline command is pkcon.
 
Old 08-17-2014, 10:24 PM   #8
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
I used pkmon to install opera from a rpm but it did not need any dependencies. This is the bash screen.

Quote:
linux-nvvu:/home/kbs # pkcon install-local /home/kbs/Downloads/opera-11.00-1176.i386.rpm
Installing files [=========================]
Waiting in queue [=========================]
Starting [=========================]
Resolving dependencies [=========================]
Installing packages [ ] (0%)
The following packages have to be installed:
opera-2:11.00-1176.i386 A fast and secure web browser and Internet suite
Proceed with changes? [N/y]
So pkmon looks like it will resolve dependencies if you download a packages big files with wget and then install them with pkmon. When I install a package with dependencies I will post back with the pkmon's output.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Zypper update RPM package JJJCR Linux - General 4 02-11-2014 09:45 PM
zypper update makes /var/lib/rpm/Packages grow and grow and grow... Earl3 Linux - General 3 06-27-2011 02:07 PM
zypper install of local rpm file failed: package not found openSauce SUSE / openSUSE 4 03-26-2009 03:11 PM
How can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration