[opensuse] keeping a copy of installed rpms
Is there a way of automatically keeping a copy of everything yast installs from online repositories? At the moment I have to download manually and restart yast after refreshing (createrepo) my local repo. Its very useful for people like me that are not only poor (limited cap ) and like to do dangerous things with their system. I run os 10.3 with some 11 alpha software as well. believe it or not I didn't have any problems with Beagle but I didn't use it so I've uninstalled it anyway. Dave Plater -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories?
AFAIK, no. Perhaps an ftp proxy cache :-? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHbsMctTMYHG2NR9URAvptAKCNhbzTCZRdYgxzJUe/DjqLitgRXgCglOyt JQ3jABYBcN5HvA49sz0cSZs= =MtsL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The Sunday 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories?
It's pretty hard (but do-able) to know in advance what the dependancies are of what you are going to install... easiest way to setup you own installation-server with some add-on repo's So, your install media, all of the updates, packman, and some from the buildserver. (gwdg has it all) Takes some diskspace and some bandwith and a nightly cronjob, but it gets you fast installations and updates. Only to be recommended if one has several machines to keep up-and-running... hw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans Witvliet wrote:
The Sunday 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories?
It's pretty hard (but do-able) to know in advance what the dependancies are of what you are going to install...
easiest way to setup you own installation-server with some add-on repo's So, your install media, all of the updates, packman, and some from the buildserver. (gwdg has it all)
Takes some diskspace and some bandwith and a nightly cronjob, but it gets you fast installations and updates. Only to be recommended if one has several machines to keep up-and-running...
hw
Thanks for reply, I'm a lonely little Linux machine sharing an embedded Linux dsl router with two nasty vista machines and I have my own local repository set up. What I would like, when yast downloads the rpm before installing it, is to have a copy saved in my local repository before yast deletes the rpm. I cannot afford to mirror the two main repos I use, I live in South Africa where the local telkom had a monopoly for many years and a gig of cap costs one fifth of the cost of an 80 gig hard drive. You have just given another reason why yast should have the option to keep installed rpm copies. In a small Linux network you need a copy rpm on hand if a reinstall is needed without eating up your bandwidth. I just find selecting the package in yast then downloading the packages shown in installation summary then stopping yast running createrepo --update then restarting yast and if I missed a file maybe having to repeat the whole process again, painful. I thought I saw a don't clear cache option in Kpackage but its not as good as yast its only a bit easier than cli rpms. All I want for Christmas is a yast that saves its installed rpm,s or at least help ( directions to routine that clears cache to save me hours of looking for it ) to change it myself. merry Xmas everybody Dave Plater -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-12-24 at 09:54 +0200, Dave Plater wrote: ...
All I want for Christmas is a yast that saves its installed rpm,s or at
They are preparing that for opensuse 11.
least help ( directions to routine that clears cache to save me hours of looking for it ) to change it myself.
Dunno... but I think the download directory is arbitrary, not constant. I'm thinking. If, while it is downloading, you discover where it is downloading (use 'ps afx|less', for instance), and then hardlink each rpm there to another location, they will not be deleted from the disk: they will dissapear from the yast directory, but not from the other. But you have to do this fast, before yast deletes each one. As to the piece of code... dunno. Somebody will know. Perhaps in the factory list. Sounds interesting. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHb42rtTMYHG2NR9URAsGSAJsFc/NOYku7nc/m4MyrM9IER23kNQCeOK7s 9WWrTq4zgff/d+h4UTaB46I= =ZacT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. schreef:
The Monday 2007-12-24 at 09:54 +0200, Dave Plater wrote:
...
All I want for Christmas is a yast that saves its installed rpm,s or at
They are preparing that for opensuse 11.
least help ( directions to routine that clears cache to save me hours of looking for it ) to change it myself.
Dunno... but I think the download directory is arbitrary, not constant. I'm thinking. If, while it is downloading, you discover where it is downloading (use 'ps afx|less', for instance), and then hardlink each rpm there to another location, they will not be deleted from the disk: they will dissapear from the yast directory, but not from the other. But you have to do this fast, before yast deletes each one.
As to the piece of code... dunno. Somebody will know. Perhaps in the factory list.
Sounds interesting.
-- Cheers, Carlos E. R.
It certainly does. An option to save or not, default off, could be made, whereby the rpm's are moved to another dir, instead of deleted. especialy when testing stuff, sometimes things get broken, beyond repair when not having working pkgs. Which now sometimes causes to do a new install, which is not the same, and can have issues, that weren't there before.. One should have 2gig spare room for a downgrade to store.. one could downgrade the whole at once, or look for the pkgs that have to be temporarely replaced. This will not be very easy, as sometimes very many pkgs are involved, with many, many deps to solve... - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.24-rc5-git2-2-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 11.0 (x86_64) Alpha0 KDE: 3.5.8 "release 25" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHb5SmX5/X5X6LpDgRAsvuAJ9kVmEbH21whX+PKXt5JdehPcqsHwCgj9nK E2Bp1Jw7S6P8NwW7J/1Fwzc= =hhmh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
M9. wrote:
Carlos E. R. schreef:
The Monday 2007-12-24 at 09:54 +0200, Dave Plater wrote:
...
All I want for Christmas is a yast that saves its installed rpm,s or at They are preparing that for opensuse 11.
least help ( directions to routine that clears cache to save me hours of looking for it ) to change it myself. Dunno... but I think the download directory is arbitrary, not constant. I'm thinking. If, while it is downloading, you discover where it is downloading (use 'ps afx|less', for instance), and then hardlink each rpm there to another location, they will not be deleted from the disk: they will dissapear from the yast directory, but not from the other. But you have to do this fast, before yast deletes each one.
As to the piece of code... dunno. Somebody will know. Perhaps in the factory list.
Sounds interesting.
-- Cheers, Carlos E. R.
It certainly does. An option to save or not, default off, could be made, whereby the rpm's are moved to another dir, instead of deleted.
especialy when testing stuff, sometimes things get broken, beyond repair when not having working pkgs. Which now sometimes causes to do a new install, which is not the same, and can have issues, that weren't there before..
One should have 2gig spare room for a downgrade to store.. one could downgrade the whole at once, or look for the pkgs that have to be temporarely replaced.
This will not be very easy, as sometimes very many pkgs are involved, with many, many deps to solve...
sorry I took so long to say thanks. I have joined the yast development mailing list and have downloaded the yast documentation package. By the way the kernel you are running was the one I last crashed my system with trying to get the nvidia video drivers to work with it. I did not quite understand the workings of pata and my system didn't see the hard disk after kernel compilation and then yast stopped working and x but thanks to having everything it took a few hours to have a better system with my 10.3 beta 2 cd and my local repository. I have reverted to my old 2.6.22.9 kernel. I can't seem to get the nvidia installer to work on the 2.6.24 one. Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Sunday 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories?
AFAIK, no.
Perhaps an ftp proxy cache :-?
-- Cheers, Carlos E. R.
Yast downloads rpm to its cache (I found it once ) installs and then deletes the damn thing, which might have been say open office devel at 227Mb. I have downloaded the sources and maybe if someone can point me to the name of the point of deletion routine I can change that. In fact I think it might make a valuable addition to yast. Thanks Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 17:09:31 Dave Plater wrote:
Carlos E. R. wrote:
The Sunday 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories?
AFAIK, no.
Perhaps an ftp proxy cache :-?
-- Cheers, Carlos E. R.
Yast downloads rpm to its cache (I found it once ) installs and then deletes the damn thing, which might have been say open office devel at 227Mb. I have downloaded the sources and maybe if someone can point me to the name of the point of deletion routine I can change that. In fact I think it might make a valuable addition to yast.
Yum already does this - it is a config option to keep rpms or delete them after installation (with yum, I mean, not Yast). It has command line options to clean up the headers, downloaded rpms or everything once they are no longer needed. Actually, isn't Yast basically a back-end for zypper? Or am I confused about that? Maybe this is actually a function that belongs in zypper rather than Yast. Regards, Rodney. -- =================================================== Rodney Baker VK5ZTV rodney.baker@optusnet.com.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rodney Baker wrote:
On Monday 24 December 2007 17:09:31 Dave Plater wrote:
Carlos E. R. wrote:
The Sunday 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories?
AFAIK, no.
Perhaps an ftp proxy cache :-?
-- Cheers, Carlos E. R.
Yast downloads rpm to its cache (I found it once ) installs and then deletes the damn thing, which might have been say open office devel at 227Mb. I have downloaded the sources and maybe if someone can point me to the name of the point of deletion routine I can change that. In fact I think it might make a valuable addition to yast.
Yum already does this - it is a config option to keep rpms or delete them after installation (with yum, I mean, not Yast). It has command line options to clean up the headers, downloaded rpms or everything once they are no longer needed.
Actually, isn't Yast basically a back-end for zypper? Or am I confused about that? Maybe this is actually a function that belongs in zypper rather than Yast.
Regards, Rodney.
Thanks I'm getting closer bit by bit. I had a conflict with yum before I did my last new install, so I ignored it but I'll try it again but I'd rather use yast I've grown attached to it since my first 7.4 installation. I had 9.1 before 10.3 by the way. merry christmas Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories? At the moment I have to download manually and restart yast after refreshing (createrepo) my local repo.
Are you the same poster as several weeks ago? This very same topic came up a few weeks ago and elicited quite a few replies. My suggestion (that didn't suit the original poster) was to adopt the superior package manager "smart". I have used it for more than a year and have saved all my upgrade downloads in a local cache with no effort once set. Gavin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gavin Chester wrote:
On Sun, 2007-12-23 at 10:51 +0200, Dave Plater wrote:
Is there a way of automatically keeping a copy of everything yast installs from online repositories? At the moment I have to download manually and restart yast after refreshing (createrepo) my local repo.
Are you the same poster as several weeks ago? This very same topic came up a few weeks ago and elicited quite a few replies. My suggestion (that didn't suit the original poster) was to adopt the superior package manager "smart". I have used it for more than a year and have saved all my upgrade downloads in a local cache with no effort once set.
Gavin
nope it wasn't me, I only joined a few days ago. I saw smart mentioned in another thread and installed and tried to enter my local repository but it refused to accept it. I then checked out it's home page and tried command line configuration and that seemed a problem too. With programs that can have such an impact on my system (did you know that gnome menus stops kde menu editing ) I prefer the devil I know. Besides I've grown attached to yast after all these years. merry christmas Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2007-12-25 at 10:29 +0200, Dave Plater wrote:
Are you the same poster as several weeks ago? This very same topic came up a few weeks ago and elicited quite a few replies. My suggestion (that didn't suit the original poster) was to adopt the superior package manager "smart". I have used it for more than a year and have saved all my upgrade downloads in a local cache with no effort once set.
Gavin
nope it wasn't me, I only joined a few days ago. I saw smart mentioned in another thread and installed and tried to enter my local repository but it refused to accept it.
Pity you had a bad experience - imho 'smart' leaves other package managers for dead. I used yum in fedora in the past, but found it sucked big time in many show-stopping ways over the couple of years I persisted. Then I discovered yast after switching to opensuse with V.10.1, but there were all those well known problems with it back then (forums were full of help requests and work-arounds). Smart came up trumps for me after initial cofig. and has just got better. Don't know how you tried to set it up ... but, if you had populated your local cache under /var/lib/smart/cache/packages (and so on) with your own downloaded packages (after initial setup) it should have "just worked" to get your rpms off the local disk. Don't think you have to create a local repository unless you're serving up to a clutch of PCs on a LAN/WAN. Gavin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gavin Chester wrote:
On Tue, 2007-12-25 at 10:29 +0200, Dave Plater wrote:
Are you the same poster as several weeks ago? This very same topic
came
up a few weeks ago and elicited quite a few replies. My suggestion
(that
didn't suit the original poster) was to adopt the superior package manager "smart". I have used it for more than a year and have saved
all
my upgrade downloads in a local cache with no effort once set.
Gavin
nope it wasn't me, I only joined a few days ago. I saw smart mentioned in another thread and installed and tried to enter my local repository but it refused to accept it.
Pity you had a bad experience - imho 'smart' leaves other package managers for dead. I used yum in fedora in the past, but found it sucked big time in many show-stopping ways over the couple of years I persisted. Then I discovered yast after switching to opensuse with V.10.1, but there were all those well known problems with it back then (forums were full of help requests and work-arounds). Smart came up trumps for me after initial cofig. and has just got better.
Don't know how you tried to set it up ... but, if you had populated your local cache under /var/lib/smart/cache/packages (and so on) with your own downloaded packages (after initial setup) it should have "just worked" to get your rpms off the local disk. Don't think you have to create a local repository unless you're serving up to a clutch of PCs on a LAN/WAN.
Gavin
Which version of smart are you running? I got 0.52-31 and maybe its just a bug. I tried to add packman to its list and it didn't take it either. The biggest problem is the lack of documentation. I tried a couple of configuration options from command line and couldn't come right either, perhaps there is a file somewhere to edit, I can't find anything useful in etc only two url specs it picked up on first run in the smart directory. Nothing in root either. /var/lib/smart/cache is a file on my system. Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2007-12-26 at 09:51 +0200, Dave Plater wrote:
Don't know how you tried to set it up ... but, if you had populated your local cache under /var/lib/smart/cache/packages (and so on) with your own downloaded packages (after initial setup) it should have "just worked" to get your rpms off the local disk. Don't think you have to create a local repository unless you're serving up to a clutch of PCs on a LAN/WAN.
Gavin
Which version of smart are you running? I got 0.52-31 and maybe its just a bug. I tried to add packman to its list and it didn't take it either. The biggest problem is the lack of documentation. I tried a couple of configuration options from command line and couldn't come right either, perhaps there is a file somewhere to edit, I can't find anything useful in etc only two url specs it picked up on first run in the smart directory. Nothing in root either. /var/lib/smart/cache is a file on my system. Dave
If you get the package "smart-latest.rpm" it will automatically contain ALL the desirable repos, particularly packman and guru. A link I give below will tell how. That will solve the big show-stopper for you :-) The way to solve the second show-stopper is from the smart-faq: "How do I keep the downloaded files after installation? You can do this once by using "smart -o remove-packages=false <install| upgrade>", or set this as a permanent option using "smart config --set remove-packages=false"." Work from cli first and after installing smart run "$ smart update" and it will prompt you one-by-one to enable all those repos. Getting that correct install file ("smart-latest.rpm") is the key to avoid adding repos by hand. Then add the "smart-gui" package if you prefer the gui approach. I chop and change according to need. The first time you run "smart update" from the cli and download even one package it will create that directory "/var/lib/smart/packages" (NOTE: I typed that path wrong first posting). Sounds to me like you need to do some reading :-) Sooo ... Try these links - especially this first one as most important: http://susewiki.org/index.php?title=SMART_Package_Manager and for smart documentation either "man smart" or - http://labix.org/smart/faq Following ALL those steps will get you humming along with the best package (meta)manager around! ;-) Gavin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Gavin Chester wrote:
On Wed, 2007-12-26 at 09:51 +0200, Dave Plater wrote:
Don't know how you tried to set it up ... but, if you had populated
your
local cache under /var/lib/smart/cache/packages (and so on) with
your
own downloaded packages (after initial setup) it should have "just worked" to get your rpms off the local disk. Don't think you have to create a local repository unless you're serving up to a clutch of
PCs on
a LAN/WAN.
Gavin
Which version of smart are you running? I got 0.52-31 and maybe its just a bug. I tried to add packman to its list and it didn't take it either. The biggest problem is the lack of documentation. I tried a couple of configuration options from command line and couldn't come right either, perhaps there is a file somewhere to edit, I can't find anything useful in etc only two url specs it picked up on first run in the smart directory. Nothing in root either. /var/lib/smart/cache is a file on my system. Dave
If you get the package "smart-latest.rpm" it will automatically contain ALL the desirable repos, particularly packman and guru. A link I give below will tell how. That will solve the big show-stopper for you :-)
The way to solve the second show-stopper is from the smart-faq: "How do I keep the downloaded files after installation? You can do this once by using "smart -o remove-packages=false <install| upgrade>", or set this as a permanent option using "smart config --set remove-packages=false"."
Work from cli first and after installing smart run "$ smart update" and it will prompt you one-by-one to enable all those repos. Getting that correct install file ("smart-latest.rpm") is the key to avoid adding repos by hand. Then add the "smart-gui" package if you prefer the gui approach. I chop and change according to need.
The first time you run "smart update" from the cli and download even one package it will create that directory "/var/lib/smart/packages" (NOTE: I typed that path wrong first posting).
Sounds to me like you need to do some reading :-) Sooo ...
Try these links - especially this first one as most important: http://susewiki.org/index.php?title=SMART_Package_Manager
and for smart documentation either "man smart" or - http://labix.org/smart/faq
Following ALL those steps will get you humming along with the best package (meta)manager around! ;-)
Gavin
Thanks for your help, it looks like a smart package manager. Its maybe a little too smart, it only wants to add the oss and non-oss factory repositories, I assume because my system calls itself 11.0 alpha or because thats where I got it. I am using the gui version and it did the update automatically. When I select hide installed packages, there is nothing to see. I tried adding my local rpm dir and it won't stop asking for keys anyway I jammed the enter key and changed to focus under mouse and it's reached 99% after a while. At last I have a package list, now lets try to hide installed. Yes at last I've got some packages I can install. Now the big test is install poppler (poppler is a no no on my system as it has some issue with kdegraphics. Perfect it tells me to remove xpdf-tools, kdebase, kdegraphics and every thing kerry or beagle. OK it looks good, thanks for forcing me to make an extra effort. seasons compliments Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 26 December 2007 05:49:26 am Dave Plater wrote:
my system calls itself 11.0 alpha
Hi Dave, 11.0 Alpha 0 is development (experimental) version for experienced users. It should be updated from Factory repositories only. The package management in Factory was (as of yesterday) broken. It was problem with gpg package, so YaST was unable to verify repository signature and add it to the list. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rajko M. wrote:
On Wednesday 26 December 2007 05:49:26 am Dave Plater wrote:
my system calls itself 11.0 alpha
Hi Dave,
11.0 Alpha 0 is development (experimental) version for experienced users. It should be updated from Factory repositories only.
The package management in Factory was (as of yesterday) broken. It was problem with gpg package, so YaST was unable to verify repository signature and add it to the list.
Hi Rajko, I know, I don't have a problem with yast except I have to download files before I install otherwise I don't have a copy if I screw up my system. Smart keeps on asking for keys and doesn't perform the way Gavin said it should. Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 26 December 2007 09:48:04 am Dave Plater wrote:
Rajko M. wrote: ...
The package management in Factory was (as of yesterday) broken. It was problem with gpg package, so YaST was unable to verify repository signature and add it to the list.
Hi Rajko, I know, I don't have a problem with yast except I have to download files before I install otherwise I don't have a copy if I screw up my system. Smart keeps on asking for keys and doesn't perform the way Gavin said it should. Dave
The gpg problem affects Smart too, as it uses rpm package manager that needs gpg ;-) This is from recent Coolo's mail to factory mail list: "gpg was deinstalled for some weird reasons in a previous run and you might need to reinstall it manually before you can continue." -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Carlos E. R.
-
Dave Plater
-
Gavin Chester
-
Hans Witvliet
-
M9.
-
Rajko M.
-
Rodney Baker