Results 1 to 6 of 6

Thread: broken packages!

  1. #1
    Join Date
    Nov 2008
    Location
    GREECE
    Beans
    292

    Unhappy broken packages!

    Hello to all.
    I got broken packages of mysql in my system and it doesnt let me install or remove any other packages!
    How can I resolve it?
    Last edited by vagelism; June 8th, 2013 at 07:31 AM.
    Evangelos Meintasis
    CNAP/CCNA

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,497
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: broken packages!

    vagelism; Hi !

    Have you taken dpkg's advise and ran the terminal code:
    Code:
    sudo apt-get -f install
    sudo apt-get update
    If so, and still errors - post the complete output for additional guidance.

    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Nov 2008
    Location
    GREECE
    Beans
    292

    Re: broken packages!

    Quote Originally Posted by Bashing-om View Post
    vagelism; Hi !

    Have you taken dpkg's advise and ran the terminal code:
    Code:
    sudo apt-get -f install
    sudo apt-get update
    If so, and still errors - post the complete output for additional guidance.

    just try'n to help
    Code:
    Code:
    Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
    Κατασκευή Δένδρου Εξαρτήσεων                  
    Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
    Διόρθωση εξαρτήσεων... Ετοιμο
    Τα ακόλουθα επιπλέον πακέτα θα εγκατασταθούν:
      mysql-server-5.5
    Προτεινόμενα πακέτα:
      tinyca mailx
    Τα ακόλουθα πακέτα θα αναβαθμιστούν:
      mysql-server-5.5
    1 αναβαθμίστηκαν, 0 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 50 δεν αναβαθμίζονται.
    2 μη πλήρως εγκατεστημένα ή αφαιρέθηκαν.
    Χρειάζεται να μεταφορτωθούν 0 B/8746 kB από αρχεία.
    Μετά από αυτή τη λειτουργία, θα χρησιμοποιηθούν 0 B χώρου από το δίσκο.
    Θέλετε να συνεχίσετε [Ν/ο]; yes
    Προρύθμιση πακέτων ... 
    (Ανάγνωση βάσης δεδομένων ... 366373 files and directories currently installed.)
    Προετοιμασία για αντικατάσταση mysql-server-5.5 5.5.31-0ubuntu0.12.04.1 (χρησιμοποιώντας το .../mysql-server-5.5_5.5.31-0ubuntu0.12.04.2_i386.deb) ...
    invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
    dpkg: warning: η υποδιεργασία παλιό σενάριο pre-removal επέστρεψε κατάσταση λάθους 100
    dpkg - δοκιμάζεται εναλλακτικά το σενάριο από το νέο πακέτο ...
    invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
    dpkg: σφάλμα στην επεξεργασία του /var/cache/apt/archives/mysql-server-5.5_5.5.31-0ubuntu0.12.04.2_i386.deb (--unpack):
     η υποδιεργασία νέο σενάριο pre-removal  επέστρεψε κατάσταση λάθους 100
    No apport report written because MaxReports is reached already
                                                                  invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
    invoke-rc.d: unknown initscript, /etc/init.d/mysql not found.
    dpkg: σφάλμα κατά τον καθαρισμό:
     η υποδιεργασία installed post-installation script επέστρεψε κατάσταση λάθους 100
    Προέκυψαν σφάλματα κατά την επεξεργασία του:
     /var/cache/apt/archives/mysql-server-5.5_5.5.31-0ubuntu0.12.04.2_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Sorry for the language but this problem doesnt allow me to change the language to english ...
    Evangelos Meintasis
    CNAP/CCNA

  4. #4
    Join Date
    May 2013
    Beans
    7

    Re: broken packages!

    sly@sly-desktop:~$ sudo apt-get -f install /home/sly/Área de Trabalho/firefox-21.0.tar.bz2
    E: Não foi possível obter trava /var/lib/dpkg/lock - open (11 Recurso temporariamente indisponível)

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,497
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: broken packages!

    vagelism;

    English is the only language I "know" --limiting for sure --...from your output I can garner that "mysql-server" is problematic (maybe others ?) ...
    try terminal command :
    Code:
    sudo dpkg-reconfigure mysql-server
    see what effect that has.

    @ yakult ;
    That error indicates more than one instance of a package manager is trying to run... only one may do so, close all out and reboot.
    Try again with only a single instance of a package manager running, If problems persist, start another thread, as your problem is not related to the situation in this thread.
    best regards

    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: broken packages!

    Quote Originally Posted by yakult View Post
    sly@sly-desktop:~$ sudo apt-get -f install /home/sly/Área de Trabalho/firefox-21.0.tar.bz2
    E: Não foi possível obter trava /var/lib/dpkg/lock - open (11 Recurso temporariamente indisponível)
    yakult isso quer dizer que provavelmente estaria aberto ou o Ubuntu Software Center ou o Synaptic, quando executaste o comando no terminal. O que tens a fazer é garantires que estão fechados antes de excutar o comando.

    Mas tal como o Bashing-om aconselhou, é melhor começares uma thread nova e não te aproveitares desta. Não só porque isso é contra a política do forum como também torna tudo muito confuso.
    Please mark your thread as solved if you get a satisfactory response
    PopularPages - A Ubuntu Documentation Search Tool
    Ubuntu membership via Forums contributions

Bookmarks

Posting Permissions

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