Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    [apt]problema rimozione pacchetto

    Allora stamattina sono in ato e per sbaglio ho cancellato proftpd fa /etc/init.d (lo so sono un pirla) allora ho provato a reintallarlo , ma mi da un errore ho provato anche a rimuoverlo ma nada ...
    se faccio :
    # apt-get remove proftpd
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be REMOVED:
    proftpd proftpd-common
    0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
    Need to get 0B of archives.
    After unpacking 1110kB disk space will be freed.
    Do you want to continue? [Y/n] y
    (Reading database ... 67579 files and directories currently installed.)
    Removing proftpd ...
    invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
    dpkg: error processing proftpd (--remove):
    subprocess pre-removal script returned error exit status 100
    dpkg: proftpd-common: dependency problems, but removing anyway as you request:
    proftpd depends on proftpd-common (= 1.2.9-16).
    Removing proftpd-common ...
    Errors were encountered while processing:
    proftpd
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ----------------------------------------------------------------------------------------------------------
    allora provo a forzarlo :
    dpkg -i --force-all /var/cache/apt/archives/proftpd_1.2.9-16_i386.deb
    Selecting previously deselected package proftpd.
    (Reading database ... 67559 files and directories currently installed.)
    Preparing to replace proftpd 1.2.9-16 (using .../proftpd_1.2.9-16_i386.deb) ...
    invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
    dpkg: warning - old pre-removal script returned error exit status 100
    dpkg - trying script from the new package instead ...
    invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
    dpkg: error processing /var/cache/apt/archives/proftpd_1.2.9-16_i386.deb (--install):
    subprocess new pre-removal script returned error exit status 100
    Errors were encountered while processing:
    /var/cache/apt/archives/proftpd_1.2.9-16_i386.deb
    --------------------------------------------------------------------------------------------------------------
    giustamente non trova più proftpd in /etc/init.d , ma non sò come risolvere il problema ,
    se qualcuno mi può aiutare please !

    Powered By Debian-Sid Kde-3.5.8 Kernel-2.6.22-1

  2. #2
    prova apt-get remove --purge proftpd-common proftpd

    oppure
    apt-get --reinstall install proftpd-common proftpd

  3. #3
    grazie andy l'avevo già provato , ho risolto diversamente , ho creato con touch il file proftpd in /etc/init.d e gli ho dato i permessi di esecuzione , poi sono riuscito a rimuoverlo completamente con :
    apt-get --purge remove proftpd proftpd-common

    alchè l'ho normalmente reinstallato e configurato con :

    apt-get install proftpd proftpd-common

    Grazie molto comunque !
    Powered By Debian-Sid Kde-3.5.8 Kernel-2.6.22-1

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.