Hot answers tagged


You're importing from gi.repository. The file for this module is: $ python3 -c 'import gi.repository, sys; print (sys.modules["gi.repository"].__file__)' /usr/lib/python3/dist-packages/gi/repository/ And that file comes from: $ dpkg -S $(python3 -c 'import gi.repository, sys; print (sys.modules["gi.repository"].__file__)') python3-gi: ...


Download the deb package for the updated version then do: dpkg -i <package-name>.deb Unless they changed everything around which is very unlikely this should overwrite your previous installation but should leave your settings intact.


You can, you even can unpack .deb files to learn how they are put together. But the whole creation process of a .deb file is a lengthly process which is described already multiple times like here, up to that is Google is your friend in this case, theres plenty of information around. Long story short the command for unpacking a .deb file: dpkg-deb -R ...


First of all, you can indeed install debs offline: $ sudo dpkg -i <deb> However, you're right in that it doesn't take into account the deb's dependencies-- you actually need to have the deb and all its dependencies available offline in order to successfully install it: $ sudo dpkg -i <deb> <dependency1> <dependency2> ... So yes, ...

Only top voted, non community-wiki answers of a minimum length are eligible