apt-get on non-Debian Linicies

Geoff Smith gsmith at geoffco.net
Thu Jan 23 17:48:44 EST 2003


Hello,

http://www.osnews.com/story.php?news_id=1890&page=all

Works for me :-)

Geoff

Michael James wrote:
> Can the "apt" package system be run over rpm?
> 
> I have some suggestions that I can duplicate one systems rpm list
>  onto another machine using a 3 line script calling apt-get.
> 
> To generate the list:
> 
> rpm -qa --queryformat '%{name}\n' > pkglist
> 
> Then do the following:
> 
> for pkg in `cat pkglist`; do
>   apt-get install $pkg
> done
> 
> Is this a not-so-subtle hint to get Debian, or can I run apt-get on Suse?
> 
> Otherwise, given that I have all the RPMs in various directories,
>  it wouldn't be that hard to generate a list of desired RPMs,
>  search them out and add path info to the actual directory,
>  then rpm them in.
> 




More information about the linux mailing list