Skip to content

Instantly share code, notes, and snippets.

@lipusz
Last active May 3, 2022 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lipusz/5e5ab1d83daa6656e4f3e7492fa16c86 to your computer and use it in GitHub Desktop.
Save lipusz/5e5ab1d83daa6656e4f3e7492fa16c86 to your computer and use it in GitHub Desktop.

The latest version of gitg that comes with PPA of Ubuntu 22.04 does not support shallow clones: https://gitlab.gnome.org/GNOME/gitg/-/issues/249

As I’m cloning the liferay repos with --depth=50000 (to limit the history) that’s an issue to me. I've been using 0.2.7-3 for 10 years due to it's been more stable with large repos like Liferay’s and it has worked well even with shallow clones so I wanted to install it back.

  1. Download https://launchpad.net/ubuntu/utopic/amd64/gitg/0.2.7-3
  2. sudo dpkg -i sudo dpkg -i gitg_0.2.7-3_amd64.deb
  3. sudo apt-mark hold gitg
  4. sudo apt-get install libgdk-pixbuf2.0-0 libgdk-pixbuf-xlib-2.0-0 dbus-x11 libgtksourceview-3.0-1 libgtksourceview-3.0-common

Just in case, run also sudo apt-get install -f

Hope this helps others. :-)

@lipusz
Copy link
Author

lipusz commented May 3, 2022

Screenshot from 2022-05-03 11-35-53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment