[opensuse] where do my rpm files go?
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...? there was a similar tool in ubuntu (i don't remember the name) which made an iso containing all the .deb files in /var/cache/apt/archives... is there an alternative for suse? thanks, mohit verma -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jun 24, 2008 at 3:14 PM, Mohit Verma
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. Cheers -J -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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.
Cheers
-J
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? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, 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 http://packages.opensuse-community.org/index.jsp?searchTerm=rpmrebuild&distro=openSUSE_110 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
Henne Vogelsang wrote:
Hi,
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
http://packages.opensuse-community.org/index.jsp?searchTerm=rpmrebuild&distro=openSUSE_110
Henne
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? mohit -- 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: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. 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
Henne Vogelsang wrote:
Hi,
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.
Henne
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. see whats the point of using rpm then? thats why i want the rpm packages to be backed up rather than the installed files. mohit -- 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: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 -- 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-06-24 at 15:03 +0200, Henne Vogelsang wrote:
On Tuesday, June 24, 2008 at 18:25:09, Mohit Verma wrote:
...
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.
Mohit, Have a look at the Yast backup/restore modules. It saves a list of the installed rpms so that you can rebuild the install, plus a copy of modified files of those rpms. The resulting system backup is small in size, but slow to restore: it is rather an automated reinstall. And you need to store the updates rpms somewhere else or download them again. The typical backup solution stores everything on disk, which is safer and faster to restore, but uses a lot more space in the backup media. What nobody does, AFAIK, is reconstruct the original rpms from the files on disk, as a backup solution. It could be possible, perhaps, but I have never heard of it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIYPwxtTMYHG2NR9URAkEnAJ97xsKqRVEXreBmdowKIWep525n6ACgjalv gZ2tMOv02sGnd4/tqaZ12WM= =SirX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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.
Cheers
-J Or you can modify the keeppackages= option to keeppackages=1 in the .repo files in /etc/zypp/repos.d for existing repositories. The files have the existing repository name with a .repo extension. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
CyberOrg
-
Dave Plater
-
Henne Vogelsang
-
Mohit Verma