Re: APT-GET/Synaptic

From: AT (notme_at_example.com)
Date: 08/12/05


Date: Fri, 12 Aug 2005 01:15:38 +0200

On Thu, 11 Aug 2005 22:00:10 +0000, julian pitt wrote:

> Marc Onrust wrote:
>
>> bobbymcgill@prodigy.net wrote:
>>
>>> Hey - I have SuSE9.2 installed, and read a lot about "apt-get", and
>>> decided to give it a whirl. Works great - I like it better than YaST
>>> since I also use Synaptic as the GUI for apt-get.
>>>
>>> My question is - does anyone know of a good list of apt repositories for
>>> SuSE?
>>>
>>> About the only one I can find that has anything useful is
>>> ftp://ftp.gwdg.de
>>>
>>> Any other good ones out there?
>>
>> Try these pages for more information on apt-get for Suse:
>> http://linux01.gwdg.de/apt4rpm/
>>
>> Here you will find (a) repositorie(s):
>>
> http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.3-i386/examples/sources.list.FTP
>>
>> Copy the lines into your /etc/apt/sources.list
>
> I am using apt with Suse 9.3 but I was hoping you might be able to help
> me with the use of it. Is apt meant to replace Yast and how do I use it
> with Yast please. Also what is an RPM-src as i have commented it out of
> my sources.list until I understand what it is for. When I run apt-get
> update I see this output in the terminal
>
> linux:~ # apt-get update
> Get:1 ftp://ftp4.gwdg.de SuSE/9.3-i386 release [11.8kB] Fetched 11.8kB
> in 0s (17.2kB/s)
> Get:1 ftp://ftp4.gwdg.de SuSE/9.3-i386/update-drpm pkglist [694kB] Get:2
> ftp://ftp4.gwdg.de SuSE/9.3-i386/update-drpm release [137B]

[Snip far too many repositories]

> Get:67 ftp://ftp4.gwdg.de SuSE/9.3-i386/jacklab pkglist [43.0kB]
> Get:68 ftp://ftp4.gwdg.de SuSE/9.3-i386/jacklab release [133B]
> Get:69 ftp://ftp4.gwdg.de SuSE/9.3-i386/suse-people pkglist [93.8kB]
> Get:70 ftp://ftp4.gwdg.de SuSE/9.3-i386/suse-people release [137B]
> Fetched 9902kB in 1m14s (134kB/s)
> Reading Package Lists... Done
> Building Dependency Tree... Done
>
> Help Marc what do i do now? Cheers for any help you can give me mate.

Although I am not Marc,

You have just updated your system with far too many package lists for apt.

1. You could start by reading the documentation, then you should remove
all the repositories you don't need. For example, I doubt that you will
have much use for experimental kernels (they are in kernel-of-the-day) or
the X drivers for ATI graphics cards (you are using NVIDIA).

2. Start with a very basic sources.list that includes the following
repositories (I assume that you know how to edit this file):

base update security rpmkeys packman packman-i686 suser-rbos funktronics

This is what I have in my sources.list and which is what will serve you
for a while.

3. You don't need rpm-src, that's for installing rpm source packages which
is not what you want to mess with as a newbie.

4. Apt can replace the package management part of YaST. It does nothing on
the configuration side (apart from running SuSEConfig, which is what YaST
does as well when you use its package management module).

5. After you run 'apt-get update' you can run 'apt-get upgrade' which will
upgrade the installed packages without installing new ones. 'apt-get
install <PACKAGENAME>' will install <PACKAGENAME> and all its dependencies.

6. Read the documentation: 'man apt-get' 'man apt-cache'

-- 
Andreas


Relevant Pages

  • Re: "apt" to eventaully replace "rpm"?
    ... but it worked well as a local package manager too. ... The gui you are ... Now I think we are confusing apt with apt-get. ...
    (Fedora)
  • Re: Upgrade form Dapper to Edgy Eft
    ... Replacing files in old package xinit ... ... Installing new version of config file /etc/X11/Xsession.options ... ... asking me to run 'apt-get dist-upgrade' ...
    (Ubuntu)
  • Re: Noob question - best way to install software
    ... the "apt-get" method, which is pretty simple, and have also ... The Debian package manager was created because there is need for a ... been packaged for Debian, and Debian has provision for installing such ... installing Debian packages from Debian repositories. ...
    (Debian-User)
  • Re: Noob question - best way to install software
    ... the "apt-get" method, which is pretty simple, and have also ... The Debian package manager was created because there is need for a ... been packaged for Debian, and Debian has provision for installing such ... installing Debian packages from Debian repositories. ...
    (Debian-User)
  • Re: aptitude --mind-your-own-business option?
    ... To me the advantage isn't when installing but when removing. ... Apt-get can leave a bunch of cruft buildup. ... Now you want to remove the orrigional package. ...
    (Debian-User)