Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hello When I've run aptitude update/upgrade - on stable with only main and security repositories running, it said, it wants to remove: xfonts-base xfonts-scalable xlibmesa-dri xserver-xfree86 Correct me if I'm ...
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    25

    Aptitude issue - update and upgrade - solved

    Hello
    When I've run aptitude update/upgrade - on stable with only main and security repositories running, it said, it wants to remove:
    xfonts-base xfonts-scalable xlibmesa-dri xserver-xfree86
    Correct me if I'm wrong, but removing xserver isn't such a good idea? I don't know why this happened or should it be like this?
    thanks in advance

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Post the content of your /etc/apt/sources.list. I guess this shouldn't happen if you have only "stable" sources.

    Nope, removing xserver-xfree86 isn't such a good idea.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    25
    # deb file:///cdrom/ sarge main

    deb ftp://ftp.pl.debian.org/debian/ stable main
    # deb-src ftp://ftp.pl.debian.org/debian/ stable main

    deb http://security.debian.org/ stable/updates main


    # deb http://ftp.us.debian.org/debian/ sarge main contrib non-free
    # deb http://www.kadu.net/download/binary/debian/repo/ stable main
    # deb http://eyagi.bpa.nu/~jamie/debian/ sarge main contrib non-free

    Besides the standard repositories I also have
    an unofficial repository (I turned it off after I installed nvidia and quake 2)
    kadu repository (turned it off after I installed kadu)
    and doomsday (jhexen) repository (turned it off after I installed jhexen).

  4. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Aptitude sometimes behaves a little differently than apt-get.

    Do you have the same issue when doing
    Code:
    apt-get update
    and
    Code:
    apt-get dist-upgrade
    ?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  5. #5
    Just Joined!
    Join Date
    Dec 2005
    Posts
    25
    Nope, it simply wants to upgrade the same packages that aptitude wants to upgrade, but doesn't want to remove anything. I guess I should use apt-get then? But I've read that aptitude is more reliable...

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by gabriel_007
    But I've read that aptitude is more reliable...
    I don't know about that, as I've never used aptitude.

    apt-get does exactly what I want. So I have no need for aptitude. Your needs may differ though.

    As far as I know, the only reason aptitude is "better" would be because it remembers which packages were installed at your request instead of as dependencies.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #7
    Just Joined!
    Join Date
    Dec 2005
    Posts
    25
    Hmm... I've run aptitude update/dist-upgrade and it didn't want to remove anything . I guess that was it: to use dist-upgrade. However, during it I encountered another problem:

    Code:
    Następujące NOWE pakiety zostaną zainstalowane:
      x-window-system-core
    Następujące pakiety zostaną uaktualnione:
      gpdf libnspr4 libnss3 libtiff-tools libtiff4 mozilla-browser mozilla-psm
    7 pakietów uaktualnianych, 1 instalowanych, 0 do usunięcia i 0 nie uaktualnianych.
    Do pobrania 0B/12,9MB archiwów. Zajęte po rozpakowaniu: 283kB.
    Kontynuować? [Y/n/?] y
    Zapisywanie dodatkowych informacji o stanie... Gotowe
    Prekonfiguracja pakietów ...
    dpkg: błąd składni, w linii `/var/lib/dpkg/available' niedaleko linii 1:
     po nazwie pola `ÉАU‰ĺSƒěč“' musi wystąpić dwukropek
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    W czasie instalacji wystąpiły problemy. Próba naprawy:
    dpkg: błąd składni, w linii `/var/lib/dpkg/available' niedaleko linii 1:
     po nazwie pola `ÉАU‰ĺSƒěč“' musi wystąpić dwukropek
    Czytanie list pakietów... Gotowe
    Budowanie drzewa zależności
    Odczyt dodatkowych informacji o stanie
    Inicjalizacja stanów pakietów... Gotowe
    Odczyt opisów zadań... Gotowe
    It says:
    During the installation there were problems: Trying to fix it:
    dpkg: syntax error in line /var/lib/dpkg/available close to line 1
    after a fields name (these signs) must be a colon. ":"
    Reading package list... Ready
    etc.

    What should I do?

    I've tried acce

  8. #8
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by gabriel_007
    During the installation there were problems: Trying to fix it:
    dpkg: syntax error in line /var/lib/dpkg/available close to line 1
    after a fields name (these signs) must be a colon. ":"
    Reading package list... Ready
    etc.
    Hum... And
    Code:
    apt-get update
    doesn' return any errors? I guess not you are using an official mirror.

    Does
    Code:
    apt-get -f install
    do something? Or ask to do something?

    If unconclusive, try
    Code:
    apt-get clean
    apt-get autoclean
    apt-get update
    apt-get dist-upgrade
    it should work...
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  9. #9
    Just Joined!
    Join Date
    Dec 2005
    Posts
    25
    Nope, it works the same, with the exception, that apt-get only upgrades packages (aptitude also wants to install this x-window-system-core). But the error is the same. I went through every single step you suggested

  10. #10
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Try
    Code:
    dpkg --clear-avail
    apt-get update
    then.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •