Announcement

Collapse
No announcement yet.

BIG PACKAGE MUCK UP, CAN'T REMOVE, NEED HELP, Please

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BIG PACKAGE MUCK UP, CAN'T REMOVE, NEED HELP, Please

    Hello,
    I have, stupidly I admit, when trying to install xgl, installed an alien-converted 'suse' package, it broke during install of course, but it won't remove, well it's removed all it's files, but can't remove the actual package, it's looking for "SuSEconfig" module, or something like that, I tried adept, synaptic, apt-get, apt-get with -f, and dpkg with --force-all, always getting the same error, for instance this is the error I get with "sudo apt-get -f remove xgl":
    Code:
    rfdparker2002@robert:~$ sudo apt-get -f remove xgl
    Reading package lists... Done
    Building dependency tree... Done
    The following packages will be REMOVED
     xgl
    0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 4506kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 131094 files and directories currently installed.)
    Removing xgl ...
    
    ERROR: SuSEconfig or requested SuSEconfig module not present!
    
    dpkg: error processing xgl (--remove):
     subprocess post-removal script returned error exit status 1
    Errors were encountered while processing:
     xgl
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    rfdparker2002@robert:~$
    During the meantime non of the things I tried there will let me upgrade, install or uninstall any other packages until it is removed, as you can by the "7 not upgraded" there. Can somebody help remove this please, adept shows it has nothing in installed files, so I only need remove the refrence to the package, the package was NOT installed via a repositry. Can somebody help me please!

    #2
    Re: BIG PACKAGE MUCK UP, CAN'T REMOVE, NEED HELP, Please

    Since you created the package, it may be that you'll need to install before you can remove. I think that the problem you're running into is that you have successfully removed a part of the package that is required to remove a different part fo the package. If that is correct, then you'll need to install the entire package again (so that the missing piece is put back).

    If you are able to isnstall it again, then you should be using sudo dpkg -r ??.deb to get rid of it.

    Comment


      #3
      Re: BIG PACKAGE MUCK UP, CAN'T REMOVE, NEED HELP, Please

      Thanks for the help, but it still trys to remove it first, so I get an error still:
      Code:
      rfdparker2002@robert:~/Desktop$ sudo dpkg -i xgl_cvs_060522-9_i386.deb
      Selecting previously deselected package xgl.
      (Reading database ... 131095 files and directories currently installed.)
      Preparing to replace xgl cvs_060522-9 (using xgl_cvs_060522-9_i386.deb) ...
      Unpacking replacement xgl ...
      
      ERROR: SuSEconfig or requested SuSEconfig module not present!
      
      dpkg: warning - old post-removal script returned error exit status 1
      dpkg - trying script from the new package instead ...
      
      ERROR: SuSEconfig or requested SuSEconfig module not present!
      
      dpkg: error processing xgl_cvs_060522-9_i386.deb (--install):
       subprocess new post-removal script returned error exit status 1
      
      ERROR: SuSEconfig or requested SuSEconfig module not present!
      
      dpkg: error while cleaning up:
       subprocess post-removal script returned error exit status 1
      Errors were encountered while processing:
       xgl_cvs_060522-9_i386.deb
      rfdparker2002@robert:~/Desktop$
      And if I do it with the whole package name I get this:
      Code:
      rfdparker2002@robert:~/Desktop$ sudo dpkg -r xgl_cvs_060522-9_i386.deb
      dpkg: you must specify packages by their own names, not by quoting the names of the files they come in
      
      Type dpkg --help for help about installing and deinstalling packages[*];
      Use `dselect' or `aptitude' for user-friendly package management;
      Type dpkg -Dhelp for a list of dpkg debug flag values;
      Type dpkg --force-help for a list of forcing options;
      Type dpkg-deb --help for help about manipulating *.deb files;
      Type dpkg --licence for copyright licence and lack of warranty (GNU GPL)[*].
      
      Options marked[*] produce a lot of output - pipe it through `less' or `more' !
      rfdparker2002@robert:~/Desktop$
      And if I try just installing it I get:
      Code:
      rfdparker2002@robert:~/Desktop$ sudo dpkg -i xgl_cvs_060522-9_i386.deb
      (Reading database ... 131095 files and directories currently installed.)
      Preparing to replace xgl cvs_060522-9 (using xgl_cvs_060522-9_i386.deb) ...
      Unpacking replacement xgl ...
      
      ERROR: SuSEconfig or requested SuSEconfig module not present!
      
      dpkg: warning - old post-removal script returned error exit status 1
      dpkg - trying script from the new package instead ...
      
      ERROR: SuSEconfig or requested SuSEconfig module not present!
      
      dpkg: error processing xgl_cvs_060522-9_i386.deb (--install):
       subprocess new post-removal script returned error exit status 1
      
      ERROR: SuSEconfig or requested SuSEconfig module not present!
      
      dpkg: error while cleaning up:
       subprocess post-removal script returned error exit status 1
      Errors were encountered while processing:
       xgl_cvs_060522-9_i386.deb
      rfdparker2002@robert:~/Desktop$

      Comment


        #4
        Re: BIG PACKAGE MUCK UP, CAN'T REMOVE, NEED HELP, Please

        Can somebody please help, as everwise the only option I will have is to reinstall Kubuntu, which should take to long if I use the new .1 version, but it's annoying, because if I remember correctly I found it difficult to get the nVidia driver's to work in the normal kubuntu way, you have to use a different command, which I've forgot, I suppose I could just copy across the xorg.conf. Also I'll have to spend ages finding the programs I need, but I will copy or my home directory .<program_name> folders and files and the files from the other home folders, aswell as my shared and /var/www directorys.

        Comment

        Working...
        X