January 04, 2004

Installing apt4rpm on SuSE 9.0

I thought I would let people know my experiences in installing apt4rpm (an apt tool like on Debian for rpm based systems) on SuSE 9..0

Here are the install steps I went through:

1. go to http://linux01.gwdg.de/apt4rpm/
2. read down and follow the links for your version and download the following rpms: apt, apt-libs
3. Install apt-libs
4. Install lua (find one for your version at http://www.rpmseek.com)
5. Install apt
6. Edit your /etc/apt/sources.list
7. Open up a terminal window, su, then type "apt-get update" to update your sources

Depending on how many entries you have in your /etc/apt/sources.list file your update could take anywhere from a couple of minutes to 10+ minutes or more. apt will give you progress indicators.

If you want to test it you could type "apt-get install links" to install a small, text-based web browser.

As I come up with more information and tips I will put them here. Have good day/night.

Posted at January 4, 2004 01:32 AM


Comments

A nice sources.list would be great :) That's always the painful part of using apt... filling in the sources.list file with useable repositories.

Posted by: Me at January 4, 2004 10:02 AM from 68.38.57.205


I am with 'Me' on this. Your simplified install guide cut right to the chase.

More simplified instructions are now needed to help me understand the 'sources.list' file. The apt4rpm site has many warnings about the dangers of adding stuff which go unqualified. I have no idea how to proceed to anything more than using apt4rpm to do updates and security patches and I suspect that YOU did that quite well.

Posted by: SpudULike at January 12, 2004 04:03 PM from 82.35.32.164


I am with 'Me' on this. Your simplified install guide cut right to the chase.

More simplified instructions are now needed to help me understand the 'sources.list' file. The apt4rpm site has many warnings about the dangers of adding stuff which go unqualified. I have no idea how to proceed to anything more than using apt4rpm to do updates and security patches and I suspect that YOU did that quite well.

Posted by: SpudULike at January 12, 2004 04:03 PM from 82.35.32.164


Hi ... :-)

great ... but what about new version of apt, apt-libs ?

Getting errors using update command ... but still working ... is there a missing init for string (char-array) in source for output of line in verbose-mode ?

see lines below with special chars at the end !

What about making a small sources.list available via apt itself? Is this possible? Maybe adding lines with diff like in source patches?

Thanks
Martin

----------------------
homepc1:/home/mazi1802 # cd ~
homepc1:~ # apt-get update
Hole:1 ftp://ftp.gwdg.de SuSE/9.0-i386 release [7832B]
7832B in 1s (5590B/s) geholt|øêÿ¿%0@?ë
Treffer ftp://ftp.gwdg.de SuSE/9.0-i386/kde pkglist
Hole:1 ftp://ftp.gwdg.de SuSE/9.0-i386/kde release [128B]
Treffer ftp://ftp.gwdg.de SuSE/9.0-i386/xfree86 pkglist
Hole:2 ftp://ftp.gwdg.de SuSE/9.0-i386/xfree86 release [132B]
Hole:3 ftp://ftp.gwdg.de SuSE/9.0-i386/suse-people pkglist [404kB]
Hole:4 ftp://ftp.gwdg.de SuSE/9.0-i386/suse-people release [136B]
Treffer ftp://ftp.gwdg.de SuSE/9.0-i386/base pkglist

...

Hole:26 ftp://ftp.gwdg.de SuSE/9.0-i386/security-prpm release [138B]
Treffer ftp://ftp.gwdg.de SuSE/9.0-i386/security pkglist
Hole:27 ftp://ftp.gwdg.de SuSE/9.0-i386/security release [133B]
767kB in 56s (13,6kB/s) geholt
Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
homepc1:~ # rpm -qa "apt*"
apt-libs-0.5.5cnc6-rb6
apt-0.5.5cnc6-rb6
homepc1:~ #

----------------------

Posted by: Martin at February 10, 2004 08:43 AM from 217.235.151.151


Dear Webmaster, Hello everybody there,
 
Please forward this message to will :-)
 
Thanks very much
 
--------------------------------------
Hi Will,  
 
How to get your eMail adress? There's no one at your homepage :-( Will's
Place ...
  
I know you do not know me :-) I found your HP over some link on
linux01.gwdg.de / apt4rpm ... I hope you  
could help me in some points ...  
  
I did the install long before with 8.0 and all worked great until SuSE 9 ...

I have done a new install of my PC  
an sice this tehre are some problems with apt ... and their repos. list ...
and their compile of apt package ...  
  
I used the rpms to install apt


(ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/apt-0.5.5cnc6-rb6.i586.rpm)
from  
linux01.gwdg.de ... and their repository in resources.list .. now there are
2 main errors / problems  
  
1. the repository list has a line which gives line too long error on
"apt-get update" in line 7 ... it the first rpm  
line inside sources.list  
...  
linux:~ # apt-get update  
E: Zeile 7 zu lang in Quellliste /etc/apt/sources.list.  
...  
  
2. there are several wrong outputs while doing "apt-get update" ... see
below ...  
...  
linux:~ # apt-get update  
Hole:1 ftp://ftp.gwdg.de SuSE/9.0-i386 release [7832B]  
7832B in 1s (5046B/s) geholtZ0@üïF@,dF@x¢E@  
  
linux:~ #  
...  
  
Do you have the same problems? Any solutions ...   
  
Thanks and have fun with Linux :-)  
Martin  
 

Posted by: Martin at February 12, 2004 06:56 AM from 217.228.28.160


At http://linux01.gwdg.de/apt4rpm/ there are FIVE different RPMs for apt and FIVE different RPMs for apt-libs! Which one do I use? How do I tell? What's the difference?

Grrrrrr...

-- Tim Kynerd

Posted by: Tim Kynerd at April 11, 2004 03:11 AM from 217.215.183.80


How to configure apt with a proxy server??
Ive tryed some tutorials, and nothing as worked so far... please help !!

Regars

Posted by: Bruno at May 10, 2004 04:02 AM from 194.65.151.17


APt works best if the proxy environment variable is set (you can hardcode it in apt.conf but you really don't want to have to touch it).

so...

Just do this.

export http_proxy=:
export ftp_proxy=:

Before running apt... alternatively your can make this a global variable by editing .profile.

Posted by: aenertia at May 30, 2004 02:11 AM from 203.97.2.242


Posting of new comments has been disabled for this post.