Arch Linux

Sekcia: Konfigurácia 05.06.2008 | 11:16
Chuck Norris   Návštevník
Potrebujem radu.Nainštaloval som si Arch Linux.Pacman mi štrajkuje.Stále mi vypíše,že sa nevie spojiť so žiadnou databázou.Ako ho mám spojazdniť?
    • Re: Arch Linux 05.06.2008 | 11:30
      marowit   Návštevník
      Pozri /etc/pacman.conf a /etc/pacman.d/, ak sa nemylim pisem to len tak z hlavy. Odkomentuj nejaky server v zozname a malo by to ist. Nasledne pacman -Sy.
    • Re: Arch Linux 05.06.2008 | 11:57
      Avatar lazzio F16  Používateľ
      tu je moj pacman.conf ,ak ti pomoze
      # GENERAL OPTIONS
      #
      [options]

      UseColor
      # The following paths are commented out with their default values listed.
      # If you wish to use different paths, uncomment and update the paths.
      #RootDir = /
      #DBPath = /var/lib/pacman/
      #CacheDir = /var/cache/pacman/pkg/
      #LogFile = /var/log/pacman.log
      HoldPkg = pacman glibc
      #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

      #
      # REPOSITORIES
      # - can be defined here or included from another file
      # - pacman will search repositories in the order defined here
      # - local/custom mirrors can be added here or in separate files
      # - repositories listed first will take precedence when packages
      # have identical names, regardless of version number
      #
      # Repository entries are of the format:
      # [repo-name]
      # Server = ServerName
      # Include = IncludePath
      #
      # The header [repo-name] is crucial - it must be present and
      # uncommented to enable the repo.
      #

      # Testing is disabled by default. To enable, uncomment the following
      # two lines. You can add preferred servers immediately after the header,
      # and they will be used before the default mirrors.
      #[testing]
      #Include = /etc/pacman.d/mirrorlist

      [core]
      # Add your preferred servers here, they will be used first
      Include = /etc/pacman.d/mirrorlist

      [extra]
      # Add your preferred servers here, they will be used first
      Include = /etc/pacman.d/mirrorlist

      [community]
      # Add your preferred servers here, they will be used first
      Include = /etc/pacman.d/mirrorlist

      # Unstable is disabled by default. To enable, uncomment the following
      # two lines. You can add preferred servers immediately after the header,
      # and they will be used before the default mirrors.
      #[unstable]
      #Include = /etc/pacman.d/mirrorlist

      # An example of a custom package repository. See the pacman manpage for
      # tips on creating your own repositories.
      #[custom]
      #Server = file:///home/custompkgs

      pacman by sa nemal zahravat s chuck-om :)

      ak ti uz pojde tak si spojazdni aj farby,teda ak cchces , navod
      $ € £ > /dev/null ; fg human_mind [1] zazen
      • Re: Arch Linux 05.06.2008 | 11:58
        Avatar Stanislav Hoferek Greenie 18.04  Používateľ
        prave som pisal o pacmane spravicku :)
      • Re: Arch Linux 05.06.2008 | 12:24
        :D   Návštevník
        skor chuck s pacmanom :D
      • Re: Arch Linux 05.06.2008 | 13:43
        Chuck Norris   Návštevník
        Skúsil som sa dostať do /etc/pacman.conf a vypísalo mi permission denied.
        • Re: Arch Linux 05.06.2008 | 13:58
          Avatar lazzio F16  Používateľ
          sudo vim /etc/pacman.conf das heslo a ides
          alebo
          sudo tvoj_editor/etc/pacman.conf
          $ € £ > /dev/null ; fg human_mind [1] zazen
          • Re: Arch Linux 05.06.2008 | 18:04
            Avatar Filip Horňák ArchLinux  Používateľ
            ked nic nepomoze skus este naeditovat mirrorlist: su, alebo sudo
            vim /etc/pacman.d/mirrorlist, alebo nano /etc/pacman.d/mirrorlist tam si skus prepnut server, potm zadaj pacman -Syy to ti stiahne alebo zaktualizuje repozitare v Pacmane zo servera. Net ti bezi normalne?