Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [SOLVED] Adept Manager problem


    Hello all. I have been running into a few problems with Adept and package management in general. Lately, I have tried installing a few different packages, with adept only to hang up on me when it neared completion.

    Something I had tried in the past was to issue the command

    Code:
    sudo dpkg --configure -a
    and it would clear out my problems (heard about it in another thread), but now it runs into problems too. Any suggestions? I am using kernel 2.6.24-18-generic. Here is the terminal output from running the command.

    Code:
    solidus126@lappy486:~$ sudo dpkg --configure -a
    [sudo] password for solidus126:
    dpkg: status database area is locked by another process
    solidus126@lappy486:~$ sudo dpkg --configure -a
    Setting up cupswrapperhl2040 (2.0.1-2) ...
    ERROR : Brother LPD filter is not installed.
    /usr/local/Brother/cupswrapper/cupswrapperHL2040-2.0.1: 64: cannot create /usr/share/cups/model/HL2040.ppd: Directory nonexistent
    chmod: cannot access `/usr/local/Brother/inf/brHL2040rc': No such file or directory
    chmod: cannot access `/usr/local/Brother/inf': No such file or directory
     * Restarting Common Unix Printing System: cupsd                         [ OK ]
    cp: cannot stat `/usr/share/cups/model/HL2040.ppd': No such file or directory
    dpkg: error processing cupswrapperhl2040 (--configure):
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
     cupswrapperhl2040
    solidus126@lappy486:~$ lpadmin: No such file or directory
    Also, I have one more question. I am going to have to reformat my Windows partition and reinstall XP since a virus recently destroyed it. My partition table has a really small ~50MB partition, followed by the Windows partition ~20GB, and then by my Kubuntu ~60GB and the swap partition for it. Currently the 50MB partition is assigned sda1, XP is sda2, and Kubuntu sda3. Is it safe to eliminate the small 50MB partition, and tack it on to the new Windows partition, and Kubuntu would have no problem booting up next time (other than having to edit my GRUB menu)?

    Thanks!
    -solidus126

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    Execute this
    Code:
    sudo apt-get clean all
    sudo apt-get update
    Also, I have one more question. I am going to have to reformat my Windows partition and reinstall XP since a virus recently destroyed it. My partition table has a really small ~50MB partition, followed by the Windows partition ~20GB, and then by my Kubuntu ~60GB and the swap partition for it. Currently the 50MB partition is assigned sda1, XP is sda2, and Kubuntu sda3. Is it safe to eliminate the small 50MB partition, and tack it on to the new Windows partition, and Kubuntu would have no problem booting up next time (other than having to edit my GRUB menu)?
    You have to edit both menu.lst and /etc/fstab files. You have to re-install GRUB too and its easy through SuperGRUB CD.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    devils casper,

    I tried out the commands you gave me and they seem to help, but now I get an error message that happens when adept gets close to finishing up an un/installation of a package. I included a screenshot of the error.

    I was able to repartition my hard drive successfully using some help in an old thread in another forum, and thanks for your suggestions!

    -solidus126
    Attached Images Attached Images
    Last edited by solidus126; 06-08-2008 at 12:20 AM. Reason: screenshot was too small to read

  4. $spacer_open
    $spacer_close
  5. #4
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    Adept is not throwing any helpful error message. Which package are you trying to install?
    Try to install it with apt-get and post exact error message here.
    Code:
    sudo apt-get clean all
    sudo apt-get update
    sudo apt-get install package_name
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    devils casper,

    Here is the result of trying to install a package from the command line. This has been about the same result for anything I install.

    Code:
    solidus126@lappy486:~$ sudo apt-get install libcwiid
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package libcwiid
    solidus126@lappy486:~$ sudo apt-get install wminput
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
      libcwiid1 python-cwiid
    The following NEW packages will be installed:
      libcwiid1 python-cwiid wminput
    0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 69.6kB of archives.
    After this operation, 434kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://ubuntu.mirror.frontiernet.net hardy/universe libcwiid1 0.6.00-2 [22.1kB]
    Get:2 http://ubuntu.mirror.frontiernet.net hardy/universe python-cwiid 0.6.00-2 [9514B]
    Get:3 http://ubuntu.mirror.frontiernet.net hardy/universe wminput 0.6.00-2 [38.0kB]
    Fetched 69.6kB in 0s (176kB/s)
    Selecting previously deselected package libcwiid1.
    (Reading database ... 125213 files and directories currently installed.)
    Unpacking libcwiid1 (from .../libcwiid1_0.6.00-2_i386.deb) ...
    Selecting previously deselected package python-cwiid.
    Unpacking python-cwiid (from .../python-cwiid_0.6.00-2_i386.deb) ...
    Selecting previously deselected package wminput.
    Unpacking wminput (from .../wminput_0.6.00-2_i386.deb) ...
    Setting up cupswrapperhl2040 (2.0.1-2) ...
    ERROR : Brother LPD filter is not installed.
    /usr/local/Brother/cupswrapper/cupswrapperHL2040-2.0.1: 64: cannot create /usr/share/cups/model/HL2040.ppd: Directory nonexistent
    chmod: cannot access `/usr/local/Brother/inf/brHL2040rc': No such file or directory
    chmod: cannot access `/usr/local/Brother/inf': No such file or directory
     * Restarting Common Unix Printing System: cupsd                         [ OK ]
    cp: cannot stat `/usr/share/cups/model/HL2040.ppd': No such file or directory
    dpkg: error processing cupswrapperhl2040 (--configure):
     subprocess post-installation script returned error exit status 1
    Setting up libcwiid1 (0.6.00-2) ...
    
    Setting up python-cwiid (0.6.00-2) ...
    
    Setting up wminput (0.6.00-2) ...
    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     cupswrapperhl2040
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    solidus126@lappy486:~$
    And here is another screenshot of adept trying to install the same thing (and the crash output).

    Code:
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [Thread debugging using libthread_db enabled]
    [New Thread 0xb66246c0 (LWP 6825)]
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [KCrash handler]
    #6  0xb7fc3410 in __kernel_vsyscall ()
    #7  0xb669c085 in raise () from /lib/tls/i686/cmov/libc.so.6
    #8  0xb669da01 in abort () from /lib/tls/i686/cmov/libc.so.6
    #9  0xb68ac480 in __gnu_cxx::__verbose_terminate_handler ()
       from /usr/lib/libstdc++.so.6
    #10 0xb68a9d05 in ?? () from /usr/lib/libstdc++.so.6
    #11 0xb68a9d42 in std::terminate () from /usr/lib/libstdc++.so.6
    #12 0xb68a9e6a in __cxa_throw () from /usr/lib/libstdc++.so.6
    #13 0x080fd378 in ?? ()
    #14 0x080fe16e in ?? ()
    #15 0x080fe1d4 in ?? ()
    #16 0x080751db in ?? ()
    #17 0x0807645a in ?? ()
    #18 0xb6f02704 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
    #19 0xb6f031e9 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
    #20 0xb781ab19 in KAction::activated () from /usr/lib/libkdeui.so.4
    #21 0xb785b452 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
    #22 0xb785b3ec in KAction::slotButtonClicked () from /usr/lib/libkdeui.so.4
    #23 0xb7946a78 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
    #24 0xb6f02704 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
    #25 0xb7852584 in KToolBarButton::buttonClicked () from /usr/lib/libkdeui.so.4
    #26 0xb7852853 in KToolBarButton::mouseReleaseEvent ()
       from /usr/lib/libkdeui.so.4
    #27 0xb6f38e33 in QWidget::event () from /usr/lib/libqt-mt.so.3
    #28 0xb78c9061 in KToolBarButton::event () from /usr/lib/libkdeui.so.4
    #29 0xb6e96c36 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
    #30 0xb6e98de5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
    #31 0xb763f672 in KApplication::notify () from /usr/lib/libkdecore.so.4
    #32 0xb6e27301 in QApplication::sendSpontaneousEvent ()
       from /usr/lib/libqt-mt.so.3
    #33 0xb6e25f8d in QETWidget::translateMouseEvent ()
       from /usr/lib/libqt-mt.so.3
    #34 0xb6e2412f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
    #35 0xb6e3b943 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
    #36 0xb6eb1f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
    #37 0xb6eb1c8e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
    #38 0xb6e987df in QApplication::exec () from /usr/lib/libqt-mt.so.3
    #39 0x080717b3 in ?? ()
    #40 0xb6687450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
    #41 0x08071401 in ?? ()
    Thanks

    solidus126
    Attached Images Attached Images

  7. #6
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    Execute this
    Code:
    sudo apt-get install htop
    Does it throw same error?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Yes, it threw an error (said something about cupswrapper at the end of it). When I enter "htop" into the terminal though, it seems to run correctly, though. Weird huh?

    Code:
    [sudo] password for solidus126:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
      htop
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 46.4kB of archives.
    After this operation, 180kB of additional disk space will be used.
    Get:1 http://ubuntu.mirror.frontiernet.net hardy/universe htop 0.6.6+svn20070915-1 [46.4kB]
    Fetched 46.4kB in 0s (109kB/s)
    Selecting previously deselected package htop.
    (Reading database ... 125275 files and directories currently installed.)
    Unpacking htop (from .../htop_0.6.6+svn20070915-1_i386.deb) ...
    Setting up cupswrapperhl2040 (2.0.1-2) ...
    ERROR : Brother LPD filter is not installed.
    /usr/local/Brother/cupswrapper/cupswrapperHL2040-2.0.1: 64: cannot create /usr/share/cups/model/HL2040.ppd: Directory nonexistent
    chmod: cannot access `/usr/local/Brother/inf/brHL2040rc': No such file or directory
    chmod: cannot access `/usr/local/Brother/inf': No such file or directory
     * Restarting Common Unix Printing System: cupsd                                cp: cannot stat `/usr/share/cups/model/HL2040.ppd': No such file or directory
    dpkg: error processing cupswrapperhl2040 (--configure):
     subprocess post-installation script returned error exit status 1
    Setting up htop (0.6.6+svn20070915-1) ...
                                                                             [ OK ]
    
    Errors were encountered while processing:
     cupswrapperhl2040
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    solidus126@lappy486:~$

  9. #8
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    Execute this
    Code:
    sudo apt-get clean all
    sudo apt-get update
    sudo apt-get -f install
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    devils casper,

    I ran the first two commands and had no problem, but the third gave me an error:
    Code:
    solidus126@lappy486:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0B of additional disk space will be used.
    Setting up cupswrapperhl2040 (2.0.1-2) ...
    ERROR : Brother LPD filter is not installed.
    /usr/local/Brother/cupswrapper/cupswrapperHL2040-2.0.1: 64: cannot create /usr/share/cups/model/HL2040.ppd: Directory nonexistent
    chmod: cannot access `/usr/local/Brother/inf/brHL2040rc': No such file or directory
    chmod: cannot access `/usr/local/Brother/inf': No such file or directory
     * Restarting Common Unix Printing System: cupsd                         [ OK ]
    cp: cannot stat `/usr/share/cups/model/HL2040.ppd': No such file or directory
    dpkg: error processing cupswrapperhl2040 (--configure):
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
     cupswrapperhl2040
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    solidus126@lappy486:~$

  11. #10
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    Something is wrong with Printer setup. Which Printer do you have?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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