Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I do apt-get install usb-modeswitch-data, not all of it's contents are installed under /etc/usb_modeswitch.d. I looked inside package and wasn't able to understand how could it be -- there were no special filtering of package contents visible to me.

I'm using Debian Squeeze and package in question is usb-modeswitch-data:20100826-1+squeeze0.

Can somebody explain this effect?

share|improve this question

closed as too localized by Gilles, warl0ck, jasonwryan, jw013, Shawn J. Goff Oct 28 '12 at 15:54

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

Things inside /etc won't get override by default, I think you might removed stuff in /etc/usb_modeswitch.d "accidentally",

Looks like you fixed the problem already, but next time try use dpkg -L usb-modeswitch-data usb-modeswitch to see if these files belong to that package and see if it exists or not

share|improve this answer

You can list the content of the debian packages like this :

  • installed packages : dpkg -L package_name
  • not installed packages apt-file list package_name
share|improve this answer
    
Sorry, not quite understand how it answers my question :) Package is reported as installed by dpkg/apt, it's just that not all of it's files are installed. –  Victor Sorokin Oct 22 '12 at 20:07

I must take my question back, after I did dpkg --purge usb-modeswitch-data usb-modeswitch and then apt-get install usb-modeswitch-data, all of the package contents were installed into proper place.

Must be some glitch on dpkg side or, more probably, me overlooking something.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.