Some time ago I attempted to setup apt4rpm, but gave up in frustration. Since there has been a lot of interest expressed on this list recently about apt4rpm, I thought I would try again. I have downloaded and installed the following rpms: apt-0.3.19CVS-20011212.i386.rpm apt4rpm-0.50-1.i386.rpm libapt-0.3.19CVS-20011212.i386.rpm netselect-0.2-1.i386.rpm perl-XML-Simple-1.08_01-3.i386.rpm I have read everything I can find on apt-get and/or apt4rpm and followed the setup and configuration instructions (most of which I can't pretend to understand) as closely as possible. Now I am stuck trying to build the initial database. When I run aptate I get: XMLin() requires either XML::SAX or XML::Parser at /usr/bin/aptate.pl line 119 error: incorrect config file "/etc/apt//aptate.conf" EXITVALUE: 11 Could someone please tell me where I am going wrong and point me in the right direction to finally get this thing working? TIA Dave SuSE 8.0 Kernel 2.4.18
** Reply to message from Dave Barton
On Wed, 2002-09-04 at 06:15, Ed Harrison wrote:
** Reply to message from Dave Barton
on 03 Sep 2002 21:29:22 +1000 # apt-0.3.19CVS-20011212.i386.rpm # apt4rpm-0.50-1.i386.rpm # libapt-0.3.19CVS-20011212.i386.rpm # netselect-0.2-1.i386.rpm # perl-XML-Simple-1.08_01-3.i386.rpm # # I have read everything I can find on apt-get and/or apt4rpm and followed # the setup and configuration instructions (most of which I can't pretend # to understand) as closely as possible. # # Now I am stuck trying to build the initial database. When I run aptate I # get: # # XMLin() requires either XML::SAX or XML::Parser at /usr/bin/aptate.pl # line 119 # error: incorrect config file "/etc/apt//aptate.conf" # EXITVALUE: 11 # # Could someone please tell me where I am going wrong and point me in the # right direction to finally get this thing working? # # TIA # # Dave # SuSE 8.0 Kernel 2.4.18
These are the same files that I have. Check /etc/apt/sources.list, here is mine.
# created by aptate rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base usr-local-bin funktronics packman-i386 packman-noarch update kde gnome gnome2 mozilla ximian extra security rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base usr-local-bin funktronics packman-i386 packman-noarch update kde gnome gnome2 mozilla ximian extra security
What command line did you issue? apt-get (only gives help)?
apt-get update gets various package files.
apt-get install synaptic installs a GUI frontend for apt-get.
Good Luck,
Ed Harrison, broadcasting on
Hi Ed, Thanks very much for your reply, but Richard Bos and Marcel Broekman contacted me directly and kindly cleared up most of my confusion about this application. It turned out that I had misunderstood the purpose of the server and client components. I had been following the instructions to set up a server, when all I needed was a client. Duh!!! Again, many thanks for taking the time to try and help me out. Regards Dave
OK now I have partly resolved my confusion about the components for apt, thanks to Richard and others. Now I try try to run apt-get and it tells me: "There are two or more versions of the package 'gnome-doc' installed in your system" rpm will not allow me to remove either (Suse or Ximian) or both (I don't care which). I hear so many on this list raving about apt-get, but I am finding it a pain in the ..... just getting it set up and running. Can anyone help, Pleeeeease! TIA Dave
If you do this.. rpm -q <package name> This will show both entries that are in the rpm db. You can remove the older one by specifying it. Or you can do this.. rpm --rebuilddb This should kickout the duplicate names. Apt is just very picky about keeping a clean system so that nothing is messed up and you have no problems. Other tools are not this anal about dup pkgs and the like. * Dave Barton (bmcs@myrealbox.com) [020908 17:49]: ::OK now I have partly resolved my confusion about the components for apt, ::thanks to Richard and others. :: ::Now I try try to run apt-get and it tells me: :: ::"There are two or more versions of the package 'gnome-doc' installed in ::your system" :: ::rpm will not allow me to remove either (Suse or Ximian) or both (I don't ::care which). :: ::I hear so many on this list raving about apt-get, but I am finding it a ::pain in the ..... just getting it set up and running. :: ::Can anyone help, Pleeeeease! :: ::TIA :: ::Dave :: :: :: :: ::-- ::Check the headers for your unsubscription address ::For additional commands send e-mail to suse-linux-e-help@suse.com ::Also check the archives at http://lists.suse.com ::Please read the FAQs: suse-linux-e-faq@suse.com :: -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I tell you what you should see.
Hi Ben, Thanks very much for that. I managed to rip out the 2nd gnome-doc package. Hopefully I haven't screwed up anything else in the process. Now apt-get is not complaining about anything in the rpm db :) I would like to install synaptic eg. apt-get install synaptic Can somebody tell me what I have to add to the apt config files to get this. TIA Dave On Mon, 2002-09-09 at 11:23, Ben Rosenberg wrote:
If you do this..
rpm -q <package name>
This will show both entries that are in the rpm db. You can remove the older one by specifying it. Or you can do this..
rpm --rebuilddb
This should kickout the duplicate names.
Apt is just very picky about keeping a clean system so that nothing is messed up and you have no problems. Other tools are not this anal about dup pkgs and the like.
* Dave Barton (bmcs@myrealbox.com) [020908 17:49]: ::OK now I have partly resolved my confusion about the components for apt, ::thanks to Richard and others. :: ::Now I try try to run apt-get and it tells me: :: ::"There are two or more versions of the package 'gnome-doc' installed in ::your system" :: ::rpm will not allow me to remove either (Suse or Ximian) or both (I don't ::care which). :: ::I hear so many on this list raving about apt-get, but I am finding it a ::pain in the ..... just getting it set up and running. :: ::Can anyone help, Pleeeeease! :: ::TIA :: ::Dave -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I tell you what you should see.
Sorry I've done it again. I didn't run apt-get -update. Thanks to everyone who offered help and advice. Regards Dave On Mon, 2002-09-09 at 11:59, Dave Barton wrote:
Hi Ben,
Thanks very much for that. I managed to rip out the 2nd gnome-doc package. Hopefully I haven't screwed up anything else in the process. Now apt-get is not complaining about anything in the rpm db :)
I would like to install synaptic eg. apt-get install synaptic
Can somebody tell me what I have to add to the apt config files to get this.
TIA
Dave
On Mon, 2002-09-09 at 11:23, Ben Rosenberg wrote:
If you do this..
rpm -q <package name>
This will show both entries that are in the rpm db. You can remove the older one by specifying it. Or you can do this..
rpm --rebuilddb
This should kickout the duplicate names.
Apt is just very picky about keeping a clean system so that nothing is messed up and you have no problems. Other tools are not this anal about dup pkgs and the like.
* Dave Barton (bmcs@myrealbox.com) [020908 17:49]: ::OK now I have partly resolved my confusion about the components for apt, ::thanks to Richard and others. :: ::Now I try try to run apt-get and it tells me: :: ::"There are two or more versions of the package 'gnome-doc' installed in ::your system" :: ::rpm will not allow me to remove either (Suse or Ximian) or both (I don't ::care which). :: ::I hear so many on this list raving about apt-get, but I am finding it a ::pain in the ..... just getting it set up and running. :: ::Can anyone help, Pleeeeease! :: ::TIA :: ::Dave -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I tell you what you should see.
* Dave Barton (bmcs@myrealbox.com) [020908 19:01]: ::Hi Ben, :: ::Thanks very much for that. I managed to rip out the 2nd gnome-doc ::package. Hopefully I haven't screwed up anything else in the process. ::Now apt-get is not complaining about anything in the rpm db :) :: ::I would like to install synaptic eg. apt-get install synaptic :: ::Can somebody tell me what I have to add to the apt config files to get ::this. If you put the this in your sources.list in /etc/apt then it will pick it up. ### rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 base usr-local-bin funktronics kde gnome gnome2 mozilla extra update security rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/8.0-i386 update security ### Understand this is a shortened list from the two lines that are on the apt4rpm site. These are the directories I wanted. And they were good enough to get me synaptic. :) Cheers! -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I tell you what you should see.
Op maandag 9 september 2002 07:51, schreef Ben Rosenberg:
Understand this is a shortened list from the two lines that are on the apt4rpm site. These are the directories I wanted. And they were good enough to get me synaptic. :)
Some additional information: synaptic is part of the "extra" component: ~> apt-cache showpkg synaptic Package: synaptic Versions: 0.16-rb2(/var/state/apt/lists/_dist_suse-7.3_apt_SuSE_7.3-i386_base_pkglist.extra)(/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_7.3-i386_base_pkglist.extra) 0.16-rb1(/var/state/apt/lists/ftp.gwdg.de_pub_linux_suse_apt_SuSE_7.3-i386_base_pkglist.extra) The component is identified by: pkglist.extra <= -- Richard Bos Without a home the journey is endless
participants (4)
-
Ben Rosenberg
-
Dave Barton
-
Ed Harrison
-
Richard Bos