Skip to content

Apt on OpenSuSE 10.3

RPM logoOpenSuSE has yast2 and zypper, so why apt you might ask? Because apt-get is simply superior to zypper and yast2, and apt is far far quicker than zypper on resolving depencies. And apt-cache search is nicer than zypper’s search feature. So for me, apt is a nice tool…

To get Apt working, you’ll have to install the apt-package. This can be done with zypper, or Yast. Using zypper, simply type zypper install apt as root (or use sudo). If you prefer Yast, search for apt in the search-pane.

After having installed apt I had to make minor tweaks to the setup. Apt complained about running out of memory. I don’t know why, but I assume that the rpm repos I use (default SuSE 10.3 and packman) is to big for the default setting. I fixed this error-message by adding the line APT::Cache-Limit "1000000000"; to /etc/apt/apt.conf.d/apt.conf file. You can add it wherever you want in the main section, I placed it below the Aquire::CDROM::Copy "True"; line. This did away with that warning.

The next problem I hit was that the packman repos RPM keys was not imported into the RPM system. This was solved by installing the package rpmkeys-packman from packman (or click the package name to get to a download page if you haven’t added the packman repos to YaST). Then simply run rpm --import /usr/lib/rpm/gnupg/packman* as root.

For /etc/apt/sources.list I use the following text, for the SuSE non-oss and oss repos, and packman:

#Main 10.3 Repository
repomd /
repomd /
repomd /

Change this to whatever mirrors you want to use, those I use works fine, is quickly updated and decent speeds.

You should probably have the same software repositories in apt and yast, though I don’t know what happens if you don’t. You might end up with one of them complaining about unresolvable depencies.

Now, try a apt-get update. If it’s all working, you should get no error messages… If you got this working, you should be able to apt-get install synaptics to get a graphical apt front end 🙂

{ 2 } Comments