Re: Apt, dpkg and dselect on non-debian system (RH)
I'm not sure whether this is what you want, but I've ported
apt for RPM based systems. It has only been tested on
Conectiva, but it should work in RedHat too.
It's available at:
The version available above will probably not work
with deb packages, but I'll start porting it
to apt's alien code cvs branch soon. That should ensure
that there's only one apt out there, which supports both
deb and rpm based systems.
On Thu, 19 Oct 2000, Piotr Krukowiecki wrote:
> I installed apt (apt-get update && apt-get -d install works ok) on
> Red Hat system (when needed, ~ is expanded)
> make startup
> mkdir ~/local/apt
> mv build/bin ~/local/apt
> mkdir ~/local/apt/cache
> mkdir -p ~/local/apt/archives/partial
> mkdir -p ~/local/apt/lists/partial
> mkdir ~/local/apt/etc
> touch ~/local/apt/cache/srcpkgcache.bin
> touch ~/local/apt/cache/pkgcache.bin
> File ~/local/apt/etc/apt.conf:
> Architecture "i386";
> Get::Download-Only "true";
> State "~/local/apt/";
> State::status "status";
> archives "~/local/apt/archives/";
> srcpkgcache "~/local/apt/cache/srcpkgcache.bin";
> pkgcache "~/local/apt/cache/pkgcache.bin";
> Etc "~/local/apt/etc/";
> bin::Methods "~/local/apt/bin/methods" ;
> These shell variables are set:
> Now installing dpkg:
> ./configure --prefix=~/local/dpkg --with-dselect
> make install
> mkdir ~/local/apt/updates
> touch ~/local/apt/available
> ~/local/dpkg/bin/dselect --admindir ~/local/apt # ~/local/apt there
> # are status etc
> When entering options:
> [A,U]: dselect: unable to read `/usr/local/lib/dpkg/methods/' directory
> for reading methods: Permission denied # how to change this ?
> [S] - it's working, but there is less files then there should be.
> And how to add apt method of downloading deb's ?
> I don't want to install any debs on RH, i want only to download them
> using apt, and then do sth. with them. I know about apt-zip,apt-move.
> I can't remove redhat and install debian.
> I want to install dselect on that Redhat.
> irc: #Debian.pl
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org