Results 1 to 4 of 4

Thread: apt-get -f install doesn't work

  1. #1
    Member registered user
    Join Date
    Nov 2003
    Location
    Salamanca, Spain
    Posts
    60

    apt-get -f install doesn't work

    Hi I have a serious problem with my packages. I did apt-get dist-upgrade but I have serious dependency problems and my menus have disapeared. I try doing apt-get -f install but this is the result:

    root@mmindLinux:~# apt-get -f install
    Leyendo lista de paquetes... Hecho
    Creando árbol de dependencias... Hecho
    Corrigiendo dependencias... Listo
    Se instalarán los siguientes paquetes extras:
    joe karm kdelibs-data kdepim-kfile-plugins kdepim-kio-plugins
    kgpgcertmanager kmail kmailcvt knode knotes konsolekalendar kontact korn
    ktnef libkcal2 libkdenetwork2 libkdepim1 libkdgantt0 libkgantt0
    libkpimexchange1 libksieve0 libmal1
    Paquetes sugeridos:
    kmailplugin
    Paquetes recomendados
    kdebase-libs
    Los siguientes paquetes se ELIMINARÁN:
    kdepim-libs
    Se instalarán los siguientes paquetes NUEVOS:
    kdepim-kio-plugins konsolekalendar kontact ktnef libkcal2 libkdepim1
    libkdgantt0 libkgantt0 libkpimexchange1 libksieve0 libmal1
    Se actualizarán los siguientes paquetes:
    joe karm kdelibs-data kdepim-kfile-plugins kgpgcertmanager kmail kmailcvt
    knode knotes korn libkdenetwork2
    11 actualizados, 11 se instalarán, 1 para eliminar y 257 no actualizados.
    702 no instalados del todo o eliminados.
    Se necesita descargar 0B/12,1MB de archivos.
    Se utilizarán 10,1MB de espacio de disco adicional después de desempaquetar.
    ¿Desea continuar? [S/n] s
    (Leyendo la base de datos ...
    157404 ficheros y directorios instalados actualmente.)
    Preparando para reemplazar joe 2.8-23 (usando .../archives/joe_3.1-0.1_i386.deb) ...
    Desempaquetando el reemplazo de joe ...
    /var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permiso denegado
    dpkg: aviso - script de `post-removal' antiguo devolvió código de error 1
    dpkg - probando el script del nuevo paquete en su lugar...
    /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permiso denegado
    dpkg: error al procesar /var/cache/apt/archives/joe_3.1-0.1_i386.deb (--unpack):
    el subproceso script post-removal nuevo devolvió el código de salida de error 1
    /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permiso denegado
    dpkg: error al reorganizar:
    el subproceso post-removal script devolvió el código de salida de error 1
    Preparando para reemplazar kdelibs-data 4:3.1.5-1 (usando .../kdelibs-data_4%3a3.2.2-2_all.deb) ...
    Desempaquetando el reemplazo de kdelibs-data ...
    Reemplazando ficheros del paquete antiguo koffice-data ...
    dpkg: error al procesar /var/cache/apt/archives/kdelibs-data_4%3a3.2.2-2_all.deb (--unpack):
    intentando sobreescribir `/usr/share/mimelnk/application/vnd.sun.xml.calc.desktop', que está también en el paquete openoffice-de-en
    dpkg-deb: el subproceso paste fue terminado por la señal (Tubería rota)
    Se encontraron errores al procesar:
    /var/cache/apt/archives/joe_3.1-0.1_i386.deb
    /var/cache/apt/archives/kdelibs-data_4%3a3.2.2-2_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    So what can I do? Maybe i have to reinstall all my knoppix?

    thanks in advance.

  2. #2
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    You need to force the overwrite of those files. Try:

    Code:
    dpkg -i --force-all  /var/cache/apt/archives/joe_3.1-0.1_i386.deb  /var/cache/apt/archives/kdelibs-data_4%3a3.2.2-2_all.deb

  3. #3
    Member registered user
    Join Date
    Nov 2003
    Location
    Salamanca, Spain
    Posts
    60
    Hi champagnemojo:

    Your solution worked at least for kdelibs but I have this message with joe:

    dpkg -i --force-all /var/cache/apt/archives/joe_3.1-0.1_i386.deb
    (Leyendo la base de datos ...
    157775 ficheros y directorios instalados actualmente.)
    Preparando para reemplazar joe 2.8-23 (usando .../archives/joe_3.1-0.1_i386.deb) ...
    Desempaquetando el reemplazo de joe ...
    /var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permiso denegado
    dpkg: aviso - script de `post-removal' antiguo devolvió código de error 1
    dpkg - probando el script del nuevo paquete en su lugar...
    /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permiso denegado
    dpkg: error al procesar /var/cache/apt/archives/joe_3.1-0.1_i386.deb (--install):
    el subproceso script post-removal nuevo devolvió el código de salida de error 1
    /var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permiso denegado
    dpkg: error al reorganizar:
    el subproceso post-removal script devolvió el código de salida de error 1
    Se encontraron errores al procesar:
    /var/cache/apt/archives/joe_3.1-0.1_i386.deb


    So joe isn't imposible to overwrite although I'm forcing.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You could comment out the 3:rd line in /var/lib/dpkg/info/joe.postrm like:
    # if command -v update-menus >/dev/null 2>&1; then update-menus; fi
    Then do: dpkg --configure -a.
    If it stops complaining do: apt-get --purge remove joe. Unless you want to keep joe of course.
    When you're done you should run the command: update-menus

Similar Threads

  1. Hdd Install won't work.
    By kill_mickey in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-31-2005, 02:14 AM
  2. Install just won't work
    By MadDoc in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 01-31-2005, 07:49 PM
  3. hdd install of 3.6 does not work
    By tibby in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-31-2004, 02:33 PM
  4. NIC won't work from HDD install.
    By LLB34B in forum Networking
    Replies: 3
    Last Post: 09-05-2003, 05:45 PM
  5. net doesn't work after hdd install
    By sevengraff in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 05-29-2003, 02:03 AM

Posting Permissions

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


Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E picture

Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E

$55.99



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



Cisco 24-Port Managed Gigabit Switch WS-C3750G-24TS-S picture

Cisco 24-Port Managed Gigabit Switch WS-C3750G-24TS-S

$49.99



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture

New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub

$11.49



NETGEAR GS308 8 Gigabit Port Unmanaged Ethernet Switch with Power Cord picture

NETGEAR GS308 8 Gigabit Port Unmanaged Ethernet Switch with Power Cord

$12.95



Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord picture

Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord

$43.95



Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch picture

Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch

$100.95



Netgear Prosafe Plus JGS524PE 24 Port Gigabit Switch 12 Port PoE JGS524PE-100NAS picture

Netgear Prosafe Plus JGS524PE 24 Port Gigabit Switch 12 Port PoE JGS524PE-100NAS

$129.98