Find the answer to your Linux question:
Results 1 to 9 of 9
hi all i'm running debian lenny - latest stable i have recently installed smartcam (mobile phone as webcam over bluetooth) from .deb package , get errors of unmet dependency , ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    5

    broken dependency


    hi all
    i'm running debian lenny - latest stable
    i have recently installed smartcam (mobile phone as webcam over bluetooth) from .deb package , get errors of unmet dependency , but application works like a charm , unfortunately broken dependences block my aptitude , i cant fix them either as latest stable use older versions of dependences even in backports... so here is my question : how do i mark smartcam package as not broken and release my apt???
    looks easy but still dont know this

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Is it reporting broken dependency for smartcam package only? Could you post exact error message here?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    5

    fooling apt

    synaptic reports You have 1 broken package on your system! Use the "Broken" filter to locate it.
    apt-get: You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    smartcam: Depends: libdbus-glib-1-2 (>= 0.7 but 0.76-1 is to be installed
    Depends: libgtk2.0-0 (>= 2.16.0) but 2.12.11-4 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    libgtk 2.12.12 and libdbus 0.76 are newest for lenny now ,anyway i would like to keep it as much stable as possible so dont want mess with updates, of course following apt-get advice and correcting dependences simply removes smartcam! idea is to make apt think that smartcam is allright and live it alone!
    thanks for reply...

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the output of this
    Code:
    ls /var/dpkg/info/libdbus*
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    May 2010
    Posts
    5
    /var/lib/dpkg/info/libdbus-1-3.list
    /var/lib/dpkg/info/libdbus-1-3.md5sums
    /var/lib/dpkg/info/libdbus-1-3.postinst
    /var/lib/dpkg/info/libdbus-1-3.postrm
    /var/lib/dpkg/info/libdbus-1-3.shlibs
    /var/lib/dpkg/info/libdbus-1-3.symbols
    /var/lib/dpkg/info/libdbus-glib-1-2.list
    /var/lib/dpkg/info/libdbus-glib-1-2.md5sums
    /var/lib/dpkg/info/libdbus-glib-1-2.postinst
    /var/lib/dpkg/info/libdbus-glib-1-2.postrm
    /var/lib/dpkg/info/libdbus-glib-1-2.shlibs
    /var/lib/dpkg/info/libdbus-glib-1-2.symbols
    /var/lib/dpkg/info/libdbus-qt-1-1c2.list
    /var/lib/dpkg/info/libdbus-qt-1-1c2.postrm

    i hope it is what you'r looking for ?

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Delete all libdbus-glib-* files available in that folder.
    Code:
    cd /var/lib/dpkg/info
    su -
    rm -rf libdbus-glib-*
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    May 2010
    Posts
    5
    it didnt correct error, doesnt exist any simple command for this? like aptitude/apt-get keep all for example when you want keep all dependences that system wants remove?? what are you trying achieve by deleting those files?

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Those are info files of libdbus-glib. Package Manager records install status of each package/library in those files only. If you remove those files, package manager consider it installed correctly and won't bother you again for any error related to that package.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    May 2010
    Posts
    5
    ..it didnt work, i have tried to remove smartcam files but it didnt work either! do you have any other ideas?

Posting Permissions

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