| timholum | hello, I am looking at writting a mod / patch ( maybe a lens? ) for unity search, I am wondering if anyone know's of a tutorial on writting a lens, to see if that will do what I am looking for | 00:08 |
|---|---|---|
| timholum | The idea I am trying to bring to reality is when I search for \\192.168.1.50 or \\someserver display's an icon I can click on to make an smb connection ( and maybe even a scp , ssh, and ftp connection depending on difficulty ) | 00:10 |
| preyas_ | any1 here?? | 11:37 |
| preyas_ | i want to install gnome3 shell in ubuntu 11.04 can any1 help me | 11:38 |
| chrisccoulson | is anyone able to parse bug 774174? | 17:31 |
| ubot2 | Launchpad bug 774174 in firefox "The menu "Bookmarks" in Firefox does not work correctly" [Undecided,New] https://launchpad.net/bugs/774174 | 17:31 |
| chrisccoulson | i honestly can't work out what the reporter is trying to say :/ | 17:31 |
| LLStarks | hi, i have a question regarding dpkg behavior. | 19:09 |
| LLStarks | let's say i delete a file installed by a package. | 19:09 |
| LLStarks | why can't i restore that file with a dpkg? why must i first uninstall the package and its dependencies and then reinstall the package to restore the file? | 19:10 |
| mtvoid | LLStarks: You don't need to uninstall it first, you can simply reinstall it | 19:11 |
| LLStarks | i did | 19:11 |
| LLStarks | but the file isn't regenerated | 19:11 |
| mtvoid | LLStarks: What command did you you use? | 19:12 |
| LLStarks | aptitude reinstall | 19:12 |
| LLStarks | apt-get --reinstall as well | 19:12 |
| LLStarks | also a manual dpkg with the deb | 19:12 |
| LLStarks | btw, the package in question is python-apt, but i've seen this with other packages in the past | 19:14 |
| mtvoid | LLStarks: I just tried it out just to be sure, works fine here | 19:14 |
| LLStarks | if i do this: rm /usr/share/python-apt/templates/Ubuntu.info | 19:15 |
| LLStarks | there's no way to get the file back unless i uninstall and then install | 19:15 |
| LLStarks | but python-apt has many dependencies | 19:15 |
| LLStarks | so it's not practical | 19:16 |
| mtvoid | LLStarks: You can use dpkg to force an uninstall, ignoring the dependency problems | 19:16 |
| LLStarks | what flag? | 19:16 |
| mtvoid | LLStarks: Just add a --force | 19:17 |
| LLStarks | lemme try | 19:17 |
| mtvoid | LLStarks: Actually try --force-help to see all options, though --force-all will take care of it too. | 19:19 |
| jbicha | -f fixes everything :-) | 19:20 |
| LLStarks | still nothing | 19:20 |
| LLStarks | ls doesn't show the file | 19:20 |
| LLStarks | one sec | 19:21 |
| LLStarks | oh **** | 19:22 |
| LLStarks | i was using the wrong package. i needed the common. | 19:22 |
| LLStarks | sorry to waste your time | 19:22 |
| chrisccoulson | lol | 19:22 |
| chrisccoulson | ;) | 19:22 |
| mtvoid | LLStarks: I suspected something like that, actually ;) | 19:22 |
| chrisccoulson | of course, if you delete a file from /etc, then i don't think reinstalling the package gets you the file back ;) | 19:23 |
| LLStarks | except for the unrelated x crash, everything's good now | 19:26 |
| LLStarks | thanks | 19:26 |
| LLStarks | that being said though, my original concern regarding dpkg behavior is something i have encountered even when i have the right package. i'll be on the lookout for its occurrence. | 19:28 |
| chrisccoulson | LLStarks, you missed my last comment ;) | 19:29 |
| chrisccoulson | if you delete a file in /etc, then reinstalling a package won't bring it back | 19:29 |
| chrisccoulson | i guess you might have seen that before | 19:29 |
| LLStarks | yeah | 19:29 |
| LLStarks | that might be it | 19:29 |
| LLStarks | happens whenever i wipe /etc/apt | 19:30 |
| chrisccoulson | don't wipe it ;) | 19:30 |
| LLStarks | i'll remember not too. | 19:31 |
| chrisccoulson | conffiles are handled differently by the package manager compared to other files, so it can preserve user changes | 19:31 |
| chrisccoulson | which might include you deleting the files entirely ;) | 19:31 |
| LLStarks | so, the only way to repopulate files in etc is a forced removal and then installation? | 19:37 |
| === kklimonda is now known as Guest75657 | ||
| === Guest75657 is now known as kklimonda` | ||
| chrisccoulson | LLStarks, or just copy the files you want from the deb ;) | 19:40 |
| LLStarks | but then the symlinks and permissions might be screwed up | 19:40 |
| LLStarks | whatever. i'll just not touch files that have special cases like /etc | 19:41 |
| LLStarks | get enough trouble etc/default/grub | 19:41 |
| LLStarks | *trouble with | 19:42 |
| === kklimonda` is now known as kklimonda | ||
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!