Results 1 to 4 of 4

Thread: Deleted directory and cannot remove package

  1. #1
    andy76 NNTP User

    Default Deleted directory and cannot remove package

    I am completely new to Linux and Suse and had been trying to get Citrix working.
    I wanted to try the install again and was lead to believe deleting its directory was all I needed to do to remove the current installation.
    However, I think I should have used Yast to remove the package?
    When I try to reinstall the package it now says the package is already installed but I cannot remove it either as I have deleted its directory.

    Can I get round this?!
    The files are not in the Waste Bin.

    Thanks
    Andrew

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Deleted directory and cannot remove package

    Reinstall with the force option

    if installing the .rpm from a terminal it would look like this

    rpm -ihv packagename.rpm --force

    if it's from a repo to use zypper do this:

    zypper in -f citrix

    Once you have installed again, remove with yast if it was from a repo

    or do

    rpm -e packagename
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,832
    Blog Entries
    15

    Default Re: Deleted directory and cannot remove package

    Quote Originally Posted by andy76
    I am completely new to Linux and Suse and had been trying to get Citrix
    working.
    I wanted to try the install again and was lead to believe deleting its
    directory was all I needed to do to remove the current installation.
    However, I think I should have used Yast to remove the package?
    When I try to reinstall the package it now says the package is already
    installed but I cannot remove it either as I have deleted its
    directory.

    Can I get round this?!
    The files are not in the Waste Bin.

    Thanks
    Andrew
    Hi
    Use the cli to manually install as well as using the force command;
    Code:
    sudo rpm -Uhv --force <name_of_rpm>
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 4 days 9:48, 2 users, load average: 0.37, 0.36, 0.31
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  4. #4
    andy76 NNTP User

    Default Re: Deleted directory and cannot remove package

    Thank you both!
    Sorted and finally got Citrix working too
    Learning plenty too as I go along.

Posting Permissions

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