apt-get probléma

10 bejegyzés megtekintése - 1-10 / 13
  • Szerző
    Bejegyzés
  • #1964512
    BARU
    Felhasználó

      Ha telepíteni akarok valamit apt-get-tel, akkor a következöket irja ki. Mi lehet a probléma?

      server:~# apt-get install mc
      Reading Package Lists… Done
      Building Dependency Tree… Done
      Sorry, mc is already the newest version.
      You might want to run `apt-get -f install’ to correct these:
      Sorry, but the following packages have unmet dependencies:
        apt: Depends: (null) (]= 2.2.3-7) but it is not installable
        apt-utils: Depends: (null) (]= 2.2.3-7) but it is not installable
        at: Depends: (null) (]= 2.2.4-4) but it is not installable
        base-passwd: Depends: (null) (]= 2.2.4-4) but it is not installable
        binutils: Depends: (null) (]= 2.2.4-4) but it is not installable
                  Depends: (null) but it is not installable
        console-tools: Depends: (null) (]= 2.2.4-2) but it is not installable
                      Depends: (null) (]= 0.5) but it is not installable
        console-tools-libs: Depends: (null) (]= 2.2.4-2) but it is not installable
        cpio: Depends: (null) (]= 2.2.4-4) but it is not installable
        cpp-3.0: Depends: (null) (]= 2.2.4-4) but it is not installable
        cron: Depends: (null) (]= 2.2.3-7) but it is not installable
              Depends: (null) (]= 1.7) but it is not installable
        e2fsprogs: PreDepends: (null) (]= 2.2.4-4) but it is not installable
        ed: Depends: (null) (]= 2.1.97) but it is not installable
        findutils: PreDepends: (null) (]= 2.2.3-1) but it is not installable
        gcc-3.0: Depends: (null) (]= 2.2.4-4) but it is not installable
        grep: PreDepends: (null) (]= 2.2.4-4) but it is not installable
        hostname: PreDepends: (null) (]= 2.2.3-1) but it is not installable
        ifupdown: Depends: (null) (]= 2.2.3-1) but it is not installable
        klogd: Depends: (null) (]= 2.2.4-4) but it is not installable
        libc6-dev: Depends: libc6 (= 2.1.3-25) but 2.2.5-3 is to be installed
        libcap1: Depends: (null) (]= 2.2.4-4) but it is not installable
        libgc6: Depends: (null) (]= 2.2.4-4) but it is not installable
        libgc6-dev: Depends: (null) but it is not installable
        libgcc1: Depends: libc6 (]= 2.3.2.ds1-4) but 2.2.5-3 is to be installed
        libgdbmg1: Depends: (null) (]= 2.1.97) but it is not installable
        libident: Depends: (null) (]= 2.1) but it is not installable
        liblockfile1: Depends: (null) (]= 2.2.1-2) but it is not installable
        libpam-modules: Depends: (null) (]= 2.2.4-4) but it is not installable
        libpam0g: Depends: (null) (]= 2.2.4-4) but it is not installable
        libpcap0: Depends: (null) (]= 2.2.3-7) but it is not installable
        libpcre3: Depends: (null) (]= 2.2.3-7) but it is not installable
        libpopt0: Depends: (null) (]= 2.2.4-4) but it is not installable
        libreadline4: Depends: (null) (]= 2.2.4-4) but it is not installable
        libwrap0: Depends: (null) (]= 2.2.4-4) but it is not installable
        mawk: PreDepends: (null) (]= 2.2.3-1) but it is not installable
        mbr: Depends: (null) (]= 2.2.3-7) but it is not installable
        mc: Depends: mc-common (= 4.5.55-1.2woody3) but it is not going to be installed
            Depends: (null) (]= 2.2.4-4) but it is not installable
            Depends: libglib1.2 (]= 1.2.0) but it is not going to be installed
            Depends: (null) (]= 1.19.6-1) but it is not installable
        net-tools: Depends: (null) (]= 2.2.4-4) but it is not installable
        netbase: Depends: (null) but it is not installable
        netkit-inetd: Depends: (null) (]= 2.2.4-4) but it is not installable
        netkit-ping: Depends: (null) (]= 2.2.4-4) but it is not installable
        nvi: Depends: (null) (]= 2.2.4-4) but it is not installable
        perl-base: PreDepends: (null) (]= 2.2.4-4) but it is not installable
        ppp: Depends: (null) (]= 2.2.4-4) but it is not installable
        pppoe: Depends: (null) (]= 2.2.4-4) but it is not installable
        sed: PreDepends: (null) (]= 2.2.3-1) but it is not installable
        setserial: Depends: (null) (]= 2.2.4-4) but it is not installable
        shellutils: PreDepends: (null) (]= 2.2.3-7) but it is not installable
        sysklogd: Depends: (null) (]= 2.2.4-4) but it is not installable
        syslinux: Depends: (null) (]= 2.2.4-4) but it is not installable
        tar: PreDepends: (null) (]= 2.2.4-4) but it is not installable
        tasksel: Depends: (null) (]= 2.2.4-4) but it is not installable
                Depends: (null) (] 1.4.4-7.1) but it is not installable
        tcpd: Depends: (null) (]= 2.2.4-4) but it is not installable
      Segmentation fault
      server:~#

      Honna apt-get elsz??

      #1964513
      fellow
      Felhasználó

        johnni21:
        „server:~# apt-get install mc
        (…)
        Segmentation fault”
        vszinuleg serult a apt cachee, lasd debian_desktop: „8. probléma: megsérültek az apt cache állományai;”

        ezutan generald a cachet: ‘apt-get update’ es ‘apt-get -f install’

        meg nem baj, ha postolod az ‘/etc/apt/sources.list’et, hatha latunk benne vmit;
        utobbi: ujraalkotasa: ‘apt-setup’

        #1964514
        admin
        Adminisztrátor

          Az apt-setup szépen lefutott. Aztán ez következett:

          server:~# apt-get update
          Hit http://non-us.debian.org stable/non-US/main Packages
          Hit http://non-us.debian.org stable/non-US/main Release
          Hit http://non-us.debian.org stable/non-US/main Sources
          Hit http://non-us.debian.org stable/non-US/main Release
          Hit http://non-us.debian.org testing/non-US/main Packages
          Hit http://ftp.hu.debian.org stable/main Packages
          Hit http://ftp.hu.debian.org stable/main Release
          Hit http://ftp.hu.debian.org stable/main Sources
          Hit http://ftp.hu.debian.org stable/main Release
          Hit http://ftp.hu.debian.org testing/main Packages
          Hit http://security.debian.org stable/updates/main Packages
          Hit http://security.debian.org stable/updates/main Release
          Hit http://non-us.debian.org testing/non-US/main Release
          Hit http://ftp.hu.debian.org testing/main Release
          Hit http://non-us.debian.org testing/non-US/contrib Packages
          Hit http://ftp.hu.debian.org testing/non-free Packages
          Hit http://non-us.debian.org testing/non-US/contrib Release
          Hit http://ftp.hu.debian.org testing/non-free Release
          Hit http://non-us.debian.org testing/non-US/non-free Packages
          Hit http://ftp.hu.debian.org testing/contrib Packages
          Hit http://non-us.debian.org testing/non-US/non-free Release
          Hit http://ftp.hu.debian.org testing/contrib Release
          Hit http://non-us.debian.org testing/non-US/main Sources
          Hit http://ftp.hu.debian.org testing/main Sources
          Hit http://non-us.debian.org testing/non-US/main Release
          Hit http://ftp.hu.debian.org testing/main Release
          Hit http://non-us.debian.org testing/non-US/contrib Sources
          Hit http://ftp.hu.debian.org testing/non-free Sources
          Hit http://non-us.debian.org testing/non-US/contrib Release
          Hit http://ftp.hu.debian.org testing/non-free Release
          Hit http://non-us.debian.org testing/non-US/non-free Sources
          Hit http://ftp.hu.debian.org testing/contrib Sources
          Hit http://non-us.debian.org testing/non-US/non-free Release
          Hit http://ftp.hu.debian.org testing/contrib Release
          Reading Package Lists… Error!
          E: Dynamic MMap ran out of room
          E: Error occured while processing python2.1-oss (NewVersion2)
          E: Problem with MergeList /var/lib/apt/lists/ftp.hu.debian.org_debian_dists_testing_main_binary-i386_Packages
          E: The package lists or status file could not be parsed or opened.
          server:~#

          Aztán ez!

          server:~# apt-get -f install
          Reading Package Lists… Error!
          E: Dynamic MMap ran out of room
          E: Error occured while processing python2.1-oss (NewVersion2)
          E: Problem with MergeList /var/lib/apt/lists/ftp.hu.debian.org_debian_dists_testing_main_binary-i386_Packages
          E: The package lists or status file could not be parsed or opened.
          server:~#

          #1964515
          admin
          Adminisztrátor

            Most stable-t, vagy testinget használsz?
            Meg ne is kellene ennyit betenni, bõven elég 1-2 mirror is.

            #1964516
            admin
            Adminisztrátor

              Nem értem a kérdésed! „Most stable-t, vagy testinget használsz?

              #1964517
              admin
              Adminisztrátor

                Stable: woody
                testing: sarge

                Azt kellene betenni a /etc/apt/sources.list -be amelyiket használod.

                nálam woody-ba így néz ki:

                deb http://ftp.debian.org/debian/ woody main non-free contrib
                deb http://security.debian.org/ woody/updates main contrib non-free

                Ennyi egyenlõre bõven elég. A többit # -be tedd.

                #1964518
                Riddic
                Felhasználó

                  Szia nekem ennyi van a source.list fileomban:

                  deb ftp://ftp.hu.debian.org/debian/ sarge main contrib non-free
                  deb-src ftp://ftp.hu.debian.org/debian/ sarge main contrib non-free

                  de amint látod nekem sarge van..

                  #1964519
                  admin
                  Adminisztrátor

                    Ez van a szerveren a sources.list-ban. Ehhez az apt-get-hez nem értek. Mi az a sarge, meg woody? Az apt-setup-nál semmi ilyenre nem kérdez rá.

                    #1964520
                    admin
                    Adminisztrátor

                      ezek a verziók.
                      na még egyszer:
                      stable: woody /pillanatnyilag ez a stabil, szervernek ez az ajánlott/
                      testing:sarge /állítólag szeptember 15 -tõl ez lessz a stabil, szervernek addig még nem ajánlott/
                      unstable: sid

                      Tudni kellene hogy mit telepítettél, és aszerint kell beállítani az apt-t.

                      #1964521
                      fellow
                      Felhasználó

                        johnni21:
                        „# apt-get update
                        (…)
                        E: Dynamic MMap ran out of room”
                        oke, ez eddig kimaradt a debian_desktopbol, majd ma potolom;
                        a hiba abbol all, hogy az apt egy fix meretu memoriateruletet foglal le az „available” allomany tarolasara, ami tul sok csomag eseten betelik;
                        megoldas, ha letrehozod az ‘/etc/apt/apt.conf’ allomanyt es beleirod:
                        APT::Cache-Limit 16777216;
                        ez 16 megara noveli ezt a memoriat, ha ez is keves: ketszerezd addig, amig eleg nem lesz;

                        „Ehhez az apt-get-hez nem értek. Mi az a sarge, meg woody? Az apt-setup-nál semmi ilyenre nem kérdez rá.”
                        az apt hasznalata, a debian agak es az apt-setup hasznalata mind benne van a debian_desktopban, pliz eloszor ott nezd meg, azert keszul;

                      10 bejegyzés megtekintése - 1-10 / 13
                      • Be kell jelentkezni a hozzászóláshoz.