Re: [opensuse] where do my rpm files go?
Henne Vogelsang wrote:
Hi,
On Tuesday, June 24, 2008 at 18:25:09, Mohit Verma wrote:
Henne Vogelsang wrote:
On Tuesday, June 24, 2008 at 18:16:45, Mohit Verma wrote:
Henne Vogelsang wrote:
On Tuesday, June 24, 2008 at 15:43:40, Mohit Verma wrote:
CyberOrg wrote:
> On Tue, Jun 24, 2008 at 3:14 PM, Mohit Verma >
wrote: > >> i have been using suse for a while but i hadn't been bothered >> about this >> before... can some tell me where do all the rpm files go when i >> install >> files through yast. and is there a way to create a backup for >> them...? >> > Add a repository with -k option, like this: > > zypper sa -k > http://www.opensuse-education.org/download/repo/1.0/11.0/ edu > > The rpms would remain in /var/cache/zypp even after installation. > so unless i don't use -k , my rpm packages aren't saved on my computer? is there anyway i can recover the packages i have already installed? You have the files on disk. So save what is there. If you really need packages instead of files you can try a tool like rpmrebuild. Its on 11.0
what files on the disk are you referring to? how can i create a backup of all the softwares installed without using the rpm files?
An rpm is a container with files in it (plus more). So if i install blah.rpm and this add the programm /usr/bin/blah to my system i can backup /usr/bin/blah without having to worry about the rpm right? Thats what im saying.
yeah i got the rpm being a container part and that the thing gets installed somewhere (/usr/bin, /bin, /etc etc...) but don't you think it'll be cumbersome to find all the places where my softwares get installed and then back them up.
Sure. If you want to backup everything...
see whats the point of using rpm then?
Using rpm has nothing to do with backup at all.
thats why i want the rpm packages to be backed up rather than the installed files.
You might want to re-think and think trough what you want to achive.
If you want to mirror stuff you install, for re-use later or something, you know the solutions now. If you want to have a backup of your system the last thing you want to backup is rpm files you install. Rather the opposite is true. You most likely want to backup the stuff that belongs to no package and/or changes after package installation.
Henne
the point of using rpm is to make it convenient to install/remove packages.. i also want to backup all the softwares that i have on my computer, so that when i have to format or have to install on a seperate machine i do not have to download all of them again. now do you think it is possible to backup my softwares from the files in /usr/bin in one place and then later install (some of them or all of them as i wish) on a fresh installation? or will it be better to store all the rpm i downloaded through yast and store them at one place, so that later i can install them without having to download again?\ mohit ps: sorry i accidentally replied to ur personal mail instead of the mailing list. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, On Tuesday, June 24, 2008 at 18:46:53, Mohit Verma wrote:
Henne Vogelsang wrote:
On Tuesday, June 24, 2008 at 18:25:09, Mohit Verma wrote:
Henne Vogelsang wrote:
On Tuesday, June 24, 2008 at 18:16:45, Mohit Verma wrote:
Henne Vogelsang wrote:
On Tuesday, June 24, 2008 at 15:43:40, Mohit Verma wrote: > CyberOrg wrote: >> On Tue, Jun 24, 2008 at 3:14 PM, Mohit Verma >>
wrote: >> >>> can some tell me where do all the rpm files go when i >>> install files through yast. and is there a way to create >>> a backup for them...? >>> >> Add a repository with -k option, like this: >> >> zypper sa -k >> > so unless i don't use -k , my rpm packages aren't saved on my > computer? is there anyway i can recover the packages i have already > installed? > You have the files on disk. So save what is there. If you really need packages instead of files you can try a tool like rpmrebuild. Its on 11.0 what files on the disk are you referring to? how can i create a backup of all the softwares installed without using the rpm files?
An rpm is a container with files in it (plus more). So if i install blah.rpm and this add the programm /usr/bin/blah to my system i can backup /usr/bin/blah without having to worry about the rpm right? Thats what im saying.
yeah i got the rpm being a container part and that the thing gets installed somewhere (/usr/bin, /bin, /etc etc...) but don't you think it'll be cumbersome to find all the places where my softwares get installed and then back them up.
Sure. If you want to backup everything...
see whats the point of using rpm then?
Using rpm has nothing to do with backup at all.
thats why i want the rpm packages to be backed up rather than the installed files.
You might want to re-think and think trough what you want to achive.
now do you think it is possible to backup my softwares from the files in /usr/bin in one place and then later install (some of them or all of them as i wish) on a fresh installation?
Yes you can do that with rpmrebuild. But i think you "just" want to mirror the installation source and use zypper sa -k. Using rpmrebuild will not give you exaclty the same rpm's. Henne -- Henne Vogelsang, openSUSE. Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mohit Verma wrote:
the point of using rpm is to make it convenient to install/remove packages.. i also want to backup all the softwares that i have on my computer, so that when i have to format or have to install on a seperate machine i do not have to download all of them again. now do you think it is possible to backup my softwares from the files in /usr/bin in one place and then later install (some of them or all of them as i wish) on a fresh installation? or will it be better to store all the rpm i downloaded through yast and store them at one place, so that later i can install them without having to download again?\
mohit
ps: sorry i accidentally replied to ur personal mail instead of the mailing list.
If you copy your saved rpms to another directory you can turn it into a repository with createrepo and then add that repo to your system. There is a method of creating rpms from your installed packages that was discussed on this list a while back you can search the list archives for it. You can also download packages direct from the online repositories to your own local repo. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Dave Plater
-
Henne Vogelsang
-
Mohit Verma