Results 1 to 8 of 8

Thread: Can't remove package

  1. #1
    Join Date
    Feb 2012
    Location
    Northern India
    Beans
    34
    Distro
    Ubuntu 12.04 Precise Pangolin

    Can't remove package

    I have a ZTE USB modem. It came with its dialer software for various platforms. It also had one .deb file. I copied that file to my /home and ran sudo dpkg -i <filename>.

    Although there was an error, it installed and was available in the dash, but didn't work.
    Now i tried to remove it using sudo apt-get remove --purge crossplatformui

    I got a message saying that removing crossplatformui required removal of various other packages including vlc, i hit yes and it removed vlc, but when it tried to remove the modem software it gave me this error.

    Code:
    (Reading database ... 141977 files and directories currently installed.)
    Removing crossplatformui ...
    ztemtvcdromd: no process found
    dpkg: error processing crossplatformui (--remove):
     subprocess installed post-removal script returned error exit status 1
    Errors were encountered while processing:
     crossplatformui
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Now i can't install anymore packages. No updates, nothing. whenever i try to install new packages i get the above error code. What do i do?
    Last edited by inf1nity; June 22nd, 2013 at 07:03 PM.
    if anyone knows any ebooks or sites that teach basics of linux please PM me about it..!

  2. #2
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Can't remove package

    Try
    Code:
    sudo dpkg --force-all -P crossplatformui
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  3. #3
    Join Date
    Feb 2012
    Location
    Northern India
    Beans
    34
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't remove package

    This is what i get

    Code:
    root@945GCM2SA2-6H:~# dpkg --force-all -P crossplatformui
    (Reading database ... 141977 files and directories currently installed.)
    Removing crossplatformui ...
    ztemtvcdromd: no process found
    dpkg: error processing crossplatformui (--purge):
     subprocess installed post-removal script returned error exit status 1
    Errors were encountered while processing:
     crossplatformui
    if anyone knows any ebooks or sites that teach basics of linux please PM me about it..!

  4. #4
    Join Date
    Feb 2012
    Location
    Northern India
    Beans
    34
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't remove package

    while waiting for replies i've done a few things, here they are-
    ran autoclean and autoremove.
    ran dpkg --configure -a.
    deleted files from /var/crash since i was also getting the message "No apport report written because MaxReports is reached already"

    No use.. i lost 11MB worth of downloaded packages and still that package crossplatformui is there. Because of it i can't remove any other packes or intall new ones since before every such operation apt tries to remove croossplatformui and fails.

    What do i do? Should i reinstall ubuntu? But then i'll lose 200MB worth of updates and this is costly since my internet is very slow... Please help..
    if anyone knows any ebooks or sites that teach basics of linux please PM me about it..!

  5. #5
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Can't remove package

    Code:
    sudo rm -f /var/cache/apt/archives/<filename>
    Code:
    sudo apt-get clean
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  6. #6
    Join Date
    Sep 2009
    Location
    Freiburg/Germany
    Beans
    1,112
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Can't remove package

    Please post the contents of the file /var/lib/dpkg/info/crossplatformui.postrm
    ClassicMenu Indicator - classic GNOME menu for Unity
    Unsettings - configuration program for the Unity
    Privacy Indicator - easily switch privacy settings in Unity
    Arronax - create and modify app starters

  7. #7
    Join Date
    Feb 2012
    Location
    Northern India
    Beans
    34
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't remove package

    dentaku and diesch, thanks for your replies. But my problem is fixed. I went to the directory

    /var/lib/dpkg/status (or maybe it was info)

    and i saw a file that had an entry

    Code:
    Package: crossplatformui
    Status: deinstall ok half-installed
    Priority: extra
    Section: non-free/net
    Maintainer: ztemt
    Architecture: i386
    Version: 1.0.38
    Conffiles:
     /etc/acpi/events/ztemtEVDO-lidbtn 20fe0e769bea115150fed0715b78737f
     /etc/acpi/events/ztemtEVDO-powerbtn 48f6cf0bf3e7694c24ae8afbf2ff8714
     /etc/acpi/events/ztemtEVDO-sleepbtn 39e022399f624095fffe5102e5a2eaa3
     /etc/ld.so.conf.d/ztemtApp.conf 354d2849fbfb769a38425ae304d5b9ce
     /etc/udev/rules.d/10-ztemtEVDO.rules aa924f3f8b9ac35a9adcd0abad07e529
    Description: Reliance Netconnect - Broadband+
    I removed this text from the file, (sorry i don't remember that filename) and my problem is now fixed.
    if anyone knows any ebooks or sites that teach basics of linux please PM me about it..!

  8. #8
    Join Date
    Oct 2006
    Beans
    4

    Re: Can't remove package

    Quote Originally Posted by inf1nity View Post
    dentaku and diesch, thanks for your replies. But my problem is fixed. I went to the directory

    /var/lib/dpkg/status (or maybe it was info)

    and i saw a file that had an entry

    Code:
    Package: crossplatformui
    Status: deinstall ok half-installed
    Priority: extra
    Section: non-free/net
    Maintainer: ztemt
    Architecture: i386
    Version: 1.0.38
    Conffiles:
     /etc/acpi/events/ztemtEVDO-lidbtn 20fe0e769bea115150fed0715b78737f
     /etc/acpi/events/ztemtEVDO-powerbtn 48f6cf0bf3e7694c24ae8afbf2ff8714
     /etc/acpi/events/ztemtEVDO-sleepbtn 39e022399f624095fffe5102e5a2eaa3
     /etc/ld.so.conf.d/ztemtApp.conf 354d2849fbfb769a38425ae304d5b9ce
     /etc/udev/rules.d/10-ztemtEVDO.rules aa924f3f8b9ac35a9adcd0abad07e529
    Description: Reliance Netconnect - Broadband+
    I removed this text from the file, (sorry i don't remember that filename) and my problem is now fixed.
    many thanx. Yes the correct file is status. I deleted those lines and it worked.
    PS. my problem was not with this package, it was with musica, but the solution is the same.

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
  •